func (v Account) GetPushSettings(params AccountGetPushSettingsParams) (*AccountGetPushSettingsResponse, error) {
	r, err := v.API.Request("account.getPushSettings", params)
	if err != nil {
		return nil, err
	}
	var resp AccountGetPushSettingsResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
GetPushSettings Gets settings of push notifications.
package vkapi
import (
	"encoding/json"
	"strconv"
	"github.com/stek29/vk"
)
type Account struct {
	API vk.API
}
type AccountGetCountersParams struct {
	Filter CSVStringSlice `url:"filter,omitempty"`
}
type AccountGetCountersResponse struct {
	Friends int `json:"friends,omitempty"`
	Messages int `json:"messages,omitempty"`
	Photos int `json:"photos,omitempty"`
	Videos int `json:"videos,omitempty"`
	Gifts int `json:"gifts,omitempty"`
	Events int `json:"events,omitempty"`
	Groups int `json:"groups,omitempty"`
	Notifications int `json:"notifications,omitempty"`
	AppRequests int `json:"app_requests,omitempty"`
	FriendsSuggestions int `json:"friends_suggestions,omitempty"`
}
func (v Account) GetCounters(params AccountGetCountersParams) (*AccountGetCountersResponse, error) {
	r, err := v.API.Request("account.getCounters", params)
	if err != nil {
		return nil, err
	}
	var resp AccountGetCountersResponse
	err = json.Unmarshal(r, &resp)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
type AccountSetNameInMenuParams struct {
	UserID int `url:"user_id"`
	Name string `url:"name,omitempty"`
}
func (v Account) SetNameInMenu(params AccountSetNameInMenuParams) (bool, error) {
	r, err := v.API.Request("account.setNameInMenu", params)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
type AccountSetOnlineParams struct {
	Voip bool `url:"voip,omitempty"`
}
func (v Account) SetOnline(params AccountSetOnlineParams) (bool, error) {
	r, err := v.API.Request("account.setOnline", params)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
func (v Account) SetOffline() (bool, error) {
	r, err := v.API.Request("account.setOffline", nil)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
type AccountRegisterDeviceParams struct {
	Token string `url:"token"`
	DeviceModel string `url:"device_model,omitempty"`
	DeviceYear int `url:"device_year,omitempty"`
	DeviceID string `url:"device_id"`
	SystemVersion string `url:"system_version,omitempty"`
	Settings string `url:"settings,omitempty"`
	Sandbox  bool   `url:"sandbox,omitempty"`
}
func (v Account) RegisterDevice(params AccountRegisterDeviceParams) (bool, error) {
	r, err := v.API.Request("account.registerDevice", params)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
type AccountUnregisterDeviceParams struct {
	DeviceID string `url:"device_id,omitempty"`
	Sandbox  bool   `url:"sandbox,omitempty"`
}
func (v Account) UnregisterDevice(params AccountUnregisterDeviceParams) (bool, error) {
	r, err := v.API.Request("account.unregisterDevice", params)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
type AccountSetSilenceModeParams struct {
	DeviceID string `url:"device_id,omitempty"`
	Time int `url:"time,omitempty"`
	PeerID int `url:"peer_id,omitempty"`
	Sound int `url:"sound,omitempty"`
}
func (v Account) SetSilenceMode(params AccountSetSilenceModeParams) (bool, error) {
	r, err := v.API.Request("account.setSilenceMode", params)
	if err != nil {
		return false, err
	}
	return decodeBoolIntResponse(r)
}
type AccountGetPushSettingsParams struct {
	DeviceID string `url:"device_id,omitempty"`
}
type AccountGetPushSettingsResponse struct {
	Disabled vk.BoolInt `json:"disabled,omitempty"`
	DisabledUntil int `json:"disabled_until,omitempty"`
	Conversations struct {
		Count int `json:"count,omitempty"`
		Items []struct {
			PeerID int `json:"peer_id,omitempty"`
			Sound vk.BoolInt `json:"sound,omitempty"`
			DisabledUntil int `json:"disabled_until,omitempty"`
		} `json:"items,omitempty"`
	} `json:"conversations,omitempty"`
	Settings struct {
		Msg []string `json:"msg,omitempty"`
		Chat []string `json:"chat,omitempty"`
		Friend []string `json:"friend,omitempty"`
		FriendFound []string `json:"friend_found,omitempty"`
		FriendAccepted []string `json:"friend_accepted,omitempty"`
		Reply []string `json:"reply,omitempty"`
		Comment []string `json:"comment,omitempty"`
		Mention []string `json:"mention,omitempty"`
		Like []string `json:"like,omitempty"`
		Repost []string `json:"repost,omitempty"`
		WallPost []string `json:"wall_post,omitempty"`
		WallPublish []string `json:"wall_publish,omitempty"`
		GroupInvite []string `json:"group_invite,omitempty"`
		GroupAccepted []string `json:"group_accepted,omitempty"`
		EventSoon []string `json:"event_soon,omitempty"`
		PhotosTag []string `json:"photos_tag,omitempty"`
		AppRequest []string `json:"app_request,omitempty"`
		SdkOpen []string `json:"sdk_open,omitempty"`
		NewPost []string `json:"new_post,omitempty"`
		Birthday []string `json:"birthday,omitempty"`
	} `json:"settings,omitempty"`
}