vk_sdk

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 13 Imported by: 0

README

VK-SDK

go report card gen coverage

Package vk-sdk provides a full generated development kit to work with VKontakte API. The lack of reflection and using easyjson for objects represents a powerful speed performance. Include all methods, error codes, objects and responses with provided descriptions.

Code generated by using fork from official vk-api-schema. This means the package is easy to maintain it and comfortably use by consumers with exhaustive documentation.

Get started

Install:
go get github.com/elias506/vk-sdk

Examples

Look for full in vk-sdk/example/example.go:

Get friends in online:

    // Get new client instants
    vk := vk_sdk.NewVK(http.DefaultClient)
    
    // Set your token
    vk.SetToken(<your_token>) 
    
    // Get your online friend IDs
    req := vk_sdk.Friends_GetOnline_Request{}
    
    resp, apiErr, err := vk.Friends_GetOnline(context.Background(), req, vk_sdk.TestMode())

    if err != nil || apiErr != nil {
        log.Fatal()
    }

    fmt.Println("Online friends IDs:", resp.Response) 

Use Implicit/AuthCode flows to auth:

    // Build auth request
    authReq := vk_sdk.ImplicitFlowUserRequest{
        ClientID:    "<your_id>", 
        //RedirectURI: "",
        //Display:     nil,
        //Scope:       nil,
        //State:       nil,
        //Revoke:      false,
    }

    // get redirect url for user
    redirectURL := vk_sdk.GetAuthRedirectURL(authReq)
    
    // wait user redirect... 
    
    // get token from redirect url 
    token, oAuthErr, err := vk_sdk.GetImplicitFlowUserToken(<user_url>)

    if err != nil || apiErr != nil {
        log.Fatal()
    }

Main idea

vk-sdk aims to be user-friendly by the completeness of the generated code and description, and at the same time to show good executed speed. There is much more cases not to go to official API documentation and check your request/response structure. Just use right method. Right here.

Simultaneously code generation allows SDK developers to focus on improving user experience and performance rather than fixing bugs and constantly updating the codebase. Any code change can be submitted and updated in all places in just a few seconds.

Benchmarks

go-vk-api/vk use simple fields mapping without compose by method and execute with from-the-box speed. In turn SevereCloud/vksdk use reflect package to add input data to request.

lib req/resp size count ns/op B/op allocs/op
vk-sdk medium 220738 5435 9064 60
SevereCloud/vksdk medium 127970 9342 16165 117
go-vk-api/vk medium 220962 5543 8787 64
vk-sdk small 406672 2981 3424 44
SevereCloud/vksdk small 271036 4420 5126 65
go-vk-api/vk small 467112 2506 3129 41

Documentation

Index

Constants

View Source
const DefaultRedirectURI = "https://oauth.vk.com/blank.html"
View Source
const (
	Version = "5.131"
)

Variables

This section is empty.

Functions

func GetAuthCodeFlowGroupTokens

func GetAuthCodeFlowGroupTokens(u *url.URL, client *http.Client, req AuthorizationCodeFlowUserRequest, clientSecret string) (GroupTokens, OAuthError, error)

GetAuthCodeFlowGroupTokens returns GroupTokens to call VK API methods from the server side of your application. The access key obtained in this way is not tied to an IP address. NOTE: Incoming URL expires 1 hour after the user is authorized on it

https://dev.vk.com/api/access-token/authcode-flow-community

func GetAuthCodeFlowUserToken

func GetAuthCodeFlowUserToken(u *url.URL, client *http.Client, req AuthorizationCodeFlowUserRequest, clientSecret string) (UserToken, OAuthError, error)

GetAuthCodeFlowUserToken returns to UserToken call VK API methods from the server side of your application. An access key obtained in this way is not tied to an IP address, but the set of rights that an application can obtain is limited for security reasons. NOTE: Incoming URL expires 1 hour after the user is authorized on it.

https://dev.vk.com/api/access-token/authcode-flow-user

func GetImplicitFlowGroupTokens

func GetImplicitFlowGroupTokens(u *url.URL) (GroupTokens, OAuthError, error)

GetImplicitFlowGroupTokens returns GroupTokens to call VK API methods directly from the user's device.

https://dev.vk.com/api/access-token/implicit-flow-community

func GetImplicitFlowUserToken

func GetImplicitFlowUserToken(u *url.URL) (UserToken, OAuthError, error)

GetImplicitFlowUserToken returns a UserToken for calling VK API methods directly from the user's device. An access key obtained in this way cannot be used for requests from the server.

https://dev.vk.com/api/access-token/implicit-flow-user

func InScope

func InScope(scope int, permissions ...AccessPermission) bool

InScope check is given AccessPermissions in scope.

Types

type AccessPermission

type AccessPermission int

AccessPermission define possibility of using token for one or another data section. E.g., to send private message token should be obtained with messages scope.

Sum of their bit masks in AuthorizeRequest.Scope parameter while obtaining an access token.

Each method's required permissions are described on the method's page. Note that some methods does not require specified permissions but cannot be called without access token. You can use no scope while obtaining a token in this case.

https://dev.vk.com/reference/access-rights

const (
	// UserPermissionNotify User allowed sending notifications to him/her (for Flash/iFrame apps).
	UserPermissionNotify AccessPermission = 1 << 0
	// UserPermissionFriends Access to friends.
	UserPermissionFriends AccessPermission = 1 << 1
	// UserPermissionPhotos Access to photos.
	UserPermissionPhotos AccessPermission = 1 << 2
	// UserPermissionAudio Access to video.
	UserPermissionAudio AccessPermission = 1 << 3
	// UserPermissionVideo Access to video.
	UserPermissionVideo AccessPermission = 1 << 4
	// UserPermissionStories Access to stories.
	UserPermissionStories AccessPermission = 1 << 6
	// UserPermissionPages Access to wiki pages.
	UserPermissionPages AccessPermission = 1 << 7
	// UserPermissionUnknown256 Addition of link to the application in the left menu.
	UserPermissionUnknown256 AccessPermission = 1 << 8
	// UserPermissionStatus Access to user status.
	UserPermissionStatus AccessPermission = 1 << 10
	// UserPermissionNotes Access to notes.
	UserPermissionNotes AccessPermission = 1 << 11
	// UserPermissionMessages (for Standalone applications) Access to advanced methods for messaging.
	UserPermissionMessages AccessPermission = 1 << 12
	// UserPermissionWall Access to standard and advanced methods for the wall.
	// Note that this access permission is unavailable for sites (it is ignored at attempt of authorization).
	UserPermissionWall AccessPermission = 1 << 13
	// UserPermissionAds Access to advanced methods for Ads API. (VK.Ads_{...} methods)
	UserPermissionAds AccessPermission = 1 << 15
	// UserPermissionOffline Access to API at any time (you will receive expires_in = 0 in this case).
	UserPermissionOffline AccessPermission = 1 << 16
	// UserPermissionDocs Access to docs.
	UserPermissionDocs AccessPermission = 1 << 17
	// UserPermissionGroups Access to user groups.
	UserPermissionGroups AccessPermission = 1 << 18
	// UserPermissionNotifications Access to notifications about answers to the user.
	UserPermissionNotifications AccessPermission = 1 << 19
	// UserPermissionStats Access to statistics of user groups and applications where he/she is an administrator.
	UserPermissionStats AccessPermission = 1 << 20
	// UserPermissionEmail Access to user email.
	UserPermissionEmail AccessPermission = 1 << 22
	// UserPermissionMarket Access to market.
	UserPermissionMarket AccessPermission = 1 << 27
	// GroupPermissionStories Access to stories.
	GroupPermissionStories AccessPermission = 1 << 0
	// GroupPermissionPhotos Access to photos.
	GroupPermissionPhotos AccessPermission = 1 << 2
	// GroupPermissionAppWidget Access to group app widget (https://dev.vk.com/api/community-apps-widgets/getting-started).
	// This permission can only be requested using the showGroupSettingsBox Client API method (https://vk.com/dev/clientapi).
	GroupPermissionAppWidget AccessPermission = 1 << 6
	// GroupPermissionMessages Access to messages.
	GroupPermissionMessages AccessPermission = 1 << 12
	// GroupPermissionDocs Access to community management.
	GroupPermissionDocs AccessPermission = 1 << 17
	// GroupPermissionManage Access to community management.
	GroupPermissionManage AccessPermission = 1 << 18
)

type Account_AccountCounters

type Account_AccountCounters struct {
	// New app requests number
	//  Minimum: 1
	AppRequests *int `json:"app_requests,omitempty"`
	// New events number
	//  Minimum: 1
	Events *int `json:"events,omitempty"`
	// New faves number
	//  Minimum: 1
	Faves *int `json:"faves,omitempty"`
	// New friends requests number
	//  Minimum: 1
	Friends *int `json:"friends,omitempty"`
	// New friends recommendations number
	//  Minimum: 1
	FriendsRecommendations *int `json:"friends_recommendations,omitempty"`
	// New friends suggestions number
	//  Minimum: 1
	FriendsSuggestions *int `json:"friends_suggestions,omitempty"`
	// New gifts number
	//  Minimum: 1
	Gifts *int `json:"gifts,omitempty"`
	// New groups number
	//  Minimum: 1
	Groups *int `json:"groups,omitempty"`
	// New memories number
	//  Minimum: 1
	Memories          *int `json:"memories,omitempty"`
	MenuClipsBadge    *int `json:"menu_clips_badge,omitempty"`
	MenuDiscoverBadge *int `json:"menu_discover_badge,omitempty"`
	// New messages number
	//  Minimum: 1
	Messages *int `json:"messages,omitempty"`
	// New notes number
	//  Minimum: 1
	Notes *int `json:"notes,omitempty"`
	// New notifications number
	//  Minimum: 1
	Notifications *int `json:"notifications,omitempty"`
	// New photo tags number
	//  Minimum: 1
	Photos *int `json:"photos,omitempty"`
	// New sdk number
	//  Minimum: 1
	Sdk *int `json:"sdk,omitempty"`
}

type Account_Ban_Request

type Account_Ban_Request struct {
	//  Format: int64
	OwnerId *int
}

type Account_ChangePassword_Request

type Account_ChangePassword_Request struct {
	// Session id received after the [vk.com/dev/auth.restore|auth.restore] method is executed. (If the password is changed right after the access was restored)
	RestoreSid *string
	// Hash received after a successful OAuth authorization with a code got by SMS. (If the password is changed right after the access was restored)
	ChangePasswordHash *string
	// Current user password.
	OldPassword *string
	// New password that will be set as a current
	//  MinLength: 6
	NewPassword string
}

type Account_ChangePassword_Response

type Account_ChangePassword_Response struct {
	Response struct {
		// New secret
		Secret *string `json:"secret,omitempty"`
		// New token
		Token string `json:"token"`
	} `json:"response"`
}

type Account_GetActiveOffers_Request

type Account_GetActiveOffers_Request struct {
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// Number of results to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 100
	Count *int
}

type Account_GetActiveOffers_Response

type Account_GetActiveOffers_Response struct {
	Response struct {
		// Total number
		Count int             `json:"count"`
		Items []Account_Offer `json:"items"`
	} `json:"response"`
}

type Account_GetAppPermissions_Request

type Account_GetAppPermissions_Request struct {
	// User ID whose settings information shall be got. By default: current user.
	//  Format: int64
	//  Minimum: 1
	UserId int
}

type Account_GetAppPermissions_Response

type Account_GetAppPermissions_Response struct {
	// Permissions mask
	Response int `json:"response"`
}

type Account_GetBanned_Request

type Account_GetBanned_Request struct {
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
	// Number of results to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count *int
}

type Account_GetBanned_Response

type Account_GetBanned_Response struct {
	Response struct {
		// Total number
		Count  int             `json:"count"`
		Groups *[]Groups_Group `json:"groups,omitempty"`
		//  Format: int64
		Items    []int             `json:"items"`
		Profiles *[]Users_UserFull `json:"profiles,omitempty"`
	} `json:"response"`
}

type Account_GetCounters_Filter

type Account_GetCounters_Filter string
const (
	Account_GetCounters_Filter_Friends                Account_GetCounters_Filter = "friends"
	Account_GetCounters_Filter_Messages               Account_GetCounters_Filter = "messages"
	Account_GetCounters_Filter_Photos                 Account_GetCounters_Filter = "photos"
	Account_GetCounters_Filter_Notes                  Account_GetCounters_Filter = "notes"
	Account_GetCounters_Filter_Gifts                  Account_GetCounters_Filter = "gifts"
	Account_GetCounters_Filter_Events                 Account_GetCounters_Filter = "events"
	Account_GetCounters_Filter_Groups                 Account_GetCounters_Filter = "groups"
	Account_GetCounters_Filter_Sdk                    Account_GetCounters_Filter = "sdk"
	Account_GetCounters_Filter_FriendsSuggestions     Account_GetCounters_Filter = "friends_suggestions"
	Account_GetCounters_Filter_Notifications          Account_GetCounters_Filter = "notifications"
	Account_GetCounters_Filter_AppRequests            Account_GetCounters_Filter = "app_requests"
	Account_GetCounters_Filter_FriendsRecommendations Account_GetCounters_Filter = "friends_recommendations"
)

type Account_GetCounters_Request

type Account_GetCounters_Request struct {
	Filter *[]Account_GetCounters_Filter
	// User ID
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type Account_GetCounters_Response

type Account_GetCounters_Response struct {
	Response Account_AccountCounters `json:"response"`
}

type Account_GetInfo_Fields

type Account_GetInfo_Fields string
const (
	Account_GetInfo_Fields_Country         Account_GetInfo_Fields = "country"
	Account_GetInfo_Fields_HttpsRequired   Account_GetInfo_Fields = "https_required"
	Account_GetInfo_Fields_OwnPostsDefault Account_GetInfo_Fields = "own_posts_default"
	Account_GetInfo_Fields_NoWallReplies   Account_GetInfo_Fields = "no_wall_replies"
	Account_GetInfo_Fields_Intro           Account_GetInfo_Fields = "intro"
	Account_GetInfo_Fields_Lang            Account_GetInfo_Fields = "lang"
)

type Account_GetInfo_Request

type Account_GetInfo_Request struct {
	Fields *[]Account_GetInfo_Fields
}

type Account_GetInfo_Response

type Account_GetInfo_Response struct {
	Response Account_Info `json:"response"`
}

type Account_GetProfileInfo_Response

type Account_GetProfileInfo_Response struct {
	Response Account_UserSettings `json:"response"`
}

type Account_GetPushSettings_Request

type Account_GetPushSettings_Request struct {
	// Unique device ID.
	DeviceId *string
}

type Account_GetPushSettings_Response

type Account_GetPushSettings_Response struct {
	Response Account_PushSettings `json:"response"`
}

type Account_Info

type Account_Info struct {
	// Two factor authentication is enabled
	TwoFaRequired *Base_BoolInt `json:"2fa_required,omitempty"`
	// Country code
	Country *string `json:"country,omitempty"`
	// Information whether HTTPS-only is enabled
	HttpsRequired *Base_BoolInt `json:"https_required,omitempty"`
	// Information whether user has been processed intro
	Intro *Base_BoolInt `json:"intro,omitempty"`
	// Language ID
	Lang          *int      `json:"lang,omitempty"`
	LinkRedirects *[]string `json:"link_redirects,omitempty"`
	// Ads slot id for MyTarget
	//  Minimum: 0
	MiniAppsAdsSlotId *int `json:"mini_apps_ads_slot_id,omitempty"`
	// Information whether wall comments should be hidden
	NoWallReplies *Base_BoolInt `json:"no_wall_replies,omitempty"`
	// Information whether only owners posts should be shown
	OwnPostsDefault *Base_BoolInt `json:"own_posts_default,omitempty"`
	//  Minimum: 0
	QrPromotion                *int                   `json:"qr_promotion,omitempty"`
	ShowVkAppsIntro            *bool                  `json:"show_vk_apps_intro,omitempty"`
	Subscriptions              *Account_Subscriptions `json:"subscriptions,omitempty"`
	WishlistsAePromoBannerShow *Base_BoolInt          `json:"wishlists_ae_promo_banner_show,omitempty"`
}

type Account_NameRequest

type Account_NameRequest struct {
	// First name in request
	FirstName *string `json:"first_name,omitempty"`
	// Request ID needed to cancel the request
	Id *int `json:"id,omitempty"`
	// Text to display to user
	Lang *string `json:"lang,omitempty"`
	// Last name in request
	LastName *string `json:"last_name,omitempty"`
	// href for link in lang field
	LinkHref *string `json:"link_href,omitempty"`
	// label to display for link in lang field
	LinkLabel *string                    `json:"link_label,omitempty"`
	Status    *Account_NameRequestStatus `json:"status,omitempty"`
}

type Account_NameRequestStatus

type Account_NameRequestStatus string

Account_NameRequestStatus Request status

const (
	Account_NameRequestStatus_Success          Account_NameRequestStatus = "success"
	Account_NameRequestStatus_Processing       Account_NameRequestStatus = "processing"
	Account_NameRequestStatus_Declined         Account_NameRequestStatus = "declined"
	Account_NameRequestStatus_WasAccepted      Account_NameRequestStatus = "was_accepted"
	Account_NameRequestStatus_WasDeclined      Account_NameRequestStatus = "was_declined"
	Account_NameRequestStatus_DeclinedWithLink Account_NameRequestStatus = "declined_with_link"
	Account_NameRequestStatus_Response         Account_NameRequestStatus = "response"
	Account_NameRequestStatus_ResponseWithLink Account_NameRequestStatus = "response_with_link"
)

type Account_Offer

type Account_Offer struct {
	// Currency amount
	CurrencyAmount *float64 `json:"currency_amount,omitempty"`
	// Offer description
	Description *string `json:"description,omitempty"`
	// Offer ID
	Id *int `json:"id,omitempty"`
	// URL of the preview image
	//  Format: uri
	Img *string `json:"img,omitempty"`
	// Instruction how to process the offer
	Instruction *string `json:"instruction,omitempty"`
	// Instruction how to process the offer (HTML format)
	InstructionHtml *string `json:"instruction_html,omitempty"`
	// Link id
	LinkId *int `json:"link_id,omitempty"`
	// Link type
	LinkType *Account_Offer_LinkType `json:"link_type,omitempty"`
	// Offer price
	Price *int `json:"price,omitempty"`
	// Offer short description
	ShortDescription *string `json:"short_description,omitempty"`
	// Offer tag
	Tag *string `json:"tag,omitempty"`
	// Offer title
	Title *string `json:"title,omitempty"`
}

type Account_Offer_LinkType

type Account_Offer_LinkType string
const (
	Account_Offer_LinkType_Profile Account_Offer_LinkType = "profile"
	Account_Offer_LinkType_Group   Account_Offer_LinkType = "group"
	Account_Offer_LinkType_App     Account_Offer_LinkType = "app"
)

type Account_PushConversations

type Account_PushConversations struct {
	// Items count
	//  Minimum: 0
	Count *int                             `json:"count,omitempty"`
	Items *[]Account_PushConversationsItem `json:"items,omitempty"`
}

type Account_PushConversationsItem

type Account_PushConversationsItem struct {
	// Information whether the mass mentions (like '@all', '@online') are disabled. Can be affected by 'disabled_mentions'
	DisabledMassMentions *Base_BoolInt `json:"disabled_mass_mentions,omitempty"`
	// Information whether the mentions are disabled
	DisabledMentions *Base_BoolInt `json:"disabled_mentions,omitempty"`
	// Time until that notifications are disabled in seconds
	DisabledUntil int `json:"disabled_until"`
	// Peer ID
	PeerId int `json:"peer_id"`
	// Information whether the sound are enabled
	Sound Base_BoolInt `json:"sound"`
}

type Account_PushParams

type Account_PushParams struct {
	AppRequest     *[]Account_PushParamsOnoff    `json:"app_request,omitempty"`
	Birthday       *[]Account_PushParamsOnoff    `json:"birthday,omitempty"`
	Chat           *[]Account_PushParamsMode     `json:"chat,omitempty"`
	Comment        *[]Account_PushParamsSettings `json:"comment,omitempty"`
	EventSoon      *[]Account_PushParamsOnoff    `json:"event_soon,omitempty"`
	Friend         *[]Account_PushParamsOnoff    `json:"friend,omitempty"`
	FriendAccepted *[]Account_PushParamsOnoff    `json:"friend_accepted,omitempty"`
	FriendFound    *[]Account_PushParamsOnoff    `json:"friend_found,omitempty"`
	GroupAccepted  *[]Account_PushParamsOnoff    `json:"group_accepted,omitempty"`
	GroupInvite    *[]Account_PushParamsOnoff    `json:"group_invite,omitempty"`
	Like           *[]Account_PushParamsSettings `json:"like,omitempty"`
	Mention        *[]Account_PushParamsSettings `json:"mention,omitempty"`
	Msg            *[]Account_PushParamsMode     `json:"msg,omitempty"`
	NewPost        *[]Account_PushParamsOnoff    `json:"new_post,omitempty"`
	Reply          *[]Account_PushParamsOnoff    `json:"reply,omitempty"`
	Repost         *[]Account_PushParamsSettings `json:"repost,omitempty"`
	SdkOpen        *[]Account_PushParamsOnoff    `json:"sdk_open,omitempty"`
	WallPost       *[]Account_PushParamsOnoff    `json:"wall_post,omitempty"`
	WallPublish    *[]Account_PushParamsOnoff    `json:"wall_publish,omitempty"`
}

type Account_PushParamsMode

type Account_PushParamsMode string

Account_PushParamsMode Settings parameters

const (
	Account_PushParamsMode_On      Account_PushParamsMode = "on"
	Account_PushParamsMode_Off     Account_PushParamsMode = "off"
	Account_PushParamsMode_NoSound Account_PushParamsMode = "no_sound"
	Account_PushParamsMode_NoText  Account_PushParamsMode = "no_text"
)

type Account_PushParamsOnoff

type Account_PushParamsOnoff string

Account_PushParamsOnoff Settings parameters

const (
	Account_PushParamsOnoff_On  Account_PushParamsOnoff = "on"
	Account_PushParamsOnoff_Off Account_PushParamsOnoff = "off"
)

type Account_PushParamsSettings

type Account_PushParamsSettings string

Account_PushParamsSettings Settings parameters

const (
	Account_PushParamsSettings_On     Account_PushParamsSettings = "on"
	Account_PushParamsSettings_Off    Account_PushParamsSettings = "off"
	Account_PushParamsSettings_FrOfFr Account_PushParamsSettings = "fr_of_fr"
)

type Account_PushSettings

type Account_PushSettings struct {
	Conversations *Account_PushConversations `json:"conversations,omitempty"`
	// Information whether notifications are disabled
	Disabled *Base_BoolInt `json:"disabled,omitempty"`
	// Time until that notifications are disabled in Unixtime
	DisabledUntil *int                `json:"disabled_until,omitempty"`
	Settings      *Account_PushParams `json:"settings,omitempty"`
}

type Account_RegisterDevice_Request

type Account_RegisterDevice_Request struct {
	// Device token used to send notifications. (for mpns, the token shall be URL for sending of notifications)
	Token string
	// String name of device model.
	DeviceModel *string
	// Device year.
	DeviceYear *int
	// Unique device ID.
	DeviceId string
	// String version of device operating system.
	SystemVersion *string
	// Push settings in a [vk.com/dev/push_settings|special format].
	Settings *string
	//  Default: 0
	Sandbox *bool
}

type Account_SaveProfileInfo_BdateVisibility

type Account_SaveProfileInfo_BdateVisibility int
const (
	Account_SaveProfileInfo_BdateVisibility_Show     Account_SaveProfileInfo_BdateVisibility = 1
	Account_SaveProfileInfo_BdateVisibility_HideYear Account_SaveProfileInfo_BdateVisibility = 2
	Account_SaveProfileInfo_BdateVisibility_Hide     Account_SaveProfileInfo_BdateVisibility = 0
)

type Account_SaveProfileInfo_Relation

type Account_SaveProfileInfo_Relation int
const (
	Account_SaveProfileInfo_Relation_Single            Account_SaveProfileInfo_Relation = 1
	Account_SaveProfileInfo_Relation_Relationship      Account_SaveProfileInfo_Relation = 2
	Account_SaveProfileInfo_Relation_Engaged           Account_SaveProfileInfo_Relation = 3
	Account_SaveProfileInfo_Relation_Married           Account_SaveProfileInfo_Relation = 4
	Account_SaveProfileInfo_Relation_Complicated       Account_SaveProfileInfo_Relation = 5
	Account_SaveProfileInfo_Relation_ActivelySearching Account_SaveProfileInfo_Relation = 6
	Account_SaveProfileInfo_Relation_InLove            Account_SaveProfileInfo_Relation = 7
	Account_SaveProfileInfo_Relation_NotSpecified      Account_SaveProfileInfo_Relation = 0
)

type Account_SaveProfileInfo_Request

type Account_SaveProfileInfo_Request struct {
	// User first name.
	FirstName *string
	// User last name.
	LastName *string
	// User maiden name (female only)
	MaidenName *string
	// User screen name.
	ScreenName *string
	// ID of the name change request to be canceled. If this parameter is sent, all the others are ignored.
	//  Minimum: 0
	CancelRequestId *int
	// User sex. Possible values: , * '1' - female,, * '2' - male.
	//  Minimum: 0
	Sex *Account_SaveProfileInfo_Sex
	// User relationship status. Possible values: , * '1' - single,, * '2' - in a relationship,, * '3' - engaged,, * '4' - married,, * '5' - it's complicated,, * '6' - actively searching,, * '7' - in love,, * '0' - not specified.
	//  Minimum: 0
	Relation *Account_SaveProfileInfo_Relation
	// ID of the relationship partner.
	//  Format: int64
	//  Minimum: 0
	RelationPartnerId *int
	// User birth date, format: DD.MM.YYYY.
	Bdate *string
	// Birth date visibility. Returned values: , * '1' - show birth date,, * '2' - show only month and day,, * '0' - hide birth date.
	//  Minimum: 0
	BdateVisibility *Account_SaveProfileInfo_BdateVisibility
	// User home town.
	HomeTown *string
	// User country.
	//  Minimum: 0
	CountryId *int
	// User city.
	//  Minimum: 0
	CityId *int
	// Status text.
	Status *string
}

type Account_SaveProfileInfo_Response

type Account_SaveProfileInfo_Response struct {
	Response struct {
		// 1 if changes has been processed
		Changed     Base_BoolInt         `json:"changed"`
		NameRequest *Account_NameRequest `json:"name_request,omitempty"`
	} `json:"response"`
}

type Account_SaveProfileInfo_Sex

type Account_SaveProfileInfo_Sex int
const (
	Account_SaveProfileInfo_Sex_Undefined Account_SaveProfileInfo_Sex = 0
	Account_SaveProfileInfo_Sex_Female    Account_SaveProfileInfo_Sex = 1
	Account_SaveProfileInfo_Sex_Male      Account_SaveProfileInfo_Sex = 2
)

type Account_SetInfo_Name

type Account_SetInfo_Name string
const (
	Account_SetInfo_Name_Intro           Account_SetInfo_Name = "intro"
	Account_SetInfo_Name_NoWallReplies   Account_SetInfo_Name = "no_wall_replies"
	Account_SetInfo_Name_OwnPostsDefault Account_SetInfo_Name = "own_posts_default"
)

type Account_SetInfo_Request

type Account_SetInfo_Request struct {
	// Setting name.
	Name *Account_SetInfo_Name
	// Setting value.
	Value *string
}

type Account_SetOnline_Request

type Account_SetOnline_Request struct {
	// '1' if videocalls are available for current device.
	Voip *bool
}

type Account_SetPushSettings_Request

type Account_SetPushSettings_Request struct {
	// Unique device ID.
	DeviceId string
	// Push settings in a [vk.com/dev/push_settings|special format].
	Settings *string
	// Notification key.
	Key   *string
	Value *[]string
}

type Account_SetSilenceMode_Request

type Account_SetSilenceMode_Request struct {
	// Unique device ID.
	DeviceId *string
	// Time in seconds for what notifications should be disabled. '-1' to disable forever.
	Time *int
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
	PeerId *int
	// '1' — to enable sound in this dialog, '0' — to disable sound. Only if 'peer_id' contains user or community ID.
	Sound *int
}

type Account_Subscriptions

type Account_Subscriptions []int

type Account_Unban_Request

type Account_Unban_Request struct {
	//  Format: int64
	OwnerId *int
}

type Account_UnregisterDevice_Request

type Account_UnregisterDevice_Request struct {
	// Unique device ID.
	DeviceId *string
	//  Default: 0
	Sandbox *bool
}

type Account_UserSettings

type Account_UserSettings struct {
	Users_UserSettingsXtr
	// flag about service account
	IsServiceAccount *bool `json:"is_service_account,omitempty"`
	// URL of square photo of the user with 200 pixels in width
	//  Format: uri
	Photo200 *string `json:"photo_200,omitempty"`
}

type Account_UserSettingsInterest

type Account_UserSettingsInterest struct {
	Title string `json:"title"`
	Value string `json:"value"`
}

type Account_UserSettingsInterests

type Account_UserSettingsInterests struct {
	About      *Account_UserSettingsInterest `json:"about,omitempty"`
	Activities *Account_UserSettingsInterest `json:"activities,omitempty"`
	Books      *Account_UserSettingsInterest `json:"books,omitempty"`
	Games      *Account_UserSettingsInterest `json:"games,omitempty"`
	Interests  *Account_UserSettingsInterest `json:"interests,omitempty"`
	Movies     *Account_UserSettingsInterest `json:"movies,omitempty"`
	Music      *Account_UserSettingsInterest `json:"music,omitempty"`
	Quotes     *Account_UserSettingsInterest `json:"quotes,omitempty"`
	Tv         *Account_UserSettingsInterest `json:"tv,omitempty"`
}

type Addresses_Fields

type Addresses_Fields string
const (
	Addresses_Fields_Id                Addresses_Fields = "id"
	Addresses_Fields_Title             Addresses_Fields = "title"
	Addresses_Fields_Address           Addresses_Fields = "address"
	Addresses_Fields_AdditionalAddress Addresses_Fields = "additional_address"
	Addresses_Fields_CountryId         Addresses_Fields = "country_id"
	Addresses_Fields_CityId            Addresses_Fields = "city_id"
	Addresses_Fields_MetroStationId    Addresses_Fields = "metro_station_id"
	Addresses_Fields_Latitude          Addresses_Fields = "latitude"
	Addresses_Fields_Longitude         Addresses_Fields = "longitude"
	Addresses_Fields_Distance          Addresses_Fields = "distance"
	Addresses_Fields_WorkInfoStatus    Addresses_Fields = "work_info_status"
	Addresses_Fields_Timetable         Addresses_Fields = "timetable"
	Addresses_Fields_Phone             Addresses_Fields = "phone"
	Addresses_Fields_TimeOffset        Addresses_Fields = "time_offset"
)

type Ads_AccessRole

type Ads_AccessRole string

Ads_AccessRole Current user's role

const (
	Ads_AccessRole_Admin   Ads_AccessRole = "admin"
	Ads_AccessRole_Manager Ads_AccessRole = "manager"
	Ads_AccessRole_Reports Ads_AccessRole = "reports"
)

type Ads_AccessRolePublic

type Ads_AccessRolePublic string

Ads_AccessRolePublic Current user's role

const (
	Ads_AccessRolePublic_Manager Ads_AccessRolePublic = "manager"
	Ads_AccessRolePublic_Reports Ads_AccessRolePublic = "reports"
)

type Ads_Accesses

type Ads_Accesses struct {
	// Client ID
	ClientId *string         `json:"client_id,omitempty"`
	Role     *Ads_AccessRole `json:"role,omitempty"`
}

type Ads_Account

type Ads_Account struct {
	AccessRole Ads_AccessRole `json:"access_role"`
	// Account ID
	AccountId int `json:"account_id"`
	// Account name
	AccountName string `json:"account_name"`
	// Information whether account is active
	AccountStatus Base_BoolInt    `json:"account_status"`
	AccountType   Ads_AccountType `json:"account_type"`
	// Can user view account budget
	CanViewBudget bool `json:"can_view_budget"`
}

type Ads_AccountType

type Ads_AccountType string

Ads_AccountType Account type

const (
	Ads_AccountType_General Ads_AccountType = "general"
	Ads_AccountType_Agency  Ads_AccountType = "agency"
)

type Ads_Ad

type Ads_Ad struct {
	// Ad format
	AdFormat int `json:"ad_format"`
	// Ad platform
	AdPlatform *string `json:"ad_platform,omitempty"`
	// Total limit
	AllLimit int            `json:"all_limit"`
	Approved Ads_AdApproved `json:"approved"`
	// Max cost of target actions for autobidding, kopecks
	AutobiddingMaxCost *int `json:"autobidding_max_cost,omitempty"`
	// Campaign ID
	CampaignId int `json:"campaign_id"`
	// Category ID
	Category1Id *int `json:"category1_id,omitempty"`
	// Additional category ID
	Category2Id *int           `json:"category2_id,omitempty"`
	CostType    Ads_AdCostType `json:"cost_type"`
	// Cost of an action, kopecks
	Cpa *int `json:"cpa,omitempty"`
	// Cost of a click, kopecks
	Cpc *int `json:"cpc,omitempty"`
	// Cost of 1000 impressions, kopecks
	Cpm *int `json:"cpm,omitempty"`
	// Information whether disclaimer is enabled
	DisclaimerMedical *Base_BoolInt `json:"disclaimer_medical,omitempty"`
	// Information whether disclaimer is enabled
	DisclaimerSpecialist *Base_BoolInt `json:"disclaimer_specialist,omitempty"`
	// Information whether disclaimer is enabled
	DisclaimerSupplements *Base_BoolInt `json:"disclaimer_supplements,omitempty"`
	// Ad ID
	Id int `json:"id"`
	// Impressions limit
	ImpressionsLimit *int `json:"impressions_limit,omitempty"`
	// Information whether impressions are limited
	ImpressionsLimited *Base_BoolInt `json:"impressions_limited,omitempty"`
	// Ad title
	Name string `json:"name"`
	// Cost of 1000 impressions optimized, kopecks
	Ocpm   *int         `json:"ocpm,omitempty"`
	Status Ads_AdStatus `json:"status"`
	// Information whether the ad is a video
	Video *Base_BoolInt `json:"video,omitempty"`
}

type Ads_AdApproved

type Ads_AdApproved int

Ads_AdApproved Review status

const (
	Ads_AdApproved_NotModerated      Ads_AdApproved = 0
	Ads_AdApproved_PendingModeration Ads_AdApproved = 1
	Ads_AdApproved_Approved          Ads_AdApproved = 2
	Ads_AdApproved_Rejected          Ads_AdApproved = 3
)

type Ads_AdCostType

type Ads_AdCostType int

Ads_AdCostType Cost type

const (
	Ads_AdCostType_PerClicks               Ads_AdCostType = 0
	Ads_AdCostType_PerImpressions          Ads_AdCostType = 1
	Ads_AdCostType_PerActions              Ads_AdCostType = 2
	Ads_AdCostType_PerImpressionsOptimized Ads_AdCostType = 3
)

type Ads_AdLayout

type Ads_AdLayout struct {
	// Ad format
	AdFormat int `json:"ad_format"`
	// Campaign ID
	CampaignId int            `json:"campaign_id"`
	CostType   Ads_AdCostType `json:"cost_type"`
	// Ad description
	Description string `json:"description"`
	// Ad ID
	Id string `json:"id"`
	// Image URL
	//  Format: uri
	ImageSrc string `json:"image_src"`
	// URL of the preview image in double size
	//  Format: uri
	ImageSrc2x *string `json:"image_src_2x,omitempty"`
	// Domain of advertised object
	LinkDomain *string `json:"link_domain,omitempty"`
	// URL of advertised object
	//  Format: uri
	LinkUrl string `json:"link_url"`
	// link to preview an ad as it is shown on the website
	PreviewLink *string `json:"preview_link,omitempty"`
	// Ad title
	Title string `json:"title"`
	// Information whether the ad is a video
	Video *Base_BoolInt `json:"video,omitempty"`
}

type Ads_AdStatus

type Ads_AdStatus int

Ads_AdStatus Ad atatus

const (
	Ads_AdStatus_Stopped Ads_AdStatus = 0
	Ads_AdStatus_Started Ads_AdStatus = 1
	Ads_AdStatus_Deleted Ads_AdStatus = 2
)

type Ads_AddOfficeUsers_Request

type Ads_AddOfficeUsers_Request struct {
	// Advertising account ID.
	AccountId int
	//  Format: json
	//  MinItems: 1
	//  MaxItems: 10
	Data *[]Ads_UserSpecificationCutted
}

type Ads_AddOfficeUsers_Response

type Ads_AddOfficeUsers_Response struct {
	// true if success
	Response bool `json:"response"`
}

type Ads_Campaign

type Ads_Campaign struct {
	// Amount of active ads in campaign
	AdsCount *int `json:"ads_count,omitempty"`
	// Campaign's total limit, rubles
	AllLimit string `json:"all_limit"`
	// Campaign create time, as Unixtime
	CreateTime *int `json:"create_time,omitempty"`
	// Campaign's day limit, rubles
	DayLimit string `json:"day_limit"`
	// Campaign goal type
	GoalType *int `json:"goal_type,omitempty"`
	// Campaign ID
	Id int `json:"id"`
	// Shows if Campaign Budget Optimization is on
	IsCboEnabled *bool `json:"is_cbo_enabled,omitempty"`
	// Campaign title
	Name string `json:"name"`
	// Campaign start time, as Unixtime
	StartTime int                `json:"start_time"`
	Status    Ads_CampaignStatus `json:"status"`
	// Campaign stop time, as Unixtime
	StopTime int              `json:"stop_time"`
	Type     Ads_CampaignType `json:"type"`
	// Campaign update time, as Unixtime
	UpdateTime *int `json:"update_time,omitempty"`
	// Campaign user goal type
	UserGoalType *int `json:"user_goal_type,omitempty"`
	// Limit of views per user per campaign
	ViewsLimit *int `json:"views_limit,omitempty"`
}

type Ads_CampaignStatus

type Ads_CampaignStatus int

Ads_CampaignStatus Campaign status

const (
	Ads_CampaignStatus_Stopped Ads_CampaignStatus = 0
	Ads_CampaignStatus_Started Ads_CampaignStatus = 1
	Ads_CampaignStatus_Deleted Ads_CampaignStatus = 2
)

type Ads_CampaignType

type Ads_CampaignType string

Ads_CampaignType Campaign type

const (
	Ads_CampaignType_Normal        Ads_CampaignType = "normal"
	Ads_CampaignType_VkAppsManaged Ads_CampaignType = "vk_apps_managed"
	Ads_CampaignType_MobileApps    Ads_CampaignType = "mobile_apps"
	Ads_CampaignType_PromotedPosts Ads_CampaignType = "promoted_posts"
	Ads_CampaignType_AdaptiveAds   Ads_CampaignType = "adaptive_ads"
	Ads_CampaignType_Stories       Ads_CampaignType = "stories"
)

type Ads_Category

type Ads_Category struct {
	// Category ID
	//  Minimum: 1
	Id int `json:"id"`
	// Category name
	Name          string          `json:"name"`
	Subcategories *[]Ads_Category `json:"subcategories,omitempty"`
}
type Ads_CheckLink_LinkType string
const (
	Ads_CheckLink_LinkType_Community   Ads_CheckLink_LinkType = "community"
	Ads_CheckLink_LinkType_Post        Ads_CheckLink_LinkType = "post"
	Ads_CheckLink_LinkType_Application Ads_CheckLink_LinkType = "application"
	Ads_CheckLink_LinkType_Video       Ads_CheckLink_LinkType = "video"
	Ads_CheckLink_LinkType_Site        Ads_CheckLink_LinkType = "site"
)
type Ads_CheckLink_Request struct {
	// Advertising account ID.
	AccountId int
	// Object type: *'community' — community,, *'post' — community post,, *'application' — VK application,, *'video' — video,, *'site' — external site.
	LinkType Ads_CheckLink_LinkType
	// Object URL.
	LinkUrl string
	// Campaign ID
	CampaignId *int
}
type Ads_CheckLink_Response struct {
	Response Ads_LinkStatus `json:"response"`
}

type Ads_Client

type Ads_Client struct {
	// Client's total limit, rubles
	AllLimit string `json:"all_limit"`
	// Client's day limit, rubles
	DayLimit string `json:"day_limit"`
	// Client ID
	Id int `json:"id"`
	// Client name
	Name string `json:"name"`
}

type Ads_CreateAdStatus

type Ads_CreateAdStatus struct {
	// Error code
	//  Minimum: 0
	ErrorCode *int `json:"error_code,omitempty"`
	// Error description
	ErrorDesc *string `json:"error_desc,omitempty"`
	// Ad ID
	//  Minimum: 0
	Id int `json:"id"`
	// Stealth Post ID
	//  Minimum: 0
	PostId *int `json:"post_id,omitempty"`
}

type Ads_CreateAds_Request

type Ads_CreateAds_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array of objects that describe created ads. Description of 'ad_specification' objects see below.
	Data string
}

type Ads_CreateAds_Response

type Ads_CreateAds_Response struct {
	Response []Ads_CreateAdStatus `json:"response"`
}

type Ads_CreateCampaignStatus

type Ads_CreateCampaignStatus struct {
	// Error code
	//  Minimum: 0
	ErrorCode *int `json:"error_code,omitempty"`
	// Error description
	ErrorDesc *string `json:"error_desc,omitempty"`
	// Campaign ID
	//  Minimum: 0
	Id int `json:"id"`
}

type Ads_CreateCampaigns_Request

type Ads_CreateCampaigns_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array of objects that describe created campaigns. Description of 'campaign_specification' objects see below.
	Data string
}

type Ads_CreateCampaigns_Response

type Ads_CreateCampaigns_Response struct {
	Response []Ads_CreateCampaignStatus `json:"response"`
}

type Ads_CreateClients_Request

type Ads_CreateClients_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array of objects that describe created campaigns. Description of 'client_specification' objects see below.
	Data string
}

type Ads_CreateClients_Response

type Ads_CreateClients_Response struct {
	Response []int `json:"response"`
}

type Ads_CreateTargetGroup_Request

type Ads_CreateTargetGroup_Request struct {
	// Advertising account ID.
	AccountId int
	// 'Only for advertising agencies.', ID of the client with the advertising account where the group will be created.
	ClientId *int
	// Name of the target group — a string up to 64 characters long.
	Name string
	// 'For groups with auditory created with pixel code only.', , Number of days after that users will be automatically removed from the group.
	//  Minimum: 1
	//  Maximum: 720
	Lifetime         int
	TargetPixelId    *int
	TargetPixelRules *string
}

type Ads_CreateTargetGroup_Response

type Ads_CreateTargetGroup_Response struct {
	Response struct {
		// Group ID
		Id *int `json:"id,omitempty"`
		// Pixel code
		Pixel *string `json:"pixel,omitempty"`
	} `json:"response"`
}

type Ads_Criteria

type Ads_Criteria struct {
	// Age from
	//  Minimum: 0
	AgeFrom *int `json:"age_from,omitempty"`
	// Age to
	//  Minimum: 0
	AgeTo *int `json:"age_to,omitempty"`
	// Apps IDs
	Apps *string `json:"apps,omitempty"`
	// Apps IDs to except
	AppsNot *string `json:"apps_not,omitempty"`
	// Days to birthday
	Birthday *int `json:"birthday,omitempty"`
	// Cities IDs
	Cities *string `json:"cities,omitempty"`
	// Cities IDs to except
	CitiesNot *string `json:"cities_not,omitempty"`
	// Country ID
	//  Minimum: 0
	Country *int `json:"country,omitempty"`
	// Districts IDs
	Districts *string `json:"districts,omitempty"`
	// Communities IDs
	Groups *string `json:"groups,omitempty"`
	// Interests categories IDs
	InterestCategories *string `json:"interest_categories,omitempty"`
	// Interests
	Interests *string `json:"interests,omitempty"`
	// Information whether the user has proceeded VK payments before
	Paying *Base_BoolInt `json:"paying,omitempty"`
	// Positions IDs
	Positions *string `json:"positions,omitempty"`
	// Religions IDs
	Religions *string `json:"religions,omitempty"`
	// Retargeting groups IDs
	RetargetingGroups *string `json:"retargeting_groups,omitempty"`
	// Retargeting groups IDs to except
	RetargetingGroupsNot *string `json:"retargeting_groups_not,omitempty"`
	// School graduation year from
	SchoolFrom *int `json:"school_from,omitempty"`
	// School graduation year to
	SchoolTo *int `json:"school_to,omitempty"`
	// Schools IDs
	Schools *string          `json:"schools,omitempty"`
	Sex     *Ads_CriteriaSex `json:"sex,omitempty"`
	// Stations IDs
	Stations *string `json:"stations,omitempty"`
	// Relationship statuses
	Statuses *string `json:"statuses,omitempty"`
	// Streets IDs
	Streets *string `json:"streets,omitempty"`
	// Travellers only
	Travellers *Base_PropertyExists `json:"travellers,omitempty"`
	// University graduation year from
	UniFrom *int `json:"uni_from,omitempty"`
	// University graduation year to
	UniTo *int `json:"uni_to,omitempty"`
	// Browsers
	UserBrowsers *string `json:"user_browsers,omitempty"`
	// Devices
	UserDevices *string `json:"user_devices,omitempty"`
	// Operating systems
	UserOs *string `json:"user_os,omitempty"`
}

type Ads_CriteriaSex

type Ads_CriteriaSex int

Ads_CriteriaSex Sex

const (
	Ads_CriteriaSex_Any    Ads_CriteriaSex = 0
	Ads_CriteriaSex_Male   Ads_CriteriaSex = 1
	Ads_CriteriaSex_Female Ads_CriteriaSex = 2
)

type Ads_DeleteAds_Request

type Ads_DeleteAds_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array with ad IDs.
	Ids string
}

type Ads_DeleteAds_Response

type Ads_DeleteAds_Response struct {
	Response []int `json:"response"`
}

type Ads_DeleteCampaigns_Request

type Ads_DeleteCampaigns_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array with IDs of deleted campaigns.
	Ids string
}

type Ads_DeleteCampaigns_Response

type Ads_DeleteCampaigns_Response struct {
	Response []int `json:"response"`
}

type Ads_DeleteClients_Request

type Ads_DeleteClients_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array with IDs of deleted clients.
	Ids string
}

type Ads_DeleteClients_Response

type Ads_DeleteClients_Response struct {
	Response []int `json:"response"`
}

type Ads_DeleteTargetGroup_Request

type Ads_DeleteTargetGroup_Request struct {
	// Advertising account ID.
	AccountId int
	// 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.
	ClientId *int
	// Group ID.
	TargetGroupId int
}

type Ads_DemoStats

type Ads_DemoStats struct {
	// Object ID
	Id    *int                 `json:"id,omitempty"`
	Stats *Ads_DemostatsFormat `json:"stats,omitempty"`
	Type  *Ads_ObjectType      `json:"type,omitempty"`
}

type Ads_DemostatsFormat

type Ads_DemostatsFormat struct {
	Age    *[]Ads_StatsAge    `json:"age,omitempty"`
	Cities *[]Ads_StatsCities `json:"cities,omitempty"`
	// Day as YYYY-MM-DD
	Day *string `json:"day,omitempty"`
	// Month as YYYY-MM
	Month *string `json:"month,omitempty"`
	// 1 if period=overall
	Overall *int               `json:"overall,omitempty"`
	Sex     *[]Ads_StatsSex    `json:"sex,omitempty"`
	SexAge  *[]Ads_StatsSexAge `json:"sex_age,omitempty"`
}

type Ads_FloodStats

type Ads_FloodStats struct {
	// Requests left
	Left int `json:"left"`
	// Time to refresh in seconds
	Refresh int `json:"refresh"`
}

type Ads_GetAccounts_Response

type Ads_GetAccounts_Response struct {
	Response []Ads_Account `json:"response"`
}

type Ads_GetAdsLayout_Request

type Ads_GetAdsLayout_Request struct {
	// Advertising account ID.
	AccountId int
	// 'For advertising agencies.' ID of the client ads are retrieved from.
	ClientId *int
	// Flag that specifies whether archived ads shall be shown. *0 — show only active ads,, *1 — show all ads.
	IncludeDeleted *bool
	// Flag that specifies whether to show only archived ads: *0 — show all ads,, *1 — show only archived ads. Available when include_deleted flag is *1
	OnlyDeleted *bool
	// Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.
	CampaignIds *string
	// Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.
	AdIds *string
	// Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.
	Limit *int
	// Offset. Used in the same cases as 'limit' parameter.
	Offset *int
}

type Ads_GetAdsLayout_Response

type Ads_GetAdsLayout_Response struct {
	Response []Ads_AdLayout `json:"response"`
}

type Ads_GetAdsTargeting_Request

type Ads_GetAdsTargeting_Request struct {
	// Advertising account ID.
	AccountId int
	// Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.
	AdIds *string
	// Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.
	CampaignIds *string
	// 'For advertising agencies.' ID of the client ads are retrieved from.
	ClientId *int
	// flag that specifies whether archived ads shall be shown: *0 — show only active ads,, *1 — show all ads.
	IncludeDeleted *bool
	// Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.
	Limit *int
	// Offset needed to return a specific subset of results.
	Offset *int
}

type Ads_GetAdsTargeting_Response

type Ads_GetAdsTargeting_Response struct {
	Response []Ads_TargSettings `json:"response"`
}

type Ads_GetAds_Request

type Ads_GetAds_Request struct {
	// Advertising account ID.
	AccountId int
	// Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.
	AdIds *string
	// Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.
	CampaignIds *string
	// 'Available and required for advertising agencies.' ID of the client ads are retrieved from.
	ClientId *int
	// Flag that specifies whether archived ads shall be shown: *0 — show only active ads,, *1 — show all ads.
	IncludeDeleted *bool
	// Flag that specifies whether to show only archived ads: *0 — show all ads,, *1 — show only archived ads. Available when include_deleted flag is *1
	OnlyDeleted *bool
	// Limit of number of returned ads. Used only if ad_ids parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.
	Limit *int
	// Offset. Used in the same cases as 'limit' parameter.
	Offset *int
}

type Ads_GetAds_Response

type Ads_GetAds_Response struct {
	Response []Ads_Ad `json:"response"`
}

type Ads_GetBudget_Request

type Ads_GetBudget_Request struct {
	// Advertising account ID.
	AccountId int
}

type Ads_GetBudget_Response

type Ads_GetBudget_Response struct {
	// Budget
	Response int `json:"response"`
}

type Ads_GetCampaigns_Fields

type Ads_GetCampaigns_Fields string
const (
	Ads_GetCampaigns_Fields_AdsCount Ads_GetCampaigns_Fields = "ads_count"
)

type Ads_GetCampaigns_Request

type Ads_GetCampaigns_Request struct {
	// Advertising account ID.
	AccountId int
	// 'For advertising agencies'. ID of the client advertising campaigns are retrieved from.
	ClientId *int
	// Flag that specifies whether archived ads shall be shown. *0 — show only active campaigns,, *1 — show all campaigns.
	IncludeDeleted *bool
	// Filter of advertising campaigns to show. Serialized JSON array with campaign IDs. Only campaigns that exist in 'campaign_ids' and belong to the specified advertising account will be shown. If the parameter is null, all campaigns will be shown.
	CampaignIds *string
	Fields      *[]Ads_GetCampaigns_Fields
}

type Ads_GetCampaigns_Response

type Ads_GetCampaigns_Response struct {
	Response []Ads_Campaign `json:"response"`
}

type Ads_GetCategories_Request

type Ads_GetCategories_Request struct {
	// Language. The full list of supported languages is [vk.com/dev/api_requests|here].
	Lang *string
}

type Ads_GetCategories_Response

type Ads_GetCategories_Response struct {
	Response struct {
		// Old categories
		V1 *[]Ads_Category `json:"v1,omitempty"`
		// Actual categories
		V2 *[]Ads_Category `json:"v2,omitempty"`
	} `json:"response"`
}

type Ads_GetClients_Request

type Ads_GetClients_Request struct {
	// Advertising account ID.
	AccountId int
}

type Ads_GetClients_Response

type Ads_GetClients_Response struct {
	Response []Ads_Client `json:"response"`
}

type Ads_GetDemographics_IdsType

type Ads_GetDemographics_IdsType string
const (
	Ads_GetDemographics_IdsType_Ad       Ads_GetDemographics_IdsType = "ad"
	Ads_GetDemographics_IdsType_Campaign Ads_GetDemographics_IdsType = "campaign"
)

type Ads_GetDemographics_Period

type Ads_GetDemographics_Period string
const (
	Ads_GetDemographics_Period_Day     Ads_GetDemographics_Period = "day"
	Ads_GetDemographics_Period_Month   Ads_GetDemographics_Period = "month"
	Ads_GetDemographics_Period_Overall Ads_GetDemographics_Period = "overall"
)

type Ads_GetDemographics_Request

type Ads_GetDemographics_Request struct {
	// Advertising account ID.
	AccountId int
	// Type of requested objects listed in 'ids' parameter: *ad — ads,, *campaign — campaigns.
	IdsType Ads_GetDemographics_IdsType
	// IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects.
	Ids string
	// Data grouping by dates: *day — statistics by days,, *month — statistics by months,, *overall — overall statistics. 'date_from' and 'date_to' parameters set temporary limits.
	Period Ads_GetDemographics_Period
	// Date to show statistics from. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — day it was created on,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — month it was created in,, *overall: 0.
	DateFrom string
	// Date to show statistics to. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — current day,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — current month,, *overall: 0.
	DateTo string
}

type Ads_GetDemographics_Response

type Ads_GetDemographics_Response struct {
	Response []Ads_DemoStats `json:"response"`
}

type Ads_GetFloodStats_Request

type Ads_GetFloodStats_Request struct {
	// Advertising account ID.
	AccountId int
}

type Ads_GetFloodStats_Response

type Ads_GetFloodStats_Response struct {
	Response Ads_FloodStats `json:"response"`
}

type Ads_GetLookalikeRequests_Request

type Ads_GetLookalikeRequests_Request struct {
	AccountId   int
	ClientId    *int
	RequestsIds *string
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 0
	//  Maximum: 200
	Limit *int
	//  Default: id
	SortBy *string
}

type Ads_GetLookalikeRequests_Response

type Ads_GetLookalikeRequests_Response struct {
	Response struct {
		// Total count of found lookalike requests
		//  Minimum: 0
		Count int `json:"count"`
		// found lookalike requests
		Items []Ads_LookalikeRequest `json:"items"`
	} `json:"response"`
}

type Ads_GetMusiciansByIds_Request

type Ads_GetMusiciansByIds_Request struct {
	//  MaxItems: 200
	//  Minimum: 0
	Ids *[]int
}

type Ads_GetMusicians_Request

type Ads_GetMusicians_Request struct {
	//  MinLength: 3
	ArtistName string
}

type Ads_GetMusicians_Response

type Ads_GetMusicians_Response struct {
	Response struct {
		// Musicians
		Items []Ads_Musician `json:"items"`
	} `json:"response"`
}

type Ads_GetOfficeUsers_Request

type Ads_GetOfficeUsers_Request struct {
	// Advertising account ID.
	AccountId int
}

type Ads_GetOfficeUsers_Response

type Ads_GetOfficeUsers_Response struct {
	Response []Ads_Users `json:"response"`
}

type Ads_GetPostsReach_IdsType

type Ads_GetPostsReach_IdsType string
const (
	Ads_GetPostsReach_IdsType_Ad       Ads_GetPostsReach_IdsType = "ad"
	Ads_GetPostsReach_IdsType_Campaign Ads_GetPostsReach_IdsType = "campaign"
)

type Ads_GetPostsReach_Request

type Ads_GetPostsReach_Request struct {
	// Advertising account ID.
	AccountId int
	// Type of requested objects listed in 'ids' parameter: *ad — ads,, *campaign — campaigns.
	IdsType Ads_GetPostsReach_IdsType
	// IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 100 objects.
	Ids string
}

type Ads_GetPostsReach_Response

type Ads_GetPostsReach_Response struct {
	Response []Ads_PromotedPostReach `json:"response"`
}

type Ads_GetRejectionReason_Request

type Ads_GetRejectionReason_Request struct {
	// Advertising account ID.
	AccountId int
	// Ad ID.
	AdId int
}

type Ads_GetRejectionReason_Response

type Ads_GetRejectionReason_Response struct {
	Response Ads_RejectReason `json:"response"`
}

type Ads_GetStatistics_IdsType

type Ads_GetStatistics_IdsType string
const (
	Ads_GetStatistics_IdsType_Ad       Ads_GetStatistics_IdsType = "ad"
	Ads_GetStatistics_IdsType_Campaign Ads_GetStatistics_IdsType = "campaign"
	Ads_GetStatistics_IdsType_Client   Ads_GetStatistics_IdsType = "client"
	Ads_GetStatistics_IdsType_Office   Ads_GetStatistics_IdsType = "office"
)

type Ads_GetStatistics_Period

type Ads_GetStatistics_Period string
const (
	Ads_GetStatistics_Period_Day     Ads_GetStatistics_Period = "day"
	Ads_GetStatistics_Period_Month   Ads_GetStatistics_Period = "month"
	Ads_GetStatistics_Period_Overall Ads_GetStatistics_Period = "overall"
)

type Ads_GetStatistics_Request

type Ads_GetStatistics_Request struct {
	// Advertising account ID.
	AccountId int
	// Type of requested objects listed in 'ids' parameter: *ad — ads,, *campaign — campaigns,, *client — clients,, *office — account.
	IdsType Ads_GetStatistics_IdsType
	// IDs requested ads, campaigns, clients or account, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects.
	Ids string
	// Data grouping by dates: *day — statistics by days,, *month — statistics by months,, *overall — overall statistics. 'date_from' and 'date_to' parameters set temporary limits.
	Period Ads_GetStatistics_Period
	// Date to show statistics from. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — day it was created on,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — month it was created in,, *overall: 0.
	DateFrom string
	// Date to show statistics to. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — current day,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — current month,, *overall: 0.
	DateTo      string
	StatsFields *[]Ads_GetStatistics_StatsFields
}

type Ads_GetStatistics_Response

type Ads_GetStatistics_Response struct {
	Response []Ads_Stats `json:"response"`
}

type Ads_GetStatistics_StatsFields

type Ads_GetStatistics_StatsFields string
const (
	Ads_GetStatistics_StatsFields_ViewsTimes Ads_GetStatistics_StatsFields = "views_times"
)

type Ads_GetSuggestionsCities_Response

type Ads_GetSuggestionsCities_Response struct {
	Response []Ads_TargSuggestionsCities `json:"response"`
}

type Ads_GetSuggestionsRegions_Response

type Ads_GetSuggestionsRegions_Response struct {
	Response []Ads_TargSuggestionsRegions `json:"response"`
}

type Ads_GetSuggestionsSchools_Response

type Ads_GetSuggestionsSchools_Response struct {
	Response []Ads_TargSuggestionsSchools `json:"response"`
}

type Ads_GetSuggestions_Lang

type Ads_GetSuggestions_Lang string
const (
	Ads_GetSuggestions_Lang_Russian   Ads_GetSuggestions_Lang = "ru"
	Ads_GetSuggestions_Lang_Ukrainian Ads_GetSuggestions_Lang = "ua"
	Ads_GetSuggestions_Lang_English   Ads_GetSuggestions_Lang = "en"
)

type Ads_GetSuggestions_Request

type Ads_GetSuggestions_Request struct {
	// Section, suggestions are retrieved in. Available values: *countries — request of a list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full list of countries is shown. *regions — requested list of regions. 'country' parameter is required. *cities — requested list of cities. 'country' parameter is required. *districts — requested list of districts. 'cities' parameter is required. *stations — requested list of subway stations. 'cities' parameter is required. *streets — requested list of streets. 'cities' parameter is required. *schools — requested list of educational organizations. 'cities' parameter is required. *interests — requested list of interests. *positions — requested list of positions (professions). *group_types — requested list of group types. *religions — requested list of religious commitments. *browsers — requested list of browsers and mobile devices.
	Section Ads_GetSuggestions_Section
	// Objects IDs separated by commas. If the parameter is passed, 'q, country, cities' should not be passed.
	Ids *string
	// Filter-line of the request (for countries, regions, cities, streets, schools, interests, positions).
	Q *string
	// ID of the country objects are searched in.
	Country *int
	// IDs of cities where objects are searched in, separated with a comma.
	Cities *string
	// Language of the returned string values. Supported languages: *ru — Russian,, *ua — Ukrainian,, *en — English.
	Lang *Ads_GetSuggestions_Lang
}

type Ads_GetSuggestions_Response

type Ads_GetSuggestions_Response struct {
	Response []Ads_TargSuggestions `json:"response"`
}

type Ads_GetSuggestions_Section

type Ads_GetSuggestions_Section string
const (
	Ads_GetSuggestions_Section_Countries  Ads_GetSuggestions_Section = "countries"
	Ads_GetSuggestions_Section_Regions    Ads_GetSuggestions_Section = "regions"
	Ads_GetSuggestions_Section_Cities     Ads_GetSuggestions_Section = "cities"
	Ads_GetSuggestions_Section_Districts  Ads_GetSuggestions_Section = "districts"
	Ads_GetSuggestions_Section_Stations   Ads_GetSuggestions_Section = "stations"
	Ads_GetSuggestions_Section_Streets    Ads_GetSuggestions_Section = "streets"
	Ads_GetSuggestions_Section_Schools    Ads_GetSuggestions_Section = "schools"
	Ads_GetSuggestions_Section_Interests  Ads_GetSuggestions_Section = "interests"
	Ads_GetSuggestions_Section_Positions  Ads_GetSuggestions_Section = "positions"
	Ads_GetSuggestions_Section_GroupTypes Ads_GetSuggestions_Section = "group_types"
	Ads_GetSuggestions_Section_Religions  Ads_GetSuggestions_Section = "religions"
	Ads_GetSuggestions_Section_Browsers   Ads_GetSuggestions_Section = "browsers"
)

type Ads_GetTargetGroups_Request

type Ads_GetTargetGroups_Request struct {
	// Advertising account ID.
	AccountId int
	// 'Only for advertising agencies.', ID of the client with the advertising account where the group will be created.
	ClientId *int
	// '1' — to return pixel code.
	Extended *bool
}

type Ads_GetTargetGroups_Response

type Ads_GetTargetGroups_Response struct {
	Response []Ads_TargetGroup `json:"response"`
}

type Ads_GetTargetingStats_AdFormat

type Ads_GetTargetingStats_AdFormat int
const (
	Ads_GetTargetingStats_AdFormat_ImageAndText           Ads_GetTargetingStats_AdFormat = 1
	Ads_GetTargetingStats_AdFormat_BigImage               Ads_GetTargetingStats_AdFormat = 2
	Ads_GetTargetingStats_AdFormat_ExclusiveFormat        Ads_GetTargetingStats_AdFormat = 3
	Ads_GetTargetingStats_AdFormat_CommunitySquareImage   Ads_GetTargetingStats_AdFormat = 4
	Ads_GetTargetingStats_AdFormat_SpecialAppFormat       Ads_GetTargetingStats_AdFormat = 7
	Ads_GetTargetingStats_AdFormat_SpecialCommunityFormat Ads_GetTargetingStats_AdFormat = 8
	Ads_GetTargetingStats_AdFormat_PostInCommunity        Ads_GetTargetingStats_AdFormat = 9
	Ads_GetTargetingStats_AdFormat_AppBoard               Ads_GetTargetingStats_AdFormat = 10
)

type Ads_GetTargetingStats_Request

type Ads_GetTargetingStats_Request struct {
	// Advertising account ID.
	AccountId int
	ClientId  *int
	// Serialized JSON object that describes targeting parameters. Description of 'criteria' object see below.
	Criteria *string
	// ID of an ad which targeting parameters shall be analyzed.
	AdId *int
	// Ad format. Possible values: *'1' — image and text,, *'2' — big image,, *'3' — exclusive format,, *'4' — community, square image,, *'7' — special app format,, *'8' — special community format,, *'9' — post in community,, *'10' — app board.
	AdFormat *Ads_GetTargetingStats_AdFormat
	// Platforms to use for ad showing. Possible values: (for 'ad_format' = '1'), *'0' — VK and partner sites,, *'1' — VK only. (for 'ad_format' = '9'), *'all' — all platforms,, *'desktop' — desktop version,, *'mobile' — mobile version and apps.
	AdPlatform            *string
	AdPlatformNoWall      *string
	AdPlatformNoAdNetwork *string
	PublisherPlatforms    *string
	// URL for the advertised object.
	LinkUrl string
	// Domain of the advertised object.
	LinkDomain *string
	// Additionally return recommended cpc and cpm to reach 5,10..95 percents of audience.
	NeedPrecise *bool
	// Impressions limit period in seconds, must be a multiple of 86400(day)
	ImpressionsLimitPeriod *int
}

type Ads_GetTargetingStats_Response

type Ads_GetTargetingStats_Response struct {
	Response Ads_TargStats `json:"response"`
}

type Ads_GetUploadURL_AdFormat

type Ads_GetUploadURL_AdFormat int
const (
	Ads_GetUploadURL_AdFormat_ImageAndText         Ads_GetUploadURL_AdFormat = 1
	Ads_GetUploadURL_AdFormat_BigImage             Ads_GetUploadURL_AdFormat = 2
	Ads_GetUploadURL_AdFormat_ExclusiveFormat      Ads_GetUploadURL_AdFormat = 3
	Ads_GetUploadURL_AdFormat_CommunitySquareImage Ads_GetUploadURL_AdFormat = 4
	Ads_GetUploadURL_AdFormat_SpecialAppFormat     Ads_GetUploadURL_AdFormat = 7
)

type Ads_GetUploadURL_Request

type Ads_GetUploadURL_Request struct {
	// Ad format: *1 — image and text,, *2 — big image,, *3 — exclusive format,, *4 — community, square image,, *7 — special app format.
	AdFormat Ads_GetUploadURL_AdFormat
	Icon     *int
}

type Ads_GetUploadURL_Response

type Ads_GetUploadURL_Response struct {
	// Photo upload URL
	Response string `json:"response"`
}

type Ads_GetVideoUploadURL_Response

type Ads_GetVideoUploadURL_Response struct {
	// Video upload URL
	Response string `json:"response"`
}

type Ads_ImportTargetContacts_Request

type Ads_ImportTargetContacts_Request struct {
	// Advertising account ID.
	AccountId int
	// 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.
	ClientId *int
	// Target group ID.
	TargetGroupId int
	// List of phone numbers, emails or user IDs separated with a comma.
	Contacts string
}

type Ads_ImportTargetContacts_Response

type Ads_ImportTargetContacts_Response struct {
	// Imported contacts number
	Response int `json:"response"`
}

type Ads_LinkStatus

type Ads_LinkStatus struct {
	// Reject reason
	Description string `json:"description"`
	// URL
	//  Format: uri
	RedirectUrl string `json:"redirect_url"`
	// Link status
	Status string `json:"status"`
}

type Ads_LookalikeRequest

type Ads_LookalikeRequest struct {
	// Lookalike request seed audience size
	//  Minimum: 0
	AudienceCount *int `json:"audience_count,omitempty"`
	// Lookalike request create time, as Unixtime
	CreateTime int `json:"create_time"`
	// Lookalike request ID
	//  Minimum: 1
	Id                 int                                      `json:"id"`
	SaveAudienceLevels *[]Ads_LookalikeRequestSaveAudienceLevel `json:"save_audience_levels,omitempty"`
	// Time by which lookalike request would be deleted, as Unixtime
	ScheduledDeleteTime *int `json:"scheduled_delete_time,omitempty"`
	// Lookalike request seed name (retargeting group name)
	SourceName *string `json:"source_name,omitempty"`
	// Retargeting group id, which was used as lookalike seed
	//  Minimum: 1
	SourceRetargetingGroupId *int `json:"source_retargeting_group_id,omitempty"`
	// Lookalike request source type
	SourceType Ads_LookalikeRequest_SourceType `json:"source_type"`
	// Lookalike request status
	Status Ads_LookalikeRequest_Status `json:"status"`
	// Lookalike request update time, as Unixtime
	UpdateTime int `json:"update_time"`
}

type Ads_LookalikeRequestSaveAudienceLevel

type Ads_LookalikeRequestSaveAudienceLevel struct {
	// Saved audience audience size for according level
	//  Minimum: 0
	AudienceCount *int `json:"audience_count,omitempty"`
	// Save audience level id, which is used in save audience queries
	//  Minimum: 1
	Level *int `json:"level,omitempty"`
}

type Ads_LookalikeRequest_SourceType

type Ads_LookalikeRequest_SourceType string
const (
	Ads_LookalikeRequest_SourceType_RetargetingGroup Ads_LookalikeRequest_SourceType = "retargeting_group"
)

type Ads_LookalikeRequest_Status

type Ads_LookalikeRequest_Status string
const (
	Ads_LookalikeRequest_Status_SearchInProgress Ads_LookalikeRequest_Status = "search_in_progress"
	Ads_LookalikeRequest_Status_SearchFailed     Ads_LookalikeRequest_Status = "search_failed"
	Ads_LookalikeRequest_Status_SearchDone       Ads_LookalikeRequest_Status = "search_done"
	Ads_LookalikeRequest_Status_SaveInProgress   Ads_LookalikeRequest_Status = "save_in_progress"
	Ads_LookalikeRequest_Status_SaveFailed       Ads_LookalikeRequest_Status = "save_failed"
	Ads_LookalikeRequest_Status_SaveDone         Ads_LookalikeRequest_Status = "save_done"
)

type Ads_Musician

type Ads_Musician struct {
	// Music artist photo
	Avatar *string `json:"avatar,omitempty"`
	// Targeting music artist ID
	//  Minimum: 1
	Id int `json:"id"`
	// Music artist name
	Name string `json:"name"`
}

type Ads_ObjectType

type Ads_ObjectType string

Ads_ObjectType Object type

const (
	Ads_ObjectType_Ad       Ads_ObjectType = "ad"
	Ads_ObjectType_Campaign Ads_ObjectType = "campaign"
	Ads_ObjectType_Client   Ads_ObjectType = "client"
	Ads_ObjectType_Office   Ads_ObjectType = "office"
)

type Ads_Paragraphs

type Ads_Paragraphs struct {
	// Rules paragraph
	Paragraph *string `json:"paragraph,omitempty"`
}

type Ads_PromotedPostReach

type Ads_PromotedPostReach struct {
	// Hides amount
	Hide int `json:"hide"`
	// Object ID from 'ids' parameter
	Id int `json:"id"`
	// Community joins
	JoinGroup int `json:"join_group"`
	// Link clicks
	Links int `json:"links"`
	// Subscribers reach
	ReachSubscribers int `json:"reach_subscribers"`
	// Total reach
	ReachTotal int `json:"reach_total"`
	// Reports amount
	Report int `json:"report"`
	// Community clicks
	ToGroup int `json:"to_group"`
	// 'Unsubscribe' events amount
	Unsubscribe int `json:"unsubscribe"`
	// Video views for 100 percent
	VideoViews100p *int `json:"video_views_100p,omitempty"`
	// Video views for 25 percent
	VideoViews25p *int `json:"video_views_25p,omitempty"`
	// Video views for 3 seconds
	VideoViews3s *int `json:"video_views_3s,omitempty"`
	// Video views for 50 percent
	VideoViews50p *int `json:"video_views_50p,omitempty"`
	// Video views for 75 percent
	VideoViews75p *int `json:"video_views_75p,omitempty"`
	// Video starts
	VideoViewsStart *int `json:"video_views_start,omitempty"`
}

type Ads_RejectReason

type Ads_RejectReason struct {
	// Comment text
	Comment *string      `json:"comment,omitempty"`
	Rules   *[]Ads_Rules `json:"rules,omitempty"`
}

type Ads_RemoveOfficeUsers_Request

type Ads_RemoveOfficeUsers_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array with IDs of deleted managers.
	Ids string
}

type Ads_RemoveOfficeUsers_Response

type Ads_RemoveOfficeUsers_Response struct {
	// true if success
	Response bool `json:"response"`
}

type Ads_Rules

type Ads_Rules struct {
	Paragraphs *[]Ads_Paragraphs `json:"paragraphs,omitempty"`
	// Comment
	Title *string `json:"title,omitempty"`
}

type Ads_Stats

type Ads_Stats struct {
	// Object ID
	Id         *int                 `json:"id,omitempty"`
	Stats      *Ads_StatsFormat     `json:"stats,omitempty"`
	Type       *Ads_ObjectType      `json:"type,omitempty"`
	ViewsTimes *Ads_StatsViewsTimes `json:"views_times,omitempty"`
}

type Ads_StatsAge

type Ads_StatsAge struct {
	// Clicks rate
	ClicksRate *float64 `json:"clicks_rate,omitempty"`
	// Impressions rate
	ImpressionsRate *float64 `json:"impressions_rate,omitempty"`
	// Age interval
	Value *string `json:"value,omitempty"`
}

type Ads_StatsCities

type Ads_StatsCities struct {
	// Clicks rate
	ClicksRate *float64 `json:"clicks_rate,omitempty"`
	// Impressions rate
	ImpressionsRate *float64 `json:"impressions_rate,omitempty"`
	// City name
	Name *string `json:"name,omitempty"`
	// City ID
	Value *int `json:"value,omitempty"`
}

type Ads_StatsFormat

type Ads_StatsFormat struct {
	// Clicks number
	Clicks *int `json:"clicks,omitempty"`
	// Day as YYYY-MM-DD
	Day *string `json:"day,omitempty"`
	// Impressions number
	Impressions *int `json:"impressions,omitempty"`
	// Events number
	JoinRate *int `json:"join_rate,omitempty"`
	// External clicks number
	LinkExternalClicks *int `json:"link_external_clicks,omitempty"`
	// Month as YYYY-MM
	Month *string `json:"month,omitempty"`
	// 1 if period=overall
	Overall *int `json:"overall,omitempty"`
	// Reach
	Reach *int `json:"reach,omitempty"`
	// Spent funds
	Spent *int `json:"spent,omitempty"`
	// Clickthoughs to the advertised site
	VideoClicksSite *int `json:"video_clicks_site,omitempty"`
	// Video views number
	VideoViews *int `json:"video_views,omitempty"`
	// Video views (full video)
	VideoViewsFull *int `json:"video_views_full,omitempty"`
	// Video views (half of video)
	VideoViewsHalf *int `json:"video_views_half,omitempty"`
}

type Ads_StatsSex

type Ads_StatsSex struct {
	// Clicks rate
	ClicksRate *float64 `json:"clicks_rate,omitempty"`
	// Impressions rate
	ImpressionsRate *float64           `json:"impressions_rate,omitempty"`
	Value           *Ads_StatsSexValue `json:"value,omitempty"`
}

type Ads_StatsSexAge

type Ads_StatsSexAge struct {
	// Clicks rate
	ClicksRate *float64 `json:"clicks_rate,omitempty"`
	// Impressions rate
	ImpressionsRate *float64 `json:"impressions_rate,omitempty"`
	// Sex and age interval
	Value *string `json:"value,omitempty"`
}

type Ads_StatsSexValue

type Ads_StatsSexValue string

Ads_StatsSexValue Sex

const (
	Ads_StatsSexValue_Female Ads_StatsSexValue = "f"
	Ads_StatsSexValue_Male   Ads_StatsSexValue = "m"
)

type Ads_StatsViewsTimes

type Ads_StatsViewsTimes struct {
	ViewsAdsTimes1      *int    `json:"views_ads_times_1,omitempty"`
	ViewsAdsTimes10     *int    `json:"views_ads_times_10,omitempty"`
	ViewsAdsTimes11Plus *int    `json:"views_ads_times_11_plus,omitempty"`
	ViewsAdsTimes2      *int    `json:"views_ads_times_2,omitempty"`
	ViewsAdsTimes3      *int    `json:"views_ads_times_3,omitempty"`
	ViewsAdsTimes4      *int    `json:"views_ads_times_4,omitempty"`
	ViewsAdsTimes5      *string `json:"views_ads_times_5,omitempty"`
	ViewsAdsTimes6      *int    `json:"views_ads_times_6,omitempty"`
	ViewsAdsTimes7      *int    `json:"views_ads_times_7,omitempty"`
	ViewsAdsTimes8      *int    `json:"views_ads_times_8,omitempty"`
	ViewsAdsTimes9      *int    `json:"views_ads_times_9,omitempty"`
}

type Ads_TargSettings

type Ads_TargSettings struct {
	// Campaign ID
	CampaignId *int `json:"campaign_id,omitempty"`
	// Ad ID
	Id *int `json:"id,omitempty"`
	Ads_Criteria
}

type Ads_TargStats

type Ads_TargStats struct {
	// Audience
	AudienceCount int `json:"audience_count"`
	// Recommended CPC value for 50% reach (old format)
	RecommendedCpc *float64 `json:"recommended_cpc,omitempty"`
	// Recommended CPC value for 50% reach
	RecommendedCpc50 *float64 `json:"recommended_cpc_50,omitempty"`
	// Recommended CPC value for 70% reach
	RecommendedCpc70 *float64 `json:"recommended_cpc_70,omitempty"`
	// Recommended CPC value for 90% reach
	RecommendedCpc90 *float64 `json:"recommended_cpc_90,omitempty"`
	// Recommended CPM value for 50% reach (old format)
	RecommendedCpm *float64 `json:"recommended_cpm,omitempty"`
	// Recommended CPM value for 50% reach
	RecommendedCpm50 *float64 `json:"recommended_cpm_50,omitempty"`
	// Recommended CPM value for 70% reach
	RecommendedCpm70 *float64 `json:"recommended_cpm_70,omitempty"`
	// Recommended CPM value for 90% reach
	RecommendedCpm90 *float64 `json:"recommended_cpm_90,omitempty"`
}

type Ads_TargSuggestions

type Ads_TargSuggestions struct {
	// Object ID
	Id *int `json:"id,omitempty"`
	// Object name
	Name *string `json:"name,omitempty"`
}

type Ads_TargSuggestionsCities

type Ads_TargSuggestionsCities struct {
	// Object ID
	Id *int `json:"id,omitempty"`
	// Object name
	Name *string `json:"name,omitempty"`
	// Parent object
	Parent *string `json:"parent,omitempty"`
}

type Ads_TargSuggestionsRegions

type Ads_TargSuggestionsRegions struct {
	// Object ID
	Id *int `json:"id,omitempty"`
	// Object name
	Name *string `json:"name,omitempty"`
	// Object type
	Type *string `json:"type,omitempty"`
}

type Ads_TargSuggestionsSchools

type Ads_TargSuggestionsSchools struct {
	// Full school title
	Desc *string `json:"desc,omitempty"`
	// School ID
	Id *int `json:"id,omitempty"`
	// School title
	Name *string `json:"name,omitempty"`
	// City name
	Parent *string                         `json:"parent,omitempty"`
	Type   *Ads_TargSuggestionsSchoolsType `json:"type,omitempty"`
}

type Ads_TargSuggestionsSchoolsType

type Ads_TargSuggestionsSchoolsType string

Ads_TargSuggestionsSchoolsType School type

const (
	Ads_TargSuggestionsSchoolsType_School     Ads_TargSuggestionsSchoolsType = "school"
	Ads_TargSuggestionsSchoolsType_University Ads_TargSuggestionsSchoolsType = "university"
	Ads_TargSuggestionsSchoolsType_Faculty    Ads_TargSuggestionsSchoolsType = "faculty"
	Ads_TargSuggestionsSchoolsType_Chair      Ads_TargSuggestionsSchoolsType = "chair"
)

type Ads_TargetGroup

type Ads_TargetGroup struct {
	// Audience
	AudienceCount *int `json:"audience_count,omitempty"`
	// Site domain
	Domain *string `json:"domain,omitempty"`
	// Group ID
	Id *int `json:"id,omitempty"`
	// Number of days for user to be in group
	Lifetime *int `json:"lifetime,omitempty"`
	// Group name
	Name *string `json:"name,omitempty"`
	// Pixel code
	Pixel *string `json:"pixel,omitempty"`
}

type Ads_UpdateAds_Request

type Ads_UpdateAds_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array of objects that describe changes in ads. Description of 'ad_edit_specification' objects see below.
	Data string
}

type Ads_UpdateAds_Response

type Ads_UpdateAds_Response struct {
	Response []int `json:"response"`
}

type Ads_UpdateCampaigns_Request

type Ads_UpdateCampaigns_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array of objects that describe changes in campaigns. Description of 'campaign_mod' objects see below.
	Data string
}

type Ads_UpdateCampaigns_Response

type Ads_UpdateCampaigns_Response struct {
	// Campaign ID
	Response int `json:"response"`
}

type Ads_UpdateClients_Request

type Ads_UpdateClients_Request struct {
	// Advertising account ID.
	AccountId int
	// Serialized JSON array of objects that describe changes in clients. Description of 'client_mod' objects see below.
	Data string
}

type Ads_UpdateClients_Response

type Ads_UpdateClients_Response struct {
	// Client ID
	Response int `json:"response"`
}

type Ads_UpdateOfficeUsersResult

type Ads_UpdateOfficeUsersResult struct {
	Error *Base_Error `json:"error,omitempty"`
	//  Default: true
	IsSuccess bool `json:"is_success"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Ads_UpdateOfficeUsers_Request

type Ads_UpdateOfficeUsers_Request struct {
	// Advertising account ID.
	//  Minimum: 0
	AccountId int
	//  Format: json
	//  MinItems: 1
	//  MaxItems: 10
	Data *[]Ads_UserSpecification
}

type Ads_UpdateOfficeUsers_Response

type Ads_UpdateOfficeUsers_Response struct {
	Response []Ads_UpdateOfficeUsersResult `json:"response"`
}

type Ads_UpdateTargetGroup_Request

type Ads_UpdateTargetGroup_Request struct {
	// Advertising account ID.
	AccountId int
	// 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.
	ClientId *int
	// Group ID.
	TargetGroupId int
	// New name of the target group — a string up to 64 characters long.
	Name string
	// Domain of the site where user accounting code will be placed.
	Domain *string
	// 'Only for the groups that get audience from sites with user accounting code.', Time in days when users added to a retarget group will be automatically excluded from it. '0' - automatic exclusion is off.
	//  Minimum: 1
	//  Maximum: 720
	Lifetime         int
	TargetPixelId    *int
	TargetPixelRules *string
}

type Ads_UserSpecification

type Ads_UserSpecification struct {
	//  Minimum: 0
	ClientIds *[]int `json:"client_ids,omitempty"`
	//  Default: false
	GrantAccessToAllClients *bool                `json:"grant_access_to_all_clients,omitempty"`
	Role                    Ads_AccessRolePublic `json:"role"`
	//  Format: int64
	//  Minimum: 0
	UserId     int   `json:"user_id"`
	ViewBudget *bool `json:"view_budget,omitempty"`
}

type Ads_UserSpecificationCutted

type Ads_UserSpecificationCutted struct {
	//  Minimum: 0
	ClientId *int                 `json:"client_id,omitempty"`
	Role     Ads_AccessRolePublic `json:"role"`
	//  Format: int64
	//  Minimum: 0
	UserId     int   `json:"user_id"`
	ViewBudget *bool `json:"view_budget,omitempty"`
}

type Ads_Users

type Ads_Users struct {
	Accesses []Ads_Accesses `json:"accesses"`
	// User ID
	//  Format: int64
	UserId int `json:"user_id"`
}

type Adsweb_GetAdCategoriesResponseCategoriesCategory

type Adsweb_GetAdCategoriesResponseCategoriesCategory struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

type Adsweb_GetAdCategories_Request

type Adsweb_GetAdCategories_Request struct {
	OfficeId int
}

type Adsweb_GetAdCategories_Response

type Adsweb_GetAdCategories_Response struct {
	Response struct {
		Categories []Adsweb_GetAdCategoriesResponseCategoriesCategory `json:"categories"`
	} `json:"response"`
}

type Adsweb_GetAdUnitCode_Response

type Adsweb_GetAdUnitCode_Response struct {
	Response struct {
		Html string `json:"html"`
	} `json:"response"`
}

type Adsweb_GetAdUnitsResponseAdUnitsAdUnit

type Adsweb_GetAdUnitsResponseAdUnitsAdUnit struct {
	Id     int     `json:"id"`
	Name   *string `json:"name,omitempty"`
	SiteId int     `json:"site_id"`
}

type Adsweb_GetAdUnits_Request

type Adsweb_GetAdUnits_Request struct {
	OfficeId   int
	SitesIds   *string
	AdUnitsIds *string
	Fields     *string
	//  Minimum: 0
	Limit *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
}

type Adsweb_GetAdUnits_Response

type Adsweb_GetAdUnits_Response struct {
	Response struct {
		AdUnits *[]Adsweb_GetAdUnitsResponseAdUnitsAdUnit `json:"ad_units,omitempty"`
		Count   int                                       `json:"count"`
	} `json:"response"`
}

type Adsweb_GetFraudHistoryResponseEntriesEntry

type Adsweb_GetFraudHistoryResponseEntriesEntry struct {
	Day    string `json:"day"`
	SiteId int    `json:"site_id"`
}

type Adsweb_GetFraudHistory_Request

type Adsweb_GetFraudHistory_Request struct {
	OfficeId int
	SitesIds *string
	//  Minimum: 0
	Limit *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
}

type Adsweb_GetFraudHistory_Response

type Adsweb_GetFraudHistory_Response struct {
	Response struct {
		Count   int                                           `json:"count"`
		Entries *[]Adsweb_GetFraudHistoryResponseEntriesEntry `json:"entries,omitempty"`
	} `json:"response"`
}

type Adsweb_GetSitesResponseSitesSite

type Adsweb_GetSitesResponseSitesSite struct {
	Domains     *string `json:"domains,omitempty"`
	Id          int     `json:"id"`
	StatusModer *string `json:"status_moder,omitempty"`
	StatusUser  *string `json:"status_user,omitempty"`
}

type Adsweb_GetSites_Request

type Adsweb_GetSites_Request struct {
	OfficeId int
	SitesIds *string
	Fields   *string
	//  Minimum: 0
	Limit *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
}

type Adsweb_GetSites_Response

type Adsweb_GetSites_Response struct {
	Response struct {
		Count int                                 `json:"count"`
		Sites *[]Adsweb_GetSitesResponseSitesSite `json:"sites,omitempty"`
	} `json:"response"`
}

type Adsweb_GetStatisticsResponseItemsItem

type Adsweb_GetStatisticsResponseItemsItem struct {
	AdUnitId     *int    `json:"ad_unit_id,omitempty"`
	DayMax       *string `json:"day_max,omitempty"`
	DayMin       *string `json:"day_min,omitempty"`
	DaysCount    *int    `json:"days_count,omitempty"`
	HourMax      *string `json:"hour_max,omitempty"`
	HourMin      *string `json:"hour_min,omitempty"`
	HoursCount   *int    `json:"hours_count,omitempty"`
	MonthMax     *string `json:"month_max,omitempty"`
	MonthMin     *string `json:"month_min,omitempty"`
	MonthsCount  *int    `json:"months_count,omitempty"`
	OverallCount *int    `json:"overall_count,omitempty"`
	SiteId       *int    `json:"site_id,omitempty"`
}

type Adsweb_GetStatistics_Request

type Adsweb_GetStatistics_Request struct {
	OfficeId int
	IdsType  string
	Ids      string
	Period   string
	DateFrom string
	DateTo   string
	Fields   *string
	//  Minimum: 0
	Limit  *int
	PageId *string
}

type Adsweb_GetStatistics_Response

type Adsweb_GetStatistics_Response struct {
	Response struct {
		Items      []Adsweb_GetStatisticsResponseItemsItem `json:"items"`
		NextPageId *string                                 `json:"next_page_id,omitempty"`
	} `json:"response"`
}

type ApiError

type ApiError interface {
	// Code returns error code.
	Code() int

	// Subcode returns error subcode.
	Subcode() *int

	// Msg returns error message.
	Msg() string

	// Text returns error text
	Text() string

	// RequestParams returns error request parameters.
	RequestParams() []RequestParam

	// RedirectURI returns redirect URI
	RedirectURI() *string

	// ConfirmationText returns confirmation text
	ConfirmationText() *string

	// Captcha returns Captcha, if exist
	Captcha() Captcha

	// Is checks if the error code matches input ErrorCode
	Is(code ErrorCode) bool
}

type AppWidgets_GetAppImageUploadServer_ImageType

type AppWidgets_GetAppImageUploadServer_ImageType string
const (
	AppWidgets_GetAppImageUploadServer_ImageType_160x160 AppWidgets_GetAppImageUploadServer_ImageType = "160x160"
	AppWidgets_GetAppImageUploadServer_ImageType_160x240 AppWidgets_GetAppImageUploadServer_ImageType = "160x240"
	AppWidgets_GetAppImageUploadServer_ImageType_24x24   AppWidgets_GetAppImageUploadServer_ImageType = "24x24"
	AppWidgets_GetAppImageUploadServer_ImageType_50x50   AppWidgets_GetAppImageUploadServer_ImageType = "50x50"
	AppWidgets_GetAppImageUploadServer_ImageType_510x128 AppWidgets_GetAppImageUploadServer_ImageType = "510x128"
)

type AppWidgets_GetAppImageUploadServer_Request

type AppWidgets_GetAppImageUploadServer_Request struct {
	ImageType AppWidgets_GetAppImageUploadServer_ImageType
}

type AppWidgets_GetAppImageUploadServer_Response

type AppWidgets_GetAppImageUploadServer_Response struct {
	Response struct {
		// To upload an image, generate POST-request to upload_url with a file in photo field. Then call appWidgets.saveAppImage method
		UploadUrl *string `json:"upload_url,omitempty"`
	} `json:"response"`
}

type AppWidgets_GetAppImages_ImageType

type AppWidgets_GetAppImages_ImageType string
const (
	AppWidgets_GetAppImages_ImageType_160x160 AppWidgets_GetAppImages_ImageType = "160x160"
	AppWidgets_GetAppImages_ImageType_160x240 AppWidgets_GetAppImages_ImageType = "160x240"
	AppWidgets_GetAppImages_ImageType_24x24   AppWidgets_GetAppImages_ImageType = "24x24"
	AppWidgets_GetAppImages_ImageType_50x50   AppWidgets_GetAppImages_ImageType = "50x50"
	AppWidgets_GetAppImages_ImageType_510x128 AppWidgets_GetAppImages_ImageType = "510x128"
)

type AppWidgets_GetAppImages_Request

type AppWidgets_GetAppImages_Request struct {
	// Offset needed to return a specific subset of images.
	//  Minimum: 0
	Offset *int
	// Maximum count of results.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count     *int
	ImageType *AppWidgets_GetAppImages_ImageType
}

type AppWidgets_GetAppImages_Response

type AppWidgets_GetAppImages_Response struct {
	Response AppWidgets_Photos `json:"response"`
}

type AppWidgets_GetGroupImageUploadServer_ImageType

type AppWidgets_GetGroupImageUploadServer_ImageType string
const (
	AppWidgets_GetGroupImageUploadServer_ImageType_160x160 AppWidgets_GetGroupImageUploadServer_ImageType = "160x160"
	AppWidgets_GetGroupImageUploadServer_ImageType_160x240 AppWidgets_GetGroupImageUploadServer_ImageType = "160x240"
	AppWidgets_GetGroupImageUploadServer_ImageType_24x24   AppWidgets_GetGroupImageUploadServer_ImageType = "24x24"
	AppWidgets_GetGroupImageUploadServer_ImageType_50x50   AppWidgets_GetGroupImageUploadServer_ImageType = "50x50"
	AppWidgets_GetGroupImageUploadServer_ImageType_510x128 AppWidgets_GetGroupImageUploadServer_ImageType = "510x128"
)

type AppWidgets_GetGroupImageUploadServer_Request

type AppWidgets_GetGroupImageUploadServer_Request struct {
	ImageType AppWidgets_GetGroupImageUploadServer_ImageType
}

type AppWidgets_GetGroupImageUploadServer_Response

type AppWidgets_GetGroupImageUploadServer_Response struct {
	Response struct {
		// To upload an image, generate POST-request to upload_url with a file in photo field. Then call appWidgets.saveAppImage method
		UploadUrl *string `json:"upload_url,omitempty"`
	} `json:"response"`
}

type AppWidgets_GetGroupImages_ImageType

type AppWidgets_GetGroupImages_ImageType string
const (
	AppWidgets_GetGroupImages_ImageType_160x160 AppWidgets_GetGroupImages_ImageType = "160x160"
	AppWidgets_GetGroupImages_ImageType_160x240 AppWidgets_GetGroupImages_ImageType = "160x240"
	AppWidgets_GetGroupImages_ImageType_24x24   AppWidgets_GetGroupImages_ImageType = "24x24"
	AppWidgets_GetGroupImages_ImageType_50x50   AppWidgets_GetGroupImages_ImageType = "50x50"
	AppWidgets_GetGroupImages_ImageType_510x128 AppWidgets_GetGroupImages_ImageType = "510x128"
)

type AppWidgets_GetGroupImages_Request

type AppWidgets_GetGroupImages_Request struct {
	// Offset needed to return a specific subset of images.
	//  Minimum: 0
	Offset *int
	// Maximum count of results.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count     *int
	ImageType *AppWidgets_GetGroupImages_ImageType
}

type AppWidgets_GetGroupImages_Response

type AppWidgets_GetGroupImages_Response struct {
	Response AppWidgets_Photos `json:"response"`
}

type AppWidgets_GetImagesById_Request

type AppWidgets_GetImagesById_Request struct {
	//  MaxItems: 100
	Images *[]string
}

type AppWidgets_GetImagesById_Response

type AppWidgets_GetImagesById_Response struct {
	Response []AppWidgets_Photo `json:"response"`
}

type AppWidgets_Photo

type AppWidgets_Photo struct {
	// Image ID
	Id     string       `json:"id"`
	Images []Base_Image `json:"images"`
}

type AppWidgets_Photos

type AppWidgets_Photos struct {
	//  Minimum: 0
	Count *int                `json:"count,omitempty"`
	Items *[]AppWidgets_Photo `json:"items,omitempty"`
}

type AppWidgets_SaveAppImage_Request

type AppWidgets_SaveAppImage_Request struct {
	// Parameter returned when photo is uploaded to server
	Hash string
	// Parameter returned when photo is uploaded to server
	Image string
}

type AppWidgets_SaveAppImage_Response

type AppWidgets_SaveAppImage_Response struct {
	Response AppWidgets_Photo `json:"response"`
}

type AppWidgets_SaveGroupImage_Request

type AppWidgets_SaveGroupImage_Request struct {
	// Parameter returned when photo is uploaded to server
	Hash string
	// Parameter returned when photo is uploaded to server
	Image string
}

type AppWidgets_SaveGroupImage_Response

type AppWidgets_SaveGroupImage_Response struct {
	Response AppWidgets_Photo `json:"response"`
}

type AppWidgets_Update_Request

type AppWidgets_Update_Request struct {
	//  MaxLength: 100000
	Code string
	Type AppWidgets_Update_Type
}

type AppWidgets_Update_Type

type AppWidgets_Update_Type string
const (
	AppWidgets_Update_Type_CompactList AppWidgets_Update_Type = "compact_list"
	AppWidgets_Update_Type_CoverList   AppWidgets_Update_Type = "cover_list"
	AppWidgets_Update_Type_Donation    AppWidgets_Update_Type = "donation"
	AppWidgets_Update_Type_List        AppWidgets_Update_Type = "list"
	AppWidgets_Update_Type_Match       AppWidgets_Update_Type = "match"
	AppWidgets_Update_Type_Matches     AppWidgets_Update_Type = "matches"
	AppWidgets_Update_Type_Table       AppWidgets_Update_Type = "table"
	AppWidgets_Update_Type_Text        AppWidgets_Update_Type = "text"
	AppWidgets_Update_Type_Tiles       AppWidgets_Update_Type = "tiles"
)

type Apps_App

type Apps_App struct {
	Apps_AppMin
	// Application author's URL
	//  Format: uri
	AuthorUrl *string `json:"author_url,omitempty"`
	// URL of the app banner with 1120 px in width
	//  Format: uri
	Banner1120 *string `json:"banner_1120,omitempty"`
	// URL of the app banner with 560 px in width
	//  Format: uri
	Banner560 *string `json:"banner_560,omitempty"`
	// Catalog position
	CatalogPosition *int `json:"catalog_position,omitempty"`
	// Application description
	Description *string `json:"description,omitempty"`
	//  Minimum: 0
	Friends *[]int `json:"friends,omitempty"`
	// Genre name
	Genre *string `json:"genre,omitempty"`
	// Genre ID
	GenreId *int `json:"genre_id,omitempty"`
	// URL of the app icon with 16 px in width
	//  Format: uri
	Icon16 *string `json:"icon_16,omitempty"`
	// Information whether the application is multilanguage
	International *bool `json:"international,omitempty"`
	// Information whether application is in mobile catalog
	IsInCatalog *int `json:"is_in_catalog,omitempty"`
	// Is new flag
	IsNew           *Base_BoolInt            `json:"is_new,omitempty"`
	LeaderboardType *Apps_AppLeaderboardType `json:"leaderboard_type,omitempty"`
	// Members number
	MembersCount *int `json:"members_count,omitempty"`
	// Application ID in store
	PlatformId *string `json:"platform_id,omitempty"`
	// Date when the application has been published in Unixtime
	PublishedDate *int `json:"published_date,omitempty"`
	// Is push enabled
	PushEnabled *Base_BoolInt `json:"push_enabled,omitempty"`
	// Screen name
	ScreenName *string `json:"screen_name,omitempty"`
	// Screen orientation
	ScreenOrientation *int `json:"screen_orientation,omitempty"`
	// Application section name
	Section *string `json:"section,omitempty"`
}

type Apps_AppLeaderboardType

type Apps_AppLeaderboardType int

Apps_AppLeaderboardType Leaderboard type

const (
	Apps_AppLeaderboardType_NotSupported Apps_AppLeaderboardType = 0
	Apps_AppLeaderboardType_Levels       Apps_AppLeaderboardType = 1
	Apps_AppLeaderboardType_Points       Apps_AppLeaderboardType = 2
)

type Apps_AppMin

type Apps_AppMin struct {
	// Application author's ID
	AuthorOwnerId *int `json:"author_owner_id,omitempty"`
	// Hex color code without hash sign
	BackgroundLoaderColor *string `json:"background_loader_color,omitempty"`
	// URL of the app icon with 139 px in width
	//  Format: uri
	Icon139 *string `json:"icon_139,omitempty"`
	// URL of the app icon with 150 px in width
	//  Format: uri
	Icon150 *string `json:"icon_150,omitempty"`
	// URL of the app icon with 278 px in width
	//  Format: uri
	Icon278 *string `json:"icon_278,omitempty"`
	// URL of the app icon with 576 px in width
	//  Format: uri
	Icon576 *string `json:"icon_576,omitempty"`
	// URL of the app icon with 75 px in width
	//  Format: uri
	Icon75 *string `json:"icon_75,omitempty"`
	// Application ID
	//  Minimum: 0
	Id int `json:"id"`
	// Is application installed
	IsInstalled *bool `json:"is_installed,omitempty"`
	// SVG data
	LoaderIcon *string `json:"loader_icon,omitempty"`
	// Application title
	Title string       `json:"title"`
	Type  Apps_AppType `json:"type"`
}

type Apps_AppType

type Apps_AppType string

Apps_AppType Application type

const (
	Apps_AppType_App          Apps_AppType = "app"
	Apps_AppType_Game         Apps_AppType = "game"
	Apps_AppType_Site         Apps_AppType = "site"
	Apps_AppType_Standalone   Apps_AppType = "standalone"
	Apps_AppType_VkApp        Apps_AppType = "vk_app"
	Apps_AppType_CommunityApp Apps_AppType = "community_app"
	Apps_AppType_Html5Game    Apps_AppType = "html5_game"
	Apps_AppType_MiniApp      Apps_AppType = "mini_app"
)

type Apps_CatalogList

type Apps_CatalogList struct {
	// Total number
	//  Minimum: 0
	Count    int              `json:"count"`
	Items    []Apps_App       `json:"items"`
	Profiles *[]Users_UserMin `json:"profiles,omitempty"`
}

type Apps_GetCatalog_Filter

type Apps_GetCatalog_Filter string
const (
	Apps_GetCatalog_Filter_Favorite  Apps_GetCatalog_Filter = "favorite"
	Apps_GetCatalog_Filter_Featured  Apps_GetCatalog_Filter = "featured"
	Apps_GetCatalog_Filter_Installed Apps_GetCatalog_Filter = "installed"
	Apps_GetCatalog_Filter_New       Apps_GetCatalog_Filter = "new"
)

type Apps_GetCatalog_Request

type Apps_GetCatalog_Request struct {
	// Sort order: 'popular_today' — popular for one day (default), 'visitors' — by visitors number , 'create_date' — by creation date, 'growth_rate' — by growth rate, 'popular_week' — popular for one week
	Sort *Apps_GetCatalog_Sort
	// Offset required to return a specific subset of apps.
	//  Minimum: 0
	Offset *int
	// Number of apps to return.
	//  Default: 100
	//  Minimum: 0
	Count    int
	Platform *string
	// '1' — to return additional fields 'screenshots', 'MAU', 'catalog_position', and 'international'. If set, 'count' must be less than or equal to '100'. '0' — not to return additional fields (default).
	Extended      *bool
	ReturnFriends *bool
	Fields        *[]Users_Fields
	NameCase      *string
	// Search query string.
	Q *string
	//  Minimum: 0
	GenreId *int
	// 'installed' — to return list of installed apps (only for mobile platform).
	Filter *Apps_GetCatalog_Filter
}

type Apps_GetCatalog_Response

type Apps_GetCatalog_Response struct {
	Response Apps_CatalogList `json:"response"`
}

type Apps_GetCatalog_Sort

type Apps_GetCatalog_Sort string
const (
	Apps_GetCatalog_Sort_PopularToday Apps_GetCatalog_Sort = "popular_today"
	Apps_GetCatalog_Sort_Visitors     Apps_GetCatalog_Sort = "visitors"
	Apps_GetCatalog_Sort_CreateDate   Apps_GetCatalog_Sort = "create_date"
	Apps_GetCatalog_Sort_GrowthRate   Apps_GetCatalog_Sort = "growth_rate"
	Apps_GetCatalog_Sort_PopularWeek  Apps_GetCatalog_Sort = "popular_week"
)

type Apps_GetFriendsListExtended_Response

type Apps_GetFriendsListExtended_Response struct {
	Response struct {
		// Total number
		Count int               `json:"count"`
		Items *[]Users_UserFull `json:"items,omitempty"`
	} `json:"response"`
}

type Apps_GetFriendsList_Request

type Apps_GetFriendsList_Request struct {
	// List size.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 5000
	Count *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// List type. Possible values: * 'invite' — available for invites (don't play the game),, * 'request' — available for request (play the game). By default: 'invite'.
	//  Default: invite
	Type   *Apps_GetFriendsList_Type
	Fields *[]Users_Fields
}

type Apps_GetFriendsList_Response

type Apps_GetFriendsList_Response struct {
	Response struct {
		// Total number
		Count int `json:"count"`
		//  Format: int64
		Items *[]int `json:"items,omitempty"`
	} `json:"response"`
}

type Apps_GetFriendsList_Type

type Apps_GetFriendsList_Type string
const (
	Apps_GetFriendsList_Type_Invite  Apps_GetFriendsList_Type = "invite"
	Apps_GetFriendsList_Type_Request Apps_GetFriendsList_Type = "request"
)

type Apps_GetLeaderboardExtended_Response

type Apps_GetLeaderboardExtended_Response struct {
	Response struct {
		// Total number
		Count    *int                `json:"count,omitempty"`
		Items    *[]Apps_Leaderboard `json:"items,omitempty"`
		Profiles *[]Users_User       `json:"profiles,omitempty"`
	} `json:"response"`
}

type Apps_GetLeaderboard_Request

type Apps_GetLeaderboard_Request struct {
	// Leaderboard type. Possible values: *'level' — by level,, *'points' — by mission points,, *'score' — by score ().
	Type Apps_GetLeaderboard_Type
	// Rating type. Possible values: *'1' — global rating among all players,, *'0' — rating among user friends.
	//  Default: 1
	Global *bool
}

type Apps_GetLeaderboard_Response

type Apps_GetLeaderboard_Response struct {
	Response struct {
		// Total number
		Count *int                `json:"count,omitempty"`
		Items *[]Apps_Leaderboard `json:"items,omitempty"`
	} `json:"response"`
}

type Apps_GetLeaderboard_Type

type Apps_GetLeaderboard_Type string
const (
	Apps_GetLeaderboard_Type_Level  Apps_GetLeaderboard_Type = "level"
	Apps_GetLeaderboard_Type_Points Apps_GetLeaderboard_Type = "points"
	Apps_GetLeaderboard_Type_Score  Apps_GetLeaderboard_Type = "score"
)

type Apps_GetMiniAppPolicies_Request

type Apps_GetMiniAppPolicies_Request struct {
	// Mini App ID
	//  Minimum: 0
	AppId int
}

type Apps_GetMiniAppPolicies_Response

type Apps_GetMiniAppPolicies_Response struct {
	Response struct {
		// URL of the app's privacy policy
		//  Format: uri
		PrivacyPolicy *string `json:"privacy_policy,omitempty"`
		// URL of the app's terms
		//  Format: uri
		Terms *string `json:"terms,omitempty"`
	} `json:"response"`
}

type Apps_GetScopes_Request

type Apps_GetScopes_Request struct {
	//  Default: user
	Type *Apps_GetScopes_Type
}

type Apps_GetScopes_Response

type Apps_GetScopes_Response struct {
	Response struct {
		// Total number
		Count int          `json:"count"`
		Items []Apps_Scope `json:"items"`
	} `json:"response"`
}

type Apps_GetScopes_Type

type Apps_GetScopes_Type string
const (
	Apps_GetScopes_Type_Group Apps_GetScopes_Type = "group"
	Apps_GetScopes_Type_User  Apps_GetScopes_Type = "user"
)

type Apps_GetScore_Request

type Apps_GetScore_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserId int
}

type Apps_GetScore_Response

type Apps_GetScore_Response struct {
	// Score number
	Response int `json:"response"`
}

type Apps_Get_NameCase

type Apps_Get_NameCase string
const (
	Apps_Get_NameCase_Nominative    Apps_Get_NameCase = "nom"
	Apps_Get_NameCase_Genitive      Apps_Get_NameCase = "gen"
	Apps_Get_NameCase_Dative        Apps_Get_NameCase = "dat"
	Apps_Get_NameCase_Accusative    Apps_Get_NameCase = "acc"
	Apps_Get_NameCase_Instrumental  Apps_Get_NameCase = "ins"
	Apps_Get_NameCase_Prepositional Apps_Get_NameCase = "abl"
)

type Apps_Get_Platform

type Apps_Get_Platform string
const (
	Apps_Get_Platform_Android  Apps_Get_Platform = "android"
	Apps_Get_Platform_Ios      Apps_Get_Platform = "ios"
	Apps_Get_Platform_Web      Apps_Get_Platform = "web"
	Apps_Get_Platform_Winphone Apps_Get_Platform = "winphone"
)

type Apps_Get_Request

type Apps_Get_Request struct {
	// Application ID
	//  Minimum: 0
	AppId *int
	//  MaxItems: 100
	AppIds *[]string
	// platform. Possible values: *'ios' — iOS,, *'android' — Android,, *'winphone' — Windows Phone,, *'web' — приложения на vk.com. By default: 'web'.
	//  Default: web
	Platform *Apps_Get_Platform
	//  Default: 0
	Extended *bool
	//  Default: 0
	ReturnFriends *bool
	Fields        *[]Users_Fields
	// Case for declension of user name and surname: 'nom' — nominative (default),, 'gen' — genitive,, 'dat' — dative,, 'acc' — accusative,, 'ins' — instrumental,, 'abl' — prepositional. (only if 'return_friends' = '1')
	NameCase *Apps_Get_NameCase
}

type Apps_Get_Response

type Apps_Get_Response struct {
	Response struct {
		// Total number of applications
		//  Minimum: 0
		Count *int `json:"count,omitempty"`
		// List of applications
		Items *[]Apps_App `json:"items,omitempty"`
	} `json:"response"`
}

type Apps_ImageUpload_Response

type Apps_ImageUpload_Response struct {
	Response struct {
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Image *string `json:"image,omitempty"`
	} `json:"response"`
}

type Apps_Leaderboard

type Apps_Leaderboard struct {
	// Level
	Level *int `json:"level,omitempty"`
	// Points number
	Points *int `json:"points,omitempty"`
	// Score number
	Score *int `json:"score,omitempty"`
	// User ID
	//  Format: int64
	UserId int `json:"user_id"`
}

type Apps_PromoHasActiveGift_Request

type Apps_PromoHasActiveGift_Request struct {
	// Id of game promo action
	//  Minimum: 0
	PromoId int
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type Apps_PromoUseGift_Request

type Apps_PromoUseGift_Request struct {
	// Id of game promo action
	//  Minimum: 0
	PromoId int
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type Apps_Scope

type Apps_Scope struct {
	// Scope name
	Name Apps_Scope_Name `json:"name"`
	// Scope title
	Title *string `json:"title,omitempty"`
}

Apps_Scope Scope description

type Apps_Scope_Name

type Apps_Scope_Name string
const (
	Apps_Scope_Name_Friends Apps_Scope_Name = "friends"
	Apps_Scope_Name_Photos  Apps_Scope_Name = "photos"
	Apps_Scope_Name_Video   Apps_Scope_Name = "video"
	Apps_Scope_Name_Pages   Apps_Scope_Name = "pages"
	Apps_Scope_Name_Status  Apps_Scope_Name = "status"
	Apps_Scope_Name_Notes   Apps_Scope_Name = "notes"
	Apps_Scope_Name_Wall    Apps_Scope_Name = "wall"
	Apps_Scope_Name_Docs    Apps_Scope_Name = "docs"
	Apps_Scope_Name_Groups  Apps_Scope_Name = "groups"
	Apps_Scope_Name_Stats   Apps_Scope_Name = "stats"
	Apps_Scope_Name_Market  Apps_Scope_Name = "market"
)

type Apps_SendRequest_Request

type Apps_SendRequest_Request struct {
	// id of the user to send a request
	//  Format: int64
	//  Minimum: 1
	UserId int
	// request text
	Text *string
	// request type. Values: 'invite' - if the request is sent to a user who does not have the app installed,, 'request' - if a user has already installed the app
	//  Default: request
	Type *Apps_SendRequest_Type
	//  MaxLength: 128
	Name *string
	// special string key to be sent with the request
	Key      *string
	Separate *bool
}

type Apps_SendRequest_Response

type Apps_SendRequest_Response struct {
	// Request ID
	Response int `json:"response"`
}

type Apps_SendRequest_Type

type Apps_SendRequest_Type string
const (
	Apps_SendRequest_Type_Invite  Apps_SendRequest_Type = "invite"
	Apps_SendRequest_Type_Request Apps_SendRequest_Type = "request"
)

type Audio_Audio

type Audio_Audio struct {
	// Access key for the audio
	AccessKey *string `json:"access_key,omitempty"`
	// Album ID
	//  Minimum: 0
	AlbumId *int `json:"album_id,omitempty"`
	// Artist name
	Artist string `json:"artist"`
	// Date when uploaded
	//  Minimum: 0
	Date *int `json:"date,omitempty"`
	// Duration in seconds
	//  Minimum: 0
	Duration int `json:"duration"`
	// Genre ID
	//  Minimum: 0
	GenreId *Audio_Audio_GenreId `json:"genre_id,omitempty"`
	// Audio ID
	//  Minimum: 0
	Id int `json:"id"`
	// Audio owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// Performer name
	Performer *string `json:"performer,omitempty"`
	// Title
	Title string `json:"title"`
	// URL of mp3 file
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

type Audio_Audio_GenreId

type Audio_Audio_GenreId int
const (
	Audio_Audio_GenreId_Rock               Audio_Audio_GenreId = 1
	Audio_Audio_GenreId_Pop                Audio_Audio_GenreId = 2
	Audio_Audio_GenreId_RapAndHipHop       Audio_Audio_GenreId = 3
	Audio_Audio_GenreId_EasyListening      Audio_Audio_GenreId = 4
	Audio_Audio_GenreId_HouseAndDance      Audio_Audio_GenreId = 5
	Audio_Audio_GenreId_Instrumental       Audio_Audio_GenreId = 6
	Audio_Audio_GenreId_Metal              Audio_Audio_GenreId = 7
	Audio_Audio_GenreId_Alternative        Audio_Audio_GenreId = 21
	Audio_Audio_GenreId_Dubstep            Audio_Audio_GenreId = 8
	Audio_Audio_GenreId_JazzAndBlues       Audio_Audio_GenreId = 1001
	Audio_Audio_GenreId_DrumAndBass        Audio_Audio_GenreId = 10
	Audio_Audio_GenreId_Trance             Audio_Audio_GenreId = 11
	Audio_Audio_GenreId_Chanson            Audio_Audio_GenreId = 12
	Audio_Audio_GenreId_Ethnic             Audio_Audio_GenreId = 13
	Audio_Audio_GenreId_AcousticAndVocal   Audio_Audio_GenreId = 14
	Audio_Audio_GenreId_Reggae             Audio_Audio_GenreId = 15
	Audio_Audio_GenreId_Classical          Audio_Audio_GenreId = 16
	Audio_Audio_GenreId_IndiePop           Audio_Audio_GenreId = 17
	Audio_Audio_GenreId_Speech             Audio_Audio_GenreId = 19
	Audio_Audio_GenreId_ElectropopAndDisco Audio_Audio_GenreId = 22
	Audio_Audio_GenreId_Other              Audio_Audio_GenreId = 18
)

type Auth_Restore_Request

type Auth_Restore_Request struct {
	// User phone number.
	Phone string
	// User last name.
	LastName string
}

type Auth_Restore_Response

type Auth_Restore_Response struct {
	Response struct {
		// Parameter needed to grant access by code
		Sid *string `json:"sid,omitempty"`
		// 1 if success
		Success *Auth_Restore_Response_Response_Success `json:"success,omitempty"`
	} `json:"response"`
}

type Auth_Restore_Response_Response_Success

type Auth_Restore_Response_Response_Success int
const (
	Auth_Restore_Response_Response_Success_Ok Auth_Restore_Response_Response_Success = 1
)

type AuthorizationCodeFlowGroupRequest

type AuthorizationCodeFlowGroupRequest struct {
	// Application id.
	ClientID string
	// Address to which the code will be sent (the domain of the specified address must match
	// the main domain in the application settings and listed values in
	// the list of trusted redirect uri, addresses are compared up to the path part).
	RedirectURI string
	// Group IDs for which you need to get an access key.
	// The parameter must be a string containing values without a minus sign.
	GroupIDs []int
	// Sets authorization page appearance.
	Display *DisplayType
	// Permissions bit mask, to check on authorization and request if necessary.
	Scope *[]AccessPermission
	// An arbitrary string that will be returned together with authorization result.
	// NOTE:
	// If you pass a pointer to an empty string, Vkontakte API will not return the state field
	// for token and UserToken.State will be empty pointer. Actual for Version==5.131
	State *string
}

AuthorizationCodeFlowGroupRequest is request to build Authorization Code Flow redirect URL by GetAuthRedirectURL and to do request by GetAuthCodeFlowGroupTokens to get GroupTokens.

https://dev.vk.com/api/access-token/authcode-flow-community

type AuthorizationCodeFlowUserRequest

type AuthorizationCodeFlowUserRequest struct {
	// Application id.
	ClientID string
	// Address to which the code will be sent (the domain of the specified address must match
	// the main domain in the application settings and listed values in
	// the list of trusted redirect uri, addresses are compared up to the path part).
	RedirectURI string
	// Sets authorization page appearance.
	Display *DisplayType
	// Permissions bit mask, to check on authorization and request if necessary.
	Scope *[]AccessPermission
	// An arbitrary string that will be returned together with authorization result.
	// NOTE:
	// If you pass a pointer to an empty string, Vkontakte API will not return the state field
	// for token and UserToken.State will be empty pointer. Actual for Version==5.131
	State *string
}

AuthorizationCodeFlowUserRequest is request to build Authorization Code Flow redirect URL by GetAuthRedirectURL. and to do request by GetAuthCodeFlowUserToken to get UserToken.

https://dev.vk.com/api/access-token/authcode-flow-user

type Base_BoolInt

type Base_BoolInt int
const (
	Base_BoolInt_No  Base_BoolInt = 0
	Base_BoolInt_Yes Base_BoolInt = 1
)

type Base_Bool_Response

type Base_Bool_Response struct {
	Response Base_BoolInt `json:"response"`
}

type Base_City

type Base_City struct {
	// City ID
	//  Minimum: 1
	Id int `json:"id"`
	// City title
	Title string `json:"title"`
}

type Base_CommentsInfo

type Base_CommentsInfo struct {
	CanClose *Base_BoolInt `json:"can_close,omitempty"`
	CanOpen  *Base_BoolInt `json:"can_open,omitempty"`
	// Information whether current user can comment the post
	CanPost *Base_BoolInt `json:"can_post,omitempty"`
	// Comments number
	//  Minimum: 0
	Count *int                        `json:"count,omitempty"`
	Donut *Wall_WallpostCommentsDonut `json:"donut,omitempty"`
	// Information whether groups can comment the post
	GroupsCanPost *bool `json:"groups_can_post,omitempty"`
}

type Base_Country

type Base_Country struct {
	// Country ID
	//  Minimum: 1
	Id int `json:"id"`
	// Country title
	Title string `json:"title"`
}

type Base_CropPhoto

type Base_CropPhoto struct {
	Crop  Base_CropPhotoCrop `json:"crop"`
	Photo Photos_Photo       `json:"photo"`
	Rect  Base_CropPhotoRect `json:"rect"`
}

type Base_CropPhotoCrop

type Base_CropPhotoCrop struct {
	// Coordinate X of the left upper corner
	X float64 `json:"x"`
	// Coordinate X of the right lower corner
	X2 float64 `json:"x2"`
	// Coordinate Y of the left upper corner
	Y float64 `json:"y"`
	// Coordinate Y of the right lower corner
	Y2 float64 `json:"y2"`
}

type Base_CropPhotoRect

type Base_CropPhotoRect struct {
	// Coordinate X of the left upper corner
	X float64 `json:"x"`
	// Coordinate X of the right lower corner
	X2 float64 `json:"x2"`
	// Coordinate Y of the left upper corner
	Y float64 `json:"y"`
	// Coordinate Y of the right lower corner
	Y2 float64 `json:"y2"`
}

type Base_Error

type Base_Error struct {
	// Error code
	ErrorCode int `json:"error_code"`
	// Error message
	ErrorMsg *string `json:"error_msg,omitempty"`
	// Error subcode
	ErrorSubcode *int `json:"error_subcode,omitempty"`
	// Localized error message
	ErrorText     *string              `json:"error_text,omitempty"`
	RequestParams *[]Base_RequestParam `json:"request_params,omitempty"`
}

type Base_Geo

type Base_Geo struct {
	Coordinates *Base_GeoCoordinates `json:"coordinates,omitempty"`
	Place       *Base_Place          `json:"place,omitempty"`
	// Information whether a map is showed
	Showmap *int `json:"showmap,omitempty"`
	// Place type
	Type *string `json:"type,omitempty"`
}

type Base_GeoCoordinates

type Base_GeoCoordinates struct {
	Latitude  float64 `json:"latitude"`
	Longitude float64 `json:"longitude"`
}

type Base_GetUploadServer_Response

type Base_GetUploadServer_Response struct {
	Response Base_UploadServer `json:"response"`
}

type Base_GradientPoint

type Base_GradientPoint struct {
	// Hex color code without #
	Color string `json:"color"`
	// Point position
	//  Minimum: 0
	//  Maximum: 1
	Position float64 `json:"position"`
}

type Base_Image

type Base_Image struct {
	// Image height
	//  Minimum: 0
	Height int     `json:"height"`
	Id     *string `json:"id,omitempty"`
	// Image url
	//  Format: uri
	Url string `json:"url"`
	// Image width
	//  Minimum: 0
	Width int `json:"width"`
}

type Base_Likes

type Base_Likes struct {
	// Likes number
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
	// Information whether current user likes the photo
	UserLikes *Base_BoolInt `json:"user_likes,omitempty"`
}

type Base_LikesInfo

type Base_LikesInfo struct {
	// Information whether current user can like the post
	CanLike Base_BoolInt `json:"can_like"`
	// Information whether current user can repost
	CanPublish *Base_BoolInt `json:"can_publish,omitempty"`
	// Likes number
	//  Minimum: 0
	Count int `json:"count"`
	// Information whether current uer has liked the post
	UserLikes int `json:"user_likes"`
}
type Base_Link struct {
	Application *Base_LinkApplication `json:"application,omitempty"`
	Button      *Base_LinkButton      `json:"button,omitempty"`
	// Link caption
	Caption *string `json:"caption,omitempty"`
	// Link description
	Description *string `json:"description,omitempty"`
	// Link ID
	Id *string `json:"id,omitempty"`
	// Information whether the current link is external
	IsExternal *bool         `json:"is_external,omitempty"`
	IsFavorite *bool         `json:"is_favorite,omitempty"`
	Photo      *Photos_Photo `json:"photo,omitempty"`
	// String ID of the page with article preview
	PreviewPage *string `json:"preview_page,omitempty"`
	// URL of the page with article preview
	//  Format: uri
	PreviewUrl   *string            `json:"preview_url,omitempty"`
	Product      *Base_LinkProduct  `json:"product,omitempty"`
	Rating       *Base_LinkRating   `json:"rating,omitempty"`
	TargetObject *Link_TargetObject `json:"target_object,omitempty"`
	// Link title
	Title *string `json:"title,omitempty"`
	// Link URL
	Url string `json:"url"`
	// Video from link
	Video *Video_Video `json:"video,omitempty"`
}

type Base_LinkApplication

type Base_LinkApplication struct {
	// Application Id
	AppId *float64                   `json:"app_id,omitempty"`
	Store *Base_LinkApplicationStore `json:"store,omitempty"`
}

type Base_LinkApplicationStore

type Base_LinkApplicationStore struct {
	// Store Id
	Id *float64 `json:"id,omitempty"`
	// Store name
	Name *string `json:"name,omitempty"`
}

type Base_LinkButton

type Base_LinkButton struct {
	// Button action
	Action *Base_LinkButtonAction `json:"action,omitempty"`
	// Video album id
	//  Minimum: 1
	AlbumId *int `json:"album_id,omitempty"`
	// Target block id
	BlockId *string `json:"block_id,omitempty"`
	// curator id
	CuratorId *int `json:"curator_id,omitempty"`
	// Button icon name, e.g. 'phone' or 'gift'
	Icon *string `json:"icon,omitempty"`
	// Owner id
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// Target section id
	SectionId *string               `json:"section_id,omitempty"`
	Style     *Base_LinkButtonStyle `json:"style,omitempty"`
	// Button title
	Title *string `json:"title,omitempty"`
}

type Base_LinkButtonAction

type Base_LinkButtonAction struct {
	ConsumeReason *string                   `json:"consume_reason,omitempty"`
	Type          Base_LinkButtonActionType `json:"type"`
	// Action URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

type Base_LinkButtonActionType

type Base_LinkButtonActionType string

Base_LinkButtonActionType Action type

const (
	Base_LinkButtonActionType_OpenUrl Base_LinkButtonActionType = "open_url"
)

type Base_LinkButtonStyle

type Base_LinkButtonStyle string

Base_LinkButtonStyle Button style

const (
	Base_LinkButtonStyle_Primary   Base_LinkButtonStyle = "primary"
	Base_LinkButtonStyle_Secondary Base_LinkButtonStyle = "secondary"
)

type Base_LinkProduct

type Base_LinkProduct struct {
	Merchant    *string      `json:"merchant,omitempty"`
	OrdersCount *int         `json:"orders_count,omitempty"`
	Price       Market_Price `json:"price"`
}

type Base_LinkProductCategory

type Base_LinkProductCategory string

type Base_LinkProductStatus

type Base_LinkProductStatus string

Base_LinkProductStatus Status representation

const (
	Base_LinkProductStatus_Active   Base_LinkProductStatus = "active"
	Base_LinkProductStatus_Blocked  Base_LinkProductStatus = "blocked"
	Base_LinkProductStatus_Sold     Base_LinkProductStatus = "sold"
	Base_LinkProductStatus_Deleted  Base_LinkProductStatus = "deleted"
	Base_LinkProductStatus_Archived Base_LinkProductStatus = "archived"
)

type Base_LinkRating

type Base_LinkRating struct {
	// Count of reviews
	ReviewsCount *int `json:"reviews_count,omitempty"`
	// Count of stars
	Stars *float64 `json:"stars,omitempty"`
}

type Base_MessageError

type Base_MessageError struct {
	// Error code
	Code *int `json:"code,omitempty"`
	// Error message
	Description *string `json:"description,omitempty"`
}

type Base_Object

type Base_Object struct {
	// Object ID
	Id int `json:"id"`
	// Object title
	Title string `json:"title"`
}

type Base_ObjectCount

type Base_ObjectCount struct {
	// Items count
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
}

type Base_ObjectWithName

type Base_ObjectWithName struct {
	// Object ID
	Id int `json:"id"`
	// Object name
	Name string `json:"name"`
}

type Base_Ok_Response

type Base_Ok_Response struct {
	//  Default: 1
	Response Base_Ok_Response_Response `json:"response"`
}

type Base_Ok_Response_Response

type Base_Ok_Response_Response int
const (
	Base_Ok_Response_Response_Ok Base_Ok_Response_Response = 1
)

type Base_Place

type Base_Place struct {
	// Place address
	Address *string `json:"address,omitempty"`
	// Checkins number
	Checkins *int `json:"checkins,omitempty"`
	// City name
	City *string `json:"city,omitempty"`
	// Country name
	Country *string `json:"country,omitempty"`
	// Date of the place creation in Unixtime
	Created *int `json:"created,omitempty"`
	// URL of the place's icon
	//  Format: uri
	Icon *string `json:"icon,omitempty"`
	// Place ID
	Id *int `json:"id,omitempty"`
	// Place latitude
	Latitude *float64 `json:"latitude,omitempty"`
	// Place longitude
	Longitude *float64 `json:"longitude,omitempty"`
	// Place title
	Title *string `json:"title,omitempty"`
	// Place type
	Type *string `json:"type,omitempty"`
}

type Base_PropertyExists

type Base_PropertyExists int
const (
	Base_PropertyExists_PropertyExists Base_PropertyExists = 1
)

type Base_RepostsInfo

type Base_RepostsInfo struct {
	// Total reposts counter. Sum of wall and mail reposts counters
	//  Minimum: 0
	Count int `json:"count"`
	// Mail reposts counter
	//  Minimum: 0
	MailCount *int `json:"mail_count,omitempty"`
	// Information whether current user has reposted the post
	UserReposted *int `json:"user_reposted,omitempty"`
	// Wall reposts counter
	//  Minimum: 0
	WallCount *int `json:"wall_count,omitempty"`
}

Base_RepostsInfo Count of views

type Base_RequestParam

type Base_RequestParam struct {
	// Parameter name
	Key *string `json:"key,omitempty"`
	// Parameter value
	Value *string `json:"value,omitempty"`
}

type Base_Sex

type Base_Sex int
const (
	Base_Sex_Unknown Base_Sex = 0
	Base_Sex_Female  Base_Sex = 1
	Base_Sex_Male    Base_Sex = 2
)

type Base_Sticker

type Base_Sticker struct {
	// contains filtered or unexported fields
}

func (*Base_Sticker) MarshalJSON

func (o *Base_Sticker) MarshalJSON() ([]byte, error)

func (Base_Sticker) Raw

func (o Base_Sticker) Raw() []byte

func (*Base_Sticker) UnmarshalJSON

func (o *Base_Sticker) UnmarshalJSON(body []byte) (err error)

type Base_StickerAnimation

type Base_StickerAnimation struct {
	// Type of animation script
	Type *Base_StickerAnimation_Type `json:"type,omitempty"`
	// URL of animation script
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

type Base_StickerAnimation_Type

type Base_StickerAnimation_Type string
const (
	Base_StickerAnimation_Type_Light Base_StickerAnimation_Type = "light"
	Base_StickerAnimation_Type_Dark  Base_StickerAnimation_Type = "dark"
)

type Base_StickerNew

type Base_StickerNew struct {
	// URL of sticker animation script
	//  Format: uri
	AnimationUrl *string `json:"animation_url,omitempty"`
	// Array of sticker animation script objects
	Animations           *[]Base_StickerAnimation `json:"animations,omitempty"`
	Images               *[]Base_Image            `json:"images,omitempty"`
	ImagesWithBackground *[]Base_Image            `json:"images_with_background,omitempty"`
	// Information whether the sticker is allowed
	IsAllowed *bool `json:"is_allowed,omitempty"`
	// Pack ID
	ProductId *int `json:"product_id,omitempty"`
	// Sticker ID
	StickerId *int `json:"sticker_id,omitempty"`
}

type Base_StickerOld

type Base_StickerOld struct {
	// Height in px
	Height *int `json:"height,omitempty"`
	// Sticker ID
	Id *int `json:"id,omitempty"`
	// Information whether the sticker is allowed
	IsAllowed *bool `json:"is_allowed,omitempty"`
	// URL of the preview image with 128 px in height
	//  Format: uri
	Photo128 *string `json:"photo_128,omitempty"`
	// URL of the preview image with 256 px in height
	//  Format: uri
	Photo256 *string `json:"photo_256,omitempty"`
	// URL of the preview image with 352 px in height
	//  Format: uri
	Photo352 *string `json:"photo_352,omitempty"`
	// URL of the preview image with 512 px in height
	//  Format: uri
	Photo512 *string `json:"photo_512,omitempty"`
	// URL of the preview image with 64 px in height
	//  Format: uri
	Photo64 *string `json:"photo_64,omitempty"`
	// Pack ID
	ProductId *int `json:"product_id,omitempty"`
	// Width in px
	Width *int `json:"width,omitempty"`
}

type Base_StickersList

type Base_StickersList []Base_StickerNew

type Base_UploadServer

type Base_UploadServer struct {
	// Upload URL
	//  Format: uri
	UploadUrl string `json:"upload_url"`
}

type Base_UserGroupFields

type Base_UserGroupFields string
const (
	Base_UserGroupFields_About                  Base_UserGroupFields = "about"
	Base_UserGroupFields_ActionButton           Base_UserGroupFields = "action_button"
	Base_UserGroupFields_Activities             Base_UserGroupFields = "activities"
	Base_UserGroupFields_Activity               Base_UserGroupFields = "activity"
	Base_UserGroupFields_Addresses              Base_UserGroupFields = "addresses"
	Base_UserGroupFields_AdminLevel             Base_UserGroupFields = "admin_level"
	Base_UserGroupFields_AgeLimits              Base_UserGroupFields = "age_limits"
	Base_UserGroupFields_AuthorId               Base_UserGroupFields = "author_id"
	Base_UserGroupFields_BanInfo                Base_UserGroupFields = "ban_info"
	Base_UserGroupFields_Bdate                  Base_UserGroupFields = "bdate"
	Base_UserGroupFields_Blacklisted            Base_UserGroupFields = "blacklisted"
	Base_UserGroupFields_BlacklistedByMe        Base_UserGroupFields = "blacklisted_by_me"
	Base_UserGroupFields_Books                  Base_UserGroupFields = "books"
	Base_UserGroupFields_CanCreateTopic         Base_UserGroupFields = "can_create_topic"
	Base_UserGroupFields_CanMessage             Base_UserGroupFields = "can_message"
	Base_UserGroupFields_CanPost                Base_UserGroupFields = "can_post"
	Base_UserGroupFields_CanSeeAllPosts         Base_UserGroupFields = "can_see_all_posts"
	Base_UserGroupFields_CanSeeAudio            Base_UserGroupFields = "can_see_audio"
	Base_UserGroupFields_CanSendFriendRequest   Base_UserGroupFields = "can_send_friend_request"
	Base_UserGroupFields_CanUploadVideo         Base_UserGroupFields = "can_upload_video"
	Base_UserGroupFields_CanWritePrivateMessage Base_UserGroupFields = "can_write_private_message"
	Base_UserGroupFields_Career                 Base_UserGroupFields = "career"
	Base_UserGroupFields_City                   Base_UserGroupFields = "city"
	Base_UserGroupFields_CommonCount            Base_UserGroupFields = "common_count"
	Base_UserGroupFields_Connections            Base_UserGroupFields = "connections"
	Base_UserGroupFields_Contacts               Base_UserGroupFields = "contacts"
	Base_UserGroupFields_Counters               Base_UserGroupFields = "counters"
	Base_UserGroupFields_Country                Base_UserGroupFields = "country"
	Base_UserGroupFields_Cover                  Base_UserGroupFields = "cover"
	Base_UserGroupFields_CropPhoto              Base_UserGroupFields = "crop_photo"
	Base_UserGroupFields_Deactivated            Base_UserGroupFields = "deactivated"
	Base_UserGroupFields_Description            Base_UserGroupFields = "description"
	Base_UserGroupFields_Domain                 Base_UserGroupFields = "domain"
	Base_UserGroupFields_Education              Base_UserGroupFields = "education"
	Base_UserGroupFields_Exports                Base_UserGroupFields = "exports"
	Base_UserGroupFields_FinishDate             Base_UserGroupFields = "finish_date"
	Base_UserGroupFields_FixedPost              Base_UserGroupFields = "fixed_post"
	Base_UserGroupFields_FollowersCount         Base_UserGroupFields = "followers_count"
	Base_UserGroupFields_FriendStatus           Base_UserGroupFields = "friend_status"
	Base_UserGroupFields_Games                  Base_UserGroupFields = "games"
	Base_UserGroupFields_HasMarketApp           Base_UserGroupFields = "has_market_app"
	Base_UserGroupFields_HasMobile              Base_UserGroupFields = "has_mobile"
	Base_UserGroupFields_HasPhoto               Base_UserGroupFields = "has_photo"
	Base_UserGroupFields_HomeTown               Base_UserGroupFields = "home_town"
	Base_UserGroupFields_Id                     Base_UserGroupFields = "id"
	Base_UserGroupFields_Interests              Base_UserGroupFields = "interests"
	Base_UserGroupFields_IsAdmin                Base_UserGroupFields = "is_admin"
	Base_UserGroupFields_IsClosed               Base_UserGroupFields = "is_closed"
	Base_UserGroupFields_IsFavorite             Base_UserGroupFields = "is_favorite"
	Base_UserGroupFields_IsFriend               Base_UserGroupFields = "is_friend"
	Base_UserGroupFields_IsHiddenFromFeed       Base_UserGroupFields = "is_hidden_from_feed"
	Base_UserGroupFields_IsMember               Base_UserGroupFields = "is_member"
	Base_UserGroupFields_IsMessagesBlocked      Base_UserGroupFields = "is_messages_blocked"
	Base_UserGroupFields_CanSendNotify          Base_UserGroupFields = "can_send_notify"
	Base_UserGroupFields_IsSubscribed           Base_UserGroupFields = "is_subscribed"
	Base_UserGroupFields_LastSeen               Base_UserGroupFields = "last_seen"
	Base_UserGroupFields_Links                  Base_UserGroupFields = "links"
	Base_UserGroupFields_Lists                  Base_UserGroupFields = "lists"
	Base_UserGroupFields_MaidenName             Base_UserGroupFields = "maiden_name"
	Base_UserGroupFields_MainAlbumId            Base_UserGroupFields = "main_album_id"
	Base_UserGroupFields_MainSection            Base_UserGroupFields = "main_section"
	Base_UserGroupFields_Market                 Base_UserGroupFields = "market"
	Base_UserGroupFields_MemberStatus           Base_UserGroupFields = "member_status"
	Base_UserGroupFields_MembersCount           Base_UserGroupFields = "members_count"
	Base_UserGroupFields_Military               Base_UserGroupFields = "military"
	Base_UserGroupFields_Movies                 Base_UserGroupFields = "movies"
	Base_UserGroupFields_Music                  Base_UserGroupFields = "music"
	Base_UserGroupFields_Name                   Base_UserGroupFields = "name"
	Base_UserGroupFields_Nickname               Base_UserGroupFields = "nickname"
	Base_UserGroupFields_Occupation             Base_UserGroupFields = "occupation"
	Base_UserGroupFields_Online                 Base_UserGroupFields = "online"
	Base_UserGroupFields_OnlineStatus           Base_UserGroupFields = "online_status"
	Base_UserGroupFields_Personal               Base_UserGroupFields = "personal"
	Base_UserGroupFields_Phone                  Base_UserGroupFields = "phone"
	Base_UserGroupFields_Photo100               Base_UserGroupFields = "photo_100"
	Base_UserGroupFields_Photo200               Base_UserGroupFields = "photo_200"
	Base_UserGroupFields_Photo200Orig           Base_UserGroupFields = "photo_200_orig"
	Base_UserGroupFields_Photo400Orig           Base_UserGroupFields = "photo_400_orig"
	Base_UserGroupFields_Photo50                Base_UserGroupFields = "photo_50"
	Base_UserGroupFields_PhotoId                Base_UserGroupFields = "photo_id"
	Base_UserGroupFields_PhotoMax               Base_UserGroupFields = "photo_max"
	Base_UserGroupFields_PhotoMaxOrig           Base_UserGroupFields = "photo_max_orig"
	Base_UserGroupFields_Quotes                 Base_UserGroupFields = "quotes"
	Base_UserGroupFields_Relation               Base_UserGroupFields = "relation"
	Base_UserGroupFields_Relatives              Base_UserGroupFields = "relatives"
	Base_UserGroupFields_Schools                Base_UserGroupFields = "schools"
	Base_UserGroupFields_ScreenName             Base_UserGroupFields = "screen_name"
	Base_UserGroupFields_Sex                    Base_UserGroupFields = "sex"
	Base_UserGroupFields_Site                   Base_UserGroupFields = "site"
	Base_UserGroupFields_StartDate              Base_UserGroupFields = "start_date"
	Base_UserGroupFields_Status                 Base_UserGroupFields = "status"
	Base_UserGroupFields_Timezone               Base_UserGroupFields = "timezone"
	Base_UserGroupFields_Trending               Base_UserGroupFields = "trending"
	Base_UserGroupFields_Tv                     Base_UserGroupFields = "tv"
	Base_UserGroupFields_Type                   Base_UserGroupFields = "type"
	Base_UserGroupFields_Universities           Base_UserGroupFields = "universities"
	Base_UserGroupFields_Verified               Base_UserGroupFields = "verified"
	Base_UserGroupFields_WallComments           Base_UserGroupFields = "wall_comments"
	Base_UserGroupFields_WikiPage               Base_UserGroupFields = "wiki_page"
	Base_UserGroupFields_FirstName              Base_UserGroupFields = "first_name"
	Base_UserGroupFields_FirstNameAcc           Base_UserGroupFields = "first_name_acc"
	Base_UserGroupFields_FirstNameDat           Base_UserGroupFields = "first_name_dat"
	Base_UserGroupFields_FirstNameGen           Base_UserGroupFields = "first_name_gen"
	Base_UserGroupFields_LastName               Base_UserGroupFields = "last_name"
	Base_UserGroupFields_LastNameAcc            Base_UserGroupFields = "last_name_acc"
	Base_UserGroupFields_LastNameDat            Base_UserGroupFields = "last_name_dat"
	Base_UserGroupFields_LastNameGen            Base_UserGroupFields = "last_name_gen"
	Base_UserGroupFields_CanSubscribeStories    Base_UserGroupFields = "can_subscribe_stories"
	Base_UserGroupFields_IsSubscribedStories    Base_UserGroupFields = "is_subscribed_stories"
	Base_UserGroupFields_VkAdminStatus          Base_UserGroupFields = "vk_admin_status"
	Base_UserGroupFields_CanUploadStory         Base_UserGroupFields = "can_upload_story"
)

type Base_UserId

type Base_UserId struct {
	// User ID
	//  Format: int64
	UserId *int `json:"user_id,omitempty"`
}

type Board_AddTopic_Request

type Board_AddTopic_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Topic title.
	Title string
	// Text of the topic.
	Text *string
	// For a community: '1' — to post the topic as by the community, '0' — to post the topic as by the user (default)
	FromGroup   *bool
	Attachments *[]string
}

type Board_AddTopic_Response

type Board_AddTopic_Response struct {
	// Topic ID
	Response int `json:"response"`
}

type Board_CloseTopic_Request

type Board_CloseTopic_Request struct {
	// ID of the community that owns the discussion board.
	//  Minimum: 0
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
}

type Board_CreateComment_Request

type Board_CreateComment_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// ID of the topic to be commented on.
	//  Minimum: 0
	TopicId int
	// (Required if 'attachments' is not set.) Text of the comment.
	Message     *string
	Attachments *[]string
	// '1' — to post the comment as by the community, '0' — to post the comment as by the user (default)
	FromGroup *bool
	// Sticker ID.
	//  Minimum: 0
	StickerId *int
	// Unique identifier to avoid repeated comments.
	Guid *string
}

type Board_CreateComment_Response

type Board_CreateComment_Response struct {
	// Comment ID
	Response int `json:"response"`
}

type Board_DefaultOrder

type Board_DefaultOrder int

Board_DefaultOrder Sort type

const (
	Board_DefaultOrder_DescUpdated Board_DefaultOrder = 1
	Board_DefaultOrder_DescCreated Board_DefaultOrder = 2
	Board_DefaultOrder_AscUpdated  Board_DefaultOrder = -1
	Board_DefaultOrder_AscCreated  Board_DefaultOrder = -2
)

type Board_DeleteComment_Request

type Board_DeleteComment_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Topic ID.
	//  Minimum: 1
	TopicId int
	// Comment ID.
	//  Minimum: 1
	CommentId int
}

type Board_DeleteTopic_Request

type Board_DeleteTopic_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
}

type Board_EditComment_Request

type Board_EditComment_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
	// ID of the comment on the topic.
	//  Minimum: 0
	CommentId int
	// (Required if 'attachments' is not set). New comment text.
	Message     *string
	Attachments *[]string
}

type Board_EditTopic_Request

type Board_EditTopic_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
	// New title of the topic.
	Title string
}

type Board_FixTopic_Request

type Board_FixTopic_Request struct {
	// ID of the community that owns the discussion board.
	//  Minimum: 0
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
}

type Board_GetCommentsExtended_Response

type Board_GetCommentsExtended_Response struct {
	Response struct {
		// Total number
		Count    int                  `json:"count"`
		Groups   []Groups_GroupFull   `json:"groups"`
		Items    []Board_TopicComment `json:"items"`
		Poll     *Polls_Poll          `json:"poll,omitempty"`
		Profiles []Users_UserFull     `json:"profiles"`
		// Offset of comment
		RealOffset *int `json:"real_offset,omitempty"`
	} `json:"response"`
}

type Board_GetComments_Request

type Board_GetComments_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
	// '1' — to return the 'likes' field, '0' — not to return the 'likes' field (default)
	NeedLikes *bool
	//  Minimum: 0
	StartCommentId *int
	// Offset needed to return a specific subset of comments.
	Offset *int
	// Number of comments to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	// Sort order: 'asc' — by creation date in chronological order, 'desc' — by creation date in reverse chronological order,
	Sort *Board_GetComments_Sort
}

type Board_GetComments_Response

type Board_GetComments_Response struct {
	Response struct {
		// Total number
		Count int                  `json:"count"`
		Items []Board_TopicComment `json:"items"`
		Poll  *Polls_Poll          `json:"poll,omitempty"`
		// Offset of comment
		RealOffset *int `json:"real_offset,omitempty"`
	} `json:"response"`
}

type Board_GetComments_Sort

type Board_GetComments_Sort string
const (
	Board_GetComments_Sort_Chronological        Board_GetComments_Sort = "asc"
	Board_GetComments_Sort_ReverseChronological Board_GetComments_Sort = "desc"
)

type Board_GetTopicsExtended_Response

type Board_GetTopicsExtended_Response struct {
	Response struct {
		// Information whether current user can add topic
		CanAddTopics Base_BoolInt `json:"can_add_topics"`
		// Total number
		Count        int                `json:"count"`
		DefaultOrder Board_DefaultOrder `json:"default_order"`
		Groups       []Groups_GroupFull `json:"groups"`
		Items        []Board_Topic      `json:"items"`
		Profiles     []Users_UserFull   `json:"profiles"`
	} `json:"response"`
}

type Board_GetTopics_Order

type Board_GetTopics_Order int
const (
	Board_GetTopics_Order_UpdatedDesc       Board_GetTopics_Order = 1
	Board_GetTopics_Order_CreatedDesc       Board_GetTopics_Order = 2
	Board_GetTopics_Order_UpdatedAsc        Board_GetTopics_Order = -1
	Board_GetTopics_Order_CreatedAsc        Board_GetTopics_Order = -2
	Board_GetTopics_Order_AsByAdministrator Board_GetTopics_Order = 0
)

type Board_GetTopics_Preview

type Board_GetTopics_Preview int
const (
	Board_GetTopics_Preview_First Board_GetTopics_Preview = 1
	Board_GetTopics_Preview_Last  Board_GetTopics_Preview = 2
	Board_GetTopics_Preview_None  Board_GetTopics_Preview = 0
)

type Board_GetTopics_Request

type Board_GetTopics_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId  int
	TopicIds *[]int
	// Sort order: '1' — by date updated in reverse chronological order. '2' — by date created in reverse chronological order. '-1' — by date updated in chronological order. '-2' — by date created in chronological order. If no sort order is specified, topics are returned in the order specified by the group administrator. Pinned topics are returned first, regardless of the sorting.
	Order *Board_GetTopics_Order
	// Offset needed to return a specific subset of topics.
	//  Minimum: 0
	Offset *int
	// Number of topics to return.
	//  Default: 40
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	// '1' — to return the first comment in each topic,, '2' — to return the last comment in each topic,, '0' — to return no comments. By default: '0'.
	Preview *Board_GetTopics_Preview
	// Number of characters after which to truncate the previewed comment. To preview the full comment, specify '0'.
	//  Default: 90
	//  Minimum: 0
	PreviewLength *int
}

type Board_GetTopics_Response

type Board_GetTopics_Response struct {
	Response struct {
		// Information whether current user can add topic
		CanAddTopics Base_BoolInt `json:"can_add_topics"`
		// Total number
		Count        int                `json:"count"`
		DefaultOrder Board_DefaultOrder `json:"default_order"`
		Items        []Board_Topic      `json:"items"`
	} `json:"response"`
}

type Board_OpenTopic_Request

type Board_OpenTopic_Request struct {
	// ID of the community that owns the discussion board.
	//  Minimum: 0
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
}

type Board_RestoreComment_Request

type Board_RestoreComment_Request struct {
	// ID of the community that owns the discussion board.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
	// Comment ID.
	//  Minimum: 0
	CommentId int
}

type Board_Topic

type Board_Topic struct {
	// Comments number
	Comments *int `json:"comments,omitempty"`
	// Date when the topic has been created in Unixtime
	Created *int `json:"created,omitempty"`
	// Creator ID
	CreatedBy *int `json:"created_by,omitempty"`
	// First comment text
	FirstComment *string `json:"first_comment,omitempty"`
	// Topic ID
	Id *int `json:"id,omitempty"`
	// Information whether the topic is closed
	IsClosed *Base_BoolInt `json:"is_closed,omitempty"`
	// Information whether the topic is fixed
	IsFixed *Base_BoolInt `json:"is_fixed,omitempty"`
	// Last comment text
	LastComment *string `json:"last_comment,omitempty"`
	// Topic title
	Title *string `json:"title,omitempty"`
	// Date when the topic has been updated in Unixtime
	Updated *int `json:"updated,omitempty"`
	// ID of user who updated the topic
	UpdatedBy *int `json:"updated_by,omitempty"`
}

type Board_TopicComment

type Board_TopicComment struct {
	Attachments *[]Wall_CommentAttachment `json:"attachments,omitempty"`
	// Information whether current user can edit the comment
	CanEdit *Base_BoolInt `json:"can_edit,omitempty"`
	// Date when the comment has been added in Unixtime
	//  Minimum: 0
	Date int `json:"date"`
	// Author ID
	FromId int `json:"from_id"`
	// Comment ID
	//  Minimum: 1
	Id    int             `json:"id"`
	Likes *Base_LikesInfo `json:"likes,omitempty"`
	// Real position of the comment
	RealOffset *int `json:"real_offset,omitempty"`
	// Comment text
	Text string `json:"text"`
}

type Board_UnfixTopic_Request

type Board_UnfixTopic_Request struct {
	// ID of the community that owns the discussion board.
	//  Minimum: 0
	GroupId int
	// Topic ID.
	//  Minimum: 0
	TopicId int
}

type Callback_Base

type Callback_Base struct {
	// Unique event id. If it passed twice or more - you should ignore it.
	EventId string `json:"event_id"`
	//  Format: int64
	//  Minimum: 0
	GroupId int           `json:"group_id"`
	Secret  *string       `json:"secret,omitempty"`
	Type    Callback_Type `json:"type"`
}

type Callback_BoardPostDelete

type Callback_BoardPostDelete struct {
	//  Minimum: 0
	Id int `json:"id"`
	//  Minimum: 0
	TopicId int `json:"topic_id"`
	//  Minimum: 0
	TopicOwnerId int `json:"topic_owner_id"`
}

type Callback_Confirmation

type Callback_Confirmation struct {
	Callback_Base
	//  Default: confirmation
	Type *Callback_Type `json:"type,omitempty"`
}

type Callback_DonutMoneyWithdraw

type Callback_DonutMoneyWithdraw struct {
	//  Minimum: 0
	Amount float64 `json:"amount"`
	//  Minimum: 0
	AmountWithoutFee float64 `json:"amount_without_fee"`
}

type Callback_DonutMoneyWithdrawError

type Callback_DonutMoneyWithdrawError struct {
	//  Minimum: 0
	Reason string `json:"reason"`
}

type Callback_DonutSubscriptionCancelled

type Callback_DonutSubscriptionCancelled struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int `json:"user_id,omitempty"`
}

type Callback_DonutSubscriptionCreate

type Callback_DonutSubscriptionCreate struct {
	//  Minimum: 0
	Amount int `json:"amount"`
	//  Minimum: 0
	AmountWithoutFee float64 `json:"amount_without_fee"`
	//  Format: int64
	//  Minimum: 0
	UserId *int `json:"user_id,omitempty"`
}

type Callback_DonutSubscriptionExpired

type Callback_DonutSubscriptionExpired struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int `json:"user_id,omitempty"`
}

type Callback_DonutSubscriptionPriceChanged

type Callback_DonutSubscriptionPriceChanged struct {
	//  Minimum: 0
	AmountDiff *float64 `json:"amount_diff,omitempty"`
	//  Minimum: 0
	AmountDiffWithoutFee *float64 `json:"amount_diff_without_fee,omitempty"`
	//  Minimum: 0
	AmountNew int `json:"amount_new"`
	//  Minimum: 0
	AmountOld int `json:"amount_old"`
	//  Format: int64
	//  Minimum: 0
	UserId *int `json:"user_id,omitempty"`
}

type Callback_DonutSubscriptionProlonged

type Callback_DonutSubscriptionProlonged struct {
	//  Minimum: 0
	Amount int `json:"amount"`
	//  Minimum: 0
	AmountWithoutFee float64 `json:"amount_without_fee"`
	//  Format: int64
	//  Minimum: 0
	UserId *int `json:"user_id,omitempty"`
}

type Callback_GroupChangePhoto

type Callback_GroupChangePhoto struct {
	Photo Photos_Photo `json:"photo"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_GroupChangeSettings

type Callback_GroupChangeSettings struct {
	Self Base_BoolInt `json:"self"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_GroupJoin

type Callback_GroupJoin struct {
	JoinType Callback_GroupJoinType `json:"join_type"`
	//  Format: int64
	UserId int `json:"user_id"`
}

type Callback_GroupJoinType

type Callback_GroupJoinType string
const (
	Callback_GroupJoinType_Join     Callback_GroupJoinType = "join"
	Callback_GroupJoinType_Unsure   Callback_GroupJoinType = "unsure"
	Callback_GroupJoinType_Accepted Callback_GroupJoinType = "accepted"
	Callback_GroupJoinType_Approved Callback_GroupJoinType = "approved"
	Callback_GroupJoinType_Request  Callback_GroupJoinType = "request"
)

type Callback_GroupLeave

type Callback_GroupLeave struct {
	Self *Base_BoolInt `json:"self,omitempty"`
	//  Format: int64
	//  Minimum: 0
	UserId *int `json:"user_id,omitempty"`
}

type Callback_GroupMarket

type Callback_GroupMarket int
const (
	Callback_GroupMarket_Disabled Callback_GroupMarket = 0
	Callback_GroupMarket_Open     Callback_GroupMarket = 1
)

type Callback_GroupOfficerRole

type Callback_GroupOfficerRole int
const (
	Callback_GroupOfficerRole_None          Callback_GroupOfficerRole = 0
	Callback_GroupOfficerRole_Moderator     Callback_GroupOfficerRole = 1
	Callback_GroupOfficerRole_Editor        Callback_GroupOfficerRole = 2
	Callback_GroupOfficerRole_Administrator Callback_GroupOfficerRole = 3
)

type Callback_GroupOfficersEdit

type Callback_GroupOfficersEdit struct {
	//  Minimum: 0
	AdminId  int                       `json:"admin_id"`
	LevelNew Callback_GroupOfficerRole `json:"level_new"`
	LevelOld Callback_GroupOfficerRole `json:"level_old"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_GroupSettingsChanges

type Callback_GroupSettingsChanges struct {
	Access              *Groups_GroupIsClosed      `json:"access,omitempty"`
	AgeLimits           *Groups_GroupFullAgeLimits `json:"age_limits,omitempty"`
	Description         *string                    `json:"description,omitempty"`
	EnableAudio         *Groups_GroupAudio         `json:"enable_audio,omitempty"`
	EnableMarket        *Callback_GroupMarket      `json:"enable_market,omitempty"`
	EnablePhoto         *Groups_GroupPhotos        `json:"enable_photo,omitempty"`
	EnableStatusDefault *Groups_GroupWall          `json:"enable_status_default,omitempty"`
	EnableVideo         *Groups_GroupVideo         `json:"enable_video,omitempty"`
	PublicCategory      *int                       `json:"public_category,omitempty"`
	PublicSubcategory   *int                       `json:"public_subcategory,omitempty"`
	ScreenName          *string                    `json:"screen_name,omitempty"`
	Title               *string                    `json:"title,omitempty"`
	Website             *string                    `json:"website,omitempty"`
}

type Callback_LikeAddRemove

type Callback_LikeAddRemove struct {
	LikerId       int                               `json:"liker_id"`
	ObjectId      int                               `json:"object_id"`
	ObjectOwnerId int                               `json:"object_owner_id"`
	ObjectType    Callback_LikeAddRemove_ObjectType `json:"object_type"`
	//  Minimum: 0
	PostId int `json:"post_id"`
	//  Minimum: 0
	ThreadReplyId *int `json:"thread_reply_id,omitempty"`
}

type Callback_LikeAddRemove_ObjectType

type Callback_LikeAddRemove_ObjectType string
const (
	Callback_LikeAddRemove_ObjectType_Video         Callback_LikeAddRemove_ObjectType = "video"
	Callback_LikeAddRemove_ObjectType_Photo         Callback_LikeAddRemove_ObjectType = "photo"
	Callback_LikeAddRemove_ObjectType_Post          Callback_LikeAddRemove_ObjectType = "post"
	Callback_LikeAddRemove_ObjectType_Comment       Callback_LikeAddRemove_ObjectType = "comment"
	Callback_LikeAddRemove_ObjectType_Note          Callback_LikeAddRemove_ObjectType = "note"
	Callback_LikeAddRemove_ObjectType_TopicComment  Callback_LikeAddRemove_ObjectType = "topic_comment"
	Callback_LikeAddRemove_ObjectType_PhotoComment  Callback_LikeAddRemove_ObjectType = "photo_comment"
	Callback_LikeAddRemove_ObjectType_VideoComment  Callback_LikeAddRemove_ObjectType = "video_comment"
	Callback_LikeAddRemove_ObjectType_Market        Callback_LikeAddRemove_ObjectType = "market"
	Callback_LikeAddRemove_ObjectType_MarketComment Callback_LikeAddRemove_ObjectType = "market_comment"
)

type Callback_MarketComment

type Callback_MarketComment struct {
	//  Minimum: 0
	Date   int `json:"date"`
	FromId int `json:"from_id"`
	//  Minimum: 0
	Id            int     `json:"id"`
	MarketOwnerId *int    `json:"market_owner_id,omitempty"`
	PhotoId       *int    `json:"photo_id,omitempty"`
	Text          *string `json:"text,omitempty"`
}

type Callback_MarketCommentDelete

type Callback_MarketCommentDelete struct {
	Id int `json:"id"`
	//  Minimum: 0
	ItemId int `json:"item_id"`
	//  Format: int64
	OwnerId int `json:"owner_id"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_MessageAllow

type Callback_MessageAllow struct {
	Callback_Base
	Object Callback_MessageAllowObject `json:"object"`
	//  Default: message_allow
	Type *Callback_Type `json:"type,omitempty"`
}

type Callback_MessageAllowObject

type Callback_MessageAllowObject struct {
	Key string `json:"key"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_MessageDeny

type Callback_MessageDeny struct {
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_MessageEdit

type Callback_MessageEdit struct {
	Callback_Base
	Object Messages_Message `json:"object"`
	//  Default: message_edit
	Type *Callback_Type `json:"type,omitempty"`
}

type Callback_MessageNew

type Callback_MessageNew struct {
	Callback_Base
	Object Callback_MessageObject `json:"object"`
	//  Default: message_new
	Type *Callback_Type `json:"type,omitempty"`
}

type Callback_MessageObject

type Callback_MessageObject struct {
	ClientInfo *Client_InfoForBots `json:"client_info,omitempty"`
	Message    *Messages_Message   `json:"message,omitempty"`
}

type Callback_MessageReply

type Callback_MessageReply struct {
	Callback_Base
	Object Messages_Message `json:"object"`
	//  Default: message_reply
	Type *Callback_Type `json:"type,omitempty"`
}

type Callback_PhotoComment

type Callback_PhotoComment struct {
	//  Minimum: 0
	Date int `json:"date"`
	//  Minimum: 0
	FromId int `json:"from_id"`
	//  Minimum: 0
	Id           int    `json:"id"`
	PhotoOwnerId int    `json:"photo_owner_id"`
	Text         string `json:"text"`
}

type Callback_PhotoCommentDelete

type Callback_PhotoCommentDelete struct {
	//  Minimum: 0
	Id int `json:"id"`
	//  Format: int64
	//  Minimum: 0
	OwnerId int `json:"owner_id"`
	//  Minimum: 0
	PhotoId int `json:"photo_id"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_PollVoteNew

type Callback_PollVoteNew struct {
	//  Minimum: 0
	OptionId int `json:"option_id"`
	//  Format: int64
	OwnerId int `json:"owner_id"`
	//  Minimum: 0
	PollId int `json:"poll_id"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_QrScan

type Callback_QrScan struct {
	Data    string `json:"data"`
	Reread  bool   `json:"reread"`
	Subtype string `json:"subtype"`
	Type    string `json:"type"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_Type

type Callback_Type string
const (
	Callback_Type_AudioNew             Callback_Type = "audio_new"
	Callback_Type_BoardPostNew         Callback_Type = "board_post_new"
	Callback_Type_BoardPostEdit        Callback_Type = "board_post_edit"
	Callback_Type_BoardPostRestore     Callback_Type = "board_post_restore"
	Callback_Type_BoardPostDelete      Callback_Type = "board_post_delete"
	Callback_Type_Confirmation         Callback_Type = "confirmation"
	Callback_Type_GroupLeave           Callback_Type = "group_leave"
	Callback_Type_GroupJoin            Callback_Type = "group_join"
	Callback_Type_GroupChangePhoto     Callback_Type = "group_change_photo"
	Callback_Type_GroupChangeSettings  Callback_Type = "group_change_settings"
	Callback_Type_GroupOfficersEdit    Callback_Type = "group_officers_edit"
	Callback_Type_LeadFormsNew         Callback_Type = "lead_forms_new"
	Callback_Type_MarketCommentNew     Callback_Type = "market_comment_new"
	Callback_Type_MarketCommentDelete  Callback_Type = "market_comment_delete"
	Callback_Type_MarketCommentEdit    Callback_Type = "market_comment_edit"
	Callback_Type_MarketCommentRestore Callback_Type = "market_comment_restore"
	Callback_Type_MessageNew           Callback_Type = "message_new"
	Callback_Type_MessageReply         Callback_Type = "message_reply"
	Callback_Type_MessageEdit          Callback_Type = "message_edit"
	Callback_Type_MessageAllow         Callback_Type = "message_allow"
	Callback_Type_MessageDeny          Callback_Type = "message_deny"
	Callback_Type_MessageRead          Callback_Type = "message_read"
	Callback_Type_MessageTypingState   Callback_Type = "message_typing_state"
	Callback_Type_MessagesEdit         Callback_Type = "messages_edit"
	Callback_Type_PhotoNew             Callback_Type = "photo_new"
	Callback_Type_PhotoCommentNew      Callback_Type = "photo_comment_new"
	Callback_Type_PhotoCommentDelete   Callback_Type = "photo_comment_delete"
	Callback_Type_PhotoCommentEdit     Callback_Type = "photo_comment_edit"
	Callback_Type_PhotoCommentRestore  Callback_Type = "photo_comment_restore"
	Callback_Type_PollVoteNew          Callback_Type = "poll_vote_new"
	Callback_Type_UserBlock            Callback_Type = "user_block"
	Callback_Type_UserUnblock          Callback_Type = "user_unblock"
	Callback_Type_VideoNew             Callback_Type = "video_new"
	Callback_Type_VideoCommentNew      Callback_Type = "video_comment_new"
	Callback_Type_VideoCommentDelete   Callback_Type = "video_comment_delete"
	Callback_Type_VideoCommentEdit     Callback_Type = "video_comment_edit"
	Callback_Type_VideoCommentRestore  Callback_Type = "video_comment_restore"
	Callback_Type_WallPostNew          Callback_Type = "wall_post_new"
	Callback_Type_WallReplyNew         Callback_Type = "wall_reply_new"
	Callback_Type_WallReplyEdit        Callback_Type = "wall_reply_edit"
	Callback_Type_WallReplyDelete      Callback_Type = "wall_reply_delete"
	Callback_Type_WallReplyRestore     Callback_Type = "wall_reply_restore"
	Callback_Type_WallRepost           Callback_Type = "wall_repost"
)

type Callback_UserBlock

type Callback_UserBlock struct {
	//  Minimum: 0
	AdminId int     `json:"admin_id"`
	Comment *string `json:"comment,omitempty"`
	//  Minimum: 0
	Reason int `json:"reason"`
	//  Minimum: 0
	UnblockDate int `json:"unblock_date"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_UserUnblock

type Callback_UserUnblock struct {
	//  Minimum: 0
	AdminId int `json:"admin_id"`
	//  Minimum: 0
	ByEndDate int `json:"by_end_date"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Callback_VideoComment

type Callback_VideoComment struct {
	//  Minimum: 0
	Date   int `json:"date"`
	FromId int `json:"from_id"`
	//  Minimum: 0
	Id           int    `json:"id"`
	Text         string `json:"text"`
	VideoOwnerId int    `json:"video_owner_id"`
}

type Callback_VideoCommentDelete

type Callback_VideoCommentDelete struct {
	//  Minimum: 0
	Id int `json:"id"`
	//  Format: int64
	OwnerId int `json:"owner_id"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
	//  Minimum: 0
	VideoId int `json:"video_id"`
}

type Callback_WallCommentDelete

type Callback_WallCommentDelete struct {
	//  Minimum: 0
	Id int `json:"id"`
	//  Format: int64
	OwnerId int `json:"owner_id"`
	//  Minimum: 0
	PostId int `json:"post_id"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
}

type Calls_Call

type Calls_Call struct {
	// Call duration
	//  Minimum: 0
	Duration *int `json:"duration,omitempty"`
	// Caller initiator
	//  Minimum: 0
	InitiatorId  int                 `json:"initiator_id"`
	Participants *Calls_Participants `json:"participants,omitempty"`
	// Caller receiver
	//  Minimum: 0
	ReceiverId int            `json:"receiver_id"`
	State      Calls_EndState `json:"state"`
	// Timestamp for call
	Time int `json:"time"`
	// Was this call initiated as video call
	Video *bool `json:"video,omitempty"`
}

type Calls_EndState

type Calls_EndState string

Calls_EndState State in which call ended up

const (
	Calls_EndState_CanceledByInitiator Calls_EndState = "canceled_by_initiator"
	Calls_EndState_CanceledByReceiver  Calls_EndState = "canceled_by_receiver"
	Calls_EndState_Reached             Calls_EndState = "reached"
)

type Calls_Participants

type Calls_Participants struct {
	// Participants count
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
	//  Format: int64
	List *[]int `json:"list,omitempty"`
}

type Captcha

type Captcha interface {
	SID() string
	Img() string
}

type Client_InfoForBots

type Client_InfoForBots struct {
	ButtonActions *[]Messages_TemplateActionTypeNames `json:"button_actions,omitempty"`
	// client has support carousel
	Carousel *bool `json:"carousel,omitempty"`
	// client has support inline keyboard
	InlineKeyboard *bool `json:"inline_keyboard,omitempty"`
	// client has support keyboard
	Keyboard *bool `json:"keyboard,omitempty"`
	// client or user language id
	LangId *int `json:"lang_id,omitempty"`
}

type Comment_Thread

type Comment_Thread struct {
	// Information whether current user can comment the post
	CanPost *bool `json:"can_post,omitempty"`
	// Comments number
	//  Minimum: 0
	Count int `json:"count"`
	// Information whether groups can comment the post
	GroupsCanPost *bool               `json:"groups_can_post,omitempty"`
	Items         *[]Wall_WallComment `json:"items,omitempty"`
	// Information whether recommended to display reply button
	ShowReplyButton *bool `json:"show_reply_button,omitempty"`
}

type Database_City

type Database_City struct {
	Base_Object
	// Area title
	Area *string `json:"area,omitempty"`
	// Information whether the city is included in important cities list
	Important *Base_BoolInt `json:"important,omitempty"`
	// Region title
	Region *string `json:"region,omitempty"`
}

type Database_CityById

type Database_CityById Base_Object

type Database_Faculty

type Database_Faculty struct {
	// Faculty ID
	Id *int `json:"id,omitempty"`
	// Faculty title
	Title *string `json:"title,omitempty"`
}

type Database_GetChairs_Request

type Database_GetChairs_Request struct {
	// id of the faculty to get chairs from
	//  Minimum: 0
	FacultyId int
	// offset required to get a certain subset of chairs
	//  Minimum: 0
	Offset *int
	// amount of chairs to get
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 10000
	Count *int
}

type Database_GetChairs_Response

type Database_GetChairs_Response struct {
	Response struct {
		// Total number
		Count int           `json:"count"`
		Items []Base_Object `json:"items"`
	} `json:"response"`
}

type Database_GetCitiesById_Request

type Database_GetCitiesById_Request struct {
	//  MaxItems: 1000
	//  Minimum: 0
	CityIds *[]int
}

type Database_GetCitiesById_Response

type Database_GetCitiesById_Response struct {
	Response []Database_CityById `json:"response"`
}

type Database_GetCities_Request

type Database_GetCities_Request struct {
	// Country ID.
	//  Minimum: 0
	CountryId int
	// Region ID.
	//  Minimum: 0
	RegionId *int
	// Search query.
	Q *string
	// '1' — to return all cities in the country, '0' — to return major cities in the country (default),
	NeedAll *bool
	// Offset needed to return a specific subset of cities.
	//  Minimum: 0
	Offset *int
	// Number of cities to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Database_GetCities_Response

type Database_GetCities_Response struct {
	Response struct {
		// Total number
		Count int             `json:"count"`
		Items []Database_City `json:"items"`
	} `json:"response"`
}

type Database_GetCountriesById_Request

type Database_GetCountriesById_Request struct {
	//  MaxItems: 1000
	//  Minimum: 0
	CountryIds *[]int
}

type Database_GetCountriesById_Response

type Database_GetCountriesById_Response struct {
	Response []Base_Country `json:"response"`
}

type Database_GetCountries_Request

type Database_GetCountries_Request struct {
	// '1' — to return a full list of all countries, '0' — to return a list of countries near the current user's country (default).
	NeedAll *bool
	// Country codes in [vk.com/dev/country_codes|ISO 3166-1 alpha-2] standard.
	Code *string
	// Offset needed to return a specific subset of countries.
	//  Minimum: 0
	Offset *int
	// Number of countries to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Database_GetCountries_Response

type Database_GetCountries_Response struct {
	Response struct {
		// Total number
		Count int            `json:"count"`
		Items []Base_Country `json:"items"`
	} `json:"response"`
}

type Database_GetFaculties_Request

type Database_GetFaculties_Request struct {
	// University ID.
	//  Minimum: 0
	UniversityId int
	// Offset needed to return a specific subset of faculties.
	//  Minimum: 0
	Offset *int
	// Number of faculties to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 10000
	Count *int
}

type Database_GetFaculties_Response

type Database_GetFaculties_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Database_Faculty `json:"items"`
	} `json:"response"`
}

type Database_GetMetroStationsById_Request

type Database_GetMetroStationsById_Request struct {
	//  MaxItems: 30
	//  Minimum: 0
	StationIds *[]int
}

type Database_GetMetroStationsById_Response

type Database_GetMetroStationsById_Response struct {
	Response []Database_Station `json:"response"`
}

type Database_GetMetroStations_Request

type Database_GetMetroStations_Request struct {
	//  Minimum: 0
	CityId int
	//  Minimum: 0
	Offset *int
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 500
	Count *int
	//  Default: false
	Extended *bool
}

type Database_GetMetroStations_Response

type Database_GetMetroStations_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Database_Station `json:"items"`
	} `json:"response"`
}

type Database_GetRegions_Request

type Database_GetRegions_Request struct {
	// Country ID, received in [vk.com/dev/database.getCountries|database.getCountries] method.
	//  Minimum: 0
	CountryId int
	// Search query.
	Q *string
	// Offset needed to return specific subset of regions.
	//  Minimum: 0
	Offset *int
	// Number of regions to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Database_GetRegions_Response

type Database_GetRegions_Response struct {
	Response struct {
		// Total number
		Count int               `json:"count"`
		Items []Database_Region `json:"items"`
	} `json:"response"`
}

type Database_GetSchoolClasses_Request

type Database_GetSchoolClasses_Request struct {
	// Country ID.
	//  Minimum: 0
	CountryId *int
}

type Database_GetSchoolClasses_Response

type Database_GetSchoolClasses_Response struct {
	Response [][]string `json:"response"`
}

type Database_GetSchools_Request

type Database_GetSchools_Request struct {
	// Search query.
	Q *string
	// City ID.
	//  Minimum: 0
	CityId int
	// Offset needed to return a specific subset of schools.
	//  Minimum: 0
	Offset *int
	// Number of schools to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 10000
	Count *int
}

type Database_GetSchools_Response

type Database_GetSchools_Response struct {
	Response struct {
		// Total number
		Count int               `json:"count"`
		Items []Database_School `json:"items"`
	} `json:"response"`
}

type Database_GetUniversities_Request

type Database_GetUniversities_Request struct {
	// Search query.
	Q *string
	// Country ID.
	//  Minimum: 0
	CountryId *int
	// City ID.
	//  Minimum: 0
	CityId *int
	// Offset needed to return a specific subset of universities.
	//  Minimum: 0
	Offset *int
	// Number of universities to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 10000
	Count *int
}

type Database_GetUniversities_Response

type Database_GetUniversities_Response struct {
	Response struct {
		// Total number
		Count int                   `json:"count"`
		Items []Database_University `json:"items"`
	} `json:"response"`
}

type Database_Region

type Database_Region struct {
	// Region ID
	Id *int `json:"id,omitempty"`
	// Region title
	Title *string `json:"title,omitempty"`
}

type Database_School

type Database_School struct {
	// School ID
	Id *int `json:"id,omitempty"`
	// School title
	Title *string `json:"title,omitempty"`
}

type Database_Station

type Database_Station struct {
	// City ID
	//  Minimum: 1
	CityId *int `json:"city_id,omitempty"`
	// Hex color code without #
	Color *string `json:"color,omitempty"`
	// Station ID
	//  Minimum: 1
	Id int `json:"id"`
	// Station name
	Name string `json:"name"`
}

type Database_University

type Database_University struct {
	// University ID
	Id *int `json:"id,omitempty"`
	// University title
	Title *string `json:"title,omitempty"`
}

type DisplayType

type DisplayType string
const (
	// DisplayTypePage authorization form in a separate window.
	DisplayTypePage DisplayType = "page"
	// DisplayTypePopup a pop-up window.
	DisplayTypePopup DisplayType = "popup"
	// DisplayTypeMobile authorization for mobile devices (uses no Javascript).
	DisplayTypeMobile DisplayType = "mobile"
)

type Docs_Add_Request

type Docs_Add_Request struct {
	// ID of the user or community that owns the document. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId int
	// Document ID.
	//  Minimum: 0
	DocId int
	// Access key. This parameter is required if 'access_key' was returned with the document's data.
	AccessKey *string
}

type Docs_Add_Response

type Docs_Add_Response struct {
	// Document ID
	Response int `json:"response"`
}

type Docs_Delete_Request

type Docs_Delete_Request struct {
	// ID of the user or community that owns the document. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId int
	// Document ID.
	//  Minimum: 0
	DocId int
}

type Docs_Doc

type Docs_Doc struct {
	// Access key for the document
	AccessKey *string `json:"access_key,omitempty"`
	// Date when file has been uploaded in Unixtime
	//  Minimum: 0
	Date int `json:"date"`
	// File extension
	Ext string `json:"ext"`
	// Document ID
	//  Minimum: 0
	Id         int           `json:"id"`
	IsLicensed *Base_BoolInt `json:"is_licensed,omitempty"`
	// Document owner ID
	//  Format: int64
	OwnerId int              `json:"owner_id"`
	Preview *Docs_DocPreview `json:"preview,omitempty"`
	// File size in bites
	//  Minimum: 0
	Size int `json:"size"`
	// Document tags
	Tags *[]string `json:"tags,omitempty"`
	// Document title
	Title string `json:"title"`
	// Document type
	Type int `json:"type"`
	// File URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

type Docs_DocAttachmentType

type Docs_DocAttachmentType string

Docs_DocAttachmentType Doc attachment type

const (
	Docs_DocAttachmentType_Doc          Docs_DocAttachmentType = "doc"
	Docs_DocAttachmentType_Graffiti     Docs_DocAttachmentType = "graffiti"
	Docs_DocAttachmentType_AudioMessage Docs_DocAttachmentType = "audio_message"
)

type Docs_DocPreview

type Docs_DocPreview struct {
	AudioMsg *Docs_DocPreviewAudioMsg `json:"audio_msg,omitempty"`
	Graffiti *Docs_DocPreviewGraffiti `json:"graffiti,omitempty"`
	Photo    *Docs_DocPreviewPhoto    `json:"photo,omitempty"`
	Video    *Docs_DocPreviewVideo    `json:"video,omitempty"`
}

type Docs_DocPreviewAudioMsg

type Docs_DocPreviewAudioMsg struct {
	// Audio message duration in seconds
	//  Minimum: 0
	Duration int `json:"duration"`
	// MP3 file URL
	//  Format: uri
	LinkMp3 string `json:"link_mp3"`
	// OGG file URL
	//  Format: uri
	LinkOgg string `json:"link_ogg"`
	//  Minimum: 0
	Waveform []int `json:"waveform"`
}

type Docs_DocPreviewGraffiti

type Docs_DocPreviewGraffiti struct {
	// Graffiti height
	//  Minimum: 0
	Height int `json:"height"`
	// Graffiti file URL
	//  Format: uri
	Src string `json:"src"`
	// Graffiti width
	//  Minimum: 0
	Width int `json:"width"`
}

type Docs_DocPreviewPhoto

type Docs_DocPreviewPhoto struct {
	Sizes *[]Docs_DocPreviewPhotoSizes `json:"sizes,omitempty"`
}

type Docs_DocPreviewPhotoSizes

type Docs_DocPreviewPhotoSizes struct {
	// Height in px
	//  Minimum: 0
	Height int `json:"height"`
	// URL of the image
	//  Format: uri
	Src  string                `json:"src"`
	Type Photos_PhotoSizesType `json:"type"`
	// Width in px
	//  Minimum: 0
	Width int `json:"width"`
}

type Docs_DocPreviewVideo

type Docs_DocPreviewVideo struct {
	// Video file size in bites
	//  Minimum: 0
	FileSize int `json:"file_size"`
	// Video's height in pixels
	//  Minimum: 0
	Height int `json:"height"`
	// Video URL
	//  Format: uri
	Src string `json:"src"`
	// Video's width in pixels
	//  Minimum: 0
	Width int `json:"width"`
}

type Docs_DocTypes

type Docs_DocTypes struct {
	// Number of docs
	//  Minimum: 0
	Count int `json:"count"`
	// Doc type ID
	Id int `json:"id"`
	// Doc type title
	Name string `json:"name"`
}

type Docs_DocUpload_Response

type Docs_DocUpload_Response struct {
	Response struct {
		// Uploaded file data
		File *string `json:"file,omitempty"`
	} `json:"response"`
}

type Docs_Edit_Request

type Docs_Edit_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId int
	// Document ID.
	//  Minimum: 0
	DocId int
	// Document title.
	//  MaxLength: 128
	Title string
	Tags  *[]string
}

type Docs_GetById_Request

type Docs_GetById_Request struct {
	Docs *[]string
	//  Default: false
	ReturnTags *bool
}

type Docs_GetById_Response

type Docs_GetById_Response struct {
	Response []Docs_Doc `json:"response"`
}

type Docs_GetMessagesUploadServer_Request

type Docs_GetMessagesUploadServer_Request struct {
	// Document type.
	//  Default: doc
	Type *Docs_GetMessagesUploadServer_Type
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
	//  Format: int32
	PeerId *int
}

type Docs_GetMessagesUploadServer_Type

type Docs_GetMessagesUploadServer_Type string
const (
	Docs_GetMessagesUploadServer_Type_AudioMessage Docs_GetMessagesUploadServer_Type = "audio_message"
	Docs_GetMessagesUploadServer_Type_Doc          Docs_GetMessagesUploadServer_Type = "doc"
	Docs_GetMessagesUploadServer_Type_Graffiti     Docs_GetMessagesUploadServer_Type = "graffiti"
)

type Docs_GetTypes_Request

type Docs_GetTypes_Request struct {
	// ID of the user or community that owns the documents. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId int
}

type Docs_GetTypes_Response

type Docs_GetTypes_Response struct {
	Response struct {
		// Total number
		Count *int             `json:"count,omitempty"`
		Items *[]Docs_DocTypes `json:"items,omitempty"`
	} `json:"response"`
}

type Docs_GetUploadServer_Request

type Docs_GetUploadServer_Request struct {
	// Community ID (if the document will be uploaded to the community).
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Docs_GetUploadServer_Response

type Docs_GetUploadServer_Response struct {
	Response Base_UploadServer `json:"response"`
}

type Docs_GetWallUploadServer_Request

type Docs_GetWallUploadServer_Request struct {
	// Community ID (if the document will be uploaded to the community).
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Docs_Get_Request

type Docs_Get_Request struct {
	// Number of documents to return. By default, all documents.
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of documents.
	//  Minimum: 0
	Offset *int
	//  Default: 0
	//  Minimum: 0
	Type *Docs_Get_Type
	// ID of the user or community that owns the documents. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	//  Default: false
	ReturnTags *bool
}

type Docs_Get_Response

type Docs_Get_Response struct {
	Response struct {
		// Total number
		Count int        `json:"count"`
		Items []Docs_Doc `json:"items"`
	} `json:"response"`
}

type Docs_Get_Type

type Docs_Get_Type int
const (
	Docs_Get_Type_All     Docs_Get_Type = 0
	Docs_Get_Type_Text    Docs_Get_Type = 1
	Docs_Get_Type_Archive Docs_Get_Type = 2
	Docs_Get_Type_Gif     Docs_Get_Type = 3
	Docs_Get_Type_Image   Docs_Get_Type = 4
	Docs_Get_Type_Audio   Docs_Get_Type = 5
	Docs_Get_Type_Video   Docs_Get_Type = 6
	Docs_Get_Type_Ebook   Docs_Get_Type = 7
	Docs_Get_Type_Default Docs_Get_Type = 8
)

type Docs_Save_Request

type Docs_Save_Request struct {
	// This parameter is returned when the file is [vk.com/dev/upload_files_2|uploaded to the server].
	File string
	// Document title.
	Title *string
	// Document tags.
	Tags *string
	//  Default: false
	ReturnTags *bool
}

type Docs_Save_Response

type Docs_Save_Response struct {
	Response struct {
		AudioMessage *Messages_AudioMessage  `json:"audio_message,omitempty"`
		Doc          *Docs_Doc               `json:"doc,omitempty"`
		Graffiti     *Messages_Graffiti      `json:"graffiti,omitempty"`
		Type         *Docs_DocAttachmentType `json:"type,omitempty"`
	} `json:"response"`
}

type Docs_Search_Request

type Docs_Search_Request struct {
	// Search query string.
	//  MaxLength: 512
	Q         string
	SearchOwn *bool
	// Number of results to return.
	//  Default: 20
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset     *int
	ReturnTags *bool
}

type Docs_Search_Response

type Docs_Search_Response struct {
	Response struct {
		// Total number
		Count int        `json:"count"`
		Items []Docs_Doc `json:"items"`
	} `json:"response"`
}

type Donut_DonatorSubscriptionInfo

type Donut_DonatorSubscriptionInfo struct {
	Amount          int `json:"amount"`
	NextPaymentDate int `json:"next_payment_date"`
	//  Format: int64
	OwnerId int                                  `json:"owner_id"`
	Status  Donut_DonatorSubscriptionInfo_Status `json:"status"`
}

Donut_DonatorSubscriptionInfo Info about user VK Donut subscription

type Donut_DonatorSubscriptionInfo_Status

type Donut_DonatorSubscriptionInfo_Status string
const (
	Donut_DonatorSubscriptionInfo_Status_Active   Donut_DonatorSubscriptionInfo_Status = "active"
	Donut_DonatorSubscriptionInfo_Status_Expiring Donut_DonatorSubscriptionInfo_Status = "expiring"
)

type Donut_GetFriends_Request

type Donut_GetFriends_Request struct {
	//  Format: int64
	OwnerId int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 0
	//  Maximum: 100
	Count  *int
	Fields *[]string
}

type Donut_GetSubscription_Request

type Donut_GetSubscription_Request struct {
	//  Format: int64
	OwnerId int
}

type Donut_GetSubscription_Response

type Donut_GetSubscription_Response struct {
	Response Donut_DonatorSubscriptionInfo `json:"response"`
}

type Donut_GetSubscriptions_Request

type Donut_GetSubscriptions_Request struct {
	Fields *[]Base_UserGroupFields
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 0
	//  Maximum: 100
	Count *int
}

type Donut_GetSubscriptions_Response

type Donut_GetSubscriptions_Response struct {
	Response struct {
		//  Minimum: 0
		Count         *int                            `json:"count,omitempty"`
		Groups        *[]Groups_GroupFull             `json:"groups,omitempty"`
		Profiles      *[]Users_UserFull               `json:"profiles,omitempty"`
		Subscriptions []Donut_DonatorSubscriptionInfo `json:"subscriptions"`
	} `json:"response"`
}

type Donut_IsDon_Request

type Donut_IsDon_Request struct {
	//  Format: int64
	OwnerId int
}

type DownloadedGames_GetPaidStatus_Request

type DownloadedGames_GetPaidStatus_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type DownloadedGames_PaidStatus_Response

type DownloadedGames_PaidStatus_Response struct {
	Response struct {
		// Game has been paid
		IsPaid bool `json:"is_paid"`
	} `json:"response"`
}

type ErrorCode

type ErrorCode int
const (
	// Error_Unknown Unknown error occurred.
	// Solution: Try again later.
	//  IsGlobal: true
	Error_Unknown ErrorCode = 1
	// Error_Disabled Application is disabled. Enable your application or use test mode.
	// Solution: You need to switch on the app in Settings (https://vk.com/editapp?id={Your API_ID} or use the TestMode (test_mode=1).
	//  IsGlobal: true
	Error_Disabled ErrorCode = 2
	// Error_Method Unknown method passed.
	// Solution: Check the method name: https://vk.com/dev/methods
	//  IsGlobal: true
	Error_Method ErrorCode = 3
	// Error_Signature Incorrect signature.
	// Solution: Check if the signature has been formed correctly: https://vk.com/dev/api_nohttps.
	//  IsGlobal: true
	Error_Signature ErrorCode = 4
	// Error_Auth User authorization failed.
	// Solution: Make sure that you use a correct TokenType (https://vk.com/dev/access_token).
	//  IsGlobal: true
	Error_Auth ErrorCode = 5
	// Error_TooMany Too many requests per second.
	// Solution: Decrease the request frequency or use the execute method. More details on frequency limits here: https://vk.com/dev/api_requests.
	//  IsGlobal: true
	Error_TooMany ErrorCode = 6
	// Error_Permission Permission to perform this action is denied.
	// Solution: Make sure that your have received required AccessPermission during the authorization (see https://vk.com/dev/permissions). You can do it with the VK.Account_GetAppPermissions method.
	//  IsGlobal: true
	Error_Permission ErrorCode = 7
	// Error_Request Invalid request.
	// May contain one of the listed subcodes: [ UserReachedLinkedAccountsLimit, ServiceUuidLinkWithAnotherUser ].
	// Solution: Check the request syntax (https://vk.com/dev/api_requests) and used parameters list (it can be found on a method description page).
	//  IsGlobal: true
	Error_Request ErrorCode = 8
	// Error_Flood Flood control.
	// Solution: You need to decrease the count of identical requests. For more efficient work you may use execute (https://vk.com/dev/execute) or JSONP (https://vk.com/dev/jsonp).
	//  IsGlobal: true
	Error_Flood ErrorCode = 9
	// Error_Server Internal server error.
	// Solution: Try again later.
	//  IsGlobal: true
	Error_Server ErrorCode = 10
	// Error_EnabledInTest In test mode application should be disabled or user should be authorized.
	// Solution: Switch the app off in Settings: https://vk.com/editapp?id={Your API_ID}.
	//  IsGlobal: true
	Error_EnabledInTest ErrorCode = 11
	// Error_Compile Unable to compile code.
	//  IsGlobal: false
	Error_Compile ErrorCode = 12
	// Error_Runtime Runtime error occurred during code invocation.
	//  IsGlobal: false
	Error_Runtime ErrorCode = 13
	// Error_Captcha Captcha needed.
	// Solution: Work with this error is explained in detail on https://vk.com/dev/captcha_error.
	//  IsGlobal: true
	Error_Captcha ErrorCode = 14
	// Error_Access Access denied.
	// Solution: Make sure that you use correct identifiers and the content is available for the user in the full version of the site.
	//  IsGlobal: true
	Error_Access ErrorCode = 15
	// Error_AuthHttps HTTP authorization failed.
	// Solution: To avoid this error check if a user has the 'Use secure connection' option enabled with the VK.Account_GetInfo method.
	//  IsGlobal: true
	Error_AuthHttps ErrorCode = 16
	// Error_AuthValidation Validation required.
	// Solution: Make sure that you don't use a token received with https://vk.com/dev/auth_mobile for a request from the server. It's restricted. The validation process is described on https://vk.com/dev/need_validation.
	//  IsGlobal: true
	Error_AuthValidation ErrorCode = 17
	// Error_UserDeleted User was deleted or banned.
	//  IsGlobal: true
	Error_UserDeleted ErrorCode = 18
	// Error_Blocked Content blocked.
	//  IsGlobal: false
	Error_Blocked ErrorCode = 19
	// Error_MethodPermission Permission to perform this action is denied for non-standalone applications.
	// Solution: If you see this error despite your app has the Standalone type, make sure that you use redirect_uri=https://oauth.vk.com/blank.html. Details here: https://vk.com/dev/auth_mobile.
	//  IsGlobal: true
	Error_MethodPermission ErrorCode = 20
	// Error_MethodAds Permission to perform this action is allowed only for standalone and OpenAPI applications.
	//  IsGlobal: true
	Error_MethodAds ErrorCode = 21
	// Error_Upload Upload error.
	//  IsGlobal: false
	Error_Upload ErrorCode = 22
	// Error_MethodDisabled This method was disabled.
	// Solution: All the methods available now are listed here: https://vk.com/dev/methods.
	//  IsGlobal: true
	Error_MethodDisabled ErrorCode = 23
	// Error_NeedConfirmation Confirmation required.
	// Solution: Confirmation process is described on https://vk.com/dev/need_confirmation.
	//  IsGlobal: true
	Error_NeedConfirmation ErrorCode = 24
	// Error_NeedTokenConfirmation Token confirmation required.
	//  IsGlobal: true
	Error_NeedTokenConfirmation ErrorCode = 25
	// Error_GroupAuth Group authorization failed.
	//  IsGlobal: true
	Error_GroupAuth ErrorCode = 27
	// Error_AppAuth Application authorization failed.
	//  IsGlobal: true
	Error_AppAuth ErrorCode = 28
	// Error_RateLimit Rate limit reached.
	// Solution: More details on rate limits here: https://vk.com/dev/data_limits
	//  IsGlobal: true
	Error_RateLimit ErrorCode = 29
	// Error_PrivateProfile This profile is private.
	//  IsGlobal: true
	Error_PrivateProfile ErrorCode = 30
	// Error_NotImplementedYet Not implemented yet.
	//  IsGlobal: true
	Error_NotImplementedYet ErrorCode = 33
	// Error_ClientVersionDeprecated Client version deprecated.
	//  IsGlobal: true
	Error_ClientVersionDeprecated ErrorCode = 34
	// Error_ClientUpdateNeeded Client update needed.
	//  IsGlobal: false
	Error_ClientUpdateNeeded ErrorCode = 35
	// Error_Timeout Method execution was interrupted due to timeout.
	//  IsGlobal: false
	Error_Timeout ErrorCode = 36
	// Error_UserBanned User was banned.
	//  IsGlobal: true
	Error_UserBanned ErrorCode = 37
	// Error_UnknownApplication Unknown application.
	//  IsGlobal: true
	Error_UnknownApplication ErrorCode = 38
	// Error_UnknownUser Unknown user.
	//  IsGlobal: true
	Error_UnknownUser ErrorCode = 39
	// Error_UnknownGroup Unknown group.
	//  IsGlobal: true
	Error_UnknownGroup ErrorCode = 40
	// Error_AdditionalSignupRequired Additional signup required.
	//  IsGlobal: true
	Error_AdditionalSignupRequired ErrorCode = 41
	// Error_IpIsNotAllowed IP is not allowed.
	//  IsGlobal: true
	Error_IpIsNotAllowed ErrorCode = 42
	// Error_Param One of the parameters specified was missing or invalid.
	// Solution: Check the required parameters list and their format on a method description page.
	//  IsGlobal: true
	Error_Param ErrorCode = 100
	// Error_ParamApiId Invalid application API ID.
	// Solution: Find the app in the administrated list in settings: https://vk.com/apps?act=settings and set the correct API_ID in the request.
	//  IsGlobal: true
	Error_ParamApiId ErrorCode = 101
	// Error_Limits Out of limits.
	// May contain one of the listed subcodes: [ TooManyCommunities ].
	//  IsGlobal: false
	Error_Limits ErrorCode = 103
	// Error_NotFound Not found.
	//  IsGlobal: false
	Error_NotFound ErrorCode = 104
	// Error_SaveFile Couldn't save file.
	//  IsGlobal: false
	Error_SaveFile ErrorCode = 105
	// Error_ActionFailed Unable to process action.
	//  IsGlobal: false
	Error_ActionFailed ErrorCode = 106
	// Error_ParamUserId Invalid user id.
	// Solution: Make sure that you use a correct id. You can get an id using a screen name with the VK.Utils_ResolveScreenName method
	//  IsGlobal: true
	Error_ParamUserId ErrorCode = 113
	// Error_ParamAlbumId Invalid album id.
	//  IsGlobal: false
	Error_ParamAlbumId ErrorCode = 114
	// Error_ParamServer Invalid server.
	//  IsGlobal: false
	Error_ParamServer ErrorCode = 118
	// Error_ParamTitle Invalid title.
	//  IsGlobal: false
	Error_ParamTitle ErrorCode = 119
	// Error_ParamHash Invalid hash.
	//  IsGlobal: false
	Error_ParamHash ErrorCode = 121
	// Error_ParamPhotos Invalid photos.
	//  IsGlobal: false
	Error_ParamPhotos ErrorCode = 122
	// Error_ParamGroupId Invalid group id.
	//  IsGlobal: false
	Error_ParamGroupId ErrorCode = 125
	// Error_ParamPhoto Invalid photo.
	//  IsGlobal: false
	Error_ParamPhoto ErrorCode = 129
	// Error_ParamPageId Page not found.
	//  IsGlobal: false
	Error_ParamPageId ErrorCode = 140
	// Error_AccessPage Access to page denied.
	//  IsGlobal: false
	Error_AccessPage ErrorCode = 141
	// Error_MobileNotActivated The mobile number of the user is unknown.
	//  IsGlobal: false
	Error_MobileNotActivated ErrorCode = 146
	// Error_InsufficientFunds Application has insufficient funds.
	//  IsGlobal: false
	Error_InsufficientFunds ErrorCode = 147
	// Error_ParamTimestamp Invalid timestamp.
	// Solution: You may get a correct value with the VK.Utils_GetServerTime method.
	//  IsGlobal: true
	Error_ParamTimestamp ErrorCode = 150
	// Error_FriendsListId Invalid list id.
	//  IsGlobal: false
	Error_FriendsListId ErrorCode = 171
	// Error_FriendsListLimit Reached the maximum number of lists.
	//  IsGlobal: false
	Error_FriendsListLimit ErrorCode = 173
	// Error_FriendsAddYourself Cannot add user himself as friend.
	//  IsGlobal: false
	Error_FriendsAddYourself ErrorCode = 174
	// Error_FriendsAddInEnemy Cannot add this user to friends as they have put you on their blacklist.
	//  IsGlobal: false
	Error_FriendsAddInEnemy ErrorCode = 175
	// Error_FriendsAddEnemy Cannot add this user to friends as you put him on blacklist.
	//  IsGlobal: false
	Error_FriendsAddEnemy ErrorCode = 176
	// Error_FriendsAddNotFound Cannot add this user to friends as user not found.
	//  IsGlobal: false
	Error_FriendsAddNotFound ErrorCode = 177
	// Error_ParamNoteId Note not found.
	//  IsGlobal: false
	Error_ParamNoteId ErrorCode = 180
	// Error_AccessNote Access to note denied.
	//  IsGlobal: false
	Error_AccessNote ErrorCode = 181
	// Error_AccessNoteComment You can't comment this note.
	//  IsGlobal: false
	Error_AccessNoteComment ErrorCode = 182
	// Error_AccessComment Access to comment denied.
	//  IsGlobal: false
	Error_AccessComment ErrorCode = 183
	// Error_AccessAlbum Access denied.
	// Solution: Make sure you use correct ids (owner_id is always positive for users, negative for communities) and the current user has access to the requested content in the full version of the site.
	//  IsGlobal: true
	Error_AccessAlbum ErrorCode = 200
	// Error_AccessAudio Access denied.
	// Solution: Make sure you use correct ids (owner_id is always positive for users, negative for communities) and the current user has access to the requested content in the full version of the site.
	//  IsGlobal: true
	Error_AccessAudio ErrorCode = 201
	// Error_AccessGroup Access to group denied.
	// Solution: Make sure that the current user is a member or admin of the community (for closed and private groups and events).
	//  IsGlobal: true
	Error_AccessGroup ErrorCode = 203
	// Error_AccessVideo Access denied.
	//  IsGlobal: false
	Error_AccessVideo ErrorCode = 204
	// Error_AccessMarket Access denied.
	//  IsGlobal: false
	Error_AccessMarket ErrorCode = 205
	// Error_WallAccessPost Access to wall's post denied.
	//  IsGlobal: false
	Error_WallAccessPost ErrorCode = 210
	// Error_WallAccessComment Access to wall's comment denied.
	//  IsGlobal: false
	Error_WallAccessComment ErrorCode = 211
	// Error_WallAccessReplies Access to post comments denied.
	//  IsGlobal: false
	Error_WallAccessReplies ErrorCode = 212
	// Error_WallAccessAddReply Access to status replies denied.
	//  IsGlobal: false
	Error_WallAccessAddReply ErrorCode = 213
	// Error_WallAddPost Access to adding post denied.
	//  IsGlobal: false
	Error_WallAddPost ErrorCode = 214
	// Error_WallAdsPublished Advertisement post was recently added.
	//  IsGlobal: false
	Error_WallAdsPublished ErrorCode = 219
	// Error_WallTooManyRecipients Too many recipients.
	//  IsGlobal: false
	Error_WallTooManyRecipients ErrorCode = 220
	// Error_StatusNoAudio User disabled track name broadcast.
	//  IsGlobal: false
	Error_StatusNoAudio ErrorCode = 221
	// Error_WallLinksForbidden Hyperlinks are forbidden.
	//  IsGlobal: false
	Error_WallLinksForbidden ErrorCode = 222
	// Error_WallReplyOwnerFlood Too many replies.
	//  IsGlobal: false
	Error_WallReplyOwnerFlood ErrorCode = 223
	// Error_WallAdsPostLimitReached Too many ads posts.
	//  IsGlobal: false
	Error_WallAdsPostLimitReached ErrorCode = 224
	// Error_WallDonut Donut is disabled.
	//  IsGlobal: false
	Error_WallDonut ErrorCode = 225
	// Error_LikesReactionCanNotBeApplied Reaction can not be applied to the object.
	//  IsGlobal: false
	Error_LikesReactionCanNotBeApplied ErrorCode = 232
	// Error_PollsAccess Access to poll denied.
	//  IsGlobal: false
	Error_PollsAccess ErrorCode = 250
	// Error_PollsPollId Invalid poll id.
	//  IsGlobal: false
	Error_PollsPollId ErrorCode = 251
	// Error_PollsAnswerId Invalid answer id.
	//  IsGlobal: false
	Error_PollsAnswerId ErrorCode = 252
	// Error_PollsAccessWithoutVote Access denied, please vote first.
	//  IsGlobal: false
	Error_PollsAccessWithoutVote ErrorCode = 253
	// Error_AccessGroups Access to the groups list is denied due to the user's privacy settings.
	//  IsGlobal: false
	Error_AccessGroups ErrorCode = 260
	// Error_AlbumFull This album is full.
	// Solution: You need to delete the odd objects from the album or use another album.
	//  IsGlobal: true
	Error_AlbumFull ErrorCode = 300
	// Error_AlbumsLimit Albums number limit is reached.
	//  IsGlobal: false
	Error_AlbumsLimit ErrorCode = 302
	// Error_VotesPermission Permission denied. You must enable votes processing in application settings.
	// Solution: Check the app settings: https://vk.com/editapp?id={Your API_ID}&section=payments
	//  IsGlobal: true
	Error_VotesPermission ErrorCode = 500
	// Error_AdsPermission Permission denied. You have no access to operations specified with given object(s).
	//  IsGlobal: true
	Error_AdsPermission ErrorCode = 600
	// Error_WeightedFlood Permission denied. You have requested too many actions this day. Try later..
	//  IsGlobal: false
	Error_WeightedFlood ErrorCode = 601
	// Error_AdsPartialSuccess Some part of the request has not been completed.
	//  IsGlobal: false
	Error_AdsPartialSuccess ErrorCode = 602
	// Error_AdsSpecific Some ads error occurs.
	//  IsGlobal: true
	Error_AdsSpecific ErrorCode = 603
	// Error_AdsObjectDeleted Object deleted.
	//  IsGlobal: false
	Error_AdsObjectDeleted ErrorCode = 629
	// Error_GroupChangeCreator Cannot edit creator role.
	//  IsGlobal: false
	Error_GroupChangeCreator ErrorCode = 700
	// Error_GroupNotInClub User should be in club.
	//  IsGlobal: false
	Error_GroupNotInClub ErrorCode = 701
	// Error_GroupTooManyOfficers Too many officers in club.
	//  IsGlobal: false
	Error_GroupTooManyOfficers ErrorCode = 702
	// Error_GroupNeed2fa You need to enable 2FA for this action.
	//  IsGlobal: false
	Error_GroupNeed2fa ErrorCode = 703
	// Error_GroupHostNeed2fa User needs to enable 2FA for this action.
	//  IsGlobal: false
	Error_GroupHostNeed2fa ErrorCode = 704
	// Error_GroupTooManyAddresses Too many addresses in club.
	//  IsGlobal: false
	Error_GroupTooManyAddresses ErrorCode = 706
	// Error_GroupAppIsNotInstalledInCommunity Application is not installed in community.
	//  IsGlobal: false
	Error_GroupAppIsNotInstalledInCommunity ErrorCode = 711
	// Error_GroupInviteLinksNotValid Invite link is invalid - expired, deleted or not exists.
	//  IsGlobal: false
	Error_GroupInviteLinksNotValid ErrorCode = 714
	// Error_VideoAlreadyAdded This video is already added.
	//  IsGlobal: false
	Error_VideoAlreadyAdded ErrorCode = 800
	// Error_VideoCommentsClosed Comments for this video are closed.
	//  IsGlobal: false
	Error_VideoCommentsClosed ErrorCode = 801
	// Error_MessagesUserBlocked Can't send messages for users from blacklist.
	//  IsGlobal: false
	Error_MessagesUserBlocked ErrorCode = 900
	// Error_MessagesDenySend Can't send messages for users without permission.
	//  IsGlobal: false
	Error_MessagesDenySend ErrorCode = 901
	// Error_MessagesPrivacy Can't send messages to this user due to their privacy settings.
	//  IsGlobal: false
	Error_MessagesPrivacy ErrorCode = 902
	// Error_MessagesTooOldPts Value of ts or pts is too old.
	//  IsGlobal: false
	Error_MessagesTooOldPts ErrorCode = 907
	// Error_MessagesTooNewPts Value of ts or pts is too new.
	//  IsGlobal: false
	Error_MessagesTooNewPts ErrorCode = 908
	// Error_MessagesEditExpired Can't edit this message, because it's too old.
	//  IsGlobal: false
	Error_MessagesEditExpired ErrorCode = 909
	// Error_MessagesTooBig Can't sent this message, because it's too big.
	//  IsGlobal: false
	Error_MessagesTooBig ErrorCode = 910
	// Error_MessagesKeyboardInvalid Keyboard format is invalid.
	//  IsGlobal: false
	Error_MessagesKeyboardInvalid ErrorCode = 911
	// Error_MessagesChatBotFeature This is a chat bot feature, change this status in settings.
	//  IsGlobal: false
	Error_MessagesChatBotFeature ErrorCode = 912
	// Error_MessagesTooLongForwards Too many forwarded messages.
	//  IsGlobal: false
	Error_MessagesTooLongForwards ErrorCode = 913
	// Error_MessagesTooLongMessage Message is too long.
	//  IsGlobal: false
	Error_MessagesTooLongMessage ErrorCode = 914
	// Error_MessagesChatUserNoAccess You don't have access to this chat.
	//  IsGlobal: false
	Error_MessagesChatUserNoAccess ErrorCode = 917
	// Error_MessagesCantSeeInviteLink You can't see invite link for this chat.
	//  IsGlobal: false
	Error_MessagesCantSeeInviteLink ErrorCode = 919
	// Error_MessagesEditKindDisallowed Can't edit this kind of message.
	//  IsGlobal: false
	Error_MessagesEditKindDisallowed ErrorCode = 920
	// Error_MessagesCantFwd Can't forward these messages.
	//  IsGlobal: false
	Error_MessagesCantFwd ErrorCode = 921
	// Error_MessagesCantDeleteForAll Can't delete this message for everybody.
	//  IsGlobal: false
	Error_MessagesCantDeleteForAll ErrorCode = 924
	// Error_MessagesChatNotAdmin You are not admin of this chat.
	//  IsGlobal: false
	Error_MessagesChatNotAdmin ErrorCode = 925
	// Error_MessagesChatNotExist Chat does not exist.
	//  IsGlobal: false
	Error_MessagesChatNotExist ErrorCode = 927
	// Error_MessagesCantChangeInviteLink You can't change invite link for this chat.
	//  IsGlobal: false
	Error_MessagesCantChangeInviteLink ErrorCode = 931
	// Error_MessagesGroupPeerAccess Your community can't interact with this peer.
	//  IsGlobal: false
	Error_MessagesGroupPeerAccess ErrorCode = 932
	// Error_MessagesChatUserNotInChat User not found in chat.
	//  IsGlobal: false
	Error_MessagesChatUserNotInChat ErrorCode = 935
	// Error_MessagesContactNotFound Contact not found.
	//  IsGlobal: false
	Error_MessagesContactNotFound ErrorCode = 936
	// Error_MessagesMessageRequestAlreadySent Message request already sent.
	//  IsGlobal: false
	Error_MessagesMessageRequestAlreadySent ErrorCode = 939
	// Error_MessagesTooManyPosts Too many posts in messages.
	//  IsGlobal: false
	Error_MessagesTooManyPosts ErrorCode = 940
	// Error_MessagesCantPinOneTimeStory Cannot pin one-time story.
	//  IsGlobal: false
	Error_MessagesCantPinOneTimeStory ErrorCode = 942
	// Error_MessagesIntentCantUse Cannot use this intent.
	//  IsGlobal: false
	Error_MessagesIntentCantUse ErrorCode = 943
	// Error_MessagesIntentLimitOverflow Limits overflow for this intent.
	//  IsGlobal: false
	Error_MessagesIntentLimitOverflow ErrorCode = 944
	// Error_MessagesChatDisabled Chat was disabled.
	//  IsGlobal: false
	Error_MessagesChatDisabled ErrorCode = 945
	// Error_MessagesChatUnsupported Chat not supported.
	//  IsGlobal: false
	Error_MessagesChatUnsupported ErrorCode = 946
	// Error_MessagesMemberAccessToGroupDenied Can't add user to chat, because user has no access to group.
	//  IsGlobal: false
	Error_MessagesMemberAccessToGroupDenied ErrorCode = 947
	// Error_MessagesCantEditPinnedYet Can't edit pinned message yet.
	//  IsGlobal: false
	Error_MessagesCantEditPinnedYet ErrorCode = 949
	// Error_MessagesPeerBlockedReasonByTime Can't send message, reply timed out.
	//  IsGlobal: false
	Error_MessagesPeerBlockedReasonByTime ErrorCode = 950
	// Error_MessagesUserNotDon You can't access donut chat without subscription.
	//  IsGlobal: false
	Error_MessagesUserNotDon ErrorCode = 962
	// Error_MessagesMessageCannotBeForwarded Message cannot be forwarded.
	//  IsGlobal: false
	Error_MessagesMessageCannotBeForwarded ErrorCode = 969
	// Error_MessagesCantPinExpiringMessage Cannot pin an expiring message.
	//  IsGlobal: false
	Error_MessagesCantPinExpiringMessage ErrorCode = 970
	// Error_AuthFloodError Too many auth attempts, try again later.
	//  IsGlobal: false
	Error_AuthFloodError ErrorCode = 1105
	// Error_AuthAnonymousTokenHasExpired Anonymous token has expired.
	//  IsGlobal: true
	Error_AuthAnonymousTokenHasExpired ErrorCode = 1114
	// Error_AuthAnonymousTokenIsInvalid Anonymous token is invalid.
	//  IsGlobal: true
	Error_AuthAnonymousTokenIsInvalid ErrorCode = 1116
	// Error_ParamDocId Invalid document id.
	//  IsGlobal: false
	Error_ParamDocId ErrorCode = 1150
	// Error_ParamDocDeleteAccess Access to document deleting is denied.
	//  IsGlobal: false
	Error_ParamDocDeleteAccess ErrorCode = 1151
	// Error_ParamDocTitle Invalid document title.
	//  IsGlobal: false
	Error_ParamDocTitle ErrorCode = 1152
	// Error_ParamDocAccess Access to document is denied.
	//  IsGlobal: false
	Error_ParamDocAccess ErrorCode = 1153
	// Error_PhotoChanged Original photo was changed.
	//  IsGlobal: false
	Error_PhotoChanged ErrorCode = 1160
	// Error_TooManyLists Too many feed lists.
	//  IsGlobal: false
	Error_TooManyLists ErrorCode = 1170
	// Error_AppsAlreadyUnlocked This achievement is already unlocked.
	//  IsGlobal: false
	Error_AppsAlreadyUnlocked ErrorCode = 1251
	// Error_AppsSubscriptionNotFound Subscription not found.
	//  IsGlobal: false
	Error_AppsSubscriptionNotFound ErrorCode = 1256
	// Error_AppsSubscriptionInvalidStatus Subscription is in invalid status.
	//  IsGlobal: false
	Error_AppsSubscriptionInvalidStatus ErrorCode = 1257
	// Error_InvalidAddress Invalid screen name.
	//  IsGlobal: false
	Error_InvalidAddress ErrorCode = 1260
	// Error_CommunitiesCatalogDisabled Catalog is not available for this user.
	//  IsGlobal: false
	Error_CommunitiesCatalogDisabled ErrorCode = 1310
	// Error_CommunitiesCategoriesDisabled Catalog categories are not available for this user.
	//  IsGlobal: false
	Error_CommunitiesCategoriesDisabled ErrorCode = 1311
	// Error_MarketRestoreTooLate Too late for restore.
	//  IsGlobal: false
	Error_MarketRestoreTooLate ErrorCode = 1400
	// Error_MarketCommentsClosed Comments for this market are closed.
	//  IsGlobal: false
	Error_MarketCommentsClosed ErrorCode = 1401
	// Error_MarketAlbumNotFound Album not found.
	//  IsGlobal: false
	Error_MarketAlbumNotFound ErrorCode = 1402
	// Error_MarketItemNotFound Item not found.
	//  IsGlobal: false
	Error_MarketItemNotFound ErrorCode = 1403
	// Error_MarketItemAlreadyAdded Item already added to album.
	//  IsGlobal: false
	Error_MarketItemAlreadyAdded ErrorCode = 1404
	// Error_MarketTooManyItems Too many items.
	//  IsGlobal: false
	Error_MarketTooManyItems ErrorCode = 1405
	// Error_MarketTooManyItemsInAlbum Too many items in album.
	//  IsGlobal: false
	Error_MarketTooManyItemsInAlbum ErrorCode = 1406
	// Error_MarketTooManyAlbums Too many albums.
	//  IsGlobal: false
	Error_MarketTooManyAlbums ErrorCode = 1407
	// Error_MarketItemHasBadLinks Item has bad links in description.
	//  IsGlobal: false
	Error_MarketItemHasBadLinks ErrorCode = 1408
	// Error_MarketExtendedNotEnabled Extended market not enabled.
	//  IsGlobal: false
	Error_MarketExtendedNotEnabled ErrorCode = 1409
	// Error_MarketGroupingItemsWithDifferentProperties Grouping items with different properties.
	//  IsGlobal: false
	Error_MarketGroupingItemsWithDifferentProperties ErrorCode = 1412
	// Error_MarketGroupingAlreadyHasSuchVariant Grouping already has such variant.
	//  IsGlobal: false
	Error_MarketGroupingAlreadyHasSuchVariant ErrorCode = 1413
	// Error_MarketVariantNotFound Variant not found.
	//  IsGlobal: false
	Error_MarketVariantNotFound ErrorCode = 1416
	// Error_MarketPropertyNotFound Property not found.
	//  IsGlobal: false
	Error_MarketPropertyNotFound ErrorCode = 1417
	// Error_MarketGroupingMustContainMoreThanOneItem Grouping must have two or more items.
	//  IsGlobal: false
	Error_MarketGroupingMustContainMoreThanOneItem ErrorCode = 1425
	// Error_MarketGroupingItemsMustHaveDistinctProperties Item must have distinct properties.
	//  IsGlobal: false
	Error_MarketGroupingItemsMustHaveDistinctProperties ErrorCode = 1426
	// Error_MarketOrdersNoCartItems Cart is empty.
	//  IsGlobal: false
	Error_MarketOrdersNoCartItems ErrorCode = 1427
	// Error_MarketInvalidDimensions Specify width, length, height and weight all together.
	//  IsGlobal: false
	Error_MarketInvalidDimensions ErrorCode = 1429
	// Error_MarketCantChangeVkpayStatus VK Pay status can not be changed.
	//  IsGlobal: false
	Error_MarketCantChangeVkpayStatus ErrorCode = 1430
	// Error_MarketShopAlreadyEnabled Market was already enabled in this group.
	//  IsGlobal: false
	Error_MarketShopAlreadyEnabled ErrorCode = 1431
	// Error_MarketShopAlreadyDisabled Market was already disabled in this group.
	//  IsGlobal: false
	Error_MarketShopAlreadyDisabled ErrorCode = 1432
	// Error_MarketPhotosCropInvalidFormat Invalid image crop format.
	//  IsGlobal: false
	Error_MarketPhotosCropInvalidFormat ErrorCode = 1433
	// Error_MarketPhotosCropOverflow Crop bottom right corner is outside of the image.
	//  IsGlobal: false
	Error_MarketPhotosCropOverflow ErrorCode = 1434
	// Error_MarketPhotosCropSizeTooLow Crop size is less than the minimum.
	//  IsGlobal: false
	Error_MarketPhotosCropSizeTooLow ErrorCode = 1435
	// Error_MarketNotEnabled Market not enabled.
	//  IsGlobal: false
	Error_MarketNotEnabled ErrorCode = 1438
	// Error_MarketAlbumMainHidden Main album can not be hidden.
	//  IsGlobal: false
	Error_MarketAlbumMainHidden ErrorCode = 1446
	// Error_StoryExpired Story has already expired.
	//  IsGlobal: false
	Error_StoryExpired ErrorCode = 1600
	// Error_StoryIncorrectReplyPrivacy Incorrect reply privacy.
	//  IsGlobal: false
	Error_StoryIncorrectReplyPrivacy ErrorCode = 1602
	// Error_PrettyCardsCardNotFound Card not found.
	//  IsGlobal: false
	Error_PrettyCardsCardNotFound ErrorCode = 1900
	// Error_PrettyCardsTooManyCards Too many cards.
	//  IsGlobal: false
	Error_PrettyCardsTooManyCards ErrorCode = 1901
	// Error_PrettyCardsCardIsConnectedToPost Card is connected to post.
	//  IsGlobal: false
	Error_PrettyCardsCardIsConnectedToPost ErrorCode = 1902
	// Error_CallbackApiServersLimit Servers number limit is reached.
	//  IsGlobal: false
	Error_CallbackApiServersLimit ErrorCode = 2000
	// Error_StickersNotPurchased Stickers are not purchased.
	//  IsGlobal: false
	Error_StickersNotPurchased ErrorCode = 2100
	// Error_StickersTooManyFavorites Too many favorite stickers.
	//  IsGlobal: false
	Error_StickersTooManyFavorites ErrorCode = 2101
	// Error_StickersNotFavorite Stickers are not favorite.
	//  IsGlobal: false
	Error_StickersNotFavorite ErrorCode = 2102
	// Error_WallCheckLinkCantDetermineSource Specified link is incorrect (can't find source).
	//  IsGlobal: false
	Error_WallCheckLinkCantDetermineSource ErrorCode = 3102
	// Error_Recaptcha Recaptcha needed.
	//  IsGlobal: true
	Error_Recaptcha ErrorCode = 3300
	// Error_PhoneValidationNeed Phone validation needed.
	//  IsGlobal: true
	Error_PhoneValidationNeed ErrorCode = 3301
	// Error_PasswordValidationNeed Password validation needed.
	//  IsGlobal: true
	Error_PasswordValidationNeed ErrorCode = 3302
	// Error_OtpValidationNeed Otp app validation needed.
	//  IsGlobal: true
	Error_OtpValidationNeed ErrorCode = 3303
	// Error_EmailConfirmationNeed Email confirmation needed.
	//  IsGlobal: true
	Error_EmailConfirmationNeed ErrorCode = 3304
	// Error_AssertVotes Assert votes.
	//  IsGlobal: true
	Error_AssertVotes ErrorCode = 3305
	// Error_TokenExtensionRequired Token extension required.
	//  IsGlobal: true
	Error_TokenExtensionRequired ErrorCode = 3609
	// Error_UserDeactivated User is deactivated.
	//  IsGlobal: true
	Error_UserDeactivated ErrorCode = 3610
	// Error_UserServiceDeactivated Service is deactivated for user.
	//  IsGlobal: true
	Error_UserServiceDeactivated ErrorCode = 3611
	// Error_FaveAliexpressTag Can't set AliExpress tag to this type of object.
	//  IsGlobal: false
	Error_FaveAliexpressTag ErrorCode = 3800
)

type Events_EventAttach

type Events_EventAttach struct {
	// address of event
	Address *string `json:"address,omitempty"`
	// text of attach
	ButtonText string `json:"button_text"`
	// array of friends ids
	Friends []int `json:"friends"`
	// event ID
	//  Minimum: 0
	Id int `json:"id"`
	// is favorite
	IsFavorite bool `json:"is_favorite"`
	// Current user's member status
	MemberStatus *Groups_GroupFullMemberStatus `json:"member_status,omitempty"`
	// text of attach
	Text string `json:"text"`
	// event start time
	Time *int `json:"time,omitempty"`
}

type Fave_AddArticle_Request

type Fave_AddArticle_Request struct {
	Url string
}
type Fave_AddLink_Request struct {
	// Link URL.
	Link string
}

type Fave_AddPage_Request

type Fave_AddPage_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Fave_AddPost_Request

type Fave_AddPost_Request struct {
	//  Format: int64
	OwnerId   int
	Id        int
	AccessKey *string
}

type Fave_AddProduct_Request

type Fave_AddProduct_Request struct {
	//  Format: int64
	OwnerId   int
	Id        int
	AccessKey *string
}

type Fave_AddTag_Position

type Fave_AddTag_Position string
const (
	Fave_AddTag_Position_Back  Fave_AddTag_Position = "back"
	Fave_AddTag_Position_Front Fave_AddTag_Position = "front"
)

type Fave_AddTag_Request

type Fave_AddTag_Request struct {
	//  MaxLength: 50
	Name *string
	//  Default: back
	Position *Fave_AddTag_Position
}

type Fave_AddTag_Response

type Fave_AddTag_Response struct {
	Response Fave_Tag `json:"response"`
}

type Fave_AddVideo_Request

type Fave_AddVideo_Request struct {
	//  Format: int64
	OwnerId   int
	Id        int
	AccessKey *string
}

type Fave_Bookmark

type Fave_Bookmark struct {
	// Timestamp, when this item was bookmarked
	//  Minimum: 0
	AddedDate int                `json:"added_date"`
	Link      *Base_Link         `json:"link,omitempty"`
	Post      *Wall_WallpostFull `json:"post,omitempty"`
	Product   *Market_MarketItem `json:"product,omitempty"`
	// Has user seen this item
	Seen bool       `json:"seen"`
	Tags []Fave_Tag `json:"tags"`
	// Item type
	Type  Fave_BookmarkType `json:"type"`
	Video *Video_VideoFull  `json:"video,omitempty"`
}

type Fave_BookmarkType

type Fave_BookmarkType string
const (
	Fave_BookmarkType_Post    Fave_BookmarkType = "post"
	Fave_BookmarkType_Video   Fave_BookmarkType = "video"
	Fave_BookmarkType_Product Fave_BookmarkType = "product"
	Fave_BookmarkType_Article Fave_BookmarkType = "article"
	Fave_BookmarkType_Link    Fave_BookmarkType = "link"
)

type Fave_EditTag_Request

type Fave_EditTag_Request struct {
	Id int
	//  MaxLength: 50
	Name string
}

type Fave_GetExtended_Response

type Fave_GetExtended_Response struct {
	Response struct {
		// Total number
		Count    *int              `json:"count,omitempty"`
		Groups   *[]Groups_Group   `json:"groups,omitempty"`
		Items    *[]Fave_Bookmark  `json:"items,omitempty"`
		Profiles *[]Users_UserFull `json:"profiles,omitempty"`
	} `json:"response"`
}

type Fave_GetPages_Request

type Fave_GetPages_Request struct {
	//  Minimum: 0
	//  Maximum: 10000
	Offset *int
	//  Default: 50
	//  Minimum: 1
	//  Maximum: 500
	Count  *int
	Type   *Fave_GetPages_Type
	Fields *[]Base_UserGroupFields
	TagId  *int
}

type Fave_GetPages_Response

type Fave_GetPages_Response struct {
	Response struct {
		Count *int         `json:"count,omitempty"`
		Items *[]Fave_Page `json:"items,omitempty"`
	} `json:"response"`
}

type Fave_GetPages_Type

type Fave_GetPages_Type string
const (
	Fave_GetPages_Type_Groups Fave_GetPages_Type = "groups"
	Fave_GetPages_Type_Hints  Fave_GetPages_Type = "hints"
	Fave_GetPages_Type_Users  Fave_GetPages_Type = "users"
)

type Fave_GetTags_Response

type Fave_GetTags_Response struct {
	Response struct {
		Count *int        `json:"count,omitempty"`
		Items *[]Fave_Tag `json:"items,omitempty"`
	} `json:"response"`
}

type Fave_Get_ItemType

type Fave_Get_ItemType string
const (
	Fave_Get_ItemType_Article      Fave_Get_ItemType = "article"
	Fave_Get_ItemType_Clip         Fave_Get_ItemType = "clip"
	Fave_Get_ItemType_Link         Fave_Get_ItemType = "link"
	Fave_Get_ItemType_Narrative    Fave_Get_ItemType = "narrative"
	Fave_Get_ItemType_Page         Fave_Get_ItemType = "page"
	Fave_Get_ItemType_Podcast      Fave_Get_ItemType = "podcast"
	Fave_Get_ItemType_Post         Fave_Get_ItemType = "post"
	Fave_Get_ItemType_Product      Fave_Get_ItemType = "product"
	Fave_Get_ItemType_Video        Fave_Get_ItemType = "video"
	Fave_Get_ItemType_YoulaProduct Fave_Get_ItemType = "youla_product"
)

type Fave_Get_Request

type Fave_Get_Request struct {
	ItemType *Fave_Get_ItemType
	// Tag ID.
	TagId *int
	// Offset needed to return a specific subset of users.
	//  Minimum: 0
	Offset *int
	// Number of users to return.
	//  Default: 50
	//  Minimum: 1
	//  Maximum: 100
	Count          *int
	Fields         *[]Users_Fields
	IsFromSnackbar *bool
}

type Fave_Get_Response

type Fave_Get_Response struct {
	Response struct {
		// Total number
		Count *int             `json:"count,omitempty"`
		Items *[]Fave_Bookmark `json:"items,omitempty"`
	} `json:"response"`
}

type Fave_Page

type Fave_Page struct {
	// Some info about user or group
	Description string            `json:"description"`
	Group       *Groups_GroupFull `json:"group,omitempty"`
	Tags        []Fave_Tag        `json:"tags"`
	// Item type
	Type Fave_PageType `json:"type"`
	// Timestamp, when this page was bookmarked
	//  Minimum: 0
	UpdatedDate *int            `json:"updated_date,omitempty"`
	User        *Users_UserFull `json:"user,omitempty"`
}

type Fave_PageType

type Fave_PageType string
const (
	Fave_PageType_User  Fave_PageType = "user"
	Fave_PageType_Group Fave_PageType = "group"
	Fave_PageType_Hints Fave_PageType = "hints"
)

type Fave_RemoveArticle_Request

type Fave_RemoveArticle_Request struct {
	//  Format: int64
	OwnerId int
	//  Minimum: 0
	ArticleId int
}
type Fave_RemoveLink_Request struct {
	// Link ID (can be obtained by [vk.com/dev/faves.getLinks|faves.getLinks] method).
	LinkId *string
	// Link URL
	Link *string
}

type Fave_RemovePage_Request

type Fave_RemovePage_Request struct {
	//  Format: int64
	UserId *int
	//  Format: int64
	GroupId *int
}

type Fave_RemovePost_Request

type Fave_RemovePost_Request struct {
	//  Format: int64
	OwnerId int
	Id      int
}

type Fave_RemoveProduct_Request

type Fave_RemoveProduct_Request struct {
	//  Format: int64
	OwnerId int
	Id      int
}

type Fave_RemoveTag_Request

type Fave_RemoveTag_Request struct {
	Id int
}

type Fave_RemoveVideo_Request

type Fave_RemoveVideo_Request struct {
	//  Format: int64
	OwnerId int
	Id      int
}

type Fave_ReorderTags_Request

type Fave_ReorderTags_Request struct {
	Ids *[]int
}

type Fave_SetPageTags_Request

type Fave_SetPageTags_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	TagIds  *[]int
}

type Fave_SetTags_ItemType

type Fave_SetTags_ItemType string
const (
	Fave_SetTags_ItemType_Article      Fave_SetTags_ItemType = "article"
	Fave_SetTags_ItemType_Clip         Fave_SetTags_ItemType = "clip"
	Fave_SetTags_ItemType_Link         Fave_SetTags_ItemType = "link"
	Fave_SetTags_ItemType_Narrative    Fave_SetTags_ItemType = "narrative"
	Fave_SetTags_ItemType_Page         Fave_SetTags_ItemType = "page"
	Fave_SetTags_ItemType_Podcast      Fave_SetTags_ItemType = "podcast"
	Fave_SetTags_ItemType_Post         Fave_SetTags_ItemType = "post"
	Fave_SetTags_ItemType_Product      Fave_SetTags_ItemType = "product"
	Fave_SetTags_ItemType_Video        Fave_SetTags_ItemType = "video"
	Fave_SetTags_ItemType_YoulaProduct Fave_SetTags_ItemType = "youla_product"
)

type Fave_SetTags_Request

type Fave_SetTags_Request struct {
	ItemType *Fave_SetTags_ItemType
	//  Format: int64
	ItemOwnerId *int
	ItemId      *int
	TagIds      *[]int
	LinkId      *string
	LinkUrl     *string
}

type Fave_Tag

type Fave_Tag struct {
	// Tag id
	//  Minimum: 0
	Id *int `json:"id,omitempty"`
	// Tag name
	Name *string `json:"name,omitempty"`
}

type Fave_TrackPageInteraction_Request

type Fave_TrackPageInteraction_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Friends_AddList_Request

type Friends_AddList_Request struct {
	// Name of the friend list.
	Name string
	//  Format: int64
	//  Minimum: 0
	UserIds *[]int
}

type Friends_AddList_Response

type Friends_AddList_Response struct {
	Response struct {
		// List ID
		//  Minimum: 1
		ListId int `json:"list_id"`
	} `json:"response"`
}

type Friends_Add_Request

type Friends_Add_Request struct {
	// ID of the user whose friend request will be approved or to whom a friend request will be sent.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// Text of the message (up to 500 characters) for the friend request, if any.
	Text *string
	// '1' to pass an incoming request to followers list.
	Follow *bool
}

type Friends_Add_Response

type Friends_Add_Response struct {
	// Friend request status
	Response Friends_Add_Response_Response `json:"response"`
}

type Friends_Add_Response_Response

type Friends_Add_Response_Response int
const (
	Friends_Add_Response_Response_SEND     Friends_Add_Response_Response = 1
	Friends_Add_Response_Response_APPROVED Friends_Add_Response_Response = 2
	Friends_Add_Response_Response_RESEND   Friends_Add_Response_Response = 4
)

type Friends_AreFriendsExtended_Response

type Friends_AreFriendsExtended_Response struct {
	Response []Friends_FriendExtendedStatus `json:"response"`
}

type Friends_AreFriends_Request

type Friends_AreFriends_Request struct {
	//  Format: int64
	//  MaxItems: 1000
	UserIds *[]int
	// '1' — to return 'sign' field. 'sign' is md5("{id}_{user_id}_{friends_status}_{application_secret}"), where id is current user ID. This field allows to check that data has not been modified by the client. By default: '0'.
	NeedSign *bool
}

type Friends_AreFriends_Response

type Friends_AreFriends_Response struct {
	Response []Friends_FriendStatus `json:"response"`
}

type Friends_DeleteList_Request

type Friends_DeleteList_Request struct {
	// ID of the friend list to delete.
	//  Minimum: 0
	//  Maximum: 24
	ListId int
}

type Friends_Delete_Request

type Friends_Delete_Request struct {
	// ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type Friends_Delete_Response

type Friends_Delete_Response struct {
	Response struct {
		// Returns 1 if friend has been deleted
		FriendDeleted *Friends_Delete_Response_Response_FriendDeleted `json:"friend_deleted,omitempty"`
		// Returns 1 if incoming request has been declined
		InRequestDeleted *Friends_Delete_Response_Response_InRequestDeleted `json:"in_request_deleted,omitempty"`
		// Returns 1 if out request has been canceled
		OutRequestDeleted *Friends_Delete_Response_Response_OutRequestDeleted `json:"out_request_deleted,omitempty"`
		//  Default: 1
		Success int `json:"success"`
		// Returns 1 if suggestion has been declined
		SuggestionDeleted *Friends_Delete_Response_Response_SuggestionDeleted `json:"suggestion_deleted,omitempty"`
	} `json:"response"`
}

type Friends_Delete_Response_Response_FriendDeleted

type Friends_Delete_Response_Response_FriendDeleted int
const (
	Friends_Delete_Response_Response_FriendDeleted_Ok Friends_Delete_Response_Response_FriendDeleted = 1
)

type Friends_Delete_Response_Response_InRequestDeleted

type Friends_Delete_Response_Response_InRequestDeleted int
const (
	Friends_Delete_Response_Response_InRequestDeleted_Ok Friends_Delete_Response_Response_InRequestDeleted = 1
)

type Friends_Delete_Response_Response_OutRequestDeleted

type Friends_Delete_Response_Response_OutRequestDeleted int
const (
	Friends_Delete_Response_Response_OutRequestDeleted_Ok Friends_Delete_Response_Response_OutRequestDeleted = 1
)

type Friends_Delete_Response_Response_SuggestionDeleted

type Friends_Delete_Response_Response_SuggestionDeleted int
const (
	Friends_Delete_Response_Response_SuggestionDeleted_Ok Friends_Delete_Response_Response_SuggestionDeleted = 1
)

type Friends_EditList_Request

type Friends_EditList_Request struct {
	// Name of the friend list.
	Name *string
	// Friend list ID.
	//  Minimum: 0
	ListId int
	//  Format: int64
	//  Minimum: 0
	UserIds *[]int
	//  Format: int64
	//  Minimum: 0
	AddUserIds *[]int
	//  Format: int64
	//  Minimum: 0
	DeleteUserIds *[]int
}

type Friends_Edit_Request

type Friends_Edit_Request struct {
	// ID of the user whose friend list is to be edited.
	//  Format: int64
	//  Minimum: 1
	UserId int
	//  Minimum: 0
	ListIds *[]int
}

type Friends_FriendExtendedStatus

type Friends_FriendExtendedStatus struct {
	Friends_FriendStatus
	// Is friend request from other user unread
	IsRequestUnread *bool `json:"is_request_unread,omitempty"`
}

type Friends_FriendStatus

type Friends_FriendStatus struct {
	FriendStatus Friends_FriendStatusStatus `json:"friend_status"`
	// MD5 hash for the result validation
	Sign *string `json:"sign,omitempty"`
	// User ID
	//  Format: int64
	//  Minimum: 1
	UserId int `json:"user_id"`
}

type Friends_FriendStatusStatus

type Friends_FriendStatusStatus int

Friends_FriendStatusStatus Friend status with the user

const (
	Friends_FriendStatusStatus_NotAFriend       Friends_FriendStatusStatus = 0
	Friends_FriendStatusStatus_OutcomingRequest Friends_FriendStatusStatus = 1
	Friends_FriendStatusStatus_IncomingRequest  Friends_FriendStatusStatus = 2
	Friends_FriendStatusStatus_IsFriend         Friends_FriendStatusStatus = 3
)

type Friends_FriendsList

type Friends_FriendsList struct {
	// List ID
	Id int `json:"id"`
	// List title
	Name string `json:"name"`
}

type Friends_GetAppUsers_Response

type Friends_GetAppUsers_Response struct {
	//  Format: int64
	//  Minimum: 1
	Response []int `json:"response"`
}

type Friends_GetByPhones_Request

type Friends_GetByPhones_Request struct {
	Phones *[]string
	Fields *[]Users_Fields
}

type Friends_GetByPhones_Response

type Friends_GetByPhones_Response struct {
	Response []Friends_UserXtrPhone `json:"response"`
}

type Friends_GetFields_Response

type Friends_GetFields_Response struct {
	Response struct {
		// Total friends number
		//  Minimum: 0
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Friends_GetLists_Request

type Friends_GetLists_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// '1' — to return system friend lists. By default: '0'.
	ReturnSystem *bool
}

type Friends_GetLists_Response

type Friends_GetLists_Response struct {
	Response struct {
		// Total number of friends lists
		//  Minimum: 0
		Count int                   `json:"count"`
		Items []Friends_FriendsList `json:"items"`
	} `json:"response"`
}

type Friends_GetMutualTargetUIDs_Request

type Friends_GetMutualTargetUIDs_Request struct {
	// ID of the user whose friends will be checked against the friends of the user specified in 'target_uid'.
	//  Format: int64
	//  Minimum: 0
	SourceUid *int
	//  Format: int64
	//  MaxItems: 100
	//  Minimum: 0
	TargetUids *[]int
	// Sort order: 'random' — random order
	Order *string
	// Number of mutual friends to return.
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of mutual friends.
	//  Minimum: 0
	Offset *int
}

type Friends_GetMutualTargetUids_Response

type Friends_GetMutualTargetUids_Response struct {
	Response []Friends_MutualFriend `json:"response"`
}

type Friends_GetMutual_Request

type Friends_GetMutual_Request struct {
	// ID of the user whose friends will be checked against the friends of the user specified in 'target_uid'.
	//  Format: int64
	//  Minimum: 0
	SourceUid *int
	// ID of the user whose friends will be checked against the friends of the user specified in 'source_uid'.
	//  Format: int64
	//  Minimum: 0
	TargetUid *int
	// Sort order: 'random' — random order
	Order *string
	// Number of mutual friends to return.
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of mutual friends.
	//  Minimum: 0
	Offset *int
}

type Friends_GetMutual_Response

type Friends_GetMutual_Response struct {
	//  Format: int64
	//  Minimum: 1
	Response []int `json:"response"`
}

type Friends_GetOnlineOnlineMobile_Response

type Friends_GetOnlineOnlineMobile_Response struct {
	Response struct {
		//  Format: int64
		//  Minimum: 1
		Online []int `json:"online"`
		//  Format: int64
		//  Minimum: 1
		OnlineMobile []int `json:"online_mobile"`
	} `json:"response"`
}

type Friends_GetOnline_Request

type Friends_GetOnline_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// Friend list ID. If this parameter is not set, information about all online friends is returned.
	//  Minimum: 0
	ListId *int
	// Sort order: 'random' — random order
	Order *string
	// Number of friends to return.
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of friends.
	//  Minimum: 0
	Offset *int
}

type Friends_GetOnline_Response

type Friends_GetOnline_Response struct {
	//  Format: int64
	//  Minimum: 1
	Response []int `json:"response"`
}

type Friends_GetRecent_Request

type Friends_GetRecent_Request struct {
	// Number of recently added friends to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Friends_GetRecent_Response

type Friends_GetRecent_Response struct {
	//  Minimum: 1
	Response []int `json:"response"`
}

type Friends_GetRequestsExtended_Response

type Friends_GetRequestsExtended_Response struct {
	Response struct {
		// Total requests number
		//  Minimum: 0
		Count *int                          `json:"count,omitempty"`
		Items *[]Friends_RequestsXtrMessage `json:"items,omitempty"`
	} `json:"response"`
}

type Friends_GetRequestsNeedMutual_Response

type Friends_GetRequestsNeedMutual_Response struct {
	Response struct {
		// Total requests number
		//  Minimum: 0
		Count *int                `json:"count,omitempty"`
		Items *[]Friends_Requests `json:"items,omitempty"`
	} `json:"response"`
}

type Friends_GetRequests_Request

type Friends_GetRequests_Request struct {
	// Offset needed to return a specific subset of friend requests.
	//  Minimum: 0
	Offset *int
	// Number of friend requests to return (default 100, maximum 1000).
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
	// '1' — to return a list of mutual friends (up to 20), if any
	NeedMutual *bool
	// '1' — to return outgoing requests, '0' — to return incoming requests (default)
	Out *bool
	// Sort order: '1' — by number of mutual friends, '0' — by date
	//  Minimum: 0
	Sort *Friends_GetRequests_Sort
	//  Default: 0
	NeedViewed *bool
	// '1' — to return a list of suggested friends, '0' — to return friend requests (default)
	Suggested *bool
	//  MaxLength: 255
	Ref    *string
	Fields *[]Users_Fields
}

type Friends_GetRequests_Response

type Friends_GetRequests_Response struct {
	Response struct {
		// Total requests number
		//  Minimum: 0
		Count *int `json:"count,omitempty"`
		// Total unread requests number
		CountUnread *int `json:"count_unread,omitempty"`
		//  Format: int64
		//  Minimum: 1
		Items *[]int `json:"items,omitempty"`
	} `json:"response"`
}

type Friends_GetRequests_Sort

type Friends_GetRequests_Sort int
const (
	Friends_GetRequests_Sort_Date   Friends_GetRequests_Sort = 0
	Friends_GetRequests_Sort_Mutual Friends_GetRequests_Sort = 1
	Friends_GetRequests_Sort_Rotate Friends_GetRequests_Sort = 2
)

type Friends_GetSuggestions_Filter

type Friends_GetSuggestions_Filter string
const (
	Friends_GetSuggestions_Filter_Mutual         Friends_GetSuggestions_Filter = "mutual"
	Friends_GetSuggestions_Filter_Contacts       Friends_GetSuggestions_Filter = "contacts"
	Friends_GetSuggestions_Filter_MutualContacts Friends_GetSuggestions_Filter = "mutual_contacts"
)

type Friends_GetSuggestions_NameCase

type Friends_GetSuggestions_NameCase string
const (
	Friends_GetSuggestions_NameCase_Nominative    Friends_GetSuggestions_NameCase = "nom"
	Friends_GetSuggestions_NameCase_Genitive      Friends_GetSuggestions_NameCase = "gen"
	Friends_GetSuggestions_NameCase_Dative        Friends_GetSuggestions_NameCase = "dat"
	Friends_GetSuggestions_NameCase_Accusative    Friends_GetSuggestions_NameCase = "acc"
	Friends_GetSuggestions_NameCase_Instrumental  Friends_GetSuggestions_NameCase = "ins"
	Friends_GetSuggestions_NameCase_Prepositional Friends_GetSuggestions_NameCase = "abl"
)

type Friends_GetSuggestions_Request

type Friends_GetSuggestions_Request struct {
	Filter *[]Friends_GetSuggestions_Filter
	// Number of suggestions to return.
	//  Default: 500
	//  Minimum: 0
	//  Maximum: 500
	Count *int
	// Offset needed to return a specific subset of suggestions.
	//  Minimum: 0
	Offset *int
	Fields *[]Users_Fields
	// Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
	NameCase *Friends_GetSuggestions_NameCase
}

type Friends_GetSuggestions_Response

type Friends_GetSuggestions_Response struct {
	Response struct {
		// Total results number
		//  Minimum: 0
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Friends_Get_NameCase

type Friends_Get_NameCase string
const (
	Friends_Get_NameCase_Nominative    Friends_Get_NameCase = "nom"
	Friends_Get_NameCase_Genitive      Friends_Get_NameCase = "gen"
	Friends_Get_NameCase_Dative        Friends_Get_NameCase = "dat"
	Friends_Get_NameCase_Accusative    Friends_Get_NameCase = "acc"
	Friends_Get_NameCase_Instrumental  Friends_Get_NameCase = "ins"
	Friends_Get_NameCase_Prepositional Friends_Get_NameCase = "abl"
)

type Friends_Get_Order

type Friends_Get_Order string
const (
	Friends_Get_Order_Hints  Friends_Get_Order = "hints"
	Friends_Get_Order_Random Friends_Get_Order = "random"
	Friends_Get_Order_Mobile Friends_Get_Order = "mobile"
	Friends_Get_Order_Name   Friends_Get_Order = "name"
	Friends_Get_Order_Smart  Friends_Get_Order = "smart"
)

type Friends_Get_Request

type Friends_Get_Request struct {
	// User ID. By default, the current user ID.
	//  Format: int64
	UserId *int
	// Sort order: , 'name' — by name (enabled only if the 'fields' parameter is used), 'hints' — by rating, similar to how friends are sorted in My friends section, , This parameter is available only for [vk.com/dev/standalone|desktop applications].
	Order *Friends_Get_Order
	// ID of the friend list returned by the [vk.com/dev/friends.getLists|friends.getLists] method to be used as the source. This parameter is taken into account only when the uid parameter is set to the current user ID. This parameter is available only for [vk.com/dev/standalone|desktop applications].
	//  Minimum: 0
	ListId *int
	// Number of friends to return.
	//  Default: 5000
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of friends.
	//  Minimum: 0
	Offset *int
	Fields *[]Users_Fields
	// Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
	NameCase *Friends_Get_NameCase
	//  MaxLength: 255
	Ref *string
}

type Friends_Get_Response

type Friends_Get_Response struct {
	Response struct {
		// Total friends number
		//  Minimum: 0
		Count int `json:"count"`
		//  Format: int64
		//  Minimum: 1
		Items []int `json:"items"`
	} `json:"response"`
}

type Friends_MutualFriend

type Friends_MutualFriend struct {
	// Total mutual friends number
	CommonCount *int `json:"common_count,omitempty"`
	//  Minimum: 1
	CommonFriends *[]int `json:"common_friends,omitempty"`
	// User ID
	Id *int `json:"id,omitempty"`
}

type Friends_Requests

type Friends_Requests struct {
	// ID of the user by whom friend has been suggested
	From   *string                 `json:"from,omitempty"`
	Mutual *Friends_RequestsMutual `json:"mutual,omitempty"`
	// User ID
	//  Format: int64
	//  Minimum: 1
	UserId *int `json:"user_id,omitempty"`
}

type Friends_RequestsMutual

type Friends_RequestsMutual struct {
	// Total mutual friends number
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
	//  Minimum: 1
	Users *[]int `json:"users,omitempty"`
}

type Friends_RequestsXtrMessage

type Friends_RequestsXtrMessage struct {
	// ID of the user by whom friend has been suggested
	From *string `json:"from,omitempty"`
	// Message sent with a request
	Message *string                 `json:"message,omitempty"`
	Mutual  *Friends_RequestsMutual `json:"mutual,omitempty"`
	// User ID
	//  Format: int64
	//  Minimum: 1
	UserId *int `json:"user_id,omitempty"`
}

type Friends_Search_NameCase

type Friends_Search_NameCase string
const (
	Friends_Search_NameCase_Nominative    Friends_Search_NameCase = "Nom"
	Friends_Search_NameCase_Genitive      Friends_Search_NameCase = "Gen"
	Friends_Search_NameCase_Dative        Friends_Search_NameCase = "Dat"
	Friends_Search_NameCase_Accusative    Friends_Search_NameCase = "Acc"
	Friends_Search_NameCase_Instrumental  Friends_Search_NameCase = "Ins"
	Friends_Search_NameCase_Prepositional Friends_Search_NameCase = "Abl"
)

type Friends_Search_Request

type Friends_Search_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 1
	UserId *int
	// Search query string (e.g., 'Vasya Babich').
	Q      *string
	Fields *[]Users_Fields
	// Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
	//  Default: Nom
	NameCase *Friends_Search_NameCase
	// Offset needed to return a specific subset of friends.
	//  Minimum: 0
	Offset *int
	// Number of friends to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Friends_Search_Response

type Friends_Search_Response struct {
	Response struct {
		// Total number
		//  Minimum: 0
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Friends_UserXtrPhone

type Friends_UserXtrPhone struct {
	Users_UserFull
	// User phone
	Phone *string `json:"phone,omitempty"`
}

type Gifts_Get_Request

type Gifts_Get_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// Number of gifts to return.
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
}

type Gifts_Get_Response

type Gifts_Get_Response struct {
	Response struct {
		// Total number
		Count *int          `json:"count,omitempty"`
		Items *[]Gifts_Gift `json:"items,omitempty"`
	} `json:"response"`
}

type Gifts_Gift

type Gifts_Gift struct {
	// Date when gist has been sent in Unixtime
	Date *int `json:"date,omitempty"`
	// Gift sender ID
	FromId *int          `json:"from_id,omitempty"`
	Gift   *Gifts_Layout `json:"gift,omitempty"`
	// Hash
	GiftHash *string `json:"gift_hash,omitempty"`
	// Gift ID
	Id *int `json:"id,omitempty"`
	// Comment text
	Message *string            `json:"message,omitempty"`
	Privacy *Gifts_GiftPrivacy `json:"privacy,omitempty"`
}

type Gifts_GiftPrivacy

type Gifts_GiftPrivacy int

Gifts_GiftPrivacy Gift privacy

const (
	Gifts_GiftPrivacy_NameAndMessageForAll           Gifts_GiftPrivacy = 0
	Gifts_GiftPrivacy_NameForAll                     Gifts_GiftPrivacy = 1
	Gifts_GiftPrivacy_NameAndMessageForRecipientOnly Gifts_GiftPrivacy = 2
)

type Gifts_Layout

type Gifts_Layout struct {
	// ID of the build of constructor gift
	BuildId *string `json:"build_id,omitempty"`
	// Gift ID
	Id *int `json:"id,omitempty"`
	// Information whether gift represents a stickers style
	IsStickersStyle *bool `json:"is_stickers_style,omitempty"`
	// Keywords used for search
	Keywords *string `json:"keywords,omitempty"`
	// ID of the sticker pack, if the gift is representing one
	//  Minimum: 0
	StickersProductId *int `json:"stickers_product_id,omitempty"`
	// URL of the preview image with 256 px in width
	//  Format: uri
	Thumb256 *string `json:"thumb_256,omitempty"`
	// URL of the preview image with 48 px in width
	//  Format: uri
	Thumb48 *string `json:"thumb_48,omitempty"`
	// URL of the preview image with 512 px in width
	//  Format: uri
	Thumb512 *string `json:"thumb_512,omitempty"`
	// URL of the preview image with 96 px in width
	//  Format: uri
	Thumb96 *string `json:"thumb_96,omitempty"`
}

type GroupToken

type GroupToken struct {
	// contains filtered or unexported fields
}

GroupToken allows working with API on behalf of a group, event or public page. It can be used to answer the community messages.

Methods that have a special mark in the list can be called with a community token.

There are three methods to get it: - Implicit flow. To run methods on behalf of a community in Javascript apps and standalone clients (desktop or mobile). - Authorization code flow. To work with API on behalf of a community from a website server. - At the community management page. Just open the "Manage community" tab, go to "API usage" tab and click "Create token".

Getting a list of administered communities

Only the administrator of a group can obtain group access key via OAuth. To obtain access keys for all or several user communities at once, we recommend adding this additional step to the authorization process. Get the user's access key (for working from the client or for working from the server) with the scope=groups rights and make a request to the VK.Groups_Get method with the Groups_Get_Request.Filter = Groups_Filter_Admin parameter to get a list of administered community IDs. Then use all or part of the received values as the group_ids parameter.

func (GroupToken) AccessToken

func (gt GroupToken) AccessToken() string

AccessToken returns group access token.

func (GroupToken) GroupID

func (gt GroupToken) GroupID() int

GroupID returns group ID for the token.

type GroupTokens

type GroupTokens struct {
	// contains filtered or unexported fields
}

GroupTokens contains access tokens with group IDs array and tokens expiredIn time.

func (GroupTokens) ExpiresIn

func (gts GroupTokens) ExpiresIn() time.Duration

ExpiresIn returns token expiredIn time.

func (GroupTokens) State

func (gts GroupTokens) State() *string

State returns request state.

func (GroupTokens) Tokens

func (gts GroupTokens) Tokens() []GroupToken

Tokens returns tokens with group IDs.

type Groups_AddAddress_Request

type Groups_AddAddress_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  MaxLength: 255
	Title string
	//  MaxLength: 255
	Address string
	//  MaxLength: 400
	AdditionalAddress *string
	//  Minimum: 1
	CountryId int
	//  Minimum: 1
	CityId int
	//  Minimum: 0
	MetroId *int
	//  Minimum: -90
	//  Maximum: 90
	Latitude float64
	//  Minimum: -180
	//  Maximum: 180
	Longitude float64
	Phone     *string
	//  Default: no_information
	WorkInfoStatus *Groups_AddressWorkInfoStatus
	Timetable      *string
	IsMainAddress  *bool
}

type Groups_AddAddress_Response

type Groups_AddAddress_Response struct {
	Response Groups_Address `json:"response"`
}

type Groups_AddCallbackServer_Request

type Groups_AddCallbackServer_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	Url     string
	//  MaxLength: 14
	Title string
	//  MaxLength: 50
	SecretKey *string
}

type Groups_AddCallbackServer_Response

type Groups_AddCallbackServer_Response struct {
	Response struct {
		//  Minimum: 0
		ServerId int `json:"server_id"`
	} `json:"response"`
}
type Groups_AddLink_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Link URL.
	Link string
	// Description text for the link.
	Text *string
}
type Groups_AddLink_Response struct {
	Response Groups_LinksItem `json:"response"`
}

type Groups_Address

type Groups_Address struct {
	// Additional address to the place (6 floor, left door)
	AdditionalAddress *string `json:"additional_address,omitempty"`
	// String address to the place (Nevsky, 28)
	Address *string `json:"address,omitempty"`
	// City id of address
	//  Minimum: 0
	CityId *int `json:"city_id,omitempty"`
	// Country id of address
	//  Minimum: 0
	CountryId *int `json:"country_id,omitempty"`
	// Distance from the point
	Distance *int `json:"distance,omitempty"`
	// Address id
	Id int `json:"id"`
	// Address latitude
	Latitude *float64 `json:"latitude,omitempty"`
	// Address longitude
	Longitude *float64 `json:"longitude,omitempty"`
	// Metro id of address
	//  Minimum: 0
	MetroStationId *int `json:"metro_station_id,omitempty"`
	// Address phone
	Phone   *string `json:"phone,omitempty"`
	PlaceId *int    `json:"place_id,omitempty"`
	// Time offset int minutes from utc time
	TimeOffset *int `json:"time_offset,omitempty"`
	// Week timetable for the address
	Timetable *Groups_AddressTimetable `json:"timetable,omitempty"`
	// Title of the place (Zinger, etc)
	Title *string `json:"title,omitempty"`
	// Status of information about timetable
	WorkInfoStatus *Groups_AddressWorkInfoStatus `json:"work_info_status,omitempty"`
}

type Groups_AddressTimetable

type Groups_AddressTimetable struct {
	// Timetable for friday
	Fri *Groups_AddressTimetableDay `json:"fri,omitempty"`
	// Timetable for monday
	Mon *Groups_AddressTimetableDay `json:"mon,omitempty"`
	// Timetable for saturday
	Sat *Groups_AddressTimetableDay `json:"sat,omitempty"`
	// Timetable for sunday
	Sun *Groups_AddressTimetableDay `json:"sun,omitempty"`
	// Timetable for thursday
	Thu *Groups_AddressTimetableDay `json:"thu,omitempty"`
	// Timetable for tuesday
	Tue *Groups_AddressTimetableDay `json:"tue,omitempty"`
	// Timetable for wednesday
	Wed *Groups_AddressTimetableDay `json:"wed,omitempty"`
}

Groups_AddressTimetable Timetable for a week

type Groups_AddressTimetableDay

type Groups_AddressTimetableDay struct {
	// Close time of the break in minutes
	BreakCloseTime *int `json:"break_close_time,omitempty"`
	// Start time of the break in minutes
	BreakOpenTime *int `json:"break_open_time,omitempty"`
	// Close time in minutes
	CloseTime int `json:"close_time"`
	// Open time in minutes
	OpenTime int `json:"open_time"`
}

Groups_AddressTimetableDay Timetable for one day

type Groups_AddressWorkInfoStatus

type Groups_AddressWorkInfoStatus string

Groups_AddressWorkInfoStatus Status of information about timetable

const (
	Groups_AddressWorkInfoStatus_NoInformation     Groups_AddressWorkInfoStatus = "no_information"
	Groups_AddressWorkInfoStatus_TemporarilyClosed Groups_AddressWorkInfoStatus = "temporarily_closed"
	Groups_AddressWorkInfoStatus_AlwaysOpened      Groups_AddressWorkInfoStatus = "always_opened"
	Groups_AddressWorkInfoStatus_Timetable         Groups_AddressWorkInfoStatus = "timetable"
	Groups_AddressWorkInfoStatus_ForeverClosed     Groups_AddressWorkInfoStatus = "forever_closed"
)

type Groups_AddressesInfo

type Groups_AddressesInfo struct {
	// Information whether addresses is enabled
	IsEnabled bool `json:"is_enabled"`
	// Main address id for group
	MainAddressId *int `json:"main_address_id,omitempty"`
}

type Groups_ApproveRequest_Request

type Groups_ApproveRequest_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// User ID.
	//  Format: int64
	//  Minimum: 1
	UserId int
}

type Groups_BanInfo

type Groups_BanInfo struct {
	// Administrator ID
	//  Minimum: 1
	AdminId *int `json:"admin_id,omitempty"`
	// Comment for a ban
	Comment *string `json:"comment,omitempty"`
	// Show comment for user
	CommentVisible *bool `json:"comment_visible,omitempty"`
	// Date when user has been added to blacklist in Unixtime
	//  Minimum: 0
	Date *int `json:"date,omitempty"`
	// Date when user will be removed from blacklist in Unixtime
	//  Minimum: 0
	EndDate  *int                  `json:"end_date,omitempty"`
	IsClosed *bool                 `json:"is_closed,omitempty"`
	Reason   *Groups_BanInfoReason `json:"reason,omitempty"`
}

type Groups_BanInfoReason

type Groups_BanInfoReason int

Groups_BanInfoReason Ban reason

const (
	Groups_BanInfoReason_Other          Groups_BanInfoReason = 0
	Groups_BanInfoReason_Spam           Groups_BanInfoReason = 1
	Groups_BanInfoReason_VerbalAbuse    Groups_BanInfoReason = 2
	Groups_BanInfoReason_StrongLanguage Groups_BanInfoReason = 3
	Groups_BanInfoReason_Flood          Groups_BanInfoReason = 4
)

type Groups_Ban_Request

type Groups_Ban_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Format: int64
	OwnerId *int
	//  Minimum: 0
	EndDate *int
	//  Minimum: 0
	Reason         *int
	Comment        *string
	CommentVisible *bool
}

type Groups_BannedItem

type Groups_BannedItem Groups_OwnerXtrBanInfo

type Groups_CallbackServer

type Groups_CallbackServer struct {
	//  Minimum: 0
	CreatorId int `json:"creator_id"`
	//  Minimum: 0
	Id        int                          `json:"id"`
	SecretKey string                       `json:"secret_key"`
	Status    Groups_CallbackServer_Status `json:"status"`
	Title     string                       `json:"title"`
	Url       string                       `json:"url"`
}

type Groups_CallbackServer_Status

type Groups_CallbackServer_Status string
const (
	Groups_CallbackServer_Status_Unconfigured Groups_CallbackServer_Status = "unconfigured"
	Groups_CallbackServer_Status_Failed       Groups_CallbackServer_Status = "failed"
	Groups_CallbackServer_Status_Wait         Groups_CallbackServer_Status = "wait"
	Groups_CallbackServer_Status_Ok           Groups_CallbackServer_Status = "ok"
)

type Groups_CallbackSettings

type Groups_CallbackSettings struct {
	// API version used for the events
	ApiVersion *string                `json:"api_version,omitempty"`
	Events     *Groups_LongPollEvents `json:"events,omitempty"`
}

type Groups_ContactsItem

type Groups_ContactsItem struct {
	// Contact description
	Desc *string `json:"desc,omitempty"`
	// Contact email
	Email *string `json:"email,omitempty"`
	// Contact phone
	Phone *string `json:"phone,omitempty"`
	// User ID
	//  Format: int64
	UserId *int `json:"user_id,omitempty"`
}

type Groups_CountersGroup

type Groups_CountersGroup struct {
	// Addresses number
	Addresses *int `json:"addresses,omitempty"`
	// Photo albums number
	Albums *int `json:"albums,omitempty"`
	// Articles number
	Articles *int `json:"articles,omitempty"`
	// Audio playlists number
	AudioPlaylists *int `json:"audio_playlists,omitempty"`
	// Audios number
	Audios *int `json:"audios,omitempty"`
	// Clips number
	Clips *int `json:"clips,omitempty"`
	// Clips followers number
	ClipsFollowers *int `json:"clips_followers,omitempty"`
	// Docs number
	Docs *int `json:"docs,omitempty"`
	// Market items number
	Market *int `json:"market,omitempty"`
	// Market services number
	MarketServices *int `json:"market_services,omitempty"`
	// Narratives number
	Narratives *int `json:"narratives,omitempty"`
	// Photos number
	Photos *int `json:"photos,omitempty"`
	// Podcasts number
	Podcasts *int `json:"podcasts,omitempty"`
	// Topics number
	Topics *int `json:"topics,omitempty"`
	// Videos number
	Videos *int `json:"videos,omitempty"`
}

type Groups_Cover

type Groups_Cover struct {
	// Information whether cover is enabled
	Enabled Base_BoolInt  `json:"enabled"`
	Images  *[]Base_Image `json:"images,omitempty"`
}

type Groups_Create_Request

type Groups_Create_Request struct {
	// Community title.
	Title string
	// Community description (ignored for 'type' = 'public').
	Description *string
	// Community type. Possible values: *'group' - group,, *'event' - event,, *'public' - public page
	//  Default: group
	Type *Groups_Create_Type
	// Category ID (for 'type' = 'public' only).
	//  Minimum: 0
	PublicCategory *int
	// Public page subcategory ID.
	//  Minimum: 0
	PublicSubcategory *int
	// Public page subtype. Possible values: *'1' - place or small business,, *'2' - company, organization or website,, *'3' - famous person or group of people,, *'4' - product or work of art.
	//  Minimum: 0
	Subtype *Groups_Create_Subtype
}

type Groups_Create_Response

type Groups_Create_Response struct {
	Response Groups_Group `json:"response"`
}

type Groups_Create_Subtype

type Groups_Create_Subtype int
const (
	Groups_Create_Subtype_PlaceOrBusiness  Groups_Create_Subtype = 1
	Groups_Create_Subtype_CompanyOrWebsite Groups_Create_Subtype = 2
	Groups_Create_Subtype_PersonOrGroup    Groups_Create_Subtype = 3
	Groups_Create_Subtype_ProductOrArt     Groups_Create_Subtype = 4
)

type Groups_Create_Type

type Groups_Create_Type string
const (
	Groups_Create_Type_Event  Groups_Create_Type = "event"
	Groups_Create_Type_Group  Groups_Create_Type = "group"
	Groups_Create_Type_Public Groups_Create_Type = "public"
)

type Groups_DeleteAddress_Request

type Groups_DeleteAddress_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	AddressId int
}

type Groups_DeleteCallbackServer_Request

type Groups_DeleteCallbackServer_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	ServerId int
}
type Groups_DeleteLink_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Link ID.
	//  Minimum: 0
	LinkId int
}

type Groups_DisableOnline_Request

type Groups_DisableOnline_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_EditAddress_Request

type Groups_EditAddress_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	AddressId int
	//  MaxLength: 255
	Title *string
	//  MaxLength: 255
	Address *string
	//  MaxLength: 400
	AdditionalAddress *string
	//  Minimum: 0
	CountryId *int
	//  Minimum: 0
	CityId *int
	//  Minimum: 0
	MetroId *int
	//  Minimum: -90
	//  Maximum: 90
	Latitude *float64
	//  Minimum: -180
	//  Maximum: 180
	Longitude      *float64
	Phone          *string
	WorkInfoStatus *Groups_AddressWorkInfoStatus
	Timetable      *string
	IsMainAddress  *bool
}

type Groups_EditAddress_Response

type Groups_EditAddress_Response struct {
	// Result
	Response Groups_Address `json:"response"`
}

type Groups_EditCallbackServer_Request

type Groups_EditCallbackServer_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	ServerId int
	Url      string
	//  MaxLength: 14
	Title string
	//  MaxLength: 50
	SecretKey *string
}
type Groups_EditLink_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Link ID.
	//  Minimum: 0
	LinkId int
	// New description text for the link.
	Text *string
}

type Groups_EditManager_Request

type Groups_EditManager_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// User ID.
	//  Format: int64
	//  Minimum: 1
	UserId int
	// Manager role. Possible values: *'moderator',, *'editor',, *'administrator',, *'advertiser'.
	Role *Groups_GroupRole
	// '1' — to show the manager in Contacts block of the community.
	IsContact *bool
	// Position to show in Contacts block.
	ContactPosition *string
	// Contact phone.
	ContactPhone *string
	// Contact e-mail.
	ContactEmail *string
}

type Groups_Edit_Request

type Groups_Edit_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Community title.
	Title *string
	// Community description.
	Description *string
	// Community screen name.
	ScreenName *string
	// Community type. Possible values: *'0' - open,, *'1' - closed,, *'2' - private.
	//  Minimum: 0
	Access *Groups_GroupAccess
	// Website that will be displayed in the community information field.
	Website *string
	// Community subject. Possible values: , *'1' - auto/moto,, *'2' - activity holidays,, *'3' - business,, *'4' - pets,, *'5' - health,, *'6' - dating and communication, , *'7' - games,, *'8' - IT (computers and software),, *'9' - cinema,, *'10' - beauty and fashion,, *'11' - cooking,, *'12' - art and culture,, *'13' - literature,, *'14' - mobile services and internet,, *'15' - music,, *'16' - science and technology,, *'17' - real estate,, *'18' - news and media,, *'19' - security,, *'20' - education,, *'21' - home and renovations,, *'22' - politics,, *'23' - food,, *'24' - industry,, *'25' - travel,, *'26' - work,, *'27' - entertainment,, *'28' - religion,, *'29' - family,, *'30' - sports,, *'31' - insurance,, *'32' - television,, *'33' - goods and services,, *'34' - hobbies,, *'35' - finance,, *'36' - photo,, *'37' - esoterics,, *'38' - electronics and appliances,, *'39' - erotic,, *'40' - humor,, *'41' - society, humanities,, *'42' - design and graphics.
	Subject *Groups_GroupSubject
	// Organizer email (for events).
	Email *string
	// Organizer phone number (for events).
	Phone *string
	// RSS feed address for import (available only to communities with special permission. Contact vk.com/support to get it.
	Rss *string
	// Event start date in Unixtime format.
	//  Minimum: 0
	EventStartDate *int
	// Event finish date in Unixtime format.
	//  Minimum: 0
	EventFinishDate *int
	// Organizer community ID (for events only).
	//  Format: int64
	//  Minimum: 0
	EventGroupId *int
	// Public page category ID.
	//  Minimum: 0
	PublicCategory *int
	// Public page subcategory ID.
	//  Minimum: 0
	PublicSubcategory *int
	// Founding date of a company or organization owning the community in "dd.mm.YYYY" format.
	PublicDate *string
	// Wall settings. Possible values: *'0' - disabled,, *'1' - open,, *'2' - limited (groups and events only),, *'3' - closed (groups and events only).
	//  Minimum: 0
	Wall *Groups_GroupWall
	// Board topics settings. Possbile values: , *'0' - disabled,, *'1' - open,, *'2' - limited (for groups and events only).
	//  Minimum: 0
	Topics *Groups_GroupTopics
	// Photos settings. Possible values: *'0' - disabled,, *'1' - open,, *'2' - limited (for groups and events only).
	//  Minimum: 0
	Photos *Groups_GroupPhotos
	// Video settings. Possible values: *'0' - disabled,, *'1' - open,, *'2' - limited (for groups and events only).
	//  Minimum: 0
	Video *Groups_GroupVideo
	// Audio settings. Possible values: *'0' - disabled,, *'1' - open,, *'2' - limited (for groups and events only).
	//  Minimum: 0
	Audio *Groups_GroupAudio
	// Links settings (for public pages only). Possible values: *'0' - disabled,, *'1' - enabled.
	Links *bool
	// Events settings (for public pages only). Possible values: *'0' - disabled,, *'1' - enabled.
	Events *bool
	// Places settings (for public pages only). Possible values: *'0' - disabled,, *'1' - enabled.
	Places *bool
	// Contacts settings (for public pages only). Possible values: *'0' - disabled,, *'1' - enabled.
	Contacts *bool
	// Documents settings. Possible values: *'0' - disabled,, *'1' - open,, *'2' - limited (for groups and events only).
	//  Minimum: 0
	Docs *Groups_GroupDocs
	// Wiki pages settings. Possible values: *'0' - disabled,, *'1' - open,, *'2' - limited (for groups and events only).
	//  Minimum: 0
	Wiki *Groups_GroupWiki
	// Community messages. Possible values: *'0' — disabled,, *'1' — enabled.
	Messages  *bool
	Articles  *bool
	Addresses *bool
	// Community age limits. Possible values: *'1' — no limits,, *'2' — 16+,, *'3' — 18+.
	//  Default: 1
	//  Minimum: 0
	AgeLimits *Groups_GroupAgeLimits
	// Market settings. Possible values: *'0' - disabled,, *'1' - enabled.
	Market *bool
	// market comments settings. Possible values: *'0' - disabled,, *'1' - enabled.
	MarketComments *bool
	//  MaxItems: 10
	MarketCountry *[]int
	//  MaxItems: 10
	//  Minimum: 0
	MarketCity *[]int
	// Market currency settings. Possbile values: , *'643' - Russian rubles,, *'980' - Ukrainian hryvnia,, *'398' - Kazakh tenge,, *'978' - Euro,, *'840' - US dollars
	//  Minimum: 0
	MarketCurrency *Groups_GroupMarketCurrency
	// Seller contact for market. Set '0' for community messages.
	//  Minimum: 0
	MarketContact *int
	// ID of a wiki page with market description.
	//  Minimum: 0
	MarketWiki *int
	// Obscene expressions filter in comments. Possible values: , *'0' - disabled,, *'1' - enabled.
	ObsceneFilter *bool
	// Stopwords filter in comments. Possible values: , *'0' - disabled,, *'1' - enabled.
	ObsceneStopwords *bool
	ObsceneWords     *[]string
	//  Minimum: 0
	MainSection *int
	//  Minimum: 0
	SecondarySection *int
	// Country of the community.
	//  Minimum: 0
	Country *int
	// City of the community.
	//  Minimum: 0
	City *int
}

type Groups_EnableOnline_Request

type Groups_EnableOnline_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_Fields

type Groups_Fields string
const (
	Groups_Fields_Market               Groups_Fields = "market"
	Groups_Fields_MemberStatus         Groups_Fields = "member_status"
	Groups_Fields_IsFavorite           Groups_Fields = "is_favorite"
	Groups_Fields_IsSubscribed         Groups_Fields = "is_subscribed"
	Groups_Fields_IsSubscribedPodcasts Groups_Fields = "is_subscribed_podcasts"
	Groups_Fields_CanSubscribePodcasts Groups_Fields = "can_subscribe_podcasts"
	Groups_Fields_City                 Groups_Fields = "city"
	Groups_Fields_Country              Groups_Fields = "country"
	Groups_Fields_Verified             Groups_Fields = "verified"
	Groups_Fields_Description          Groups_Fields = "description"
	Groups_Fields_WikiPage             Groups_Fields = "wiki_page"
	Groups_Fields_MembersCount         Groups_Fields = "members_count"
	Groups_Fields_RequestsCount        Groups_Fields = "requests_count"
	Groups_Fields_Counters             Groups_Fields = "counters"
	Groups_Fields_Cover                Groups_Fields = "cover"
	Groups_Fields_CanPost              Groups_Fields = "can_post"
	Groups_Fields_CanSuggest           Groups_Fields = "can_suggest"
	Groups_Fields_CanUploadStory       Groups_Fields = "can_upload_story"
	Groups_Fields_CanUploadDoc         Groups_Fields = "can_upload_doc"
	Groups_Fields_CanUploadVideo       Groups_Fields = "can_upload_video"
	Groups_Fields_CanUploadClip        Groups_Fields = "can_upload_clip"
	Groups_Fields_CanSeeAllPosts       Groups_Fields = "can_see_all_posts"
	Groups_Fields_CanCreateTopic       Groups_Fields = "can_create_topic"
	Groups_Fields_CropPhoto            Groups_Fields = "crop_photo"
	Groups_Fields_Activity             Groups_Fields = "activity"
	Groups_Fields_FixedPost            Groups_Fields = "fixed_post"
	Groups_Fields_HasPhoto             Groups_Fields = "has_photo"
	Groups_Fields_Status               Groups_Fields = "status"
	Groups_Fields_MainAlbumId          Groups_Fields = "main_album_id"
	Groups_Fields_Links                Groups_Fields = "links"
	Groups_Fields_Contacts             Groups_Fields = "contacts"
	Groups_Fields_Site                 Groups_Fields = "site"
	Groups_Fields_MainSection          Groups_Fields = "main_section"
	Groups_Fields_SecondarySection     Groups_Fields = "secondary_section"
	Groups_Fields_Wall                 Groups_Fields = "wall"
	Groups_Fields_Trending             Groups_Fields = "trending"
	Groups_Fields_CanMessage           Groups_Fields = "can_message"
	Groups_Fields_IsMarketCartEnabled  Groups_Fields = "is_market_cart_enabled"
	Groups_Fields_IsMessagesBlocked    Groups_Fields = "is_messages_blocked"
	Groups_Fields_CanSendNotify        Groups_Fields = "can_send_notify"
	Groups_Fields_HasGroupChannel      Groups_Fields = "has_group_channel"
	Groups_Fields_GroupChannel         Groups_Fields = "group_channel"
	Groups_Fields_OnlineStatus         Groups_Fields = "online_status"
	Groups_Fields_StartDate            Groups_Fields = "start_date"
	Groups_Fields_FinishDate           Groups_Fields = "finish_date"
	Groups_Fields_AgeLimits            Groups_Fields = "age_limits"
	Groups_Fields_BanInfo              Groups_Fields = "ban_info"
	Groups_Fields_ActionButton         Groups_Fields = "action_button"
	Groups_Fields_AuthorId             Groups_Fields = "author_id"
	Groups_Fields_Phone                Groups_Fields = "phone"
	Groups_Fields_HasMarketApp         Groups_Fields = "has_market_app"
	Groups_Fields_Addresses            Groups_Fields = "addresses"
	Groups_Fields_LiveCovers           Groups_Fields = "live_covers"
	Groups_Fields_IsAdult              Groups_Fields = "is_adult"
	Groups_Fields_IsHiddenFromFeed     Groups_Fields = "is_hidden_from_feed"
	Groups_Fields_CanSubscribePosts    Groups_Fields = "can_subscribe_posts"
	Groups_Fields_WarningNotification  Groups_Fields = "warning_notification"
	Groups_Fields_MsgPushAllowed       Groups_Fields = "msg_push_allowed"
	Groups_Fields_StoriesArchiveCount  Groups_Fields = "stories_archive_count"
	Groups_Fields_VideoLiveLevel       Groups_Fields = "video_live_level"
	Groups_Fields_VideoLiveCount       Groups_Fields = "video_live_count"
	Groups_Fields_ClipsCount           Groups_Fields = "clips_count"
	Groups_Fields_HasUnseenStories     Groups_Fields = "has_unseen_stories"
	Groups_Fields_IsBusiness           Groups_Fields = "is_business"
	Groups_Fields_TextlivesCount       Groups_Fields = "textlives_count"
	Groups_Fields_MembersCountText     Groups_Fields = "members_count_text"
)

type Groups_Filter

type Groups_Filter string
const (
	Groups_Filter_Admin        Groups_Filter = "admin"
	Groups_Filter_Editor       Groups_Filter = "editor"
	Groups_Filter_Moder        Groups_Filter = "moder"
	Groups_Filter_Advertiser   Groups_Filter = "advertiser"
	Groups_Filter_Groups       Groups_Filter = "groups"
	Groups_Filter_Publics      Groups_Filter = "publics"
	Groups_Filter_Events       Groups_Filter = "events"
	Groups_Filter_HasAddresses Groups_Filter = "has_addresses"
)

type Groups_GetAddresses_Request

type Groups_GetAddresses_Request struct {
	// ID or screen name of the community.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  MaxItems: 100
	//  Minimum: 0
	AddressIds *[]int
	// Latitude of  the user geo position.
	//  Minimum: -90
	//  Maximum: 90
	Latitude *float64
	// Longitude of the user geo position.
	//  Minimum: -180
	//  Maximum: 180
	Longitude *float64
	// Offset needed to return a specific subset of community addresses.
	//  Minimum: 0
	Offset *int
	// Number of community addresses to return.
	//  Default: 10
	//  Minimum: 0
	Count  *int
	Fields *[]Addresses_Fields
}

type Groups_GetAddresses_Response

type Groups_GetAddresses_Response struct {
	Response struct {
		// Total count of addresses
		//  Minimum: 0
		Count int              `json:"count"`
		Items []Groups_Address `json:"items"`
	} `json:"response"`
}

type Groups_GetBanned_Request

type Groups_GetBanned_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Offset needed to return a specific subset of users.
	//  Minimum: 0
	Offset *int
	// Number of users to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count  *int
	Fields *[]Base_UserGroupFields
	//  Format: int64
	OwnerId *int
}

type Groups_GetBanned_Response

type Groups_GetBanned_Response struct {
	Response struct {
		// Total users number
		//  Minimum: 0
		Count int                 `json:"count"`
		Items []Groups_BannedItem `json:"items"`
	} `json:"response"`
}

type Groups_GetByIdObjectLegacy_Response

type Groups_GetByIdObjectLegacy_Response struct {
	Response []Groups_GroupFull `json:"response"`
}

type Groups_GetById_Request

type Groups_GetById_Request struct {
	//  Format: int64
	GroupIds *[]string
	// ID or screen name of the community.
	//  Format: int64
	GroupId *string
	Fields  *[]Groups_Fields
}

type Groups_GetCallbackConfirmationCode_Request

type Groups_GetCallbackConfirmationCode_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_GetCallbackConfirmationCode_Response

type Groups_GetCallbackConfirmationCode_Response struct {
	Response struct {
		// Confirmation code
		Code string `json:"code"`
	} `json:"response"`
}

type Groups_GetCallbackServers_Request

type Groups_GetCallbackServers_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	ServerIds *[]int
}

type Groups_GetCallbackServers_Response

type Groups_GetCallbackServers_Response struct {
	Response struct {
		//  Minimum: 0
		Count int                     `json:"count"`
		Items []Groups_CallbackServer `json:"items"`
	} `json:"response"`
}

type Groups_GetCallbackSettings_Request

type Groups_GetCallbackSettings_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Server ID.
	//  Minimum: 0
	ServerId *int
}

type Groups_GetCallbackSettings_Response

type Groups_GetCallbackSettings_Response struct {
	Response Groups_CallbackSettings `json:"response"`
}

type Groups_GetCatalogInfoExtended_Response

type Groups_GetCatalogInfoExtended_Response struct {
	Response struct {
		Categories *[]Groups_GroupCategoryFull `json:"categories,omitempty"`
		// Information whether catalog is enabled for current user
		Enabled Base_BoolInt `json:"enabled"`
	} `json:"response"`
}

type Groups_GetCatalogInfo_Request

type Groups_GetCatalogInfo_Request struct {
	// 1 - to return subcategories info. By default: 0.
	//  Default: 0
	Subcategories *bool
}

type Groups_GetCatalogInfo_Response

type Groups_GetCatalogInfo_Response struct {
	Response struct {
		Categories *[]Groups_GroupCategory `json:"categories,omitempty"`
		// Information whether catalog is enabled for current user
		Enabled Base_BoolInt `json:"enabled"`
	} `json:"response"`
}

type Groups_GetCatalog_Request

type Groups_GetCatalog_Request struct {
	// Category id received from [vk.com/dev/groups.getCatalogInfo|groups.getCatalogInfo].
	//  Minimum: 0
	CategoryId *int
	// Subcategory id received from [vk.com/dev/groups.getCatalogInfo|groups.getCatalogInfo].
	//  Minimum: 0
	//  Maximum: 99
	SubcategoryId *int
}

type Groups_GetCatalog_Response

type Groups_GetCatalog_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count int            `json:"count"`
		Items []Groups_Group `json:"items"`
	} `json:"response"`
}

type Groups_GetInvitedUsers_NameCase

type Groups_GetInvitedUsers_NameCase string
const (
	Groups_GetInvitedUsers_NameCase_Nominative    Groups_GetInvitedUsers_NameCase = "nom"
	Groups_GetInvitedUsers_NameCase_Genitive      Groups_GetInvitedUsers_NameCase = "gen"
	Groups_GetInvitedUsers_NameCase_Dative        Groups_GetInvitedUsers_NameCase = "dat"
	Groups_GetInvitedUsers_NameCase_Accusative    Groups_GetInvitedUsers_NameCase = "acc"
	Groups_GetInvitedUsers_NameCase_Instrumental  Groups_GetInvitedUsers_NameCase = "ins"
	Groups_GetInvitedUsers_NameCase_Prepositional Groups_GetInvitedUsers_NameCase = "abl"
)

type Groups_GetInvitedUsers_Request

type Groups_GetInvitedUsers_Request struct {
	// Group ID to return invited users for.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
	// Number of results to return.
	//  Default: 20
	//  Minimum: 0
	Count  *int
	Fields *[]Users_Fields
	// Case for declension of user name and surname. Possible values: *'nom' — nominative (default),, *'gen' — genitive,, *'dat' — dative,, *'acc' — accusative, , *'ins' — instrumental,, *'abl' — prepositional.
	NameCase *Groups_GetInvitedUsers_NameCase
}

type Groups_GetInvitedUsers_Response

type Groups_GetInvitedUsers_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Groups_GetInvitesExtended_Response

type Groups_GetInvitesExtended_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count    int                `json:"count"`
		Groups   []Groups_GroupFull `json:"groups"`
		Items    []Groups_GroupFull `json:"items"`
		Profiles []Users_UserMin    `json:"profiles"`
	} `json:"response"`
}

type Groups_GetInvites_Request

type Groups_GetInvites_Request struct {
	// Offset needed to return a specific subset of invitations.
	//  Minimum: 0
	Offset *int
	// Number of invitations to return.
	//  Default: 20
	//  Minimum: 0
	Count *int
}

type Groups_GetInvites_Response

type Groups_GetInvites_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count int                `json:"count"`
		Items []Groups_GroupFull `json:"items"`
	} `json:"response"`
}

type Groups_GetLongPollServer_Request

type Groups_GetLongPollServer_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_GetLongPollServer_Response

type Groups_GetLongPollServer_Response struct {
	Response Groups_LongPollServer `json:"response"`
}

type Groups_GetLongPollSettings_Request

type Groups_GetLongPollSettings_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_GetLongPollSettings_Response

type Groups_GetLongPollSettings_Response struct {
	Response Groups_LongPollSettings `json:"response"`
}

type Groups_GetMembersFields_Response

type Groups_GetMembersFields_Response struct {
	Response struct {
		// Total members number
		//  Minimum: 0
		Count int                  `json:"count"`
		Items []Groups_UserXtrRole `json:"items"`
	} `json:"response"`
}

type Groups_GetMembersFilter_Response

type Groups_GetMembersFilter_Response struct {
	Response struct {
		// Total members number
		//  Minimum: 0
		Count int                 `json:"count"`
		Items []Groups_MemberRole `json:"items"`
	} `json:"response"`
}

type Groups_GetMembers_Filter

type Groups_GetMembers_Filter string
const (
	Groups_GetMembers_Filter_Friends  Groups_GetMembers_Filter = "friends"
	Groups_GetMembers_Filter_Unsure   Groups_GetMembers_Filter = "unsure"
	Groups_GetMembers_Filter_Managers Groups_GetMembers_Filter = "managers"
	Groups_GetMembers_Filter_Donut    Groups_GetMembers_Filter = "donut"
)

type Groups_GetMembers_Request

type Groups_GetMembers_Request struct {
	// ID or screen name of the community.
	GroupId *string
	// Sort order. Available values: 'id_asc', 'id_desc', 'time_asc', 'time_desc'. 'time_asc' and 'time_desc' are availavle only if the method is called by the group's 'moderator'.
	//  Default: id_asc
	Sort *Groups_GetMembers_Sort
	// Offset needed to return a specific subset of community members.
	//  Minimum: 0
	Offset *int
	// Number of community members to return.
	//  Default: 1000
	//  Minimum: 0
	Count  *int
	Fields *[]Users_Fields
	// *'friends' - only friends in this community will be returned,, *'unsure' - only those who pressed 'I may attend' will be returned (if it's an event).
	Filter *Groups_GetMembers_Filter
}

type Groups_GetMembers_Response

type Groups_GetMembers_Response struct {
	Response struct {
		// Total members number
		//  Minimum: 0
		Count int `json:"count"`
		//  Format: int64
		//  Minimum: 0
		Items []int `json:"items"`
	} `json:"response"`
}

type Groups_GetMembers_Sort

type Groups_GetMembers_Sort string
const (
	Groups_GetMembers_Sort_IdAsc    Groups_GetMembers_Sort = "id_asc"
	Groups_GetMembers_Sort_IdDesc   Groups_GetMembers_Sort = "id_desc"
	Groups_GetMembers_Sort_TimeAsc  Groups_GetMembers_Sort = "time_asc"
	Groups_GetMembers_Sort_TimeDesc Groups_GetMembers_Sort = "time_desc"
)

type Groups_GetObjectExtended_Response

type Groups_GetObjectExtended_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count int                `json:"count"`
		Items []Groups_GroupFull `json:"items"`
	} `json:"response"`
}

type Groups_GetRequestsFields_Response

type Groups_GetRequestsFields_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Groups_GetRequests_Request

type Groups_GetRequests_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
	// Number of results to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count  *int
	Fields *[]Users_Fields
}

type Groups_GetRequests_Response

type Groups_GetRequests_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count int `json:"count"`
		//  Format: int64
		//  Minimum: 1
		Items []int `json:"items"`
	} `json:"response"`
}

type Groups_GetSettings_Request

type Groups_GetSettings_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_GetSettings_Response

type Groups_GetSettings_Response struct {
	Response struct {
		// Community access settings
		Access *Groups_GroupAccess `json:"access,omitempty"`
		// Community's page domain
		Address   *string                `json:"address,omitempty"`
		AgeLimits *Groups_GroupAgeLimits `json:"age_limits,omitempty"`
		// Articles settings
		Articles int `json:"articles"`
		// Audio settings
		Audio Groups_GroupAudio `json:"audio"`
		// City id of group
		CityId int `json:"city_id"`
		// City name of group
		CityName string        `json:"city_name"`
		Contacts *Base_BoolInt `json:"contacts,omitempty"`
		// Country id of group
		CountryId int `json:"country_id"`
		// Country name of group
		CountryName string `json:"country_name"`
		// Community description
		Description string `json:"description"`
		// Docs settings
		Docs Groups_GroupDocs `json:"docs"`
		// Community email
		Email        *string       `json:"email,omitempty"`
		EventGroupId *int          `json:"event_group_id,omitempty"`
		Events       *Base_BoolInt `json:"events,omitempty"`
		// Finish date in Unix-time format
		FinishDate  *int                     `json:"finish_date,omitempty"`
		Links       *Base_BoolInt            `json:"links,omitempty"`
		MainSection *Groups_GroupFullSection `json:"main_section,omitempty"`
		// Information whether the obscene filter is enabled
		ObsceneFilter Base_BoolInt `json:"obscene_filter"`
		// Information whether the stop words filter is enabled
		ObsceneStopwords Base_BoolInt `json:"obscene_stopwords"`
		// The list of stop words
		ObsceneWords []string `json:"obscene_words"`
		// Community phone
		Phone *string `json:"phone,omitempty"`
		// Photos settings
		Photos Groups_GroupPhotos `json:"photos"`
		// Information about the group category
		PublicCategory     *int                              `json:"public_category,omitempty"`
		PublicCategoryList *[]Groups_GroupPublicCategoryList `json:"public_category_list,omitempty"`
		PublicDate         *string                           `json:"public_date,omitempty"`
		PublicDateLabel    *string                           `json:"public_date_label,omitempty"`
		// Information about the group subcategory
		PublicSubcategory *int `json:"public_subcategory,omitempty"`
		// Photo suggests setting
		RecognizePhoto *int `json:"recognize_photo,omitempty"`
		// URL of the RSS feed
		//  Format: uri
		Rss              *string                    `json:"rss,omitempty"`
		SecondarySection *Groups_GroupFullSection   `json:"secondary_section,omitempty"`
		SectionsList     *[]Groups_SectionsListItem `json:"sections_list,omitempty"`
		// Start date
		//  Minimum: 0
		StartDate *int `json:"start_date,omitempty"`
		// Community subject ID
		Subject          *int                          `json:"subject,omitempty"`
		SubjectList      *[]Groups_SubjectItem         `json:"subject_list,omitempty"`
		SuggestedPrivacy *Groups_GroupSuggestedPrivacy `json:"suggested_privacy,omitempty"`
		// Community title
		Title string `json:"title"`
		// Topics settings
		Topics  Groups_GroupTopics      `json:"topics"`
		Twitter *Groups_SettingsTwitter `json:"twitter,omitempty"`
		// Video settings
		Video Groups_GroupVideo `json:"video"`
		// Wall settings
		Wall Groups_GroupWall `json:"wall"`
		// Community website
		Website *string `json:"website,omitempty"`
		// Wiki settings
		Wiki Groups_GroupWiki `json:"wiki"`
	} `json:"response"`
}

type Groups_GetTagList_Request

type Groups_GetTagList_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_GetTagList_Response

type Groups_GetTagList_Response struct {
	Response []Groups_GroupTag `json:"response"`
}

type Groups_GetTokenPermissions_Response

type Groups_GetTokenPermissions_Response struct {
	Response struct {
		//  Minimum: 0
		Mask        int                             `json:"mask"`
		Permissions []Groups_TokenPermissionSetting `json:"permissions"`
	} `json:"response"`
}

type Groups_Get_Request

type Groups_Get_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 1
	UserId *int
	Filter *[]Groups_Filter
	Fields *[]Groups_Fields
	// Offset needed to return a specific subset of communities.
	//  Minimum: 0
	Offset *int
	// Number of communities to return.
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Groups_Get_Response

type Groups_Get_Response struct {
	Response struct {
		// Total communities number
		Count int `json:"count"`
		//  Format: int64
		//  Minimum: 0
		Items []int `json:"items"`
	} `json:"response"`
}

type Groups_Group

type Groups_Group struct {
	AdminLevel *Groups_GroupAdminLevel `json:"admin_level,omitempty"`
	// Information whether community is banned
	Deactivated *string `json:"deactivated,omitempty"`
	// Established date
	EstDate *string `json:"est_date,omitempty"`
	// Finish date in Unixtime format
	FinishDate *int `json:"finish_date,omitempty"`
	// Community ID
	//  Format: int64
	Id int `json:"id"`
	// Information whether current user is administrator
	IsAdmin *Base_BoolInt `json:"is_admin,omitempty"`
	// Information whether current user is advertiser
	IsAdvertiser *Base_BoolInt         `json:"is_advertiser,omitempty"`
	IsClosed     *Groups_GroupIsClosed `json:"is_closed,omitempty"`
	// Information whether current user is member
	IsMember                        *Base_BoolInt `json:"is_member,omitempty"`
	IsVideoLiveNotificationsBlocked *Base_BoolInt `json:"is_video_live_notifications_blocked,omitempty"`
	// Community name
	Name *string `json:"name,omitempty"`
	// URL of square photo of the community with 100 pixels in width
	//  Format: uri
	Photo100 *string `json:"photo_100,omitempty"`
	// URL of square photo of the community with 200 pixels in width
	//  Format: uri
	Photo200 *string `json:"photo_200,omitempty"`
	// URL of square photo of the community with 200 pixels in width original
	//  Format: uri
	Photo200Orig *string `json:"photo_200_orig,omitempty"`
	// URL of square photo of the community with 400 pixels in width
	//  Format: uri
	Photo400 *string `json:"photo_400,omitempty"`
	// URL of square photo of the community with 400 pixels in width original
	//  Format: uri
	Photo400Orig *string `json:"photo_400_orig,omitempty"`
	// URL of square photo of the community with 50 pixels in width
	//  Format: uri
	Photo50 *string `json:"photo_50,omitempty"`
	// URL of square photo of the community with max pixels in width
	//  Format: uri
	PhotoMax *string `json:"photo_max,omitempty"`
	// URL of square photo of the community with max pixels in width original
	//  Format: uri
	PhotoMaxOrig *string           `json:"photo_max_orig,omitempty"`
	PhotoMaxSize *Groups_PhotoSize `json:"photo_max_size,omitempty"`
	// Public date label
	PublicDateLabel *string `json:"public_date_label,omitempty"`
	// Domain of the community page
	ScreenName *string `json:"screen_name,omitempty"`
	// Start date in Unixtime format
	StartDate *int              `json:"start_date,omitempty"`
	Type      *Groups_GroupType `json:"type,omitempty"`
	VideoLive *Video_LiveInfo   `json:"video_live,omitempty"`
}

type Groups_GroupAccess

type Groups_GroupAccess int
const (
	Groups_GroupAccess_Open    Groups_GroupAccess = 0
	Groups_GroupAccess_Closed  Groups_GroupAccess = 1
	Groups_GroupAccess_Private Groups_GroupAccess = 2
)

type Groups_GroupAdminLevel

type Groups_GroupAdminLevel int

Groups_GroupAdminLevel Level of current user's credentials as manager

const (
	Groups_GroupAdminLevel_Moderator     Groups_GroupAdminLevel = 1
	Groups_GroupAdminLevel_Editor        Groups_GroupAdminLevel = 2
	Groups_GroupAdminLevel_Administrator Groups_GroupAdminLevel = 3
)

type Groups_GroupAgeLimits

type Groups_GroupAgeLimits int
const (
	Groups_GroupAgeLimits_Unlimited Groups_GroupAgeLimits = 1
	Groups_GroupAgeLimits_16Plus    Groups_GroupAgeLimits = 2
	Groups_GroupAgeLimits_18Plus    Groups_GroupAgeLimits = 3
)

type Groups_GroupAttach

type Groups_GroupAttach struct {
	// group ID
	//  Minimum: 0
	Id int `json:"id"`
	// is favorite
	IsFavorite bool `json:"is_favorite"`
	// size of group
	Size int `json:"size"`
	// activity or category of group
	Status string `json:"status"`
	// text of attach
	Text string `json:"text"`
}

type Groups_GroupAudio

type Groups_GroupAudio int
const (
	Groups_GroupAudio_Disabled Groups_GroupAudio = 0
	Groups_GroupAudio_Open     Groups_GroupAudio = 1
	Groups_GroupAudio_Limited  Groups_GroupAudio = 2
)

type Groups_GroupBanInfo

type Groups_GroupBanInfo struct {
	// Ban comment
	Comment *string `json:"comment,omitempty"`
	// End date of ban in Unixtime
	EndDate *int                  `json:"end_date,omitempty"`
	Reason  *Groups_BanInfoReason `json:"reason,omitempty"`
}

type Groups_GroupCategory

type Groups_GroupCategory struct {
	// Category ID
	//  Minimum: 0
	Id int `json:"id"`
	// Category name
	Name          string                 `json:"name"`
	Subcategories *[]Base_ObjectWithName `json:"subcategories,omitempty"`
}

type Groups_GroupCategoryFull

type Groups_GroupCategoryFull struct {
	// Category ID
	//  Minimum: 0
	Id int `json:"id"`
	// Category name
	Name string `json:"name"`
	// Pages number
	PageCount     int                     `json:"page_count"`
	PagePreviews  []Groups_Group          `json:"page_previews"`
	Subcategories *[]Groups_GroupCategory `json:"subcategories,omitempty"`
}

type Groups_GroupCategoryType

type Groups_GroupCategoryType struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
}

type Groups_GroupDocs

type Groups_GroupDocs int
const (
	Groups_GroupDocs_Disabled Groups_GroupDocs = 0
	Groups_GroupDocs_Open     Groups_GroupDocs = 1
	Groups_GroupDocs_Limited  Groups_GroupDocs = 2
)

type Groups_GroupFull

type Groups_GroupFull struct {
	Groups_Group
	// Type of group, start date of event or category of public page
	Activity *string `json:"activity,omitempty"`
	// Info about addresses in groups
	Addresses *Groups_AddressesInfo `json:"addresses,omitempty"`
	// Information whether age limit
	AgeLimits *Groups_GroupFullAgeLimits `json:"age_limits,omitempty"`
	// User ban info
	BanInfo *Groups_GroupBanInfo `json:"ban_info,omitempty"`
	// Information whether current user can create topic
	CanCreateTopic *Base_BoolInt `json:"can_create_topic,omitempty"`
	// Information whether current user can send a message to community
	CanMessage *Base_BoolInt `json:"can_message,omitempty"`
	// Information whether current user can post on community's wall
	CanPost *Base_BoolInt `json:"can_post,omitempty"`
	// Information whether current user can see all posts on community's wall
	CanSeeAllPosts *Base_BoolInt `json:"can_see_all_posts,omitempty"`
	// Information whether community can send notifications by phone number to current user
	CanSendNotify *Base_BoolInt `json:"can_send_notify,omitempty"`
	// Owner in whitelist or not
	CanSubscribePodcasts *bool `json:"can_subscribe_podcasts,omitempty"`
	// Can subscribe to wall
	CanSubscribePosts *bool         `json:"can_subscribe_posts,omitempty"`
	CanSuggest        *Base_BoolInt `json:"can_suggest,omitempty"`
	// Information whether current user can upload doc
	CanUploadDoc *Base_BoolInt `json:"can_upload_doc,omitempty"`
	// Information whether current user can upload story
	CanUploadStory *Base_BoolInt `json:"can_upload_story,omitempty"`
	// Information whether current user can upload video
	CanUploadVideo *Base_BoolInt `json:"can_upload_video,omitempty"`
	City           *Base_Object  `json:"city,omitempty"`
	// Number of community's clips
	//  Minimum: 0
	ClipsCount *int                   `json:"clips_count,omitempty"`
	Contacts   *[]Groups_ContactsItem `json:"contacts,omitempty"`
	Counters   *Groups_CountersGroup  `json:"counters,omitempty"`
	Country    *Base_Country          `json:"country,omitempty"`
	Cover      *Groups_Cover          `json:"cover,omitempty"`
	// Данные о точках, по которым вырезаны профильная и миниатюрная фотографии сообщества
	CropPhoto *Base_CropPhoto `json:"crop_photo,omitempty"`
	// Community description
	Description *string `json:"description,omitempty"`
	// Fixed post ID
	FixedPost       *int  `json:"fixed_post,omitempty"`
	HasGroupChannel *bool `json:"has_group_channel,omitempty"`
	// Information whether community has installed market app
	HasMarketApp *bool `json:"has_market_app,omitempty"`
	// Information whether community has photo
	HasPhoto         *Base_BoolInt `json:"has_photo,omitempty"`
	HasUnseenStories *bool         `json:"has_unseen_stories,omitempty"`
	// Inviter ID
	//  Minimum: 1
	InvitedBy *int `json:"invited_by,omitempty"`
	// Information whether community is adult
	IsAdult *Base_BoolInt `json:"is_adult,omitempty"`
	// Information whether community is in faves
	IsFavorite *Base_BoolInt `json:"is_favorite,omitempty"`
	// Information whether community is hidden from current user's newsfeed
	IsHiddenFromFeed *Base_BoolInt `json:"is_hidden_from_feed,omitempty"`
	// Information whether community can send a message to current user
	IsMessagesBlocked *Base_BoolInt `json:"is_messages_blocked,omitempty"`
	// Information whether current user is subscribed
	IsSubscribed *Base_BoolInt `json:"is_subscribed,omitempty"`
	// Information whether current user is subscribed to podcasts
	IsSubscribedPodcasts *bool               `json:"is_subscribed_podcasts,omitempty"`
	Links                *[]Groups_LinksItem `json:"links,omitempty"`
	// Live covers state
	LiveCovers *Groups_LiveCovers `json:"live_covers,omitempty"`
	// Community's main photo album ID
	MainAlbumId *int                     `json:"main_album_id,omitempty"`
	MainSection *Groups_GroupFullSection `json:"main_section,omitempty"`
	Market      *Groups_MarketInfo       `json:"market,omitempty"`
	// Current user's member status
	MemberStatus *Groups_GroupFullMemberStatus `json:"member_status,omitempty"`
	// Community members number
	//  Minimum: 0
	MembersCount *int `json:"members_count,omitempty"`
	// Info about number of users in group
	MembersCountText *string `json:"members_count_text,omitempty"`
	// Status of replies in community messages
	OnlineStatus *Groups_OnlineStatus `json:"online_status,omitempty"`
	// The number of incoming requests to the community
	//  Minimum: 0
	RequestsCount    *int                     `json:"requests_count,omitempty"`
	SecondarySection *Groups_GroupFullSection `json:"secondary_section,omitempty"`
	// Community's website
	Site *string `json:"site,omitempty"`
	// Community status
	Status              *string      `json:"status,omitempty"`
	StatusAudio         *Audio_Audio `json:"status_audio,omitempty"`
	StoriesArchiveCount *int         `json:"stories_archive_count,omitempty"`
	// Information whether the community has a "fire" pictogram.
	Trending            *Base_BoolInt `json:"trending,omitempty"`
	UsingVkpayMarketApp *bool         `json:"using_vkpay_market_app,omitempty"`
	// Information whether community is verified
	Verified *Base_BoolInt `json:"verified,omitempty"`
	// Number of community's live streams
	//  Minimum: 0
	VideoLiveCount *int `json:"video_live_count,omitempty"`
	// Community level live streams achievements
	//  Minimum: 0
	VideoLiveLevel *int `json:"video_live_level,omitempty"`
	// Information about wall status in community
	Wall *Groups_GroupFull_Wall `json:"wall,omitempty"`
	// Community's main wiki page title
	WikiPage *string `json:"wiki_page,omitempty"`
}

type Groups_GroupFullAgeLimits

type Groups_GroupFullAgeLimits int
const (
	Groups_GroupFullAgeLimits_No     Groups_GroupFullAgeLimits = 1
	Groups_GroupFullAgeLimits_Over16 Groups_GroupFullAgeLimits = 2
	Groups_GroupFullAgeLimits_Over18 Groups_GroupFullAgeLimits = 3
)

type Groups_GroupFullMemberStatus

type Groups_GroupFullMemberStatus int
const (
	Groups_GroupFullMemberStatus_NotAMember      Groups_GroupFullMemberStatus = 0
	Groups_GroupFullMemberStatus_Member          Groups_GroupFullMemberStatus = 1
	Groups_GroupFullMemberStatus_NotSure         Groups_GroupFullMemberStatus = 2
	Groups_GroupFullMemberStatus_Declined        Groups_GroupFullMemberStatus = 3
	Groups_GroupFullMemberStatus_HasSentARequest Groups_GroupFullMemberStatus = 4
	Groups_GroupFullMemberStatus_Invited         Groups_GroupFullMemberStatus = 5
)

type Groups_GroupFullSection

type Groups_GroupFullSection int

Groups_GroupFullSection Main section of community

const (
	Groups_GroupFullSection_None            Groups_GroupFullSection = 0
	Groups_GroupFullSection_Photos          Groups_GroupFullSection = 1
	Groups_GroupFullSection_Topics          Groups_GroupFullSection = 2
	Groups_GroupFullSection_Audios          Groups_GroupFullSection = 3
	Groups_GroupFullSection_Videos          Groups_GroupFullSection = 4
	Groups_GroupFullSection_Market          Groups_GroupFullSection = 5
	Groups_GroupFullSection_Stories         Groups_GroupFullSection = 6
	Groups_GroupFullSection_Apps            Groups_GroupFullSection = 7
	Groups_GroupFullSection_Followers       Groups_GroupFullSection = 8
	Groups_GroupFullSection_Links           Groups_GroupFullSection = 9
	Groups_GroupFullSection_Events          Groups_GroupFullSection = 10
	Groups_GroupFullSection_Places          Groups_GroupFullSection = 11
	Groups_GroupFullSection_Contacts        Groups_GroupFullSection = 12
	Groups_GroupFullSection_AppBtns         Groups_GroupFullSection = 13
	Groups_GroupFullSection_Docs            Groups_GroupFullSection = 14
	Groups_GroupFullSection_EventCounters   Groups_GroupFullSection = 15
	Groups_GroupFullSection_GroupMessages   Groups_GroupFullSection = 16
	Groups_GroupFullSection_Albums          Groups_GroupFullSection = 24
	Groups_GroupFullSection_Categories      Groups_GroupFullSection = 26
	Groups_GroupFullSection_AdminHelp       Groups_GroupFullSection = 27
	Groups_GroupFullSection_AppWidget       Groups_GroupFullSection = 31
	Groups_GroupFullSection_PublicHelp      Groups_GroupFullSection = 32
	Groups_GroupFullSection_HsDonationApp   Groups_GroupFullSection = 33
	Groups_GroupFullSection_HsMarketApp     Groups_GroupFullSection = 34
	Groups_GroupFullSection_Addresses       Groups_GroupFullSection = 35
	Groups_GroupFullSection_ArtistPage      Groups_GroupFullSection = 36
	Groups_GroupFullSection_Podcast         Groups_GroupFullSection = 37
	Groups_GroupFullSection_Articles        Groups_GroupFullSection = 39
	Groups_GroupFullSection_AdminTips       Groups_GroupFullSection = 40
	Groups_GroupFullSection_Menu            Groups_GroupFullSection = 41
	Groups_GroupFullSection_FixedPost       Groups_GroupFullSection = 42
	Groups_GroupFullSection_Chats           Groups_GroupFullSection = 43
	Groups_GroupFullSection_EvergreenNotice Groups_GroupFullSection = 44
	Groups_GroupFullSection_Musicians       Groups_GroupFullSection = 45
	Groups_GroupFullSection_Narratives      Groups_GroupFullSection = 46
	Groups_GroupFullSection_DonutDonate     Groups_GroupFullSection = 47
	Groups_GroupFullSection_Clips           Groups_GroupFullSection = 48
	Groups_GroupFullSection_MarketCart      Groups_GroupFullSection = 49
	Groups_GroupFullSection_Curators        Groups_GroupFullSection = 50
	Groups_GroupFullSection_MarketServices  Groups_GroupFullSection = 51
	Groups_GroupFullSection_Classifieds     Groups_GroupFullSection = 53
	Groups_GroupFullSection_Textlives       Groups_GroupFullSection = 54
	Groups_GroupFullSection_DonutForDons    Groups_GroupFullSection = 55
	Groups_GroupFullSection_Badges          Groups_GroupFullSection = 57
	Groups_GroupFullSection_ChatsCreation   Groups_GroupFullSection = 58
)

type Groups_GroupFull_Wall

type Groups_GroupFull_Wall int
const (
	Groups_GroupFull_Wall_Disabled   Groups_GroupFull_Wall = 0
	Groups_GroupFull_Wall_Open       Groups_GroupFull_Wall = 1
	Groups_GroupFull_Wall_Limited    Groups_GroupFull_Wall = 2
	Groups_GroupFull_Wall_Restricted Groups_GroupFull_Wall = 3
)

type Groups_GroupIsClosed

type Groups_GroupIsClosed int

Groups_GroupIsClosed Information whether community is closed

const (
	Groups_GroupIsClosed_Open    Groups_GroupIsClosed = 0
	Groups_GroupIsClosed_Closed  Groups_GroupIsClosed = 1
	Groups_GroupIsClosed_Private Groups_GroupIsClosed = 2
)

type Groups_GroupMarketCurrency

type Groups_GroupMarketCurrency int
const (
	Groups_GroupMarketCurrency_RussianRubles    Groups_GroupMarketCurrency = 643
	Groups_GroupMarketCurrency_UkrainianHryvnia Groups_GroupMarketCurrency = 980
	Groups_GroupMarketCurrency_KazakhTenge      Groups_GroupMarketCurrency = 398
	Groups_GroupMarketCurrency_Euro             Groups_GroupMarketCurrency = 978
	Groups_GroupMarketCurrency_UsDollars        Groups_GroupMarketCurrency = 840
)

type Groups_GroupPhotos

type Groups_GroupPhotos int
const (
	Groups_GroupPhotos_Disabled Groups_GroupPhotos = 0
	Groups_GroupPhotos_Open     Groups_GroupPhotos = 1
	Groups_GroupPhotos_Limited  Groups_GroupPhotos = 2
)

type Groups_GroupPublicCategoryList

type Groups_GroupPublicCategoryList struct {
	Id            *int                        `json:"id,omitempty"`
	Name          *string                     `json:"name,omitempty"`
	Subcategories *[]Groups_GroupCategoryType `json:"subcategories,omitempty"`
}

type Groups_GroupRole

type Groups_GroupRole string
const (
	Groups_GroupRole_Moderator     Groups_GroupRole = "moderator"
	Groups_GroupRole_Editor        Groups_GroupRole = "editor"
	Groups_GroupRole_Administrator Groups_GroupRole = "administrator"
	Groups_GroupRole_Advertiser    Groups_GroupRole = "advertiser"
)

type Groups_GroupSubject

type Groups_GroupSubject int
const (
	Groups_GroupSubject_Auto                      Groups_GroupSubject = 1
	Groups_GroupSubject_ActivityHolidays          Groups_GroupSubject = 2
	Groups_GroupSubject_Business                  Groups_GroupSubject = 3
	Groups_GroupSubject_Pets                      Groups_GroupSubject = 4
	Groups_GroupSubject_Health                    Groups_GroupSubject = 5
	Groups_GroupSubject_DatingAndCommunication    Groups_GroupSubject = 6
	Groups_GroupSubject_Games                     Groups_GroupSubject = 7
	Groups_GroupSubject_It                        Groups_GroupSubject = 8
	Groups_GroupSubject_Cinema                    Groups_GroupSubject = 9
	Groups_GroupSubject_BeautyAndFashion          Groups_GroupSubject = 10
	Groups_GroupSubject_Cooking                   Groups_GroupSubject = 11
	Groups_GroupSubject_ArtAndCulture             Groups_GroupSubject = 12
	Groups_GroupSubject_Literature                Groups_GroupSubject = 13
	Groups_GroupSubject_MobileServicesAndInternet Groups_GroupSubject = 14
	Groups_GroupSubject_Music                     Groups_GroupSubject = 15
	Groups_GroupSubject_ScienceAndTechnology      Groups_GroupSubject = 16
	Groups_GroupSubject_RealEstate                Groups_GroupSubject = 17
	Groups_GroupSubject_NewsAndMedia              Groups_GroupSubject = 18
	Groups_GroupSubject_Security                  Groups_GroupSubject = 19
	Groups_GroupSubject_Education                 Groups_GroupSubject = 20
	Groups_GroupSubject_HomeAndRenovations        Groups_GroupSubject = 21
	Groups_GroupSubject_Politics                  Groups_GroupSubject = 22
	Groups_GroupSubject_Food                      Groups_GroupSubject = 23
	Groups_GroupSubject_Industry                  Groups_GroupSubject = 24
	Groups_GroupSubject_Travel                    Groups_GroupSubject = 25
	Groups_GroupSubject_Work                      Groups_GroupSubject = 26
	Groups_GroupSubject_Entertainment             Groups_GroupSubject = 27
	Groups_GroupSubject_Religion                  Groups_GroupSubject = 28
	Groups_GroupSubject_Family                    Groups_GroupSubject = 29
	Groups_GroupSubject_Sports                    Groups_GroupSubject = 30
	Groups_GroupSubject_Insurance                 Groups_GroupSubject = 31
	Groups_GroupSubject_Television                Groups_GroupSubject = 32
	Groups_GroupSubject_GoodsAndServices          Groups_GroupSubject = 33
	Groups_GroupSubject_Hobbies                   Groups_GroupSubject = 34
	Groups_GroupSubject_Finance                   Groups_GroupSubject = 35
	Groups_GroupSubject_Photo                     Groups_GroupSubject = 36
	Groups_GroupSubject_Esoterics                 Groups_GroupSubject = 37
	Groups_GroupSubject_ElectronicsAndAppliances  Groups_GroupSubject = 38
	Groups_GroupSubject_Erotic                    Groups_GroupSubject = 39
	Groups_GroupSubject_Humor                     Groups_GroupSubject = 40
	Groups_GroupSubject_SocietyHumanities         Groups_GroupSubject = 41
	Groups_GroupSubject_DesignAndGraphics         Groups_GroupSubject = 42
)

type Groups_GroupSuggestedPrivacy

type Groups_GroupSuggestedPrivacy int
const (
	Groups_GroupSuggestedPrivacy_None        Groups_GroupSuggestedPrivacy = 0
	Groups_GroupSuggestedPrivacy_All         Groups_GroupSuggestedPrivacy = 1
	Groups_GroupSuggestedPrivacy_Subscribers Groups_GroupSuggestedPrivacy = 2
)

type Groups_GroupTag

type Groups_GroupTag struct {
	Color Groups_GroupTag_Color `json:"color"`
	Id    int                   `json:"id"`
	Name  string                `json:"name"`
	Uses  *int                  `json:"uses,omitempty"`
}

type Groups_GroupTag_Color

type Groups_GroupTag_Color string
const (
	Groups_GroupTag_Color_454647 Groups_GroupTag_Color = "454647"
	Groups_GroupTag_Color_45678f Groups_GroupTag_Color = "45678f"
	Groups_GroupTag_Color_4bb34b Groups_GroupTag_Color = "4bb34b"
	Groups_GroupTag_Color_5181b8 Groups_GroupTag_Color = "5181b8"
	Groups_GroupTag_Color_539b9c Groups_GroupTag_Color = "539b9c"
	Groups_GroupTag_Color_5c9ce6 Groups_GroupTag_Color = "5c9ce6"
	Groups_GroupTag_Color_63b9ba Groups_GroupTag_Color = "63b9ba"
	Groups_GroupTag_Color_6bc76b Groups_GroupTag_Color = "6bc76b"
	Groups_GroupTag_Color_76787a Groups_GroupTag_Color = "76787a"
	Groups_GroupTag_Color_792ec0 Groups_GroupTag_Color = "792ec0"
	Groups_GroupTag_Color_7a6c4f Groups_GroupTag_Color = "7a6c4f"
	Groups_GroupTag_Color_7ececf Groups_GroupTag_Color = "7ececf"
	Groups_GroupTag_Color_9e8d6b Groups_GroupTag_Color = "9e8d6b"
	Groups_GroupTag_Color_A162de Groups_GroupTag_Color = "a162de"
	Groups_GroupTag_Color_Aaaeb3 Groups_GroupTag_Color = "aaaeb3"
	Groups_GroupTag_Color_Bbaa84 Groups_GroupTag_Color = "bbaa84"
	Groups_GroupTag_Color_E64646 Groups_GroupTag_Color = "e64646"
	Groups_GroupTag_Color_Ff5c5c Groups_GroupTag_Color = "ff5c5c"
	Groups_GroupTag_Color_Ffa000 Groups_GroupTag_Color = "ffa000"
	Groups_GroupTag_Color_Ffc107 Groups_GroupTag_Color = "ffc107"
)

type Groups_GroupTopics

type Groups_GroupTopics int
const (
	Groups_GroupTopics_Disabled Groups_GroupTopics = 0
	Groups_GroupTopics_Open     Groups_GroupTopics = 1
	Groups_GroupTopics_Limited  Groups_GroupTopics = 2
)

type Groups_GroupType

type Groups_GroupType string

Groups_GroupType Community type

const (
	Groups_GroupType_Group Groups_GroupType = "group"
	Groups_GroupType_Page  Groups_GroupType = "page"
	Groups_GroupType_Event Groups_GroupType = "event"
)

type Groups_GroupVideo

type Groups_GroupVideo int
const (
	Groups_GroupVideo_Disabled Groups_GroupVideo = 0
	Groups_GroupVideo_Open     Groups_GroupVideo = 1
	Groups_GroupVideo_Limited  Groups_GroupVideo = 2
)

type Groups_GroupWall

type Groups_GroupWall int
const (
	Groups_GroupWall_Disabled Groups_GroupWall = 0
	Groups_GroupWall_Open     Groups_GroupWall = 1
	Groups_GroupWall_Limited  Groups_GroupWall = 2
	Groups_GroupWall_Closed   Groups_GroupWall = 3
)

type Groups_GroupWiki

type Groups_GroupWiki int
const (
	Groups_GroupWiki_Disabled Groups_GroupWiki = 0
	Groups_GroupWiki_Open     Groups_GroupWiki = 1
	Groups_GroupWiki_Limited  Groups_GroupWiki = 2
)

type Groups_GroupsArray

type Groups_GroupsArray struct {
	// Communities number
	//  Minimum: 0
	Count int `json:"count"`
	//  Format: int64
	Items []int `json:"items"`
}

type Groups_Invite_Request

type Groups_Invite_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// User ID.
	//  Format: int64
	//  Minimum: 1
	UserId int
}

type Groups_IsMemberExtended_Response

type Groups_IsMemberExtended_Response struct {
	Response struct {
		// Information whether user can be invited
		CanInvite *Base_BoolInt `json:"can_invite,omitempty"`
		// Information whether user's invite to the group can be recalled
		CanRecall *Base_BoolInt `json:"can_recall,omitempty"`
		// Information whether user has been invited to the group
		Invitation *Base_BoolInt `json:"invitation,omitempty"`
		// Information whether user is a member of the group
		Member Base_BoolInt `json:"member"`
		// Information whether user has sent request to the group
		Request *Base_BoolInt `json:"request,omitempty"`
	} `json:"response"`
}

type Groups_IsMemberUserIDs_Request

type Groups_IsMemberUserIDs_Request struct {
	// ID or screen name of the community.
	GroupId string
	//  Format: int64
	//  Minimum: 1
	UserIds *[]int
}

type Groups_IsMemberUserIdsExtended_Response

type Groups_IsMemberUserIdsExtended_Response struct {
	Response []Groups_MemberStatusFull `json:"response"`
}

type Groups_IsMemberUserIds_Response

type Groups_IsMemberUserIds_Response struct {
	Response []Groups_MemberStatus `json:"response"`
}

type Groups_IsMember_Request

type Groups_IsMember_Request struct {
	// ID or screen name of the community.
	GroupId string
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type Groups_IsMember_Response

type Groups_IsMember_Response struct {
	// Information whether user is a member of the group
	Response Base_BoolInt `json:"response"`
}

type Groups_Join_Request

type Groups_Join_Request struct {
	// ID or screen name of the community.
	//  Format: int64
	//  Minimum: 1
	GroupId *int
	// Optional parameter which is taken into account when 'gid' belongs to the event: '1' — Perhaps I will attend, '0' — I will be there for sure (default), ,
	NotSure *string
}

type Groups_Leave_Request

type Groups_Leave_Request struct {
	// ID or screen name of the community.
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Groups_LinksItem

type Groups_LinksItem struct {
	// Link description
	Desc *string `json:"desc,omitempty"`
	// Information whether the link title can be edited
	EditTitle *Base_BoolInt `json:"edit_title,omitempty"`
	// Link ID
	Id *int `json:"id,omitempty"`
	// Information whether the image on processing
	ImageProcessing *Base_BoolInt `json:"image_processing,omitempty"`
	// Link title
	Name *string `json:"name,omitempty"`
	// URL of square image of the link with 100 pixels in width
	//  Format: uri
	Photo100 *string `json:"photo_100,omitempty"`
	// URL of square image of the link with 50 pixels in width
	//  Format: uri
	Photo50 *string `json:"photo_50,omitempty"`
	// Link URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

type Groups_LiveCovers

type Groups_LiveCovers struct {
	// Information whether live covers is enabled
	IsEnabled bool `json:"is_enabled"`
	// Information whether live covers photo scaling is enabled
	IsScalable *bool     `json:"is_scalable,omitempty"`
	StoryIds   *[]string `json:"story_ids,omitempty"`
}

type Groups_LongPollEvents

type Groups_LongPollEvents struct {
	AudioNew                      Base_BoolInt  `json:"audio_new"`
	BoardPostDelete               Base_BoolInt  `json:"board_post_delete"`
	BoardPostEdit                 Base_BoolInt  `json:"board_post_edit"`
	BoardPostNew                  Base_BoolInt  `json:"board_post_new"`
	BoardPostRestore              Base_BoolInt  `json:"board_post_restore"`
	DonutMoneyWithdraw            Base_BoolInt  `json:"donut_money_withdraw"`
	DonutMoneyWithdrawError       Base_BoolInt  `json:"donut_money_withdraw_error"`
	DonutSubscriptionCancelled    Base_BoolInt  `json:"donut_subscription_cancelled"`
	DonutSubscriptionCreate       Base_BoolInt  `json:"donut_subscription_create"`
	DonutSubscriptionExpired      Base_BoolInt  `json:"donut_subscription_expired"`
	DonutSubscriptionPriceChanged Base_BoolInt  `json:"donut_subscription_price_changed"`
	DonutSubscriptionProlonged    Base_BoolInt  `json:"donut_subscription_prolonged"`
	GroupChangePhoto              Base_BoolInt  `json:"group_change_photo"`
	GroupChangeSettings           Base_BoolInt  `json:"group_change_settings"`
	GroupJoin                     Base_BoolInt  `json:"group_join"`
	GroupLeave                    Base_BoolInt  `json:"group_leave"`
	GroupOfficersEdit             Base_BoolInt  `json:"group_officers_edit"`
	LeadFormsNew                  *Base_BoolInt `json:"lead_forms_new,omitempty"`
	MarketCommentDelete           Base_BoolInt  `json:"market_comment_delete"`
	MarketCommentEdit             Base_BoolInt  `json:"market_comment_edit"`
	MarketCommentNew              Base_BoolInt  `json:"market_comment_new"`
	MarketCommentRestore          Base_BoolInt  `json:"market_comment_restore"`
	MarketOrderEdit               *Base_BoolInt `json:"market_order_edit,omitempty"`
	MarketOrderNew                *Base_BoolInt `json:"market_order_new,omitempty"`
	MessageAllow                  Base_BoolInt  `json:"message_allow"`
	MessageDeny                   Base_BoolInt  `json:"message_deny"`
	MessageEdit                   Base_BoolInt  `json:"message_edit"`
	MessageNew                    Base_BoolInt  `json:"message_new"`
	MessageRead                   Base_BoolInt  `json:"message_read"`
	MessageReply                  Base_BoolInt  `json:"message_reply"`
	MessageTypingState            Base_BoolInt  `json:"message_typing_state"`
	PhotoCommentDelete            Base_BoolInt  `json:"photo_comment_delete"`
	PhotoCommentEdit              Base_BoolInt  `json:"photo_comment_edit"`
	PhotoCommentNew               Base_BoolInt  `json:"photo_comment_new"`
	PhotoCommentRestore           Base_BoolInt  `json:"photo_comment_restore"`
	PhotoNew                      Base_BoolInt  `json:"photo_new"`
	PollVoteNew                   Base_BoolInt  `json:"poll_vote_new"`
	UserBlock                     Base_BoolInt  `json:"user_block"`
	UserUnblock                   Base_BoolInt  `json:"user_unblock"`
	VideoCommentDelete            Base_BoolInt  `json:"video_comment_delete"`
	VideoCommentEdit              Base_BoolInt  `json:"video_comment_edit"`
	VideoCommentNew               Base_BoolInt  `json:"video_comment_new"`
	VideoCommentRestore           Base_BoolInt  `json:"video_comment_restore"`
	VideoNew                      Base_BoolInt  `json:"video_new"`
	WallPostNew                   Base_BoolInt  `json:"wall_post_new"`
	WallReplyDelete               Base_BoolInt  `json:"wall_reply_delete"`
	WallReplyEdit                 Base_BoolInt  `json:"wall_reply_edit"`
	WallReplyNew                  Base_BoolInt  `json:"wall_reply_new"`
	WallReplyRestore              Base_BoolInt  `json:"wall_reply_restore"`
	WallRepost                    Base_BoolInt  `json:"wall_repost"`
}

type Groups_LongPollServer

type Groups_LongPollServer struct {
	// Long Poll key
	Key string `json:"key"`
	// Long Poll server address
	Server string `json:"server"`
	// Number of the last event
	Ts string `json:"ts"`
}

type Groups_LongPollSettings

type Groups_LongPollSettings struct {
	// API version used for the events
	ApiVersion *string               `json:"api_version,omitempty"`
	Events     Groups_LongPollEvents `json:"events"`
	// Shows whether Long Poll is enabled
	IsEnabled bool `json:"is_enabled"`
}

type Groups_MarketInfo

type Groups_MarketInfo struct {
	// Contact person ID
	ContactId *int             `json:"contact_id,omitempty"`
	Currency  *Market_Currency `json:"currency,omitempty"`
	// Currency name
	CurrencyText *string `json:"currency_text,omitempty"`
	// Information whether the market is enabled
	Enabled *Base_BoolInt `json:"enabled,omitempty"`
	// Main market album ID
	MainAlbumId   *int          `json:"main_album_id,omitempty"`
	MinOrderPrice *Market_Price `json:"min_order_price,omitempty"`
	// Maximum price
	PriceMax *string `json:"price_max,omitempty"`
	// Minimum price
	PriceMin *string `json:"price_min,omitempty"`
	// Market type
	Type *string `json:"type,omitempty"`
}

type Groups_MarketState

type Groups_MarketState string

Groups_MarketState Declares state if market is enabled in group.

const (
	Groups_MarketState_None     Groups_MarketState = "none"
	Groups_MarketState_Basic    Groups_MarketState = "basic"
	Groups_MarketState_Advanced Groups_MarketState = "advanced"
)

type Groups_MemberRole

type Groups_MemberRole struct {
	// User ID
	Id          int                            `json:"id"`
	Permissions *[]Groups_MemberRolePermission `json:"permissions,omitempty"`
	Role        *Groups_MemberRoleStatus       `json:"role,omitempty"`
}

type Groups_MemberRolePermission

type Groups_MemberRolePermission string
const (
	Groups_MemberRolePermission_Ads Groups_MemberRolePermission = "ads"
)

type Groups_MemberRoleStatus

type Groups_MemberRoleStatus string

Groups_MemberRoleStatus User's credentials as community admin

const (
	Groups_MemberRoleStatus_Moderator     Groups_MemberRoleStatus = "moderator"
	Groups_MemberRoleStatus_Editor        Groups_MemberRoleStatus = "editor"
	Groups_MemberRoleStatus_Administrator Groups_MemberRoleStatus = "administrator"
	Groups_MemberRoleStatus_Creator       Groups_MemberRoleStatus = "creator"
	Groups_MemberRoleStatus_Advertiser    Groups_MemberRoleStatus = "advertiser"
)

type Groups_MemberStatus

type Groups_MemberStatus struct {
	// Information whether user is a member of the group
	Member Base_BoolInt `json:"member"`
	// User ID
	//  Format: int64
	//  Minimum: 1
	UserId int `json:"user_id"`
}

type Groups_MemberStatusFull

type Groups_MemberStatusFull struct {
	// Information whether user can be invited
	CanInvite *Base_BoolInt `json:"can_invite,omitempty"`
	// Information whether user's invite to the group can be recalled
	CanRecall *Base_BoolInt `json:"can_recall,omitempty"`
	// Information whether user has been invited to the group
	Invitation *Base_BoolInt `json:"invitation,omitempty"`
	// Information whether user is a member of the group
	Member Base_BoolInt `json:"member"`
	// Information whether user has send request to the group
	Request *Base_BoolInt `json:"request,omitempty"`
	// User ID
	//  Format: int64
	//  Minimum: 1
	UserId int `json:"user_id"`
}

type Groups_OnlineStatus

type Groups_OnlineStatus struct {
	// Estimated time of answer (for status = answer_mark)
	Minutes *int                    `json:"minutes,omitempty"`
	Status  Groups_OnlineStatusType `json:"status"`
}

Groups_OnlineStatus Online status of group

type Groups_OnlineStatusType

type Groups_OnlineStatusType string

Groups_OnlineStatusType Type of online status of group

const (
	Groups_OnlineStatusType_None       Groups_OnlineStatusType = "none"
	Groups_OnlineStatusType_Online     Groups_OnlineStatusType = "online"
	Groups_OnlineStatusType_AnswerMark Groups_OnlineStatusType = "answer_mark"
)

type Groups_OwnerXtrBanInfo

type Groups_OwnerXtrBanInfo struct {
	BanInfo *Groups_BanInfo `json:"ban_info,omitempty"`
	// Information about group if type = group
	Group *Groups_Group `json:"group,omitempty"`
	// Information about group if type = profile
	Profile *Users_User                 `json:"profile,omitempty"`
	Type    *Groups_OwnerXtrBanInfoType `json:"type,omitempty"`
}

type Groups_OwnerXtrBanInfoType

type Groups_OwnerXtrBanInfoType string

Groups_OwnerXtrBanInfoType Owner type

const (
	Groups_OwnerXtrBanInfoType_Group   Groups_OwnerXtrBanInfoType = "group"
	Groups_OwnerXtrBanInfoType_Profile Groups_OwnerXtrBanInfoType = "profile"
)

type Groups_PhotoSize

type Groups_PhotoSize struct {
	// Image height
	//  Minimum: 0
	Height int `json:"height"`
	// Image width
	//  Minimum: 0
	Width int `json:"width"`
}

type Groups_RemoveUser_Request

type Groups_RemoveUser_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// User ID.
	//  Format: int64
	//  Minimum: 1
	UserId int
}
type Groups_ReorderLink_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Link ID.
	//  Minimum: 0
	LinkId int
	// ID of the link after which to place the link with 'link_id'.
	//  Minimum: 0
	After *int
}

type Groups_RoleOptions

type Groups_RoleOptions string

Groups_RoleOptions User's credentials as community admin

const (
	Groups_RoleOptions_Moderator     Groups_RoleOptions = "moderator"
	Groups_RoleOptions_Editor        Groups_RoleOptions = "editor"
	Groups_RoleOptions_Administrator Groups_RoleOptions = "administrator"
	Groups_RoleOptions_Creator       Groups_RoleOptions = "creator"
)

type Groups_Search_Request

type Groups_Search_Request struct {
	// Search query string.
	Q string
	// Community type. Possible values: 'group, page, event.'
	Type *Groups_Search_Type
	// Country ID.
	//  Minimum: 0
	CountryId *int
	// City ID. If this parameter is transmitted, country_id is ignored.
	//  Minimum: 0
	CityId *int
	// '1' — to return only upcoming events. Works with the 'type' = 'event' only.
	Future *bool
	// '1' — to return communities with enabled market only.
	Market *bool
	// Sort order. Possible values: *'0' — default sorting (similar the full version of the site),, *'1' — by growth speed,, *'2'— by the "day attendance/members number" ratio,, *'3' — by the "Likes number/members number" ratio,, *'4' — by the "comments number/members number" ratio,, *'5' — by the "boards entries number/members number" ratio.
	Sort *Groups_Search_Sort
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
	// Number of communities to return. "Note that you can not receive more than first thousand of results, regardless of 'count' and 'offset' values."
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Groups_Search_Response

type Groups_Search_Response struct {
	Response struct {
		// Total communities number
		//  Minimum: 0
		Count int            `json:"count"`
		Items []Groups_Group `json:"items"`
	} `json:"response"`
}

type Groups_Search_Sort

type Groups_Search_Sort int
const (
	Groups_Search_Sort_Default    Groups_Search_Sort = 0
	Groups_Search_Sort_Growth     Groups_Search_Sort = 1
	Groups_Search_Sort_Attendance Groups_Search_Sort = 2
	Groups_Search_Sort_Likes      Groups_Search_Sort = 3
	Groups_Search_Sort_Comments   Groups_Search_Sort = 4
	Groups_Search_Sort_Entries    Groups_Search_Sort = 5
)

type Groups_Search_Type

type Groups_Search_Type string
const (
	Groups_Search_Type_Group Groups_Search_Type = "group"
	Groups_Search_Type_Page  Groups_Search_Type = "page"
	Groups_Search_Type_Event Groups_Search_Type = "event"
)

type Groups_SectionsListItem

type Groups_SectionsListItem []string

Groups_SectionsListItem (index, title) tuples

type Groups_SetCallbackSettings_Request

type Groups_SetCallbackSettings_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Server ID.
	//  Minimum: 0
	ServerId   *int
	ApiVersion *string
	// A new incoming message has been received ('0' — disabled, '1' — enabled).
	MessageNew *bool
	// A new outcoming message has been received ('0' — disabled, '1' — enabled).
	MessageReply *bool
	// Allowed messages notifications ('0' — disabled, '1' — enabled).
	MessageAllow *bool
	MessageEdit  *bool
	// Denied messages notifications ('0' — disabled, '1' — enabled).
	MessageDeny        *bool
	MessageTypingState *bool
	// New photos notifications ('0' — disabled, '1' — enabled).
	PhotoNew *bool
	// New audios notifications ('0' — disabled, '1' — enabled).
	AudioNew *bool
	// New videos notifications ('0' — disabled, '1' — enabled).
	VideoNew *bool
	// New wall replies notifications ('0' — disabled, '1' — enabled).
	WallReplyNew *bool
	// Wall replies edited notifications ('0' — disabled, '1' — enabled).
	WallReplyEdit *bool
	// A wall comment has been deleted ('0' — disabled, '1' — enabled).
	WallReplyDelete *bool
	// A wall comment has been restored ('0' — disabled, '1' — enabled).
	WallReplyRestore *bool
	// New wall posts notifications ('0' — disabled, '1' — enabled).
	WallPostNew *bool
	// New wall posts notifications ('0' — disabled, '1' — enabled).
	WallRepost *bool
	// New board posts notifications ('0' — disabled, '1' — enabled).
	BoardPostNew *bool
	// Board posts edited notifications ('0' — disabled, '1' — enabled).
	BoardPostEdit *bool
	// Board posts restored notifications ('0' — disabled, '1' — enabled).
	BoardPostRestore *bool
	// Board posts deleted notifications ('0' — disabled, '1' — enabled).
	BoardPostDelete *bool
	// New comment to photo notifications ('0' — disabled, '1' — enabled).
	PhotoCommentNew *bool
	// A photo comment has been edited ('0' — disabled, '1' — enabled).
	PhotoCommentEdit *bool
	// A photo comment has been deleted ('0' — disabled, '1' — enabled).
	PhotoCommentDelete *bool
	// A photo comment has been restored ('0' — disabled, '1' — enabled).
	PhotoCommentRestore *bool
	// New comment to video notifications ('0' — disabled, '1' — enabled).
	VideoCommentNew *bool
	// A video comment has been edited ('0' — disabled, '1' — enabled).
	VideoCommentEdit *bool
	// A video comment has been deleted ('0' — disabled, '1' — enabled).
	VideoCommentDelete *bool
	// A video comment has been restored ('0' — disabled, '1' — enabled).
	VideoCommentRestore *bool
	// New comment to market item notifications ('0' — disabled, '1' — enabled).
	MarketCommentNew *bool
	// A market comment has been edited ('0' — disabled, '1' — enabled).
	MarketCommentEdit *bool
	// A market comment has been deleted ('0' — disabled, '1' — enabled).
	MarketCommentDelete *bool
	// A market comment has been restored ('0' — disabled, '1' — enabled).
	MarketCommentRestore *bool
	MarketOrderNew       *bool
	MarketOrderEdit      *bool
	// A vote in a public poll has been added ('0' — disabled, '1' — enabled).
	PollVoteNew *bool
	// Joined community notifications ('0' — disabled, '1' — enabled).
	GroupJoin *bool
	// Left community notifications ('0' — disabled, '1' — enabled).
	GroupLeave          *bool
	GroupChangeSettings *bool
	GroupChangePhoto    *bool
	GroupOfficersEdit   *bool
	// User added to community blacklist
	UserBlock *bool
	// User removed from community blacklist
	UserUnblock *bool
	// New form in lead forms
	LeadFormsNew                  *bool
	LikeAdd                       *bool
	LikeRemove                    *bool
	MessageEvent                  *bool
	DonutSubscriptionCreate       *bool
	DonutSubscriptionProlonged    *bool
	DonutSubscriptionCancelled    *bool
	DonutSubscriptionPriceChanged *bool
	DonutSubscriptionExpired      *bool
	DonutMoneyWithdraw            *bool
	DonutMoneyWithdrawError       *bool
}

type Groups_SetLongPollSettings_Request

type Groups_SetLongPollSettings_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Sets whether Long Poll is enabled ('0' — disabled, '1' — enabled).
	Enabled    *bool
	ApiVersion *string
	// A new incoming message has been received ('0' — disabled, '1' — enabled).
	MessageNew *bool
	// A new outcoming message has been received ('0' — disabled, '1' — enabled).
	MessageReply *bool
	// Allowed messages notifications ('0' — disabled, '1' — enabled).
	MessageAllow *bool
	// Denied messages notifications ('0' — disabled, '1' — enabled).
	MessageDeny *bool
	// A message has been edited ('0' — disabled, '1' — enabled).
	MessageEdit        *bool
	MessageTypingState *bool
	// New photos notifications ('0' — disabled, '1' — enabled).
	PhotoNew *bool
	// New audios notifications ('0' — disabled, '1' — enabled).
	AudioNew *bool
	// New videos notifications ('0' — disabled, '1' — enabled).
	VideoNew *bool
	// New wall replies notifications ('0' — disabled, '1' — enabled).
	WallReplyNew *bool
	// Wall replies edited notifications ('0' — disabled, '1' — enabled).
	WallReplyEdit *bool
	// A wall comment has been deleted ('0' — disabled, '1' — enabled).
	WallReplyDelete *bool
	// A wall comment has been restored ('0' — disabled, '1' — enabled).
	WallReplyRestore *bool
	// New wall posts notifications ('0' — disabled, '1' — enabled).
	WallPostNew *bool
	// New wall posts notifications ('0' — disabled, '1' — enabled).
	WallRepost *bool
	// New board posts notifications ('0' — disabled, '1' — enabled).
	BoardPostNew *bool
	// Board posts edited notifications ('0' — disabled, '1' — enabled).
	BoardPostEdit *bool
	// Board posts restored notifications ('0' — disabled, '1' — enabled).
	BoardPostRestore *bool
	// Board posts deleted notifications ('0' — disabled, '1' — enabled).
	BoardPostDelete *bool
	// New comment to photo notifications ('0' — disabled, '1' — enabled).
	PhotoCommentNew *bool
	// A photo comment has been edited ('0' — disabled, '1' — enabled).
	PhotoCommentEdit *bool
	// A photo comment has been deleted ('0' — disabled, '1' — enabled).
	PhotoCommentDelete *bool
	// A photo comment has been restored ('0' — disabled, '1' — enabled).
	PhotoCommentRestore *bool
	// New comment to video notifications ('0' — disabled, '1' — enabled).
	VideoCommentNew *bool
	// A video comment has been edited ('0' — disabled, '1' — enabled).
	VideoCommentEdit *bool
	// A video comment has been deleted ('0' — disabled, '1' — enabled).
	VideoCommentDelete *bool
	// A video comment has been restored ('0' — disabled, '1' — enabled).
	VideoCommentRestore *bool
	// New comment to market item notifications ('0' — disabled, '1' — enabled).
	MarketCommentNew *bool
	// A market comment has been edited ('0' — disabled, '1' — enabled).
	MarketCommentEdit *bool
	// A market comment has been deleted ('0' — disabled, '1' — enabled).
	MarketCommentDelete *bool
	// A market comment has been restored ('0' — disabled, '1' — enabled).
	MarketCommentRestore *bool
	// A vote in a public poll has been added ('0' — disabled, '1' — enabled).
	PollVoteNew *bool
	// Joined community notifications ('0' — disabled, '1' — enabled).
	GroupJoin *bool
	// Left community notifications ('0' — disabled, '1' — enabled).
	GroupLeave          *bool
	GroupChangeSettings *bool
	GroupChangePhoto    *bool
	GroupOfficersEdit   *bool
	// User added to community blacklist
	UserBlock *bool
	// User removed from community blacklist
	UserUnblock                   *bool
	LikeAdd                       *bool
	LikeRemove                    *bool
	MessageEvent                  *bool
	DonutSubscriptionCreate       *bool
	DonutSubscriptionProlonged    *bool
	DonutSubscriptionCancelled    *bool
	DonutSubscriptionPriceChanged *bool
	DonutSubscriptionExpired      *bool
	DonutMoneyWithdraw            *bool
	DonutMoneyWithdrawError       *bool
}

type Groups_SetSettings_Request

type Groups_SetSettings_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId          int
	Messages         *bool
	BotsCapabilities *bool
	BotsStartButton  *bool
	BotsAddToChat    *bool
}

type Groups_SetUserNote_Request

type Groups_SetUserNote_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Format: int64
	//  Minimum: 1
	UserId int
	// Note body
	//  MaxLength: 96
	Note *string
}

type Groups_SettingsTwitter

type Groups_SettingsTwitter struct {
	Name   *string                       `json:"name,omitempty"`
	Status Groups_SettingsTwitter_Status `json:"status"`
}

type Groups_SettingsTwitter_Status

type Groups_SettingsTwitter_Status string
const (
	Groups_SettingsTwitter_Status_Loading Groups_SettingsTwitter_Status = "loading"
	Groups_SettingsTwitter_Status_Sync    Groups_SettingsTwitter_Status = "sync"
)

type Groups_SubjectItem

type Groups_SubjectItem struct {
	// Subject ID
	Id int `json:"id"`
	// Subject title
	Name string `json:"name"`
}

type Groups_TagAdd_Request

type Groups_TagAdd_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  MaxLength: 20
	TagName  string
	TagColor *Groups_TagAdd_TagColor
}

type Groups_TagAdd_TagColor

type Groups_TagAdd_TagColor string
const (
	Groups_TagAdd_TagColor_454647 Groups_TagAdd_TagColor = "454647"
	Groups_TagAdd_TagColor_45678f Groups_TagAdd_TagColor = "45678f"
	Groups_TagAdd_TagColor_4bb34b Groups_TagAdd_TagColor = "4bb34b"
	Groups_TagAdd_TagColor_5181b8 Groups_TagAdd_TagColor = "5181b8"
	Groups_TagAdd_TagColor_539b9c Groups_TagAdd_TagColor = "539b9c"
	Groups_TagAdd_TagColor_5c9ce6 Groups_TagAdd_TagColor = "5c9ce6"
	Groups_TagAdd_TagColor_63b9ba Groups_TagAdd_TagColor = "63b9ba"
	Groups_TagAdd_TagColor_6bc76b Groups_TagAdd_TagColor = "6bc76b"
	Groups_TagAdd_TagColor_76787a Groups_TagAdd_TagColor = "76787a"
	Groups_TagAdd_TagColor_792ec0 Groups_TagAdd_TagColor = "792ec0"
	Groups_TagAdd_TagColor_7a6c4f Groups_TagAdd_TagColor = "7a6c4f"
	Groups_TagAdd_TagColor_7ececf Groups_TagAdd_TagColor = "7ececf"
	Groups_TagAdd_TagColor_9e8d6b Groups_TagAdd_TagColor = "9e8d6b"
	Groups_TagAdd_TagColor_A162de Groups_TagAdd_TagColor = "a162de"
	Groups_TagAdd_TagColor_Aaaeb3 Groups_TagAdd_TagColor = "aaaeb3"
	Groups_TagAdd_TagColor_Bbaa84 Groups_TagAdd_TagColor = "bbaa84"
	Groups_TagAdd_TagColor_E64646 Groups_TagAdd_TagColor = "e64646"
	Groups_TagAdd_TagColor_Ff5c5c Groups_TagAdd_TagColor = "ff5c5c"
	Groups_TagAdd_TagColor_Ffa000 Groups_TagAdd_TagColor = "ffa000"
	Groups_TagAdd_TagColor_Ffc107 Groups_TagAdd_TagColor = "ffc107"
)

type Groups_TagBind_Act

type Groups_TagBind_Act string
const (
	Groups_TagBind_Act_Bind   Groups_TagBind_Act = "bind"
	Groups_TagBind_Act_Unbind Groups_TagBind_Act = "unbind"
)

type Groups_TagBind_Request

type Groups_TagBind_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	TagId int
	//  Format: int64
	//  Minimum: 1
	//  Maximum: 2e+09
	UserId int
	// Describe the action
	Act Groups_TagBind_Act
}

type Groups_TagDelete_Request

type Groups_TagDelete_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	TagId int
}

type Groups_TagUpdate_Request

type Groups_TagUpdate_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Minimum: 0
	TagId int
	//  MaxLength: 20
	TagName string
}

type Groups_ToggleMarket_Request

type Groups_ToggleMarket_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	State   Groups_MarketState
	Ref     *string
}

type Groups_TokenPermissionSetting

type Groups_TokenPermissionSetting struct {
	Name string `json:"name"`
	//  Minimum: 0
	Setting int `json:"setting"`
}

type Groups_Unban_Request

type Groups_Unban_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Format: int64
	OwnerId *int
}

type Groups_UserXtrRole

type Groups_UserXtrRole struct {
	Users_UserFull
	Role *Groups_RoleOptions `json:"role,omitempty"`
}

type ImplicitFlowGroupRequest

type ImplicitFlowGroupRequest struct {
	// Application id.
	ClientID string
	// Address to redirect user after authorization.
	RedirectURI string
	// Group IDs for which you need to get an access key.
	// The parameter must be a string containing values without a minus sign.
	GroupIDs []int
	// Sets authorization page appearance.
	Display *DisplayType
	// Permissions bit mask, to check on authorization and request if necessary.
	Scope *[]AccessPermission
	// An arbitrary string that will be returned together with authorization result.
	// NOTE:
	// If you pass a pointer to an empty string, Vkontakte API will not return the state field
	// for token and UserToken.State will be empty pointer. Actual for Version==5.131
	State *string
}

ImplicitFlowGroupRequest is request to build Implicit Flow redirect URL by GetAuthRedirectURL to get GroupTokens.

https://vk.com/dev/implicit_flow_group

type ImplicitFlowUserRequest

type ImplicitFlowUserRequest struct {
	// Application id.
	ClientID string
	// Address to redirect user after authorization.
	RedirectURI string
	// Sets authorization page appearance.
	Display *DisplayType
	// Permissions bit mask, to check on authorization and request if necessary.
	Scope *[]AccessPermission
	// Response type to receive.
	// NOTE:
	// If you pass a pointer to an empty string, Vkontakte API will not return the state field
	// for token and UserToken.State will be empty pointer. Actual for Version==5.131
	State *string
	// Sets that permissions request should not be skipped even if a user is already authorized.
	Revoke bool
}

ImplicitFlowUserRequest is request to build Implicit Flow redirect URL by GetAuthRedirectURL to get UserToken.

https://dev.vk.com/api/access-token/implicit-flow-user

type Language

type Language int
const (
	Russian     Language = 0
	Ukrainian   Language = 1
	Belorussian Language = 2
	English     Language = 3
	Spanish     Language = 4
	Finnish     Language = 5
	Deutsch     Language = 6
	Italian     Language = 7
)

type LeadForms_Answer

type LeadForms_Answer struct {
	Answer LeadForms_Answer_Answer `json:"answer"`
	Key    string                  `json:"key"`
}

type LeadForms_AnswerItem

type LeadForms_AnswerItem struct {
	Key   *string `json:"key,omitempty"`
	Value string  `json:"value"`
}

type LeadForms_Answer_Answer

type LeadForms_Answer_Answer struct {
	// contains filtered or unexported fields
}

func (*LeadForms_Answer_Answer) MarshalJSON

func (o *LeadForms_Answer_Answer) MarshalJSON() ([]byte, error)

func (LeadForms_Answer_Answer) Raw

func (o LeadForms_Answer_Answer) Raw() []byte

func (*LeadForms_Answer_Answer) UnmarshalJSON

func (o *LeadForms_Answer_Answer) UnmarshalJSON(body []byte) (err error)

type LeadForms_Create_Request

type LeadForms_Create_Request struct {
	GroupId int
	//  MaxLength: 100
	Name string
	//  MaxLength: 60
	Title string
	//  MaxLength: 600
	Description string
	Questions   string
	//  MaxLength: 200
	PolicyLinkUrl string
	Photo         *string
	//  MaxLength: 300
	Confirmation *string
	//  MaxLength: 200
	SiteLinkUrl *string
	//  Default: 0
	Active *bool
	//  Default: 0
	OncePerUser *bool
	PixelCode   *string
	//  Minimum: 0
	NotifyAdmins *[]int
	NotifyEmails *[]string
}

type LeadForms_Create_Response

type LeadForms_Create_Response struct {
	Response struct {
		FormId int `json:"form_id"`
		//  Format: uri
		Url string `json:"url"`
	} `json:"response"`
}

type LeadForms_Delete_Request

type LeadForms_Delete_Request struct {
	GroupId int
	FormId  int
}

type LeadForms_Delete_Response

type LeadForms_Delete_Response struct {
	Response struct {
		FormId int `json:"form_id"`
	} `json:"response"`
}

type LeadForms_Form

type LeadForms_Form struct {
	Active       *Base_BoolInt `json:"active,omitempty"`
	Confirmation *string       `json:"confirmation,omitempty"`
	Description  *string       `json:"description,omitempty"`
	FormId       int           `json:"form_id"`
	//  Format: int64
	GroupId      int     `json:"group_id"`
	LeadsCount   int     `json:"leads_count"`
	Name         *string `json:"name,omitempty"`
	NotifyAdmins *string `json:"notify_admins,omitempty"`
	NotifyEmails *string `json:"notify_emails,omitempty"`
	OncePerUser  *int    `json:"once_per_user,omitempty"`
	Photo        *string `json:"photo,omitempty"`
	PixelCode    *string `json:"pixel_code,omitempty"`
	//  Format: uri
	PolicyLinkUrl *string                   `json:"policy_link_url,omitempty"`
	Questions     *[]LeadForms_QuestionItem `json:"questions,omitempty"`
	//  Format: uri
	SiteLinkUrl *string `json:"site_link_url,omitempty"`
	Title       *string `json:"title,omitempty"`
	//  Format: uri
	Url string `json:"url"`
}

type LeadForms_GetLeads_Request

type LeadForms_GetLeads_Request struct {
	GroupId int
	FormId  int
	//  Default: 10
	//  Minimum: 1
	//  Maximum: 1000
	Limit         *int
	NextPageToken *string
}

type LeadForms_GetLeads_Response

type LeadForms_GetLeads_Response struct {
	Response struct {
		Leads         []LeadForms_Lead `json:"leads"`
		NextPageToken *string          `json:"next_page_token,omitempty"`
	} `json:"response"`
}

type LeadForms_Get_Request

type LeadForms_Get_Request struct {
	GroupId int
	FormId  int
}

type LeadForms_Get_Response

type LeadForms_Get_Response struct {
	Response LeadForms_Form `json:"response"`
}

type LeadForms_Lead

type LeadForms_Lead struct {
	AdId    *int               `json:"ad_id,omitempty"`
	Answers []LeadForms_Answer `json:"answers"`
	Date    int                `json:"date"`
	LeadId  int                `json:"lead_id"`
	//  Format: int64
	UserId int `json:"user_id"`
}

type LeadForms_List_Request

type LeadForms_List_Request struct {
	GroupId int
}

type LeadForms_List_Response

type LeadForms_List_Response struct {
	Response []LeadForms_Form `json:"response"`
}

type LeadForms_QuestionItem

type LeadForms_QuestionItem struct {
	Key   string  `json:"key"`
	Label *string `json:"label,omitempty"`
	// Опции выбора для типов radio, checkbox, select
	Options *[]LeadForms_QuestionItemOption `json:"options,omitempty"`
	Type    LeadForms_QuestionItem_Type     `json:"type"`
}

type LeadForms_QuestionItemOption

type LeadForms_QuestionItemOption struct {
	Key   *string `json:"key,omitempty"`
	Label string  `json:"label"`
}

type LeadForms_QuestionItem_Type

type LeadForms_QuestionItem_Type string
const (
	LeadForms_QuestionItem_Type_Input    LeadForms_QuestionItem_Type = "input"
	LeadForms_QuestionItem_Type_Textarea LeadForms_QuestionItem_Type = "textarea"
	LeadForms_QuestionItem_Type_Radio    LeadForms_QuestionItem_Type = "radio"
	LeadForms_QuestionItem_Type_Checkbox LeadForms_QuestionItem_Type = "checkbox"
	LeadForms_QuestionItem_Type_Select   LeadForms_QuestionItem_Type = "select"
)

type LeadForms_Update_Request

type LeadForms_Update_Request struct {
	GroupId int
	FormId  int
	//  MaxLength: 100
	Name string
	//  MaxLength: 60
	Title string
	//  MaxLength: 600
	Description string
	Questions   string
	//  MaxLength: 200
	PolicyLinkUrl string
	Photo         *string
	//  MaxLength: 300
	Confirmation *string
	//  MaxLength: 200
	SiteLinkUrl *string
	//  Default: 0
	Active *bool
	//  Default: 0
	OncePerUser *bool
	PixelCode   *string
	//  Minimum: 0
	NotifyAdmins *[]int
	NotifyEmails *[]string
}

type LeadForms_UploadUrl_Response

type LeadForms_UploadUrl_Response struct {
	//  Format: uri
	Response string `json:"response"`
}

type Likes_Add_Request

type Likes_Add_Request struct {
	// Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion, 'sitepage' — page of the site where the [vk.com/dev/Like|Like widget] is installed
	Type Likes_Type
	// ID of the user or community that owns the object.
	//  Format: int64
	OwnerId *int
	// Object ID.
	//  Minimum: 0
	ItemId int
	// Access key required for an object owned by a private entity.
	AccessKey *string
}

type Likes_Add_Response

type Likes_Add_Response struct {
	Response struct {
		// Total likes number
		Likes int `json:"likes"`
	} `json:"response"`
}

type Likes_Delete_Request

type Likes_Delete_Request struct {
	// Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion, 'sitepage' — page of the site where the [vk.com/dev/Like|Like widget] is installed
	Type Likes_Type
	// ID of the user or community that owns the object.
	//  Format: int64
	OwnerId *int
	// Object ID.
	//  Minimum: 0
	ItemId int
	// Access key required for an object owned by a private entity.
	AccessKey *string
}

type Likes_Delete_Response

type Likes_Delete_Response struct {
	Response struct {
		// Total likes number
		Likes int `json:"likes"`
	} `json:"response"`
}

type Likes_GetListExtended_Response

type Likes_GetListExtended_Response struct {
	Response struct {
		// Total number
		Count int             `json:"count"`
		Items []Users_UserMin `json:"items"`
	} `json:"response"`
}

type Likes_GetList_Filter

type Likes_GetList_Filter string
const (
	Likes_GetList_Filter_Likes  Likes_GetList_Filter = "likes"
	Likes_GetList_Filter_Copies Likes_GetList_Filter = "copies"
)

type Likes_GetList_FriendsOnly

type Likes_GetList_FriendsOnly int
const (
	Likes_GetList_FriendsOnly_0 Likes_GetList_FriendsOnly = 0
	Likes_GetList_FriendsOnly_1 Likes_GetList_FriendsOnly = 1
	Likes_GetList_FriendsOnly_2 Likes_GetList_FriendsOnly = 2
	Likes_GetList_FriendsOnly_3 Likes_GetList_FriendsOnly = 3
)

type Likes_GetList_Request

type Likes_GetList_Request struct {
	// , Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion, 'sitepage' — page of the site where the [vk.com/dev/Like|Like widget] is installed
	Type Likes_Type
	// ID of the user, community, or application that owns the object. If the 'type' parameter is set as 'sitepage', the application ID is passed as 'owner_id'. Use negative value for a community id. If the 'type' parameter is not set, the 'owner_id' is assumed to be either the current user or the same application ID as if the 'type' parameter was set to 'sitepage'.
	//  Format: int64
	OwnerId *int
	// Object ID. If 'type' is set as 'sitepage', 'item_id' can include the 'page_id' parameter value used during initialization of the [vk.com/dev/Like|Like widget].
	ItemId *int
	// URL of the page where the [vk.com/dev/Like|Like widget] is installed. Used instead of the 'item_id' parameter.
	PageUrl *string
	// Filters to apply: 'likes' — returns information about all users who liked the object (default), 'copies' — returns information only about users who told their friends about the object
	Filter *Likes_GetList_Filter
	// Specifies which users are returned: '1' — to return only the current user's friends, '0' — to return all users (default)
	//  Default: 0
	FriendsOnly *Likes_GetList_FriendsOnly
	// Offset needed to select a specific subset of users.
	//  Minimum: 0
	Offset *int
	// Number of user IDs to return (maximum '1000'). Default is '100' if 'friends_only' is set to '0', otherwise, the default is '10' if 'friends_only' is set to '1'.
	//  Minimum: 0
	//  Maximum: 1000
	Count   *int
	SkipOwn *bool
}

type Likes_GetList_Response

type Likes_GetList_Response struct {
	Response struct {
		// Total number
		Count int `json:"count"`
		//  Format: int64
		Items []int `json:"items"`
	} `json:"response"`
}

type Likes_IsLiked_Request

type Likes_IsLiked_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion
	Type Likes_Type
	// ID of the user or community that owns the object.
	//  Format: int64
	OwnerId *int
	// Object ID.
	//  Minimum: 0
	ItemId int
}

type Likes_IsLiked_Response

type Likes_IsLiked_Response struct {
	Response struct {
		// Information whether user reposted the object
		Copied Base_BoolInt `json:"copied"`
		// Information whether user liked the object
		Liked Base_BoolInt `json:"liked"`
	} `json:"response"`
}

type Likes_Type

type Likes_Type string
const (
	Likes_Type_Post          Likes_Type = "post"
	Likes_Type_Comment       Likes_Type = "comment"
	Likes_Type_Photo         Likes_Type = "photo"
	Likes_Type_Audio         Likes_Type = "audio"
	Likes_Type_Video         Likes_Type = "video"
	Likes_Type_Note          Likes_Type = "note"
	Likes_Type_Market        Likes_Type = "market"
	Likes_Type_PhotoComment  Likes_Type = "photo_comment"
	Likes_Type_VideoComment  Likes_Type = "video_comment"
	Likes_Type_TopicComment  Likes_Type = "topic_comment"
	Likes_Type_MarketComment Likes_Type = "market_comment"
	Likes_Type_Sitepage      Likes_Type = "sitepage"
	Likes_Type_Textpost      Likes_Type = "textpost"
)

type LimitClient

type LimitClient http.Client

func NewLimitClient

func NewLimitClient(limit, bursts int) *LimitClient

func (*LimitClient) SetLimit

func (lc *LimitClient) SetLimit(limit, bursts int)

type LimitTransport

type LimitTransport struct {
	// contains filtered or unexported fields
}

func NewLimitTransport

func NewLimitTransport(limit, bursts int) *LimitTransport

func (*LimitTransport) RoundTrip

func (lt *LimitTransport) RoundTrip(req *http.Request) (*http.Response, error)
type Link_TargetObject struct {
	// Item ID
	ItemId *int `json:"item_id,omitempty"`
	// Owner ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// Object type
	Type *string `json:"type,omitempty"`
}

type Market_AddAlbum_Request

type Market_AddAlbum_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Collection title.
	//  MaxLength: 128
	Title string
	// Cover photo ID.
	//  Minimum: 0
	PhotoId *int
	// Set as main ('1' - set, '0' - no).
	MainAlbum *bool
	// Set as hidden
	IsHidden *bool
}

type Market_AddAlbum_Response

type Market_AddAlbum_Response struct {
	Response struct {
		// Albums count
		AlbumsCount *int `json:"albums_count,omitempty"`
		// Album ID
		MarketAlbumId *int `json:"market_album_id,omitempty"`
	} `json:"response"`
}

type Market_AddToAlbum_Request

type Market_AddToAlbum_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	//  Minimum: 0
	ItemIds *[]int
	//  Minimum: 0
	AlbumIds *[]int
}

type Market_Add_Request

type Market_Add_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Item name.
	//  MinLength: 4
	//  MaxLength: 100
	Name string
	// Item description.
	//  MinLength: 10
	Description string
	// Item category ID.
	//  Minimum: 0
	CategoryId int
	// Item price.
	//  Minimum: 0
	Price *float64
	//  Minimum: 0.01
	OldPrice *float64
	// Item status ('1' — deleted, '0' — not deleted).
	Deleted *bool
	// Cover photo ID.
	//  Minimum: 0
	MainPhotoId *int
	//  MaxItems: 4
	//  Minimum: 0
	PhotoIds *[]int
	// Url for button in market item.
	//  MinLength: 0
	//  MaxLength: 320
	Url *string
	//  Minimum: 0
	//  Maximum: 100000
	DimensionWidth *int
	//  Minimum: 0
	//  Maximum: 100000
	DimensionHeight *int
	//  Minimum: 0
	//  Maximum: 100000
	DimensionLength *int
	//  Minimum: 0
	//  Maximum: 1e+08
	Weight *int
	//  MaxLength: 50
	Sku *string
}

type Market_Add_Response

type Market_Add_Response struct {
	Response struct {
		// Item ID
		MarketItemId int `json:"market_item_id"`
	} `json:"response"`
}

type Market_CreateComment_Request

type Market_CreateComment_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Item ID.
	//  Minimum: 0
	ItemId int
	// Comment text (required if 'attachments' parameter is not specified)
	Message     *string
	Attachments *[]string
	// '1' - comment will be published on behalf of a community, '0' - on behalf of a user (by default).
	FromGroup *bool
	// ID of a comment to reply with current comment to.
	//  Minimum: 0
	ReplyToComment *int
	// Sticker ID.
	//  Minimum: 0
	StickerId *int
	// Random value to avoid resending one comment.
	Guid *string
}

type Market_CreateComment_Response

type Market_CreateComment_Response struct {
	// Comment ID
	Response int `json:"response"`
}

type Market_Currency

type Market_Currency struct {
	// Currency ID
	//  Minimum: 0
	Id int `json:"id"`
	// Currency sign
	Name string `json:"name"`
	// Currency title
	Title string `json:"title"`
}

type Market_DeleteAlbum_Request

type Market_DeleteAlbum_Request struct {
	// ID of an collection owner community.
	//  Format: int64
	OwnerId int
	// Collection ID.
	//  Minimum: 0
	AlbumId int
}

type Market_DeleteComment_Request

type Market_DeleteComment_Request struct {
	// identifier of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
	//  Format: int64
	OwnerId int
	// comment id
	//  Minimum: 0
	CommentId int
}

type Market_DeleteComment_Response

type Market_DeleteComment_Response struct {
	// Returns 1 if request has been processed successfully (0 if the comment is not found)
	Response Base_BoolInt `json:"response"`
}

type Market_Delete_Request

type Market_Delete_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Item ID.
	//  Minimum: 0
	ItemId int
}

type Market_EditAlbum_Request

type Market_EditAlbum_Request struct {
	// ID of an collection owner community.
	//  Format: int64
	OwnerId int
	// Collection ID.
	//  Minimum: 0
	AlbumId int
	// Collection title.
	//  MaxLength: 128
	Title string
	// Cover photo id
	//  Minimum: 0
	PhotoId *int
	// Set as main ('1' - set, '0' - no).
	MainAlbum *bool
	// Set as hidden
	IsHidden *bool
}

type Market_EditComment_Request

type Market_EditComment_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Comment ID.
	//  Minimum: 0
	CommentId int
	// New comment text (required if 'attachments' are not specified), , 2048 symbols maximum.
	Message     *string
	Attachments *[]string
}

type Market_EditOrder_PaymentStatus

type Market_EditOrder_PaymentStatus string
const (
	Market_EditOrder_PaymentStatus_NotPaid  Market_EditOrder_PaymentStatus = "not_paid"
	Market_EditOrder_PaymentStatus_Paid     Market_EditOrder_PaymentStatus = "paid"
	Market_EditOrder_PaymentStatus_Returned Market_EditOrder_PaymentStatus = "returned"
)

type Market_EditOrder_Request

type Market_EditOrder_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserId int
	//  Minimum: 0
	OrderId int
	//  MaxLength: 800
	MerchantComment *string
	//  Minimum: 0
	Status *int
	//  MaxLength: 60
	TrackNumber   *string
	PaymentStatus *Market_EditOrder_PaymentStatus
	//  Minimum: 0
	DeliveryPrice *int
	//  Minimum: 0
	//  Maximum: 100000
	Width *int
	//  Minimum: 0
	//  Maximum: 100000
	Length *int
	//  Minimum: 0
	//  Maximum: 100000
	Height *int
	//  Minimum: 0
	//  Maximum: 1e+08
	Weight *int
}

type Market_Edit_Request

type Market_Edit_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Item ID.
	//  Minimum: 0
	ItemId int
	// Item name.
	//  MinLength: 4
	//  MaxLength: 100
	Name *string
	// Item description.
	//  MinLength: 10
	Description *string
	// Item category ID.
	//  Minimum: 0
	CategoryId *int
	// Item price.
	//  Minimum: 0
	Price *float64
	//  Minimum: 0.01
	OldPrice *float64
	// Item status ('1' — deleted, '0' — not deleted).
	Deleted *bool
	// Cover photo ID.
	//  Minimum: 0
	MainPhotoId *int
	//  MaxItems: 4
	//  Minimum: 0
	PhotoIds *[]int
	// Url for button in market item.
	//  MinLength: 0
	//  MaxLength: 320
	Url *string
	//  Minimum: 0
	//  Maximum: 100000
	DimensionWidth *int
	//  Minimum: 0
	//  Maximum: 100000
	DimensionHeight *int
	//  Minimum: 0
	//  Maximum: 100000
	DimensionLength *int
	//  Minimum: 0
	//  Maximum: 1e+08
	Weight *int
	//  MaxLength: 50
	Sku *string
}

type Market_GetAlbumById_Request

type Market_GetAlbumById_Request struct {
	// identifier of an album owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
	//  Format: int64
	OwnerId int
	//  Minimum: 0
	AlbumIds *[]int
}

type Market_GetAlbumById_Response

type Market_GetAlbumById_Response struct {
	Response struct {
		// Total number
		Count *int                  `json:"count,omitempty"`
		Items *[]Market_MarketAlbum `json:"items,omitempty"`
	} `json:"response"`
}

type Market_GetAlbums_Request

type Market_GetAlbums_Request struct {
	// ID of an items owner community.
	//  Format: int64
	OwnerId int
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
	// Number of items to return.
	//  Default: 50
	//  Minimum: 0
	//  Maximum: 100
	Count *int
}

type Market_GetAlbums_Response

type Market_GetAlbums_Response struct {
	Response struct {
		// Total number
		Count *int                  `json:"count,omitempty"`
		Items *[]Market_MarketAlbum `json:"items,omitempty"`
	} `json:"response"`
}

type Market_GetByIdExtended_Response

type Market_GetByIdExtended_Response struct {
	Response struct {
		// Total number
		Count *int                     `json:"count,omitempty"`
		Items *[]Market_MarketItemFull `json:"items,omitempty"`
	} `json:"response"`
}

type Market_GetById_Request

type Market_GetById_Request struct {
	//  MaxItems: 100
	ItemIds *[]string
}

type Market_GetById_Response

type Market_GetById_Response struct {
	Response struct {
		// Total number
		Count *int                 `json:"count,omitempty"`
		Items *[]Market_MarketItem `json:"items,omitempty"`
	} `json:"response"`
}

type Market_GetCategoriesNew_Response

type Market_GetCategoriesNew_Response struct {
	Response struct {
		Items []Market_MarketCategoryTree `json:"items"`
	} `json:"response"`
}

type Market_GetCategories_Request

type Market_GetCategories_Request struct {
	// Number of results to return.
	//  Default: 10
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
}

type Market_GetCategories_Response

type Market_GetCategories_Response struct {
	Response struct {
		// Total number
		Count *int                     `json:"count,omitempty"`
		Items *[]Market_MarketCategory `json:"items,omitempty"`
	} `json:"response"`
}

type Market_GetComments_Request

type Market_GetComments_Request struct {
	// ID of an item owner community
	//  Format: int64
	OwnerId int
	// Item ID.
	//  Minimum: 0
	ItemId int
	// '1' — to return likes info.
	NeedLikes *bool
	// ID of a comment to start a list from (details below).
	//  Minimum: 0
	StartCommentId *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// Number of results to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	// Sort order ('asc' — from old to new, 'desc' — from new to old)
	//  Default: asc
	Sort *Market_GetComments_Sort
	// '1' — comments will be returned as numbered objects, in addition lists of 'profiles' and 'groups' objects will be returned.
	Extended *bool
	Fields   *[]Users_Fields
}

type Market_GetComments_Response

type Market_GetComments_Response struct {
	Response struct {
		// Total number
		Count *int                `json:"count,omitempty"`
		Items *[]Wall_WallComment `json:"items,omitempty"`
	} `json:"response"`
}

type Market_GetComments_Sort

type Market_GetComments_Sort string
const (
	Market_GetComments_Sort_OldToNew Market_GetComments_Sort = "asc"
	Market_GetComments_Sort_NewToOld Market_GetComments_Sort = "desc"
)

type Market_GetExtended_Response

type Market_GetExtended_Response struct {
	Response struct {
		// Total number
		Count    *int                     `json:"count,omitempty"`
		Items    *[]Market_MarketItemFull `json:"items,omitempty"`
		Variants *[]Market_MarketItemFull `json:"variants,omitempty"`
	} `json:"response"`
}

type Market_GetGroupOrders_Request

type Market_GetGroupOrders_Request struct {
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 1
	//  Maximum: 50
	Count *int
}

type Market_GetGroupOrders_Response

type Market_GetGroupOrders_Response struct {
	Response struct {
		// Total number
		//  Minimum: 0
		Count int            `json:"count"`
		Items []Market_Order `json:"items"`
	} `json:"response"`
}

type Market_GetOrderById_Request

type Market_GetOrderById_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Minimum: 0
	OrderId  int
	Extended *bool
}

type Market_GetOrderById_Response

type Market_GetOrderById_Response struct {
	Response struct {
		Order *Market_Order `json:"order,omitempty"`
	} `json:"response"`
}

type Market_GetOrderItems_Request

type Market_GetOrderItems_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Minimum: 0
	OrderId int
	//  Minimum: 0
	Offset *int
	//  Default: 50
	//  Minimum: 0
	Count *int
}

type Market_GetOrderItems_Response

type Market_GetOrderItems_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Market_OrderItem `json:"items"`
	} `json:"response"`
}

type Market_GetOrdersExtended_Response

type Market_GetOrdersExtended_Response struct {
	Response struct {
		// Total number
		//  Minimum: 0
		Count  int                 `json:"count"`
		Groups *[]Groups_GroupFull `json:"groups,omitempty"`
		Items  []Market_Order      `json:"items"`
	} `json:"response"`
}

type Market_GetOrders_Request

type Market_GetOrders_Request struct {
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 0
	//  Maximum: 10
	Count *int
	// Orders status updated date from (format: yyyy-mm-dd)
	DateFrom *string
	// Orders status updated date to (format: yyyy-mm-dd)
	DateTo *string
}

type Market_GetOrders_Response

type Market_GetOrders_Response struct {
	Response struct {
		// Total number
		//  Minimum: 0
		Count int            `json:"count"`
		Items []Market_Order `json:"items"`
	} `json:"response"`
}

type Market_Get_Request

type Market_Get_Request struct {
	// ID of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
	//  Format: int64
	OwnerId int
	//  Default: 0
	//  Format: int32
	//  Minimum: 0
	AlbumId *int
	// Number of items to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
	// Items update date from (format: yyyy-mm-dd)
	DateFrom *string
	// Items update date to (format: yyyy-mm-dd)
	DateTo *string
	// Add variants to response if exist
	NeedVariants *bool
	// Add disabled items to response
	WithDisabled *bool
}

type Market_Get_Response

type Market_Get_Response struct {
	Response struct {
		// Total number
		Count    *int                 `json:"count,omitempty"`
		Items    *[]Market_MarketItem `json:"items,omitempty"`
		Variants *[]Market_MarketItem `json:"variants,omitempty"`
	} `json:"response"`
}

type Market_MarketAlbum

type Market_MarketAlbum struct {
	// Items number
	//  Minimum: 0
	Count int `json:"count"`
	// Market album ID
	//  Minimum: 1
	Id int `json:"id"`
	// Is album hidden
	IsHidden *bool `json:"is_hidden,omitempty"`
	// Is album main for owner
	IsMain *bool `json:"is_main,omitempty"`
	// Market album owner's ID
	//  Format: int64
	OwnerId int           `json:"owner_id"`
	Photo   *Photos_Photo `json:"photo,omitempty"`
	// Market album title
	Title string `json:"title"`
	// Date when album has been updated last time in Unixtime
	//  Minimum: 0
	UpdatedTime int `json:"updated_time"`
}

type Market_MarketCategory

type Market_MarketCategory Market_MarketCategoryOld

type Market_MarketCategoryNested

type Market_MarketCategoryNested struct {
	// Category ID
	Id int `json:"id"`
	// Category name
	Name   string                       `json:"name"`
	Parent *Market_MarketCategoryNested `json:"parent,omitempty"`
}

type Market_MarketCategoryOld

type Market_MarketCategoryOld struct {
	// Category ID
	Id int `json:"id"`
	// Category name
	Name    string         `json:"name"`
	Section Market_Section `json:"section"`
}

type Market_MarketCategoryTree

type Market_MarketCategoryTree struct {
	Children *[]Market_MarketCategoryTree `json:"children,omitempty"`
	// Category ID
	Id int `json:"id"`
	// Category name
	Name string `json:"name"`
}

type Market_MarketItem

type Market_MarketItem struct {
	// Access key for the market item
	AccessKey    *string                       `json:"access_key,omitempty"`
	Availability Market_MarketItemAvailability `json:"availability"`
	// Title for button for url
	ButtonTitle *string               `json:"button_title,omitempty"`
	Category    Market_MarketCategory `json:"category"`
	// Date when the item has been created in Unixtime
	//  Minimum: 0
	Date *int `json:"date,omitempty"`
	// Item description
	Description string  `json:"description"`
	ExternalId  *string `json:"external_id,omitempty"`
	// Item ID
	//  Minimum: 0
	Id            int   `json:"id"`
	IsFavorite    *bool `json:"is_favorite,omitempty"`
	IsMainVariant *bool `json:"is_main_variant,omitempty"`
	// Item owner's ID
	//  Format: int64
	OwnerId int          `json:"owner_id"`
	Price   Market_Price `json:"price"`
	//  MaxLength: 50
	Sku *string `json:"sku,omitempty"`
	// URL of the preview image
	//  Format: uri
	ThumbPhoto *string `json:"thumb_photo,omitempty"`
	// Item title
	Title string `json:"title"`
	// URL to item
	//  Format: uri
	Url *string `json:"url,omitempty"`
	//  Minimum: 0
	VariantsGroupingId *int `json:"variants_grouping_id,omitempty"`
}

type Market_MarketItemAvailability

type Market_MarketItemAvailability int

Market_MarketItemAvailability Information whether the item is available

const (
	Market_MarketItemAvailability_Available   Market_MarketItemAvailability = 0
	Market_MarketItemAvailability_Removed     Market_MarketItemAvailability = 1
	Market_MarketItemAvailability_Unavailable Market_MarketItemAvailability = 2
)

type Market_MarketItemFull

type Market_MarketItemFull struct {
	Market_MarketItem
	// Contains ad ID if it has
	AdId      *int   `json:"ad_id,omitempty"`
	AlbumsIds *[]int `json:"albums_ids,omitempty"`
	// Information whether current use can comment the item
	CanComment *Base_BoolInt `json:"can_comment,omitempty"`
	// Information whether current use can repost the item
	CanRepost *Base_BoolInt `json:"can_repost,omitempty"`
	// Information for cancel and revert order
	CancelInfo *Base_Link        `json:"cancel_info,omitempty"`
	Likes      *Base_Likes       `json:"likes,omitempty"`
	Photos     *[]Photos_Photo   `json:"photos,omitempty"`
	Reposts    *Base_RepostsInfo `json:"reposts,omitempty"`
	// User agreement info
	UserAgreementInfo *string `json:"user_agreement_info,omitempty"`
	// Views number
	ViewsCount *int `json:"views_count,omitempty"`
	// Object identifier in wishlist of viewer
	WishlistItemId *int `json:"wishlist_item_id,omitempty"`
}

type Market_Order

type Market_Order struct {
	Address *string `json:"address,omitempty"`
	// Information for cancel and revert order
	CancelInfo *Base_Link `json:"cancel_info,omitempty"`
	Comment    *string    `json:"comment,omitempty"`
	//  Minimum: 0
	Date           int     `json:"date"`
	DisplayOrderId *string `json:"display_order_id,omitempty"`
	//  Format: int64
	//  Minimum: 0
	GroupId int `json:"group_id"`
	//  Minimum: 0
	Id int `json:"id"`
	//  Minimum: 0
	ItemsCount      int     `json:"items_count"`
	MerchantComment *string `json:"merchant_comment,omitempty"`
	// Several order items for preview
	PreviewOrderItems *[]Market_OrderItem `json:"preview_order_items,omitempty"`
	//  Minimum: 0
	Status      int          `json:"status"`
	TotalPrice  Market_Price `json:"total_price"`
	TrackLink   *string      `json:"track_link,omitempty"`
	TrackNumber *string      `json:"track_number,omitempty"`
	//  Format: int64
	//  Minimum: 0
	UserId int `json:"user_id"`
	//  Minimum: 0
	Weight *int `json:"weight,omitempty"`
}

type Market_OrderItem

type Market_OrderItem struct {
	Item   Market_MarketItem `json:"item"`
	ItemId int               `json:"item_id"`
	//  Format: int64
	OwnerId int           `json:"owner_id"`
	Photo   *Photos_Photo `json:"photo,omitempty"`
	Price   Market_Price  `json:"price"`
	//  Minimum: 0
	Quantity int       `json:"quantity"`
	Title    *string   `json:"title,omitempty"`
	Variants *[]string `json:"variants,omitempty"`
}

type Market_Price

type Market_Price struct {
	// Amount
	Amount       string          `json:"amount"`
	Currency     Market_Currency `json:"currency"`
	DiscountRate *int            `json:"discount_rate,omitempty"`
	OldAmount    *string         `json:"old_amount,omitempty"`
	// Textual representation of old price
	OldAmountText *string `json:"old_amount_text,omitempty"`
	// Text
	Text string `json:"text"`
}

type Market_RemoveFromAlbum_Request

type Market_RemoveFromAlbum_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Item ID.
	//  Minimum: 0
	ItemId int
	//  Minimum: 0
	AlbumIds *[]int
}

type Market_ReorderAlbums_Request

type Market_ReorderAlbums_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Collection ID.
	AlbumId int
	// ID of a collection to place current collection before it.
	//  Minimum: 0
	Before *int
	// ID of a collection to place current collection after it.
	//  Minimum: 0
	After *int
}

type Market_ReorderItems_Request

type Market_ReorderItems_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// ID of a collection to reorder items in. Set 0 to reorder full items list.
	AlbumId *int
	// Item ID.
	//  Minimum: 0
	ItemId int
	// ID of an item to place current item before it.
	//  Minimum: 0
	Before *int
	// ID of an item to place current item after it.
	//  Minimum: 0
	After *int
}

type Market_ReportComment_Reason

type Market_ReportComment_Reason int
const (
	Market_ReportComment_Reason_Spam             Market_ReportComment_Reason = 0
	Market_ReportComment_Reason_ChildPornography Market_ReportComment_Reason = 1
	Market_ReportComment_Reason_Extremism        Market_ReportComment_Reason = 2
	Market_ReportComment_Reason_Violence         Market_ReportComment_Reason = 3
	Market_ReportComment_Reason_DrugPropaganda   Market_ReportComment_Reason = 4
	Market_ReportComment_Reason_AdultMaterial    Market_ReportComment_Reason = 5
	Market_ReportComment_Reason_InsultAbuse      Market_ReportComment_Reason = 6
)

type Market_ReportComment_Request

type Market_ReportComment_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Comment ID.
	//  Minimum: 0
	CommentId int
	// Complaint reason. Possible values: *'0' — spam,, *'1' — child porn,, *'2' — extremism,, *'3' — violence,, *'4' — drugs propaganda,, *'5' — adult materials,, *'6' — insult.
	//  Minimum: 0
	Reason Market_ReportComment_Reason
}

type Market_Report_Reason

type Market_Report_Reason int
const (
	Market_Report_Reason_Spam             Market_Report_Reason = 0
	Market_Report_Reason_ChildPornography Market_Report_Reason = 1
	Market_Report_Reason_Extremism        Market_Report_Reason = 2
	Market_Report_Reason_Violence         Market_Report_Reason = 3
	Market_Report_Reason_DrugPropaganda   Market_Report_Reason = 4
	Market_Report_Reason_AdultMaterial    Market_Report_Reason = 5
	Market_Report_Reason_InsultAbuse      Market_Report_Reason = 6
)

type Market_Report_Request

type Market_Report_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Item ID.
	//  Minimum: 0
	ItemId int
	// Complaint reason. Possible values: *'0' — spam,, *'1' — child porn,, *'2' — extremism,, *'3' — violence,, *'4' — drugs propaganda,, *'5' — adult materials,, *'6' — insult.
	//  Default: 0
	//  Minimum: 0
	Reason *Market_Report_Reason
}

type Market_RestoreComment_Request

type Market_RestoreComment_Request struct {
	// identifier of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
	//  Format: int64
	OwnerId int
	// deleted comment id
	//  Minimum: 0
	CommentId int
}

type Market_RestoreComment_Response

type Market_RestoreComment_Response struct {
	// Returns 1 if request has been processed successfully (0 if the comment is not found)
	Response Base_BoolInt `json:"response"`
}

type Market_Restore_Request

type Market_Restore_Request struct {
	// ID of an item owner community.
	//  Format: int64
	OwnerId int
	// Deleted item ID.
	//  Minimum: 0
	ItemId int
}

type Market_SearchExtended_Response

type Market_SearchExtended_Response struct {
	Response struct {
		// Total number
		Count    int                      `json:"count"`
		Items    []Market_MarketItemFull  `json:"items"`
		Variants *[]Market_MarketItemFull `json:"variants,omitempty"`
		ViewType Market_ServicesViewType  `json:"view_type"`
	} `json:"response"`
}

type Market_SearchItems_Request

type Market_SearchItems_Request struct {
	Q string
	//  Default: 0
	Offset *int
	//  Default: 30
	//  Minimum: 0
	//  Maximum: 300
	Count *int
	//  Minimum: 0
	CategoryId *int
	//  Minimum: 0
	PriceFrom *int
	//  Minimum: 0
	PriceTo *int
	//  Default: 3
	SortBy *Market_SearchItems_SortBy
	//  Default: 1
	SortDirection *Market_SearchItems_SortDirection
	//  Minimum: 0
	Country *int
	//  Minimum: 0
	City *int
}

type Market_SearchItems_SortBy

type Market_SearchItems_SortBy int
const (
	Market_SearchItems_SortBy_Date      Market_SearchItems_SortBy = 1
	Market_SearchItems_SortBy_Price     Market_SearchItems_SortBy = 2
	Market_SearchItems_SortBy_Relevance Market_SearchItems_SortBy = 3
)

type Market_SearchItems_SortDirection

type Market_SearchItems_SortDirection int
const (
	Market_SearchItems_SortDirection_0 Market_SearchItems_SortDirection = 0
	Market_SearchItems_SortDirection_1 Market_SearchItems_SortDirection = 1
)

type Market_Search_Request

type Market_Search_Request struct {
	// ID of an items owner community.
	//  Format: int64
	OwnerId int
	//  Minimum: 0
	AlbumId *int
	// Search query, for example "pink slippers".
	Q *string
	// Minimum item price value.
	//  Minimum: 0
	PriceFrom *int
	// Maximum item price value.
	//  Minimum: 0
	PriceTo *int
	//  Default: 0
	Sort *Market_Search_Sort
	// '0' — do not use reverse order, '1' — use reverse order
	//  Default: 1
	//  Minimum: 0
	Rev *Market_Search_Rev
	// Offset needed to return a specific subset of results.
	//  Minimum: 0
	Offset *int
	// Number of items to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	//  MaxItems: 2
	Status *[]int
	// Add variants to response if exist
	NeedVariants *bool
}

type Market_Search_Response

type Market_Search_Response struct {
	Response struct {
		// Total number
		Count    int                     `json:"count"`
		Groups   *[]Groups_GroupFull     `json:"groups,omitempty"`
		Items    []Market_MarketItem     `json:"items"`
		Variants *[]Market_MarketItem    `json:"variants,omitempty"`
		ViewType Market_ServicesViewType `json:"view_type"`
	} `json:"response"`
}

type Market_Search_Rev

type Market_Search_Rev int
const (
	Market_Search_Rev_Normal  Market_Search_Rev = 0
	Market_Search_Rev_Reverse Market_Search_Rev = 1
)

type Market_Search_Sort

type Market_Search_Sort int
const (
	Market_Search_Sort_Default   Market_Search_Sort = 0
	Market_Search_Sort_Date      Market_Search_Sort = 1
	Market_Search_Sort_Price     Market_Search_Sort = 2
	Market_Search_Sort_Relevance Market_Search_Sort = 3
)

type Market_Section

type Market_Section struct {
	// Section ID
	//  Minimum: 0
	Id int `json:"id"`
	// Section name
	Name string `json:"name"`
}

type Market_ServicesViewType

type Market_ServicesViewType int

Market_ServicesViewType Type of view. 1 - cards, 2 - rows

const (
	Market_ServicesViewType_Cards Market_ServicesViewType = 1
	Market_ServicesViewType_Rows  Market_ServicesViewType = 2
)

type Messages_AddChatUser_Request

type Messages_AddChatUser_Request struct {
	// Chat ID.
	//  Minimum: 0
	//  Maximum: 1e+08
	ChatId int
	// ID of the user to be added to the chat.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Minimum: 0
	//  Maximum: 1000
	VisibleMessagesCount *int
}

type Messages_AllowMessagesFromGroup_Request

type Messages_AllowMessagesFromGroup_Request struct {
	// Group ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	//  MaxLength: 256
	Key *string
}

type Messages_AudioMessage

type Messages_AudioMessage struct {
	// Access key for audio message
	AccessKey *string `json:"access_key,omitempty"`
	// Audio message duration in seconds
	//  Minimum: 0
	Duration int `json:"duration"`
	// Audio message ID
	//  Minimum: 0
	Id int `json:"id"`
	// MP3 file URL
	//  Format: uri
	LinkMp3 string `json:"link_mp3"`
	// OGG file URL
	//  Format: uri
	LinkOgg string `json:"link_ogg"`
	// Audio message owner ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	//  Minimum: 1
	//  Maximum: 11
	TranscriptError *int `json:"transcript_error,omitempty"`
	//  Minimum: 0
	Waveform []int `json:"waveform"`
}

type Messages_Chat

type Messages_Chat struct {
	// Chat creator ID
	//  Format: int64
	AdminId int `json:"admin_id"`
	// Chat ID
	Id int `json:"id"`
	// If provided photo is default
	IsDefaultPhoto *bool `json:"is_default_photo,omitempty"`
	// If chat is group channel
	IsGroupChannel *bool `json:"is_group_channel,omitempty"`
	// Shows that user has been kicked from the chat
	Kicked *Base_BoolInt `json:"kicked,omitempty"`
	// Shows that user has been left the chat
	Left *Base_BoolInt `json:"left,omitempty"`
	// Count members in a chat
	MembersCount int `json:"members_count"`
	// URL of the preview image with 100 px in width
	//  Format: uri
	Photo100 *string `json:"photo_100,omitempty"`
	// URL of the preview image with 200 px in width
	//  Format: uri
	Photo200 *string `json:"photo_200,omitempty"`
	// URL of the preview image with 50 px in width
	//  Format: uri
	Photo50      *string                    `json:"photo_50,omitempty"`
	PushSettings *Messages_ChatPushSettings `json:"push_settings,omitempty"`
	// Chat title
	Title *string `json:"title,omitempty"`
	// Chat type
	Type string `json:"type"`
	//  Format: int64
	Users []int `json:"users"`
}

type Messages_ChatFull

type Messages_ChatFull struct {
	// Chat creator ID
	//  Format: int64
	AdminId int `json:"admin_id"`
	// Chat ID
	Id int `json:"id"`
	// Shows that user has been kicked from the chat
	Kicked *Base_BoolInt `json:"kicked,omitempty"`
	// Shows that user has been left the chat
	Left *Base_BoolInt `json:"left,omitempty"`
	// URL of the preview image with 100 px in width
	//  Format: uri
	Photo100 *string `json:"photo_100,omitempty"`
	// URL of the preview image with 200 px in width
	//  Format: uri
	Photo200 *string `json:"photo_200,omitempty"`
	// URL of the preview image with 50 px in width
	//  Format: uri
	Photo50      *string                    `json:"photo_50,omitempty"`
	PushSettings *Messages_ChatPushSettings `json:"push_settings,omitempty"`
	// Chat title
	Title *string `json:"title,omitempty"`
	// Chat type
	Type  string                      `json:"type"`
	Users []Messages_UserXtrInvitedBy `json:"users"`
}

type Messages_ChatPreview

type Messages_ChatPreview struct {
	//  Format: int64
	//  Minimum: 0
	AdminId        *int             `json:"admin_id,omitempty"`
	Button         *Base_LinkButton `json:"button,omitempty"`
	IsDon          *bool            `json:"is_don,omitempty"`
	IsGroupChannel *bool            `json:"is_group_channel,omitempty"`
	IsMember       *bool            `json:"is_member,omitempty"`
	Joined         *bool            `json:"joined,omitempty"`
	LocalId        *int             `json:"local_id,omitempty"`
	//  Format: int64
	Members *[]int `json:"members,omitempty"`
	//  Minimum: 0
	MembersCount *int                        `json:"members_count,omitempty"`
	Photo        *Messages_ChatSettingsPhoto `json:"photo,omitempty"`
	Title        *string                     `json:"title,omitempty"`
}

type Messages_ChatPushSettings

type Messages_ChatPushSettings struct {
	// Time until that notifications are disabled
	DisabledUntil *int `json:"disabled_until,omitempty"`
	// Information whether the sound is on
	Sound *Base_BoolInt `json:"sound,omitempty"`
}

type Messages_ChatRestrictions

type Messages_ChatRestrictions struct {
	// Only admins can promote users to admins
	AdminsPromoteUsers *bool `json:"admins_promote_users,omitempty"`
	// Only admins can change chat info
	OnlyAdminsEditInfo *bool `json:"only_admins_edit_info,omitempty"`
	// Only admins can edit pinned message
	OnlyAdminsEditPin *bool `json:"only_admins_edit_pin,omitempty"`
	// Only admins can invite users to this chat
	OnlyAdminsInvite *bool `json:"only_admins_invite,omitempty"`
	// Only admins can kick users from this chat
	OnlyAdminsKick *bool `json:"only_admins_kick,omitempty"`
}

type Messages_ChatSettings

type Messages_ChatSettings struct {
	Acl Messages_ChatSettingsAcl `json:"acl"`
	//  Format: int64
	ActiveIds []int `json:"active_ids"`
	// Ids of chat admins
	//  Format: int64
	AdminIds             *[]int  `json:"admin_ids,omitempty"`
	DisappearingChatLink *string `json:"disappearing_chat_link,omitempty"`
	FriendsCount         *int    `json:"friends_count,omitempty"`
	IsDisappearing       *bool   `json:"is_disappearing,omitempty"`
	IsGroupChannel       *bool   `json:"is_group_channel,omitempty"`
	IsService            *bool   `json:"is_service,omitempty"`
	MembersCount         *int    `json:"members_count,omitempty"`
	//  Format: int64
	OwnerId       int                               `json:"owner_id"`
	Permissions   *Messages_ChatSettingsPermissions `json:"permissions,omitempty"`
	Photo         *Messages_ChatSettingsPhoto       `json:"photo,omitempty"`
	PinnedMessage *Messages_PinnedMessage           `json:"pinned_message,omitempty"`
	State         Messages_ChatSettingsState        `json:"state"`
	Theme         *string                           `json:"theme,omitempty"`
	// Chat title
	Title string `json:"title"`
}

type Messages_ChatSettingsAcl

type Messages_ChatSettingsAcl struct {
	// Can you init group call in the chat
	CanCall bool `json:"can_call"`
	// Can you change photo, description and name
	CanChangeInfo bool `json:"can_change_info"`
	// Can you change invite link for this chat
	CanChangeInviteLink bool `json:"can_change_invite_link"`
	// Can you pin/unpin message for this chat
	CanChangePin bool `json:"can_change_pin"`
	// Can you change chat service type
	CanChangeServiceType *bool `json:"can_change_service_type,omitempty"`
	// Can you copy chat
	CanCopyChat bool `json:"can_copy_chat"`
	// Can you invite other peers in chat
	CanInvite bool `json:"can_invite"`
	// Can you moderate (delete) other users' messages
	CanModerate bool `json:"can_moderate"`
	// Can you promote simple users to chat admins
	CanPromoteUsers bool `json:"can_promote_users"`
	// Can you see invite link for this chat
	CanSeeInviteLink bool `json:"can_see_invite_link"`
	// Can you use mass mentions
	CanUseMassMentions bool `json:"can_use_mass_mentions"`
}

type Messages_ChatSettingsPermissions

type Messages_ChatSettingsPermissions struct {
	// Who can make calls
	Call *Messages_ChatSettingsPermissions_Call `json:"call,omitempty"`
	// Who can change admins
	ChangeAdmins *Messages_ChatSettingsPermissions_ChangeAdmins `json:"change_admins,omitempty"`
	// Who can change chat info
	ChangeInfo *Messages_ChatSettingsPermissions_ChangeInfo `json:"change_info,omitempty"`
	// Who can change pinned message
	ChangePin *Messages_ChatSettingsPermissions_ChangePin `json:"change_pin,omitempty"`
	// Who can invite users to chat
	Invite *Messages_ChatSettingsPermissions_Invite `json:"invite,omitempty"`
	// Who can see invite link
	SeeInviteLink *Messages_ChatSettingsPermissions_SeeInviteLink `json:"see_invite_link,omitempty"`
	// Who can use mass mentions
	UseMassMentions *Messages_ChatSettingsPermissions_UseMassMentions `json:"use_mass_mentions,omitempty"`
}

type Messages_ChatSettingsPermissions_Call

type Messages_ChatSettingsPermissions_Call string
const (
	Messages_ChatSettingsPermissions_Call_Owner          Messages_ChatSettingsPermissions_Call = "owner"
	Messages_ChatSettingsPermissions_Call_OwnerAndAdmins Messages_ChatSettingsPermissions_Call = "owner_and_admins"
	Messages_ChatSettingsPermissions_Call_All            Messages_ChatSettingsPermissions_Call = "all"
)

type Messages_ChatSettingsPermissions_ChangeAdmins

type Messages_ChatSettingsPermissions_ChangeAdmins string
const (
	Messages_ChatSettingsPermissions_ChangeAdmins_Owner          Messages_ChatSettingsPermissions_ChangeAdmins = "owner"
	Messages_ChatSettingsPermissions_ChangeAdmins_OwnerAndAdmins Messages_ChatSettingsPermissions_ChangeAdmins = "owner_and_admins"
)

type Messages_ChatSettingsPermissions_ChangeInfo

type Messages_ChatSettingsPermissions_ChangeInfo string
const (
	Messages_ChatSettingsPermissions_ChangeInfo_Owner          Messages_ChatSettingsPermissions_ChangeInfo = "owner"
	Messages_ChatSettingsPermissions_ChangeInfo_OwnerAndAdmins Messages_ChatSettingsPermissions_ChangeInfo = "owner_and_admins"
	Messages_ChatSettingsPermissions_ChangeInfo_All            Messages_ChatSettingsPermissions_ChangeInfo = "all"
)

type Messages_ChatSettingsPermissions_ChangePin

type Messages_ChatSettingsPermissions_ChangePin string
const (
	Messages_ChatSettingsPermissions_ChangePin_Owner          Messages_ChatSettingsPermissions_ChangePin = "owner"
	Messages_ChatSettingsPermissions_ChangePin_OwnerAndAdmins Messages_ChatSettingsPermissions_ChangePin = "owner_and_admins"
	Messages_ChatSettingsPermissions_ChangePin_All            Messages_ChatSettingsPermissions_ChangePin = "all"
)

type Messages_ChatSettingsPermissions_Invite

type Messages_ChatSettingsPermissions_Invite string
const (
	Messages_ChatSettingsPermissions_Invite_Owner          Messages_ChatSettingsPermissions_Invite = "owner"
	Messages_ChatSettingsPermissions_Invite_OwnerAndAdmins Messages_ChatSettingsPermissions_Invite = "owner_and_admins"
	Messages_ChatSettingsPermissions_Invite_All            Messages_ChatSettingsPermissions_Invite = "all"
)
type Messages_ChatSettingsPermissions_SeeInviteLink string
const (
	Messages_ChatSettingsPermissions_SeeInviteLink_Owner          Messages_ChatSettingsPermissions_SeeInviteLink = "owner"
	Messages_ChatSettingsPermissions_SeeInviteLink_OwnerAndAdmins Messages_ChatSettingsPermissions_SeeInviteLink = "owner_and_admins"
	Messages_ChatSettingsPermissions_SeeInviteLink_All            Messages_ChatSettingsPermissions_SeeInviteLink = "all"
)

type Messages_ChatSettingsPermissions_UseMassMentions

type Messages_ChatSettingsPermissions_UseMassMentions string
const (
	Messages_ChatSettingsPermissions_UseMassMentions_Owner          Messages_ChatSettingsPermissions_UseMassMentions = "owner"
	Messages_ChatSettingsPermissions_UseMassMentions_OwnerAndAdmins Messages_ChatSettingsPermissions_UseMassMentions = "owner_and_admins"
	Messages_ChatSettingsPermissions_UseMassMentions_All            Messages_ChatSettingsPermissions_UseMassMentions = "all"
)

type Messages_ChatSettingsPhoto

type Messages_ChatSettingsPhoto struct {
	// If provided photo is default call photo
	IsDefaultCallPhoto *bool `json:"is_default_call_photo,omitempty"`
	// If provided photo is default
	IsDefaultPhoto *bool `json:"is_default_photo,omitempty"`
	// URL of the preview image with 100px in width
	//  Format: uri
	Photo100 *string `json:"photo_100,omitempty"`
	// URL of the preview image with 200px in width
	//  Format: uri
	Photo200 *string `json:"photo_200,omitempty"`
	// URL of the preview image with 50px in width
	//  Format: uri
	Photo50 *string `json:"photo_50,omitempty"`
}

type Messages_ChatSettingsState

type Messages_ChatSettingsState string
const (
	Messages_ChatSettingsState_In     Messages_ChatSettingsState = "in"
	Messages_ChatSettingsState_Kicked Messages_ChatSettingsState = "kicked"
	Messages_ChatSettingsState_Left   Messages_ChatSettingsState = "left"
)

type Messages_Conversation

type Messages_Conversation struct {
	CanWrite        *Messages_ConversationCanWrite `json:"can_write,omitempty"`
	ChatSettings    *Messages_ChatSettings         `json:"chat_settings,omitempty"`
	CurrentKeyboard *Messages_Keyboard             `json:"current_keyboard,omitempty"`
	Important       *bool                          `json:"important,omitempty"`
	// Last message user have read
	//  Minimum: 0
	InRead int `json:"in_read"`
	// Is this conversation uread
	IsMarkedUnread *bool `json:"is_marked_unread,omitempty"`
	// Conversation message ID of the last message in conversation
	//  Minimum: 0
	LastConversationMessageId *int `json:"last_conversation_message_id,omitempty"`
	// ID of the last message in conversation
	//  Minimum: 0
	LastMessageId int `json:"last_message_id"`
	// Ids of messages with mentions
	Mentions           *[]int                       `json:"mentions,omitempty"`
	MessageRequestData *Messages_MessageRequestData `json:"message_request_data,omitempty"`
	// Last outcoming message have been read by the opponent
	//  Minimum: 0
	OutRead            int                                       `json:"out_read"`
	OutReadBy          *Messages_OutReadBy                       `json:"out_read_by,omitempty"`
	Peer               Messages_ConversationPeer                 `json:"peer"`
	PushSettings       *Messages_PushSettings                    `json:"push_settings,omitempty"`
	SortId             *Messages_ConversationSortId              `json:"sort_id,omitempty"`
	SpecialServiceType *Messages_Conversation_SpecialServiceType `json:"special_service_type,omitempty"`
	Unanswered         *bool                                     `json:"unanswered,omitempty"`
	// Unread messages number
	//  Minimum: 0
	UnreadCount *int `json:"unread_count,omitempty"`
}

type Messages_ConversationCanWrite

type Messages_ConversationCanWrite struct {
	Allowed bool `json:"allowed"`
	Reason  *int `json:"reason,omitempty"`
}

type Messages_ConversationMember

type Messages_ConversationMember struct {
	// Is it possible for user to kick this member
	CanKick *bool `json:"can_kick,omitempty"`
	//  Format: int64
	InvitedBy        *int  `json:"invited_by,omitempty"`
	IsAdmin          *bool `json:"is_admin,omitempty"`
	IsMessageRequest *bool `json:"is_message_request,omitempty"`
	IsOwner          *bool `json:"is_owner,omitempty"`
	//  Minimum: 0
	JoinDate *int `json:"join_date,omitempty"`
	//  Format: int64
	MemberId int `json:"member_id"`
	// Message request date
	//  Minimum: 0
	RequestDate *int `json:"request_date,omitempty"`
}

type Messages_ConversationPeer

type Messages_ConversationPeer struct {
	Id      int                           `json:"id"`
	LocalId *int                          `json:"local_id,omitempty"`
	Type    Messages_ConversationPeerType `json:"type"`
}

type Messages_ConversationPeerType

type Messages_ConversationPeerType string

Messages_ConversationPeerType Peer type

const (
	Messages_ConversationPeerType_Chat  Messages_ConversationPeerType = "chat"
	Messages_ConversationPeerType_Email Messages_ConversationPeerType = "email"
	Messages_ConversationPeerType_User  Messages_ConversationPeerType = "user"
	Messages_ConversationPeerType_Group Messages_ConversationPeerType = "group"
)

type Messages_ConversationSortId

type Messages_ConversationSortId struct {
	// Major id for sorting conversations
	//  Minimum: 0
	MajorId int `json:"major_id"`
	// Minor id for sorting conversations
	//  Minimum: 0
	MinorId int `json:"minor_id"`
}

type Messages_ConversationWithMessage

type Messages_ConversationWithMessage struct {
	Conversation Messages_Conversation `json:"conversation"`
	LastMessage  *Messages_Message     `json:"last_message,omitempty"`
}

type Messages_Conversation_SpecialServiceType

type Messages_Conversation_SpecialServiceType string
const (
	Messages_Conversation_SpecialServiceType_BusinessNotify Messages_Conversation_SpecialServiceType = "business_notify"
)

type Messages_CreateChat_Request

type Messages_CreateChat_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserIds *[]int
	// Chat title.
	Title *string
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_CreateChat_Response

type Messages_CreateChat_Response struct {
	// Chat ID
	Response int `json:"response"`
}

type Messages_DeleteChatPhoto_Request

type Messages_DeleteChatPhoto_Request struct {
	// Chat ID.
	//  Minimum: 0
	//  Maximum: 1e+08
	ChatId int
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_DeleteChatPhoto_Response

type Messages_DeleteChatPhoto_Response struct {
	Response struct {
		Chat *Messages_Chat `json:"chat,omitempty"`
		// Service message ID
		MessageId *int `json:"message_id,omitempty"`
	} `json:"response"`
}

type Messages_DeleteConversation_Request

type Messages_DeleteConversation_Request struct {
	// User ID. To clear a chat history use 'chat_id'
	UserId *int
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	PeerId *int
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_DeleteConversation_Response

type Messages_DeleteConversation_Response struct {
	Response struct {
		// Id of the last message, that was deleted
		//  Minimum: 0
		LastDeletedId int `json:"last_deleted_id"`
	} `json:"response"`
}

type Messages_Delete_Request

type Messages_Delete_Request struct {
	//  MaxItems: 1000
	//  Minimum: 0
	MessageIds *[]int
	// '1' — to mark message as spam.
	Spam *bool
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// '1' — delete message for for all.
	//  Default: false
	DeleteForAll *bool
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	PeerId *int
	//  MaxItems: 100
	//  Minimum: 0
	Cmids *[]int
}

type Messages_Delete_Response

type Messages_Delete_Response struct {
	Response map[string]Base_BoolInt `json:"response"`
}

type Messages_DenyMessagesFromGroup_Request

type Messages_DenyMessagesFromGroup_Request struct {
	// Group ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Messages_EditChat_Request

type Messages_EditChat_Request struct {
	// Chat ID.
	//  Minimum: 0
	//  Maximum: 1e+08
	ChatId int
	// New title of the chat.
	Title *string
}

type Messages_Edit_Request

type Messages_Edit_Request struct {
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	//  Format: int32
	PeerId int
	// (Required if 'attachments' is not set.) Text of the message.
	//  MaxLength: 9000
	Message *string
	// Geographical latitude of a check-in, in degrees (from -90 to 90).
	Lat *float64
	// Geographical longitude of a check-in, in degrees (from -180 to 180).
	Long *float64
	// (Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '<owner_id>' — ID of the media attachment owner. '<media_id>' — media attachment ID. Example: "photo100172_166443618"
	Attachment *string
	// '1' — to keep forwarded, messages.
	KeepForwardMessages *bool
	// '1' — to keep attached snippets.
	KeepSnippets *bool
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	//  Default: false
	DontParseLinks *bool
	//  Default: false
	DisableMentions *bool
	//  Format: int32
	//  Minimum: 0
	MessageId *int
	//  Format: int32
	//  Minimum: 0
	ConversationMessageId *int
	Template              *string
	Keyboard              *string
}

type Messages_Edit_Response

type Messages_Edit_Response struct {
	// Result
	Response Base_BoolInt `json:"response"`
}

type Messages_ForeignMessage

type Messages_ForeignMessage struct {
	Attachments *[]Messages_MessageAttachment `json:"attachments,omitempty"`
	// Conversation message ID
	ConversationMessageId *int `json:"conversation_message_id,omitempty"`
	// Date when the message was created
	Date int `json:"date"`
	// Message author's ID
	//  Format: int64
	FromId      int                        `json:"from_id"`
	FwdMessages *[]Messages_ForeignMessage `json:"fwd_messages,omitempty"`
	Geo         *Base_Geo                  `json:"geo,omitempty"`
	// Message ID
	Id *int `json:"id,omitempty"`
	// Additional data sent along with message for developer convenience
	Payload *string `json:"payload,omitempty"`
	// Peer ID
	PeerId       *int                     `json:"peer_id,omitempty"`
	ReplyMessage *Messages_ForeignMessage `json:"reply_message,omitempty"`
	// Message text
	Text string `json:"text"`
	// Date when the message has been updated in Unixtime
	UpdateTime *int `json:"update_time,omitempty"`
	// Was the audio message inside already listened by you
	WasListened *bool `json:"was_listened,omitempty"`
}

type Messages_Forward

type Messages_Forward struct {
	ConversationMessageIds *[]int `json:"conversation_message_ids,omitempty"`
	// If you need to reply to a message
	IsReply    *bool  `json:"is_reply,omitempty"`
	MessageIds *[]int `json:"message_ids,omitempty"`
	// Messages owner_id
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// Messages peer_id
	PeerId *int `json:"peer_id,omitempty"`
}

type Messages_GetByConversationMessageIdExtended_Response

type Messages_GetByConversationMessageIdExtended_Response struct {
	Response struct {
		// Total number
		Count    int                 `json:"count"`
		Groups   *[]Groups_GroupFull `json:"groups,omitempty"`
		Items    []Messages_Message  `json:"items"`
		Profiles *[]Users_UserFull   `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_GetByConversationMessageId_Request

type Messages_GetByConversationMessageId_Request struct {
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	PeerId int
	//  MaxItems: 100
	//  Minimum: 0
	ConversationMessageIds *[]int
	Fields                 *[]Users_Fields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_GetByConversationMessageId_Response

type Messages_GetByConversationMessageId_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Messages_Message `json:"items"`
	} `json:"response"`
}

type Messages_GetByIdExtended_Response

type Messages_GetByIdExtended_Response struct {
	Response struct {
		// Total number
		Count    int                 `json:"count"`
		Groups   *[]Groups_GroupFull `json:"groups,omitempty"`
		Items    []Messages_Message  `json:"items"`
		Profiles []Users_UserFull    `json:"profiles"`
	} `json:"response"`
}

type Messages_GetById_Request

type Messages_GetById_Request struct {
	//  Format: int32
	//  MaxItems: 100
	//  Minimum: 0
	MessageIds *[]int
	// Number of characters after which to truncate a previewed message. To preview the full message, specify '0'. "NOTE: Messages are not truncated by default. Messages are truncated by words."
	//  Default: 0
	//  Minimum: 0
	PreviewLength *int
	Fields        *[]Users_Fields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_GetById_Response

type Messages_GetById_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Messages_Message `json:"items"`
	} `json:"response"`
}

type Messages_GetChatChatIdsFields_Response

type Messages_GetChatChatIdsFields_Response struct {
	Response []Messages_ChatFull `json:"response"`
}

type Messages_GetChatChatIds_Response

type Messages_GetChatChatIds_Response struct {
	Response []Messages_Chat `json:"response"`
}

type Messages_GetChatFields_Response

type Messages_GetChatFields_Response struct {
	Response Messages_ChatFull `json:"response"`
}

type Messages_GetChatPreview_Request

type Messages_GetChatPreview_Request struct {
	//  Minimum: 0
	PeerId *int
	// Invitation link.
	Link   *string
	Fields *[]Users_Fields
}

type Messages_GetChatPreview_Response

type Messages_GetChatPreview_Response struct {
	Response struct {
		Groups   *[]Groups_GroupFull   `json:"groups,omitempty"`
		Preview  *Messages_ChatPreview `json:"preview,omitempty"`
		Profiles *[]Users_UserFull     `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_GetChat_Response

type Messages_GetChat_Response struct {
	Response Messages_Chat `json:"response"`
}

type Messages_GetConversationById

type Messages_GetConversationById struct {
	// Total number
	//  Minimum: 0
	Count int                     `json:"count"`
	Items []Messages_Conversation `json:"items"`
}

type Messages_GetConversationByIdExtended

type Messages_GetConversationByIdExtended struct {
	Messages_GetConversationById
	Groups   *[]Groups_GroupFull `json:"groups,omitempty"`
	Profiles *[]Users_UserFull   `json:"profiles,omitempty"`
}

type Messages_GetConversationMembers

type Messages_GetConversationMembers struct {
	ChatRestrictions *Messages_ChatRestrictions `json:"chat_restrictions,omitempty"`
	// Chat members count
	//  Minimum: 0
	Count    int                           `json:"count"`
	Groups   *[]Groups_GroupFull           `json:"groups,omitempty"`
	Items    []Messages_ConversationMember `json:"items"`
	Profiles *[]Users_UserFull             `json:"profiles,omitempty"`
}

type Messages_GetConversationMembers_Request

type Messages_GetConversationMembers_Request struct {
	// Peer ID.
	//  Format: int32
	PeerId int
	Fields *[]Users_Fields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_GetConversationMembers_Response

type Messages_GetConversationMembers_Response struct {
	Response Messages_GetConversationMembers `json:"response"`
}

type Messages_GetConversationsByIdExtended_Response

type Messages_GetConversationsByIdExtended_Response struct {
	Response Messages_GetConversationByIdExtended `json:"response"`
}

type Messages_GetConversationsById_Request

type Messages_GetConversationsById_Request struct {
	//  MaxItems: 100
	PeerIds *[]int
	Fields  *[]Base_UserGroupFields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_GetConversationsById_Response

type Messages_GetConversationsById_Response struct {
	Response Messages_GetConversationById `json:"response"`
}

type Messages_GetConversations_Filter

type Messages_GetConversations_Filter string
const (
	Messages_GetConversations_Filter_All        Messages_GetConversations_Filter = "all"
	Messages_GetConversations_Filter_Archive    Messages_GetConversations_Filter = "archive"
	Messages_GetConversations_Filter_Important  Messages_GetConversations_Filter = "important"
	Messages_GetConversations_Filter_Unanswered Messages_GetConversations_Filter = "unanswered"
	Messages_GetConversations_Filter_Unread     Messages_GetConversations_Filter = "unread"
)

type Messages_GetConversations_Request

type Messages_GetConversations_Request struct {
	// Offset needed to return a specific subset of conversations.
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// Number of conversations to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	// Filter to apply: 'all' — all conversations, 'unread' — conversations with unread messages, 'important' — conversations, marked as important (only for community messages), 'unanswered' — conversations, marked as unanswered (only for community messages)
	//  Default: all
	Filter *Messages_GetConversations_Filter
	// '1' — return extra information about users and communities
	Extended *bool
	// ID of the message from what to return dialogs.
	//  Minimum: 0
	StartMessageId *int
	Fields         *[]Base_UserGroupFields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_GetConversations_Response

type Messages_GetConversations_Response struct {
	Response struct {
		// Total number
		Count    int                                `json:"count"`
		Groups   *[]Groups_GroupFull                `json:"groups,omitempty"`
		Items    []Messages_ConversationWithMessage `json:"items"`
		Profiles *[]Users_UserFull                  `json:"profiles,omitempty"`
		// Unread dialogs number
		UnreadCount *int `json:"unread_count,omitempty"`
	} `json:"response"`
}

type Messages_GetHistoryAttachments_MediaType

type Messages_GetHistoryAttachments_MediaType string
const (
	Messages_GetHistoryAttachments_MediaType_Audio        Messages_GetHistoryAttachments_MediaType = "audio"
	Messages_GetHistoryAttachments_MediaType_AudioMessage Messages_GetHistoryAttachments_MediaType = "audio_message"
	Messages_GetHistoryAttachments_MediaType_Doc          Messages_GetHistoryAttachments_MediaType = "doc"
	Messages_GetHistoryAttachments_MediaType_Graffiti     Messages_GetHistoryAttachments_MediaType = "graffiti"
	Messages_GetHistoryAttachments_MediaType_Link         Messages_GetHistoryAttachments_MediaType = "link"
	Messages_GetHistoryAttachments_MediaType_Market       Messages_GetHistoryAttachments_MediaType = "market"
	Messages_GetHistoryAttachments_MediaType_Photo        Messages_GetHistoryAttachments_MediaType = "photo"
	Messages_GetHistoryAttachments_MediaType_Share        Messages_GetHistoryAttachments_MediaType = "share"
	Messages_GetHistoryAttachments_MediaType_Video        Messages_GetHistoryAttachments_MediaType = "video"
	Messages_GetHistoryAttachments_MediaType_Wall         Messages_GetHistoryAttachments_MediaType = "wall"
)

type Messages_GetHistoryAttachments_Request

type Messages_GetHistoryAttachments_Request struct {
	// Peer ID. ", For group chat: '2000000000 + chat ID' , , For community: '-community ID'"
	PeerId int
	// Type of media files to return: *'photo',, *'video',, *'audio',, *'doc',, *'link'.,*'market'.,*'wall'.,*'share'
	//  Default: photo
	MediaType *Messages_GetHistoryAttachments_MediaType
	// Message ID to start return results from.
	StartFrom *string
	// Number of objects to return.
	//  Default: 30
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	// '1' — to return photo sizes in a
	PhotoSizes *bool
	Fields     *[]Users_Fields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId       *int
	PreserveOrder *bool
	//  Default: 45
	//  Minimum: 0
	//  Maximum: 45
	MaxForwardsLevel *int
}

type Messages_GetHistoryAttachments_Response

type Messages_GetHistoryAttachments_Response struct {
	Response struct {
		Groups *[]Groups_GroupFull           `json:"groups,omitempty"`
		Items  *[]Messages_HistoryAttachment `json:"items,omitempty"`
		// Value for pagination
		NextFrom *string           `json:"next_from,omitempty"`
		Profiles *[]Users_UserFull `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_GetHistoryExtended_Response

type Messages_GetHistoryExtended_Response struct {
	Response struct {
		Conversations *[]Messages_Conversation `json:"conversations,omitempty"`
		// Total number
		Count    int                 `json:"count"`
		Groups   *[]Groups_GroupFull `json:"groups,omitempty"`
		Items    []Messages_Message  `json:"items"`
		Profiles *[]Users_UserFull   `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_GetHistory_Request

type Messages_GetHistory_Request struct {
	// Offset needed to return a specific subset of messages.
	Offset *int
	// Number of messages to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	// ID of the user whose message history you want to return.
	UserId *int
	//  Format: int32
	PeerId *int
	// Starting message ID from which to return history.
	StartMessageId *int
	// Sort order: '1' — return messages in chronological order. '0' — return messages in reverse chronological order.
	Rev    *Messages_GetHistory_Rev
	Fields *[]Users_Fields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_GetHistory_Response

type Messages_GetHistory_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Messages_Message `json:"items"`
	} `json:"response"`
}

type Messages_GetHistory_Rev

type Messages_GetHistory_Rev int
const (
	Messages_GetHistory_Rev_Chronological        Messages_GetHistory_Rev = 1
	Messages_GetHistory_Rev_ReverseChronological Messages_GetHistory_Rev = 0
)

type Messages_GetImportantMessagesExtended_Response

type Messages_GetImportantMessagesExtended_Response struct {
	Response struct {
		Conversations *[]Messages_Conversation `json:"conversations,omitempty"`
		Groups        *[]Groups_GroupFull      `json:"groups,omitempty"`
		Messages      Messages_MessagesArray   `json:"messages"`
		Profiles      *[]Users_UserFull        `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_GetImportantMessages_Request

type Messages_GetImportantMessages_Request struct {
	// Amount of needed important messages.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	//  Minimum: 0
	Offset *int
	//  Minimum: 0
	StartMessageId *int
	// Maximum length of messages body.
	//  Minimum: 0
	PreviewLength *int
	Fields        *[]Base_UserGroupFields
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_GetImportantMessages_Response

type Messages_GetImportantMessages_Response struct {
	Response struct {
		Conversations *[]Messages_Conversation `json:"conversations,omitempty"`
		Groups        *[]Groups_GroupFull      `json:"groups,omitempty"`
		Messages      Messages_MessagesArray   `json:"messages"`
		Profiles      *[]Users_User            `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_GetIntentUsers_Intent

type Messages_GetIntentUsers_Intent string
const (
	Messages_GetIntentUsers_Intent_ConfirmedNotification Messages_GetIntentUsers_Intent = "confirmed_notification"
	Messages_GetIntentUsers_Intent_NonPromoNewsletter    Messages_GetIntentUsers_Intent = "non_promo_newsletter"
	Messages_GetIntentUsers_Intent_PromoNewsletter       Messages_GetIntentUsers_Intent = "promo_newsletter"
)

type Messages_GetIntentUsers_Request

type Messages_GetIntentUsers_Request struct {
	Intent Messages_GetIntentUsers_Intent
	//  Minimum: 0
	//  Maximum: 100
	SubscribeId *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count    *int
	Extended *bool
	NameCase *[]string
	Fields   *[]string
}

type Messages_GetIntentUsers_Response

type Messages_GetIntentUsers_Response struct {
	Response struct {
		//  Minimum: 0
		Count int `json:"count"`
		//  Format: int64
		//  Minimum: 0
		Items    []int             `json:"items"`
		Profiles *[]Users_UserFull `json:"profiles,omitempty"`
	} `json:"response"`
}
type Messages_GetInviteLink_Request struct {
	// Destination ID.
	//  Minimum: 0
	PeerId int
	// 1 — to generate new link (revoke previous), 0 — to return previous link.
	//  Default: false
	Reset *bool
	// Group ID
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}
type Messages_GetInviteLink_Response struct {
	Response struct {
		Link *string `json:"link,omitempty"`
	} `json:"response"`
}

type Messages_GetLastActivity_Request

type Messages_GetLastActivity_Request struct {
	// User ID.
	//  Format: int64
	UserId int
}

type Messages_GetLastActivity_Response

type Messages_GetLastActivity_Response struct {
	Response Messages_LastActivity `json:"response"`
}

type Messages_GetLongPollHistory_Request

type Messages_GetLongPollHistory_Request struct {
	// Last value of the 'ts' parameter returned from the Long Poll server or by using [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.
	//  Minimum: 0
	Ts *int
	// Last value of 'pts' parameter returned from the Long Poll server or by using [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.
	//  Minimum: 0
	Pts *int
	// Number of characters after which to truncate a previewed message. To preview the full message, specify '0'. "NOTE: Messages are not truncated by default. Messages are truncated by words."
	//  Minimum: 0
	PreviewLength *int
	// '1' — to return history with online users only.
	Onlines *bool
	//  Default: photo,photo_medium_rec,sex,online,screen_name
	Fields *[]Users_Fields
	// Maximum number of events to return.
	//  Default: 1000
	//  Minimum: 1000
	EventsLimit *int
	// Maximum number of messages to return.
	//  Default: 200
	//  Minimum: 200
	MsgsLimit *int
	// Maximum ID of the message among existing ones in the local copy. Both messages received with API methods (for example, , ), and data received from a Long Poll server (events with code 4) are taken into account.
	//  Minimum: 0
	MaxMsgId *int
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	//  Minimum: 0
	LpVersion *int
	//  Default: 0
	//  Minimum: 0
	//  Maximum: 2000
	LastN       *int
	Credentials *bool
	//  Default: false
	Extended *bool
}

type Messages_GetLongPollHistory_Response

type Messages_GetLongPollHistory_Response struct {
	Response struct {
		Chats         *[]Messages_Chat           `json:"chats,omitempty"`
		Conversations *[]Messages_Conversation   `json:"conversations,omitempty"`
		Credentials   *Messages_LongpollParams   `json:"credentials,omitempty"`
		FromPts       *int                       `json:"from_pts,omitempty"`
		Groups        *[]Groups_GroupFull        `json:"groups,omitempty"`
		History       *[][]int                   `json:"history,omitempty"`
		Messages      *Messages_LongpollMessages `json:"messages,omitempty"`
		// Has more
		More *bool `json:"more,omitempty"`
		// Persistence timestamp
		NewPts   *int              `json:"new_pts,omitempty"`
		Profiles *[]Users_UserFull `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_GetLongPollServer_Request

type Messages_GetLongPollServer_Request struct {
	// '1' — to return the 'pts' field, needed for the [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.
	NeedPts *bool
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// Long poll version
	//  Default: 0
	//  Minimum: 0
	LpVersion *int
}

type Messages_GetLongPollServer_Response

type Messages_GetLongPollServer_Response struct {
	Response Messages_LongpollParams `json:"response"`
}

type Messages_Graffiti

type Messages_Graffiti struct {
	// Access key for graffiti
	AccessKey *string `json:"access_key,omitempty"`
	// Graffiti height
	//  Minimum: 0
	Height int `json:"height"`
	// Graffiti ID
	//  Minimum: 0
	Id int `json:"id"`
	// Graffiti owner ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// Graffiti URL
	//  Format: uri
	Url string `json:"url"`
	// Graffiti width
	//  Minimum: 0
	Width int `json:"width"`
}

type Messages_HistoryAttachment

type Messages_HistoryAttachment struct {
	Attachment Messages_HistoryMessageAttachment `json:"attachment"`
	// Forward level (optional)
	ForwardLevel *int `json:"forward_level,omitempty"`
	// Message author's ID
	//  Format: int64
	FromId int `json:"from_id"`
	// Message ID
	MessageId   int   `json:"message_id"`
	WasListened *bool `json:"was_listened,omitempty"`
}

type Messages_HistoryMessageAttachment

type Messages_HistoryMessageAttachment struct {
	Audio        *Audio_Audio                          `json:"audio,omitempty"`
	AudioMessage *Messages_AudioMessage                `json:"audio_message,omitempty"`
	Doc          *Docs_Doc                             `json:"doc,omitempty"`
	Graffiti     *Messages_Graffiti                    `json:"graffiti,omitempty"`
	Link         *Base_Link                            `json:"link,omitempty"`
	Market       *Market_MarketItem                    `json:"market,omitempty"`
	Photo        *Photos_Photo                         `json:"photo,omitempty"`
	Type         Messages_HistoryMessageAttachmentType `json:"type"`
	Video        *Video_Video                          `json:"video,omitempty"`
	Wall         *Wall_WallpostFull                    `json:"wall,omitempty"`
}

type Messages_HistoryMessageAttachmentType

type Messages_HistoryMessageAttachmentType string

Messages_HistoryMessageAttachmentType Attachments type

const (
	Messages_HistoryMessageAttachmentType_Photo        Messages_HistoryMessageAttachmentType = "photo"
	Messages_HistoryMessageAttachmentType_Video        Messages_HistoryMessageAttachmentType = "video"
	Messages_HistoryMessageAttachmentType_Audio        Messages_HistoryMessageAttachmentType = "audio"
	Messages_HistoryMessageAttachmentType_Doc          Messages_HistoryMessageAttachmentType = "doc"
	Messages_HistoryMessageAttachmentType_Link         Messages_HistoryMessageAttachmentType = "link"
	Messages_HistoryMessageAttachmentType_Market       Messages_HistoryMessageAttachmentType = "market"
	Messages_HistoryMessageAttachmentType_Wall         Messages_HistoryMessageAttachmentType = "wall"
	Messages_HistoryMessageAttachmentType_Share        Messages_HistoryMessageAttachmentType = "share"
	Messages_HistoryMessageAttachmentType_Graffiti     Messages_HistoryMessageAttachmentType = "graffiti"
	Messages_HistoryMessageAttachmentType_AudioMessage Messages_HistoryMessageAttachmentType = "audio_message"
)

type Messages_IsMessagesFromGroupAllowed_Request

type Messages_IsMessagesFromGroupAllowed_Request struct {
	// Group ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// User ID.
	//  Format: int64
	//  Minimum: 1
	UserId int
}

type Messages_IsMessagesFromGroupAllowed_Response

type Messages_IsMessagesFromGroupAllowed_Response struct {
	Response struct {
		IsAllowed *Base_BoolInt `json:"is_allowed,omitempty"`
	} `json:"response"`
}
type Messages_JoinChatByInviteLink_Request struct {
	// Invitation link.
	Link string
}
type Messages_JoinChatByInviteLink_Response struct {
	Response struct {
		ChatId *int `json:"chat_id,omitempty"`
	} `json:"response"`
}

type Messages_Keyboard

type Messages_Keyboard struct {
	// Community or bot, which set this keyboard
	//  Format: int64
	AuthorId *int                        `json:"author_id,omitempty"`
	Buttons  [][]Messages_KeyboardButton `json:"buttons"`
	Inline   *bool                       `json:"inline,omitempty"`
	// Should this keyboard disappear on first use
	OneTime bool `json:"one_time"`
}

type Messages_KeyboardButton

type Messages_KeyboardButton struct {
	Action Messages_KeyboardButtonPropertyAction `json:"action"`
	// Button color
	Color *Messages_KeyboardButton_Color `json:"color,omitempty"`
}

type Messages_KeyboardButtonActionCallback

type Messages_KeyboardButtonActionCallback struct {
	// Label for button
	Label string `json:"label"`
	// Additional data sent along with message for developer convenience
	Payload *string                                    `json:"payload,omitempty"`
	Type    Messages_KeyboardButtonActionCallback_Type `json:"type"`
}

Messages_KeyboardButtonActionCallback Description of the action, that should be performed on button click

type Messages_KeyboardButtonActionCallback_Type

type Messages_KeyboardButtonActionCallback_Type string
const (
	Messages_KeyboardButtonActionCallback_Type_Callback Messages_KeyboardButtonActionCallback_Type = "callback"
)

type Messages_KeyboardButtonActionLocation

type Messages_KeyboardButtonActionLocation struct {
	// Additional data sent along with message for developer convenience
	Payload *string                                    `json:"payload,omitempty"`
	Type    Messages_KeyboardButtonActionLocation_Type `json:"type"`
}

Messages_KeyboardButtonActionLocation Description of the action, that should be performed on button click

type Messages_KeyboardButtonActionLocation_Type

type Messages_KeyboardButtonActionLocation_Type string
const (
	Messages_KeyboardButtonActionLocation_Type_Location Messages_KeyboardButtonActionLocation_Type = "location"
)

type Messages_KeyboardButtonActionOpenApp

type Messages_KeyboardButtonActionOpenApp struct {
	// Fragment value in app link like vk.com/app{app_id}_-654321#hash
	AppId int `json:"app_id"`
	// Fragment value in app link like vk.com/app123456_-654321#{hash}
	Hash *string `json:"hash,omitempty"`
	// Label for button
	Label string `json:"label"`
	// Fragment value in app link like vk.com/app123456_{owner_id}#hash
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// Additional data sent along with message for developer convenience
	Payload *string                                   `json:"payload,omitempty"`
	Type    Messages_KeyboardButtonActionOpenApp_Type `json:"type"`
}

Messages_KeyboardButtonActionOpenApp Description of the action, that should be performed on button click

type Messages_KeyboardButtonActionOpenApp_Type

type Messages_KeyboardButtonActionOpenApp_Type string
const (
	Messages_KeyboardButtonActionOpenApp_Type_OpenApp Messages_KeyboardButtonActionOpenApp_Type = "open_app"
)
type Messages_KeyboardButtonActionOpenLink struct {
	// Label for button
	Label string `json:"label"`
	// link for button
	Link string `json:"link"`
	// Additional data sent along with message for developer convenience
	Payload *string                                    `json:"payload,omitempty"`
	Type    Messages_KeyboardButtonActionOpenLink_Type `json:"type"`
}

Messages_KeyboardButtonActionOpenLink Description of the action, that should be performed on button click

type Messages_KeyboardButtonActionOpenLink_Type string
const (
	Messages_KeyboardButtonActionOpenLink_Type_OpenLink Messages_KeyboardButtonActionOpenLink_Type = "open_link"
)

type Messages_KeyboardButtonActionOpenPhoto

type Messages_KeyboardButtonActionOpenPhoto struct {
	Type Messages_KeyboardButtonActionOpenPhoto_Type `json:"type"`
}

Messages_KeyboardButtonActionOpenPhoto Description of the action, that should be performed on button click

type Messages_KeyboardButtonActionOpenPhoto_Type

type Messages_KeyboardButtonActionOpenPhoto_Type string
const (
	Messages_KeyboardButtonActionOpenPhoto_Type_OpenPhoto Messages_KeyboardButtonActionOpenPhoto_Type = "open_photo"
)

type Messages_KeyboardButtonActionText

type Messages_KeyboardButtonActionText struct {
	// Label for button
	Label string `json:"label"`
	// Additional data sent along with message for developer convenience
	Payload *string                                `json:"payload,omitempty"`
	Type    Messages_KeyboardButtonActionText_Type `json:"type"`
}

Messages_KeyboardButtonActionText Description of the action, that should be performed on button click

type Messages_KeyboardButtonActionText_Type

type Messages_KeyboardButtonActionText_Type string
const (
	Messages_KeyboardButtonActionText_Type_Text Messages_KeyboardButtonActionText_Type = "text"
)

type Messages_KeyboardButtonActionVkpay

type Messages_KeyboardButtonActionVkpay struct {
	// Fragment value in app link like vk.com/app123456_-654321#{hash}
	Hash string `json:"hash"`
	// Additional data sent along with message for developer convenience
	Payload *string                                 `json:"payload,omitempty"`
	Type    Messages_KeyboardButtonActionVkpay_Type `json:"type"`
}

Messages_KeyboardButtonActionVkpay Description of the action, that should be performed on button click

type Messages_KeyboardButtonActionVkpay_Type

type Messages_KeyboardButtonActionVkpay_Type string
const (
	Messages_KeyboardButtonActionVkpay_Type_Vkpay Messages_KeyboardButtonActionVkpay_Type = "vkpay"
)

type Messages_KeyboardButtonPropertyAction

type Messages_KeyboardButtonPropertyAction struct {
	// contains filtered or unexported fields
}

func (*Messages_KeyboardButtonPropertyAction) MarshalJSON

func (o *Messages_KeyboardButtonPropertyAction) MarshalJSON() ([]byte, error)

func (Messages_KeyboardButtonPropertyAction) Raw

func (*Messages_KeyboardButtonPropertyAction) UnmarshalJSON

func (o *Messages_KeyboardButtonPropertyAction) UnmarshalJSON(body []byte) (err error)

type Messages_KeyboardButton_Color

type Messages_KeyboardButton_Color string
const (
	Messages_KeyboardButton_Color_Default  Messages_KeyboardButton_Color = "default"
	Messages_KeyboardButton_Color_Positive Messages_KeyboardButton_Color = "positive"
	Messages_KeyboardButton_Color_Negative Messages_KeyboardButton_Color = "negative"
	Messages_KeyboardButton_Color_Primary  Messages_KeyboardButton_Color = "primary"
)

type Messages_LastActivity

type Messages_LastActivity struct {
	// Information whether user is online
	Online Base_BoolInt `json:"online"`
	// Time when user was online in Unixtime
	Time int `json:"time"`
}

type Messages_LongpollMessages

type Messages_LongpollMessages struct {
	// Total number
	//  Minimum: 0
	Count *int                `json:"count,omitempty"`
	Items *[]Messages_Message `json:"items,omitempty"`
}

type Messages_LongpollParams

type Messages_LongpollParams struct {
	// Key
	Key string `json:"key"`
	// Persistent timestamp
	Pts *int `json:"pts,omitempty"`
	// Server URL
	Server string `json:"server"`
	// Timestamp
	Ts int `json:"ts"`
}

type Messages_MarkAsAnsweredConversation_Request

type Messages_MarkAsAnsweredConversation_Request struct {
	// ID of conversation to mark as important.
	PeerId int
	// '1' — to mark as answered, '0' — to remove the mark
	//  Default: 1
	Answered *bool
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_MarkAsImportantConversation_Request

type Messages_MarkAsImportantConversation_Request struct {
	// ID of conversation to mark as important.
	PeerId int
	// '1' — to add a star (mark as important), '0' — to remove the star
	//  Default: 1
	Important *bool
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_MarkAsImportant_Request

type Messages_MarkAsImportant_Request struct {
	//  Default: []
	//  Minimum: 0
	MessageIds *[]int
	// '1' — to add a star (mark as important), '0' — to remove the star
	//  Minimum: 0
	Important *int
}

type Messages_MarkAsImportant_Response

type Messages_MarkAsImportant_Response struct {
	Response []int `json:"response"`
}

type Messages_MarkAsRead_Request

type Messages_MarkAsRead_Request struct {
	//  Default: []
	//  Format: int32
	//  Minimum: 0
	MessageIds *[]int
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	PeerId *int
	// Message ID to start from.
	//  Minimum: 0
	StartMessageId *int
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId                *int
	MarkConversationAsRead *bool
}

type Messages_Message

type Messages_Message struct {
	Action *Messages_MessageAction `json:"action,omitempty"`
	// Only for messages from community. Contains user ID of community admin, who sent this message.
	//  Format: int64
	AdminAuthorId *int                          `json:"admin_author_id,omitempty"`
	Attachments   *[]Messages_MessageAttachment `json:"attachments,omitempty"`
	// Unique auto-incremented number for all messages with this peer
	ConversationMessageId *int `json:"conversation_message_id,omitempty"`
	// Date when the message has been sent in Unixtime
	Date int `json:"date"`
	// Is it an deleted message
	Deleted *Base_BoolInt `json:"deleted,omitempty"`
	// Message author's ID
	//  Format: int64
	FromId int `json:"from_id"`
	// Forwarded messages
	FwdMessages *[]Messages_ForeignMessage `json:"fwd_messages,omitempty"`
	Geo         *Base_Geo                  `json:"geo,omitempty"`
	// Message ID
	Id int `json:"id"`
	// Is it an important message
	Important *bool `json:"important,omitempty"`
	// this message is cropped for bot
	IsCropped *bool `json:"is_cropped,omitempty"`
	IsHidden  *bool `json:"is_hidden,omitempty"`
	// Is silent message, push without sound
	IsSilent *bool              `json:"is_silent,omitempty"`
	Keyboard *Messages_Keyboard `json:"keyboard,omitempty"`
	// Members number
	MembersCount *int `json:"members_count,omitempty"`
	// Information whether the message is outcoming
	Out     Base_BoolInt `json:"out"`
	Payload *string      `json:"payload,omitempty"`
	// Peer ID
	PeerId int `json:"peer_id"`
	// Date when the message has been pinned in Unixtime
	PinnedAt *int `json:"pinned_at,omitempty"`
	// ID used for sending messages. It returned only for outgoing messages
	RandomId     *int                     `json:"random_id,omitempty"`
	Ref          *string                  `json:"ref,omitempty"`
	RefSource    *string                  `json:"ref_source,omitempty"`
	ReplyMessage *Messages_ForeignMessage `json:"reply_message,omitempty"`
	// Message text
	Text string `json:"text"`
	// Date when the message has been updated in Unixtime
	UpdateTime *int `json:"update_time,omitempty"`
	// Was the audio message inside already listened by you
	WasListened *bool `json:"was_listened,omitempty"`
}

type Messages_MessageAction

type Messages_MessageAction struct {
	// Message ID
	ConversationMessageId *int `json:"conversation_message_id,omitempty"`
	// Email address for chat_invite_user or chat_kick_user actions
	Email *string `json:"email,omitempty"`
	// User or email peer ID
	//  Format: int64
	MemberId *int `json:"member_id,omitempty"`
	// Message body of related message
	Message *string                      `json:"message,omitempty"`
	Photo   *Messages_MessageActionPhoto `json:"photo,omitempty"`
	// New chat title for chat_create and chat_title_update actions
	Text *string                      `json:"text,omitempty"`
	Type Messages_MessageActionStatus `json:"type"`
}

type Messages_MessageActionPhoto

type Messages_MessageActionPhoto struct {
	// URL of the preview image with 100px in width
	//  Format: uri
	Photo100 string `json:"photo_100"`
	// URL of the preview image with 200px in width
	//  Format: uri
	Photo200 string `json:"photo_200"`
	// URL of the preview image with 50px in width
	//  Format: uri
	Photo50 string `json:"photo_50"`
}

type Messages_MessageActionStatus

type Messages_MessageActionStatus string

Messages_MessageActionStatus Action status

const (
	Messages_MessageActionStatus_ChatPhotoUpdate                Messages_MessageActionStatus = "chat_photo_update"
	Messages_MessageActionStatus_ChatPhotoRemove                Messages_MessageActionStatus = "chat_photo_remove"
	Messages_MessageActionStatus_ChatCreate                     Messages_MessageActionStatus = "chat_create"
	Messages_MessageActionStatus_ChatTitleUpdate                Messages_MessageActionStatus = "chat_title_update"
	Messages_MessageActionStatus_ChatInviteUser                 Messages_MessageActionStatus = "chat_invite_user"
	Messages_MessageActionStatus_ChatKickUser                   Messages_MessageActionStatus = "chat_kick_user"
	Messages_MessageActionStatus_ChatPinMessage                 Messages_MessageActionStatus = "chat_pin_message"
	Messages_MessageActionStatus_ChatUnpinMessage               Messages_MessageActionStatus = "chat_unpin_message"
	Messages_MessageActionStatus_ChatInviteUserByLink           Messages_MessageActionStatus = "chat_invite_user_by_link"
	Messages_MessageActionStatus_ChatInviteUserByMessageRequest Messages_MessageActionStatus = "chat_invite_user_by_message_request"
	Messages_MessageActionStatus_ChatScreenshot                 Messages_MessageActionStatus = "chat_screenshot"
)

type Messages_MessageAttachment

type Messages_MessageAttachment struct {
	Audio             *Audio_Audio                   `json:"audio,omitempty"`
	AudioMessage      *Messages_AudioMessage         `json:"audio_message,omitempty"`
	Call              *Calls_Call                    `json:"call,omitempty"`
	Doc               *Docs_Doc                      `json:"doc,omitempty"`
	Gift              *Gifts_Layout                  `json:"gift,omitempty"`
	Graffiti          *Messages_Graffiti             `json:"graffiti,omitempty"`
	Market            *Market_MarketItem             `json:"market,omitempty"`
	MarketMarketAlbum *Market_MarketAlbum            `json:"market_market_album,omitempty"`
	Photo             *Photos_Photo                  `json:"photo,omitempty"`
	Poll              *Polls_Poll                    `json:"poll,omitempty"`
	Sticker           *Base_Sticker                  `json:"sticker,omitempty"`
	Story             *Stories_Story                 `json:"story,omitempty"`
	Type              Messages_MessageAttachmentType `json:"type"`
	Video             *Video_VideoFull               `json:"video,omitempty"`
	WallReply         *Wall_WallComment              `json:"wall_reply,omitempty"`
}

type Messages_MessageAttachmentType

type Messages_MessageAttachmentType string

Messages_MessageAttachmentType Attachment type

const (
	Messages_MessageAttachmentType_Photo        Messages_MessageAttachmentType = "photo"
	Messages_MessageAttachmentType_Audio        Messages_MessageAttachmentType = "audio"
	Messages_MessageAttachmentType_Video        Messages_MessageAttachmentType = "video"
	Messages_MessageAttachmentType_Doc          Messages_MessageAttachmentType = "doc"
	Messages_MessageAttachmentType_Link         Messages_MessageAttachmentType = "link"
	Messages_MessageAttachmentType_Market       Messages_MessageAttachmentType = "market"
	Messages_MessageAttachmentType_MarketAlbum  Messages_MessageAttachmentType = "market_album"
	Messages_MessageAttachmentType_Gift         Messages_MessageAttachmentType = "gift"
	Messages_MessageAttachmentType_Sticker      Messages_MessageAttachmentType = "sticker"
	Messages_MessageAttachmentType_Wall         Messages_MessageAttachmentType = "wall"
	Messages_MessageAttachmentType_WallReply    Messages_MessageAttachmentType = "wall_reply"
	Messages_MessageAttachmentType_Article      Messages_MessageAttachmentType = "article"
	Messages_MessageAttachmentType_Poll         Messages_MessageAttachmentType = "poll"
	Messages_MessageAttachmentType_Call         Messages_MessageAttachmentType = "call"
	Messages_MessageAttachmentType_Graffiti     Messages_MessageAttachmentType = "graffiti"
	Messages_MessageAttachmentType_AudioMessage Messages_MessageAttachmentType = "audio_message"
)

type Messages_MessageRequestData

type Messages_MessageRequestData struct {
	// Message request sender id
	//  Format: int64
	InviterId *int `json:"inviter_id,omitempty"`
	// Message request date
	RequestDate *int `json:"request_date,omitempty"`
	// Status of message request
	Status *string `json:"status,omitempty"`
}

type Messages_MessagesArray

type Messages_MessagesArray struct {
	//  Minimum: 0
	Count *int                `json:"count,omitempty"`
	Items *[]Messages_Message `json:"items,omitempty"`
}

type Messages_OutReadBy

type Messages_OutReadBy struct {
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
	//  Format: int64
	MemberIds *[]int `json:"member_ids,omitempty"`
}

type Messages_Pin_Request

type Messages_Pin_Request struct {
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
	PeerId int
	// Message ID
	//  Minimum: 0
	MessageId *int
	// Conversation message ID
	//  Minimum: 0
	ConversationMessageId *int
}

type Messages_Pin_Response

type Messages_Pin_Response struct {
	Response Messages_PinnedMessage `json:"response"`
}

type Messages_PinnedMessage

type Messages_PinnedMessage struct {
	Attachments *[]Messages_MessageAttachment `json:"attachments,omitempty"`
	// Unique auto-incremented number for all messages with this peer
	ConversationMessageId *int `json:"conversation_message_id,omitempty"`
	// Date when the message has been sent in Unixtime
	Date int `json:"date"`
	// Message author's ID
	//  Format: int64
	FromId int `json:"from_id"`
	// Forwarded messages
	FwdMessages *[]Messages_ForeignMessage `json:"fwd_messages,omitempty"`
	Geo         *Base_Geo                  `json:"geo,omitempty"`
	// Message ID
	Id       int                `json:"id"`
	Keyboard *Messages_Keyboard `json:"keyboard,omitempty"`
	// Peer ID
	PeerId       int                      `json:"peer_id"`
	ReplyMessage *Messages_ForeignMessage `json:"reply_message,omitempty"`
	// Message text
	Text string `json:"text"`
}

type Messages_PushSettings

type Messages_PushSettings struct {
	// Information whether push notifications are disabled forever
	DisabledForever bool `json:"disabled_forever"`
	// Information whether the mass mentions (like '@all', '@online') are disabled
	DisabledMassMentions *bool `json:"disabled_mass_mentions,omitempty"`
	// Information whether the mentions are disabled
	DisabledMentions *bool `json:"disabled_mentions,omitempty"`
	// Time until what notifications are disabled
	DisabledUntil *int `json:"disabled_until,omitempty"`
	// Information whether the sound is on
	NoSound bool `json:"no_sound"`
}

type Messages_RemoveChatUser_Request

type Messages_RemoveChatUser_Request struct {
	// Chat ID.
	//  Minimum: 0
	//  Maximum: 1e+08
	ChatId int
	// ID of the user to be removed from the chat.
	//  Format: int64
	UserId *int
	//  Format: int64
	MemberId *int
}

type Messages_Restore_Request

type Messages_Restore_Request struct {
	// ID of a previously-deleted message to restore.
	//  Minimum: 0
	MessageId int
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_SearchConversationsExtended_Response

type Messages_SearchConversationsExtended_Response struct {
	Response struct {
		// Total results number
		Count    int                     `json:"count"`
		Groups   *[]Groups_GroupFull     `json:"groups,omitempty"`
		Items    []Messages_Conversation `json:"items"`
		Profiles *[]Users_UserFull       `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_SearchConversations_Request

type Messages_SearchConversations_Request struct {
	// Search query string.
	Q *string
	// Maximum number of results.
	//  Default: 20
	//  Minimum: 1
	//  Maximum: 255
	Count  *int
	Fields *[]Users_Fields
	// Group ID (for group messages with user access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_SearchConversations_Response

type Messages_SearchConversations_Response struct {
	Response struct {
		// Total results number
		Count int                     `json:"count"`
		Items []Messages_Conversation `json:"items"`
	} `json:"response"`
}

type Messages_SearchExtended_Response

type Messages_SearchExtended_Response struct {
	Response struct {
		Conversations *[]Messages_Conversation `json:"conversations,omitempty"`
		// Total number
		Count    int                 `json:"count"`
		Groups   *[]Groups_GroupFull `json:"groups,omitempty"`
		Items    []Messages_Message  `json:"items"`
		Profiles *[]Users_UserFull   `json:"profiles,omitempty"`
	} `json:"response"`
}

type Messages_Search_Request

type Messages_Search_Request struct {
	// Search query string.
	//  MaxLength: 9000
	Q *string
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	PeerId *int
	// Date to search message before in Unixtime.
	//  Minimum: 0
	Date *int
	// Number of characters after which to truncate a previewed message. To preview the full message, specify '0'. "NOTE: Messages are not truncated by default. Messages are truncated by words."
	//  Default: 0
	//  Minimum: 0
	PreviewLength *int
	// Offset needed to return a specific subset of messages.
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// Number of messages to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count  *int
	Fields *[]string
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_Search_Response

type Messages_Search_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Messages_Message `json:"items"`
	} `json:"response"`
}

type Messages_SendMessageEventAnswer_Request

type Messages_SendMessageEventAnswer_Request struct {
	EventId string
	//  Format: int64
	UserId int
	PeerId int
	//  MaxLength: 1000
	EventData *string
}

type Messages_SendUserIDs_Intent

type Messages_SendUserIDs_Intent string
const (
	Messages_SendUserIDs_Intent_AccountUpdate         Messages_SendUserIDs_Intent = "account_update"
	Messages_SendUserIDs_Intent_BotAdInvite           Messages_SendUserIDs_Intent = "bot_ad_invite"
	Messages_SendUserIDs_Intent_BotAdPromo            Messages_SendUserIDs_Intent = "bot_ad_promo"
	Messages_SendUserIDs_Intent_ConfirmedNotification Messages_SendUserIDs_Intent = "confirmed_notification"
	Messages_SendUserIDs_Intent_CustomerSupport       Messages_SendUserIDs_Intent = "customer_support"
	Messages_SendUserIDs_Intent_Default               Messages_SendUserIDs_Intent = "default"
	Messages_SendUserIDs_Intent_GameNotification      Messages_SendUserIDs_Intent = "game_notification"
	Messages_SendUserIDs_Intent_ModeratedNewsletter   Messages_SendUserIDs_Intent = "moderated_newsletter"
	Messages_SendUserIDs_Intent_NonPromoNewsletter    Messages_SendUserIDs_Intent = "non_promo_newsletter"
	Messages_SendUserIDs_Intent_PromoNewsletter       Messages_SendUserIDs_Intent = "promo_newsletter"
	Messages_SendUserIDs_Intent_PurchaseUpdate        Messages_SendUserIDs_Intent = "purchase_update"
)

type Messages_SendUserIDs_Request

type Messages_SendUserIDs_Request struct {
	// User ID (by default — current user).
	//  Format: int64
	UserId *int
	// Unique identifier to avoid resending the message.
	RandomId *int
	//  Format: int32
	//  MaxItems: 100
	PeerIds *[]int
	// User's short address (for example, 'illarionov').
	Domain *string
	// ID of conversation the message will relate to.
	//  Minimum: 0
	//  Maximum: 1e+08
	ChatId *int
	//  Format: int64
	//  MaxItems: 100
	UserIds *[]int
	// (Required if 'attachments' is not set.) Text of the message.
	//  MaxLength: 9000
	Message *string
	// Geographical latitude of a check-in, in degrees (from -90 to 90).
	Lat *float64
	// Geographical longitude of a check-in, in degrees (from -180 to 180).
	Long *float64
	// (Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '<owner_id>' — ID of the media attachment owner. '<media_id>' — media attachment ID. Example: "photo100172_166443618"
	//  MaxLength: 9000
	Attachment *string
	ReplyTo    *int
	//  MaxItems: 1000
	ForwardMessages *[]int
	// JSON describing the forwarded message or reply
	//  Format: json
	Forward *Messages_Forward
	// Sticker id.
	//  Minimum: 0
	StickerId *int
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	//  Format: json
	Keyboard *Messages_Keyboard
	Template *string
	//  MaxLength: 1000
	Payload *string
	// JSON describing the content source in the message
	ContentSource *string
	//  Default: false
	DontParseLinks *bool
	//  Default: false
	DisableMentions *bool
	//  Default: default
	Intent *Messages_SendUserIDs_Intent
	//  Minimum: 0
	//  Maximum: 100
	SubscribeId *int
}

type Messages_SendUserIdsResponseItem

type Messages_SendUserIdsResponseItem struct {
	//  Minimum: 0
	ConversationMessageId *int               `json:"conversation_message_id,omitempty"`
	Error                 *Base_MessageError `json:"error,omitempty"`
	//  Minimum: 0
	MessageId int `json:"message_id"`
	PeerId    int `json:"peer_id"`
}

type Messages_SendUserIds_Response

type Messages_SendUserIds_Response struct {
	Response []Messages_SendUserIdsResponseItem `json:"response"`
}

type Messages_Send_Intent

type Messages_Send_Intent string
const (
	Messages_Send_Intent_AccountUpdate         Messages_Send_Intent = "account_update"
	Messages_Send_Intent_BotAdInvite           Messages_Send_Intent = "bot_ad_invite"
	Messages_Send_Intent_BotAdPromo            Messages_Send_Intent = "bot_ad_promo"
	Messages_Send_Intent_ConfirmedNotification Messages_Send_Intent = "confirmed_notification"
	Messages_Send_Intent_CustomerSupport       Messages_Send_Intent = "customer_support"
	Messages_Send_Intent_Default               Messages_Send_Intent = "default"
	Messages_Send_Intent_GameNotification      Messages_Send_Intent = "game_notification"
	Messages_Send_Intent_ModeratedNewsletter   Messages_Send_Intent = "moderated_newsletter"
	Messages_Send_Intent_NonPromoNewsletter    Messages_Send_Intent = "non_promo_newsletter"
	Messages_Send_Intent_PromoNewsletter       Messages_Send_Intent = "promo_newsletter"
	Messages_Send_Intent_PurchaseUpdate        Messages_Send_Intent = "purchase_update"
)

type Messages_Send_Request

type Messages_Send_Request struct {
	// User ID (by default — current user).
	//  Format: int64
	UserId *int
	// Unique identifier to avoid resending the message.
	RandomId *int
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	//  Format: int32
	PeerId *int
	// User's short address (for example, 'illarionov').
	Domain *string
	// ID of conversation the message will relate to.
	//  Minimum: 0
	//  Maximum: 1e+08
	ChatId *int
	//  Format: int64
	//  MaxItems: 100
	UserIds *[]int
	// (Required if 'attachments' is not set.) Text of the message.
	//  MaxLength: 9000
	Message *string
	// Geographical latitude of a check-in, in degrees (from -90 to 90).
	Lat *float64
	// Geographical longitude of a check-in, in degrees (from -180 to 180).
	Long *float64
	// (Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "<owner_id>_<media_id>", ” — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '<owner_id>' — ID of the media attachment owner. '<media_id>' — media attachment ID. Example: "photo100172_166443618"
	//  MaxLength: 9000
	Attachment *string
	ReplyTo    *int
	//  MaxItems: 1000
	ForwardMessages *[]int
	// JSON describing the forwarded message or reply
	//  Format: json
	Forward *Messages_Forward
	// Sticker id.
	//  Minimum: 0
	StickerId *int
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	//  Format: json
	Keyboard *Messages_Keyboard
	Template *string
	//  MaxLength: 1000
	Payload *string
	// JSON describing the content source in the message
	ContentSource *string
	//  Default: false
	DontParseLinks *bool
	//  Default: false
	DisableMentions *bool
	//  Default: default
	Intent *Messages_Send_Intent
	//  Minimum: 0
	//  Maximum: 100
	SubscribeId *int
}

type Messages_Send_Response

type Messages_Send_Response struct {
	// Message ID
	Response int `json:"response"`
}

type Messages_SetActivity_Request

type Messages_SetActivity_Request struct {
	// User ID.
	UserId *int
	// 'typing' — user has started to type.
	Type *Messages_SetActivity_Type
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
	//  Format: int32
	PeerId *int
	// Group ID (for group messages with group access token)
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_SetActivity_Type

type Messages_SetActivity_Type string
const (
	Messages_SetActivity_Type_Audiomessage Messages_SetActivity_Type = "audiomessage"
	Messages_SetActivity_Type_File         Messages_SetActivity_Type = "file"
	Messages_SetActivity_Type_Photo        Messages_SetActivity_Type = "photo"
	Messages_SetActivity_Type_Typing       Messages_SetActivity_Type = "typing"
	Messages_SetActivity_Type_Video        Messages_SetActivity_Type = "video"
)

type Messages_SetChatPhoto_Request

type Messages_SetChatPhoto_Request struct {
	// Upload URL from the 'response' field returned by the [vk.com/dev/photos.getChatUploadServer|photos.getChatUploadServer] method upon successfully uploading an image.
	File string
}

type Messages_SetChatPhoto_Response

type Messages_SetChatPhoto_Response struct {
	Response struct {
		Chat *Messages_Chat `json:"chat,omitempty"`
		// Service message ID
		MessageId *int `json:"message_id,omitempty"`
	} `json:"response"`
}

type Messages_TemplateActionTypeNames

type Messages_TemplateActionTypeNames string

Messages_TemplateActionTypeNames Template action type names

const (
	Messages_TemplateActionTypeNames_Text              Messages_TemplateActionTypeNames = "text"
	Messages_TemplateActionTypeNames_Start             Messages_TemplateActionTypeNames = "start"
	Messages_TemplateActionTypeNames_Location          Messages_TemplateActionTypeNames = "location"
	Messages_TemplateActionTypeNames_Vkpay             Messages_TemplateActionTypeNames = "vkpay"
	Messages_TemplateActionTypeNames_OpenApp           Messages_TemplateActionTypeNames = "open_app"
	Messages_TemplateActionTypeNames_OpenPhoto         Messages_TemplateActionTypeNames = "open_photo"
	Messages_TemplateActionTypeNames_OpenLink          Messages_TemplateActionTypeNames = "open_link"
	Messages_TemplateActionTypeNames_Callback          Messages_TemplateActionTypeNames = "callback"
	Messages_TemplateActionTypeNames_IntentSubscribe   Messages_TemplateActionTypeNames = "intent_subscribe"
	Messages_TemplateActionTypeNames_IntentUnsubscribe Messages_TemplateActionTypeNames = "intent_unsubscribe"
)

type Messages_Unpin_Request

type Messages_Unpin_Request struct {
	PeerId int
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Messages_UserXtrInvitedBy

type Messages_UserXtrInvitedBy struct {
	Users_UserXtrType
	// ID of the inviter
	//  Format: int64
	InvitedBy *int `json:"invited_by,omitempty"`
}

type Newsfeed_AddBan_Request

type Newsfeed_AddBan_Request struct {
	UserIds  *[]int
	GroupIds *[]int
}

type Newsfeed_CommentsFilters

type Newsfeed_CommentsFilters string
const (
	Newsfeed_CommentsFilters_Post  Newsfeed_CommentsFilters = "post"
	Newsfeed_CommentsFilters_Photo Newsfeed_CommentsFilters = "photo"
	Newsfeed_CommentsFilters_Video Newsfeed_CommentsFilters = "video"
	Newsfeed_CommentsFilters_Topic Newsfeed_CommentsFilters = "topic"
	Newsfeed_CommentsFilters_Note  Newsfeed_CommentsFilters = "note"
)

type Newsfeed_DeleteBan_Request

type Newsfeed_DeleteBan_Request struct {
	//  Minimum: 0
	UserIds *[]int
	//  Minimum: 0
	GroupIds *[]int
}

type Newsfeed_DeleteList_Request

type Newsfeed_DeleteList_Request struct {
	//  Minimum: 0
	ListId int
}

type Newsfeed_Generic_Response

type Newsfeed_Generic_Response struct {
	Response struct {
		Groups []Groups_GroupFull      `json:"groups"`
		Items  []Newsfeed_NewsfeedItem `json:"items"`
		//  Minimum: 0
		NewReturnedNewsItemsCount *int             `json:"new_returned_news_items_count,omitempty"`
		Profiles                  []Users_UserFull `json:"profiles"`
	} `json:"response"`
}

type Newsfeed_GetBannedExtended_Response

type Newsfeed_GetBannedExtended_Response struct {
	Response struct {
		Groups   *[]Groups_GroupFull `json:"groups,omitempty"`
		Profiles *[]Users_UserFull   `json:"profiles,omitempty"`
	} `json:"response"`
}

type Newsfeed_GetBanned_NameCase

type Newsfeed_GetBanned_NameCase string
const (
	Newsfeed_GetBanned_NameCase_Nominative    Newsfeed_GetBanned_NameCase = "nom"
	Newsfeed_GetBanned_NameCase_Genitive      Newsfeed_GetBanned_NameCase = "gen"
	Newsfeed_GetBanned_NameCase_Dative        Newsfeed_GetBanned_NameCase = "dat"
	Newsfeed_GetBanned_NameCase_Accusative    Newsfeed_GetBanned_NameCase = "acc"
	Newsfeed_GetBanned_NameCase_Instrumental  Newsfeed_GetBanned_NameCase = "ins"
	Newsfeed_GetBanned_NameCase_Prepositional Newsfeed_GetBanned_NameCase = "abl"
)

type Newsfeed_GetBanned_Request

type Newsfeed_GetBanned_Request struct {
	Fields *[]Users_Fields
	// Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
	NameCase *Newsfeed_GetBanned_NameCase
}

type Newsfeed_GetBanned_Response

type Newsfeed_GetBanned_Response struct {
	Response struct {
		Groups  *[]int `json:"groups,omitempty"`
		Members *[]int `json:"members,omitempty"`
	} `json:"response"`
}

type Newsfeed_GetComments_Request

type Newsfeed_GetComments_Request struct {
	// Number of comments to return. For auto feed, you can use the 'new_offset' parameter returned by this method.
	//  Default: 30
	//  Minimum: 0
	//  Maximum: 100
	Count   *int
	Filters *[]Newsfeed_CommentsFilters
	// Object ID, comments on repost of which shall be returned, e.g. 'wall1_45486'. (If the parameter is set, the 'filters' parameter is optional.),
	Reposts *string
	// Earliest timestamp (in Unix time) of a comment to return. By default, 24 hours ago.
	//  Minimum: 0
	StartTime *int
	// Latest timestamp (in Unix time) of a comment to return. By default, the current time.
	//  Minimum: 0
	EndTime *int
	//  Default: 0
	//  Minimum: 0
	//  Maximum: 10
	LastCommentsCount *int
	// Identificator needed to return the next page with results. Value for this parameter returns in 'next_from' field.
	StartFrom *string
	Fields    *[]Base_UserGroupFields
}

type Newsfeed_GetComments_Response

type Newsfeed_GetComments_Response struct {
	Response struct {
		Groups []Groups_GroupFull      `json:"groups"`
		Items  []Newsfeed_NewsfeedItem `json:"items"`
		// Next from value
		NextFrom *string          `json:"next_from,omitempty"`
		Profiles []Users_UserFull `json:"profiles"`
	} `json:"response"`
}

type Newsfeed_GetListsExtended_Response

type Newsfeed_GetListsExtended_Response struct {
	Response struct {
		// Total number
		Count int                 `json:"count"`
		Items []Newsfeed_ListFull `json:"items"`
	} `json:"response"`
}

type Newsfeed_GetLists_Request

type Newsfeed_GetLists_Request struct {
	//  Minimum: 0
	ListIds *[]int
}

type Newsfeed_GetLists_Response

type Newsfeed_GetLists_Response struct {
	Response struct {
		// Total number
		Count int             `json:"count"`
		Items []Newsfeed_List `json:"items"`
	} `json:"response"`
}

type Newsfeed_GetMentions_Request

type Newsfeed_GetMentions_Request struct {
	// Owner ID.
	//  Format: int64
	OwnerId *int
	// Earliest timestamp (in Unix time) of a post to return. By default, 24 hours ago.
	//  Minimum: 0
	StartTime *int
	// Latest timestamp (in Unix time) of a post to return. By default, the current time.
	//  Minimum: 0
	EndTime *int
	// Offset needed to return a specific subset of posts.
	//  Minimum: 0
	Offset *int
	// Number of posts to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 50
	Count *int
}

type Newsfeed_GetMentions_Response

type Newsfeed_GetMentions_Response struct {
	Response struct {
		// Total number
		Count int                 `json:"count"`
		Items []Wall_WallpostToId `json:"items"`
	} `json:"response"`
}

type Newsfeed_GetRecommended_Request

type Newsfeed_GetRecommended_Request struct {
	// Earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.
	//  Minimum: 0
	StartTime *int
	// Latest timestamp (in Unix time) of a news item to return. By default, the current time.
	//  Minimum: 0
	EndTime *int
	// Maximum number of photos to return. By default, '5'.
	//  Minimum: 0
	MaxPhotos *int
	// 'new_from' value obtained in previous call.
	StartFrom *string
	// Number of news items to return.
	//  Minimum: 0
	Count  *int
	Fields *[]Base_UserGroupFields
}

type Newsfeed_GetSuggestedSources_Request

type Newsfeed_GetSuggestedSources_Request struct {
	// offset required to choose a particular subset of communities or users.
	//  Minimum: 0
	Offset *int
	// amount of communities or users to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
	// shuffle the returned list or not.
	Shuffle *bool
	Fields  *[]Base_UserGroupFields
}

type Newsfeed_GetSuggestedSources_Response

type Newsfeed_GetSuggestedSources_Response struct {
	Response struct {
		// Total number
		Count *int                       `json:"count,omitempty"`
		Items *[]Users_SubscriptionsItem `json:"items,omitempty"`
	} `json:"response"`
}

type Newsfeed_Get_Request

type Newsfeed_Get_Request struct {
	Filters *[]Newsfeed_NewsfeedItemType
	// '1' — to return news items from banned sources
	ReturnBanned *bool
	// Earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.
	//  Minimum: 0
	StartTime *int
	// Latest timestamp (in Unix time) of a news item to return. By default, the current time.
	//  Minimum: 0
	EndTime *int
	// Maximum number of photos to return. By default, '5'.
	//  Minimum: 0
	MaxPhotos *int
	// Sources to obtain news from, separated by commas. User IDs can be specified in formats ” or 'u' , where ” is the user's friend ID. Community IDs can be specified in formats '-' or 'g' , where ” is the community ID. If the parameter is not set, all of the user's friends and communities are returned, except for banned sources, which can be obtained with the [vk.com/dev/newsfeed.getBanned|newsfeed.getBanned] method.
	SourceIds *string
	// identifier required to get the next page of results. Value for this parameter is returned in 'next_from' field in a reply.
	StartFrom *string
	// Number of news items to return (default 50, maximum 100). For auto feed, you can use the 'new_offset' parameter returned by this method.
	//  Minimum: 0
	Count   *int
	Fields  *[]Base_UserGroupFields
	Section *string
}

type Newsfeed_IgnoreItemType

type Newsfeed_IgnoreItemType string
const (
	Newsfeed_IgnoreItemType_PostOnTheWall Newsfeed_IgnoreItemType = "wall"
	Newsfeed_IgnoreItemType_TagOnAPhoto   Newsfeed_IgnoreItemType = "tag"
	Newsfeed_IgnoreItemType_ProfilePhoto  Newsfeed_IgnoreItemType = "profilephoto"
	Newsfeed_IgnoreItemType_Video         Newsfeed_IgnoreItemType = "video"
	Newsfeed_IgnoreItemType_Photo         Newsfeed_IgnoreItemType = "photo"
	Newsfeed_IgnoreItemType_Audio         Newsfeed_IgnoreItemType = "audio"
)

type Newsfeed_IgnoreItem_Request

type Newsfeed_IgnoreItem_Request struct {
	// Item type. Possible values: *'wall' - post on the wall,, *'tag' - tag on a photo,, *'profilephoto' - profile photo,, *'video' - video,, *'audio' - audio.
	Type Newsfeed_IgnoreItemType
	// Item owner's identifier (user or community), "Note that community id must be negative. 'owner_id=1' - user , 'owner_id=-1' - community "
	//  Default: 0
	//  Format: int64
	OwnerId *int
	// Item identifier
	//  Default: 0
	//  Minimum: 0
	ItemId *int
}

type Newsfeed_IgnoreItem_Response

type Newsfeed_IgnoreItem_Response struct {
	Response struct {
		//  Default: 1
		Status bool `json:"status"`
	} `json:"response"`
}

type Newsfeed_ItemAudio

type Newsfeed_ItemAudio struct {
	Newsfeed_ItemBase
	Audio *Newsfeed_ItemAudioAudio `json:"audio,omitempty"`
	// Post ID
	PostId *int `json:"post_id,omitempty"`
}

type Newsfeed_ItemAudioAudio

type Newsfeed_ItemAudioAudio struct {
	// Audios number
	//  Minimum: 0
	Count *int           `json:"count,omitempty"`
	Items *[]Audio_Audio `json:"items,omitempty"`
}

type Newsfeed_ItemBase

type Newsfeed_ItemBase struct {
	// Date when item has been added in Unixtime
	Date int `json:"date"`
	// Item source ID
	//  Format: int64
	SourceId int                       `json:"source_id"`
	Type     Newsfeed_NewsfeedItemType `json:"type"`
}

type Newsfeed_ItemDigest

type Newsfeed_ItemDigest struct {
	Newsfeed_ItemBase
	// id of feed in digest
	FeedId      *string                    `json:"feed_id,omitempty"`
	Footer      *Newsfeed_ItemDigestFooter `json:"footer,omitempty"`
	Header      *Newsfeed_ItemDigestHeader `json:"header,omitempty"`
	Items       *[]Newsfeed_ItemDigestItem `json:"items,omitempty"`
	MainPostIds *[]string                  `json:"main_post_ids,omitempty"`
	// type of digest
	Template  *Newsfeed_ItemDigest_Template `json:"template,omitempty"`
	TrackCode *string                       `json:"track_code,omitempty"`
}

type Newsfeed_ItemDigestButton

type Newsfeed_ItemDigestButton struct {
	Style *Newsfeed_ItemDigestButton_Style `json:"style,omitempty"`
	Title string                           `json:"title"`
}

type Newsfeed_ItemDigestButton_Style

type Newsfeed_ItemDigestButton_Style string
const (
	Newsfeed_ItemDigestButton_Style_Primary Newsfeed_ItemDigestButton_Style = "primary"
)

type Newsfeed_ItemDigestFooter

type Newsfeed_ItemDigestFooter struct {
	Button *Newsfeed_ItemDigestButton      `json:"button,omitempty"`
	Style  Newsfeed_ItemDigestFooter_Style `json:"style"`
	// text for invite to enable smart feed
	Text string `json:"text"`
}

type Newsfeed_ItemDigestFooter_Style

type Newsfeed_ItemDigestFooter_Style string
const (
	Newsfeed_ItemDigestFooter_Style_Text   Newsfeed_ItemDigestFooter_Style = "text"
	Newsfeed_ItemDigestFooter_Style_Button Newsfeed_ItemDigestFooter_Style = "button"
)

type Newsfeed_ItemDigestFullItem

type Newsfeed_ItemDigestFullItem struct {
	Attachment      *Wall_WallpostAttachment           `json:"attachment,omitempty"`
	AttachmentIndex *int                               `json:"attachment_index,omitempty"`
	Post            Wall_Wallpost                      `json:"post"`
	SourceName      *string                            `json:"source_name,omitempty"`
	Style           *Newsfeed_ItemDigestFullItem_Style `json:"style,omitempty"`
	Text            *string                            `json:"text,omitempty"`
}

type Newsfeed_ItemDigestFullItem_Style

type Newsfeed_ItemDigestFullItem_Style string
const (
	Newsfeed_ItemDigestFullItem_Style_Default   Newsfeed_ItemDigestFullItem_Style = "default"
	Newsfeed_ItemDigestFullItem_Style_Inversed  Newsfeed_ItemDigestFullItem_Style = "inversed"
	Newsfeed_ItemDigestFullItem_Style_Spotlight Newsfeed_ItemDigestFullItem_Style = "spotlight"
)

type Newsfeed_ItemDigestHeader

type Newsfeed_ItemDigestHeader struct {
	Button *Newsfeed_ItemDigestButton      `json:"button,omitempty"`
	Style  Newsfeed_ItemDigestHeader_Style `json:"style"`
	// Subtitle of the header, when title have two strings
	Subtitle *string `json:"subtitle,omitempty"`
	// Title of the header
	Title string `json:"title"`
}

type Newsfeed_ItemDigestHeader_Style

type Newsfeed_ItemDigestHeader_Style string
const (
	Newsfeed_ItemDigestHeader_Style_Singleline Newsfeed_ItemDigestHeader_Style = "singleline"
	Newsfeed_ItemDigestHeader_Style_Multiline  Newsfeed_ItemDigestHeader_Style = "multiline"
)

type Newsfeed_ItemDigestItem

type Newsfeed_ItemDigestItem Wall_Wallpost

type Newsfeed_ItemDigest_Template

type Newsfeed_ItemDigest_Template string
const (
	Newsfeed_ItemDigest_Template_List   Newsfeed_ItemDigest_Template = "list"
	Newsfeed_ItemDigest_Template_Grid   Newsfeed_ItemDigest_Template = "grid"
	Newsfeed_ItemDigest_Template_Single Newsfeed_ItemDigest_Template = "single"
)

type Newsfeed_ItemFriend

type Newsfeed_ItemFriend struct {
	Newsfeed_ItemBase
	Friends *Newsfeed_ItemFriendFriends `json:"friends,omitempty"`
}

type Newsfeed_ItemFriendFriends

type Newsfeed_ItemFriendFriends struct {
	// Number of friends has been added
	//  Minimum: 0
	Count *int           `json:"count,omitempty"`
	Items *[]Base_UserId `json:"items,omitempty"`
}

type Newsfeed_ItemHolidayRecommendationsBlockHeader

type Newsfeed_ItemHolidayRecommendationsBlockHeader struct {
	Action *Base_LinkButtonAction `json:"action,omitempty"`
	Image  *[]Base_Image          `json:"image,omitempty"`
	// Subtitle of the header
	Subtitle *string `json:"subtitle,omitempty"`
	// Title of the header
	Title *string `json:"title,omitempty"`
}

type Newsfeed_ItemPhoto

type Newsfeed_ItemPhoto struct {
	Wall_CarouselBase
	Newsfeed_ItemBase
	Photos *Newsfeed_ItemPhotoPhotos `json:"photos,omitempty"`
	// Post ID
	PostId *int `json:"post_id,omitempty"`
}

type Newsfeed_ItemPhotoPhotos

type Newsfeed_ItemPhotoPhotos struct {
	// Photos number
	//  Minimum: 0
	Count *int                      `json:"count,omitempty"`
	Items *[]Newsfeed_NewsfeedPhoto `json:"items,omitempty"`
}

type Newsfeed_ItemPhotoTag

type Newsfeed_ItemPhotoTag struct {
	Wall_CarouselBase
	Newsfeed_ItemBase
	PhotoTags *Newsfeed_ItemPhotoTagPhotoTags `json:"photo_tags,omitempty"`
	// Post ID
	PostId *int `json:"post_id,omitempty"`
}

type Newsfeed_ItemPhotoTagPhotoTags

type Newsfeed_ItemPhotoTagPhotoTags struct {
	// Tags number
	//  Minimum: 0
	Count *int                      `json:"count,omitempty"`
	Items *[]Newsfeed_NewsfeedPhoto `json:"items,omitempty"`
}

type Newsfeed_ItemPromoButton

type Newsfeed_ItemPromoButton struct {
	Newsfeed_ItemBase
	Action    *Newsfeed_ItemPromoButtonAction  `json:"action,omitempty"`
	Images    *[]Newsfeed_ItemPromoButtonImage `json:"images,omitempty"`
	Text      *string                          `json:"text,omitempty"`
	Title     *string                          `json:"title,omitempty"`
	TrackCode *string                          `json:"track_code,omitempty"`
}

type Newsfeed_ItemPromoButtonAction

type Newsfeed_ItemPromoButtonAction struct {
	Target *string `json:"target,omitempty"`
	Type   *string `json:"type,omitempty"`
	Url    *string `json:"url,omitempty"`
}

type Newsfeed_ItemPromoButtonImage

type Newsfeed_ItemPromoButtonImage struct {
	Height *int    `json:"height,omitempty"`
	Url    *string `json:"url,omitempty"`
	Width  *int    `json:"width,omitempty"`
}

type Newsfeed_ItemTopic

type Newsfeed_ItemTopic struct {
	Newsfeed_ItemBase
	Comments *Base_CommentsInfo `json:"comments,omitempty"`
	Likes    *Base_LikesInfo    `json:"likes,omitempty"`
	// Topic post ID
	PostId int `json:"post_id"`
	// Post text
	Text string `json:"text"`
}

type Newsfeed_ItemVideo

type Newsfeed_ItemVideo struct {
	Wall_CarouselBase
	Newsfeed_ItemBase
	Video *Newsfeed_ItemVideoVideo `json:"video,omitempty"`
}

type Newsfeed_ItemVideoVideo

type Newsfeed_ItemVideoVideo struct {
	// Tags number
	//  Minimum: 0
	Count *int           `json:"count,omitempty"`
	Items *[]Video_Video `json:"items,omitempty"`
}

type Newsfeed_ItemWallpost

type Newsfeed_ItemWallpost struct {
	Wall_CarouselBase
	Newsfeed_ItemBase
	Wall_WallpostFull
	Feedback *Newsfeed_ItemWallpostFeedback `json:"feedback,omitempty"`
}

type Newsfeed_ItemWallpostFeedback

type Newsfeed_ItemWallpostFeedback struct {
	Answers   *[]Newsfeed_ItemWallpostFeedbackAnswer `json:"answers,omitempty"`
	Gratitude *string                                `json:"gratitude,omitempty"`
	Question  string                                 `json:"question"`
	//  Minimum: 2
	//  Maximum: 5
	StarsCount *int                              `json:"stars_count,omitempty"`
	Type       Newsfeed_ItemWallpostFeedbackType `json:"type"`
}

type Newsfeed_ItemWallpostFeedbackAnswer

type Newsfeed_ItemWallpostFeedbackAnswer struct {
	Id    string `json:"id"`
	Title string `json:"title"`
}

type Newsfeed_ItemWallpostFeedbackType

type Newsfeed_ItemWallpostFeedbackType string
const (
	Newsfeed_ItemWallpostFeedbackType_Buttons Newsfeed_ItemWallpostFeedbackType = "buttons"
	Newsfeed_ItemWallpostFeedbackType_Stars   Newsfeed_ItemWallpostFeedbackType = "stars"
)

type Newsfeed_List

type Newsfeed_List struct {
	// List ID
	Id int `json:"id"`
	// List title
	Title string `json:"title"`
}

type Newsfeed_ListFull

type Newsfeed_ListFull struct {
	Newsfeed_List
	// Information whether reposts hiding is enabled
	NoReposts *Base_BoolInt `json:"no_reposts,omitempty"`
	//  Format: int64
	SourceIds *[]int `json:"source_ids,omitempty"`
}

type Newsfeed_NewsfeedItem

type Newsfeed_NewsfeedItem struct {
	// contains filtered or unexported fields
}

func (*Newsfeed_NewsfeedItem) MarshalJSON

func (o *Newsfeed_NewsfeedItem) MarshalJSON() ([]byte, error)

func (Newsfeed_NewsfeedItem) Raw

func (o Newsfeed_NewsfeedItem) Raw() []byte

func (*Newsfeed_NewsfeedItem) UnmarshalJSON

func (o *Newsfeed_NewsfeedItem) UnmarshalJSON(body []byte) (err error)

type Newsfeed_NewsfeedItemType

type Newsfeed_NewsfeedItemType string

Newsfeed_NewsfeedItemType Item type

const (
	Newsfeed_NewsfeedItemType_Post          Newsfeed_NewsfeedItemType = "post"
	Newsfeed_NewsfeedItemType_Photo         Newsfeed_NewsfeedItemType = "photo"
	Newsfeed_NewsfeedItemType_PhotoTag      Newsfeed_NewsfeedItemType = "photo_tag"
	Newsfeed_NewsfeedItemType_WallPhoto     Newsfeed_NewsfeedItemType = "wall_photo"
	Newsfeed_NewsfeedItemType_Friend        Newsfeed_NewsfeedItemType = "friend"
	Newsfeed_NewsfeedItemType_Audio         Newsfeed_NewsfeedItemType = "audio"
	Newsfeed_NewsfeedItemType_Video         Newsfeed_NewsfeedItemType = "video"
	Newsfeed_NewsfeedItemType_Topic         Newsfeed_NewsfeedItemType = "topic"
	Newsfeed_NewsfeedItemType_Digest        Newsfeed_NewsfeedItemType = "digest"
	Newsfeed_NewsfeedItemType_Stories       Newsfeed_NewsfeedItemType = "stories"
	Newsfeed_NewsfeedItemType_Note          Newsfeed_NewsfeedItemType = "note"
	Newsfeed_NewsfeedItemType_AudioPlaylist Newsfeed_NewsfeedItemType = "audio_playlist"
	Newsfeed_NewsfeedItemType_Clip          Newsfeed_NewsfeedItemType = "clip"
)

type Newsfeed_NewsfeedPhoto

type Newsfeed_NewsfeedPhoto struct {
	Photos_Photo
	// Information whether current user can repost the photo
	CanRepost *Base_BoolInt     `json:"can_repost,omitempty"`
	Comments  *Base_ObjectCount `json:"comments,omitempty"`
	Likes     *Base_Likes       `json:"likes,omitempty"`
}

type Newsfeed_SaveList_Request

type Newsfeed_SaveList_Request struct {
	// numeric list identifier (if not sent, will be set automatically).
	//  Minimum: 0
	ListId *int
	// list name.
	Title string
	//  Format: int64
	SourceIds *[]int
	// reposts display on and off ('1' is for off).
	NoReposts *bool
}

type Newsfeed_SaveList_Response

type Newsfeed_SaveList_Response struct {
	// List ID
	Response int `json:"response"`
}

type Newsfeed_SearchExtended_Response

type Newsfeed_SearchExtended_Response struct {
	Response struct {
		// Filtered number
		//  Minimum: 0
		Count            *int                 `json:"count,omitempty"`
		Groups           *[]Groups_GroupFull  `json:"groups,omitempty"`
		Items            *[]Wall_WallpostFull `json:"items,omitempty"`
		NextFrom         *string              `json:"next_from,omitempty"`
		Profiles         *[]Users_UserFull    `json:"profiles,omitempty"`
		SuggestedQueries *[]string            `json:"suggested_queries,omitempty"`
		// Total number
		//  Minimum: 0
		TotalCount *int `json:"total_count,omitempty"`
	} `json:"response"`
}

type Newsfeed_Search_Request

type Newsfeed_Search_Request struct {
	// Search query string (e.g., 'New Year').
	Q *string
	// Number of posts to return.
	//  Default: 30
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	// Geographical latitude point (in degrees, -90 to 90) within which to search.
	Latitude *float64
	// Geographical longitude point (in degrees, -180 to 180) within which to search.
	Longitude *float64
	// Earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.
	//  Minimum: 0
	StartTime *int
	// Latest timestamp (in Unix time) of a news item to return. By default, the current time.
	//  Minimum: 0
	EndTime   *int
	StartFrom *string
	Fields    *[]Base_UserGroupFields
}

type Newsfeed_Search_Response

type Newsfeed_Search_Response struct {
	Response struct {
		// Filtered number
		//  Minimum: 0
		Count            *int                 `json:"count,omitempty"`
		Items            *[]Wall_WallpostFull `json:"items,omitempty"`
		NextFrom         *string              `json:"next_from,omitempty"`
		SuggestedQueries *[]string            `json:"suggested_queries,omitempty"`
		// Total number
		//  Minimum: 0
		TotalCount *int `json:"total_count,omitempty"`
	} `json:"response"`
}

type Newsfeed_UnignoreItem_Request

type Newsfeed_UnignoreItem_Request struct {
	// Item type. Possible values: *'wall' - post on the wall,, *'tag' - tag on a photo,, *'profilephoto' - profile photo,, *'video' - video,, *'audio' - audio.
	Type Newsfeed_IgnoreItemType
	// Item owner's identifier (user or community), "Note that community id must be negative. 'owner_id=1' - user , 'owner_id=-1' - community "
	//  Format: int64
	OwnerId int
	// Item identifier
	//  Minimum: 0
	ItemId int
	// Track code of unignored item
	TrackCode *string
}

type Newsfeed_Unsubscribe_Request

type Newsfeed_Unsubscribe_Request struct {
	// Type of object from which to unsubscribe: 'note' — note, 'photo' — photo, 'post' — post on user wall or community wall, 'topic' — topic, 'video' — video
	Type Newsfeed_Unsubscribe_Type
	// Object owner ID.
	//  Format: int64
	OwnerId *int
	// Object ID.
	//  Minimum: 0
	ItemId int
}

type Newsfeed_Unsubscribe_Type

type Newsfeed_Unsubscribe_Type string
const (
	Newsfeed_Unsubscribe_Type_Note  Newsfeed_Unsubscribe_Type = "note"
	Newsfeed_Unsubscribe_Type_Photo Newsfeed_Unsubscribe_Type = "photo"
	Newsfeed_Unsubscribe_Type_Post  Newsfeed_Unsubscribe_Type = "post"
	Newsfeed_Unsubscribe_Type_Topic Newsfeed_Unsubscribe_Type = "topic"
	Newsfeed_Unsubscribe_Type_Video Newsfeed_Unsubscribe_Type = "video"
)

type Notes_Add_Request

type Notes_Add_Request struct {
	// Note title.
	Title string
	// Note text.
	Text string
	//  Default: all
	PrivacyView *[]string
	//  Default: all
	PrivacyComment *[]string
}

type Notes_Add_Response

type Notes_Add_Response struct {
	// Note ID
	Response int `json:"response"`
}

type Notes_CreateComment_Request

type Notes_CreateComment_Request struct {
	// Note ID.
	//  Minimum: 0
	NoteId int
	// Note owner ID.
	//  Format: int64
	//  Minimum: 0
	OwnerId *int
	// ID of the user to whom the reply is addressed (if the comment is a reply to another comment).
	//  Minimum: 0
	ReplyTo *int
	// Comment text.
	Message string
	Guid    *string
}

type Notes_CreateComment_Response

type Notes_CreateComment_Response struct {
	// Comment ID
	Response int `json:"response"`
}

type Notes_DeleteComment_Request

type Notes_DeleteComment_Request struct {
	// Comment ID.
	//  Minimum: 0
	CommentId int
	// Note owner ID.
	//  Format: int64
	//  Minimum: 0
	OwnerId *int
}

type Notes_Delete_Request

type Notes_Delete_Request struct {
	// Note ID.
	//  Minimum: 0
	NoteId int
}

type Notes_EditComment_Request

type Notes_EditComment_Request struct {
	// Comment ID.
	//  Minimum: 0
	CommentId int
	// Note owner ID.
	//  Format: int64
	//  Minimum: 0
	OwnerId *int
	// New comment text.
	//  MinLength: 2
	Message string
}

type Notes_Edit_Request

type Notes_Edit_Request struct {
	// Note ID.
	//  Minimum: 0
	NoteId int
	// Note title.
	Title string
	// Note text.
	Text string
	//  Default: all
	PrivacyView *[]string
	//  Default: all
	PrivacyComment *[]string
}

type Notes_GetById_Request

type Notes_GetById_Request struct {
	// Note ID.
	//  Minimum: 0
	NoteId int
	// Note owner ID.
	//  Format: int64
	//  Minimum: 0
	OwnerId *int
	//  Default: 0
	NeedWiki *bool
}

type Notes_GetById_Response

type Notes_GetById_Response struct {
	Response Notes_Note `json:"response"`
}

type Notes_GetComments_Request

type Notes_GetComments_Request struct {
	// Note ID.
	//  Minimum: 0
	NoteId int
	// Note owner ID.
	//  Format: int64
	//  Minimum: 0
	OwnerId *int
	//  Default: 0
	//  Minimum: 0
	Sort *Notes_GetComments_Sort
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// Number of comments to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
}

type Notes_GetComments_Response

type Notes_GetComments_Response struct {
	Response struct {
		// Total number
		Count int                 `json:"count"`
		Items []Notes_NoteComment `json:"items"`
	} `json:"response"`
}

type Notes_GetComments_Sort

type Notes_GetComments_Sort int
const (
	Notes_GetComments_Sort_0 Notes_GetComments_Sort = 0
	Notes_GetComments_Sort_1 Notes_GetComments_Sort = 1
)

type Notes_Get_Request

type Notes_Get_Request struct {
	//  Minimum: 0
	NoteIds *[]int
	// Note owner ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// Number of notes to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	//  Default: 0
	//  Minimum: 0
	Sort *Notes_Get_Sort
}

type Notes_Get_Response

type Notes_Get_Response struct {
	Response struct {
		// Total number
		Count int          `json:"count"`
		Items []Notes_Note `json:"items"`
	} `json:"response"`
}

type Notes_Get_Sort

type Notes_Get_Sort int
const (
	Notes_Get_Sort_0 Notes_Get_Sort = 0
	Notes_Get_Sort_1 Notes_Get_Sort = 1
)

type Notes_Note

type Notes_Note struct {
	// Information whether current user can comment the note
	CanComment *Base_BoolInt `json:"can_comment,omitempty"`
	// Comments number
	//  Minimum: 0
	Comments int `json:"comments"`
	// Date when the note has been created in Unixtime
	//  Minimum: 0
	Date int `json:"date"`
	// Note ID
	//  Minimum: 1
	Id int `json:"id"`
	// Note owner's ID
	//  Format: int64
	//  Minimum: 1
	OwnerId        int       `json:"owner_id"`
	PrivacyComment *[]string `json:"privacy_comment,omitempty"`
	PrivacyView    *[]string `json:"privacy_view,omitempty"`
	//  Minimum: 0
	ReadComments *int `json:"read_comments,omitempty"`
	// Note text
	Text *string `json:"text,omitempty"`
	// Note text in wiki format
	TextWiki *string `json:"text_wiki,omitempty"`
	// Note title
	Title string `json:"title"`
	// URL of the page with note preview
	//  Format: uri
	ViewUrl string `json:"view_url"`
}

type Notes_NoteComment

type Notes_NoteComment struct {
	// Date when the comment has beed added in Unixtime
	Date int `json:"date"`
	// Comment ID
	Id int `json:"id"`
	// Comment text
	Message string `json:"message"`
	// Note ID
	Nid int `json:"nid"`
	// Note ID
	Oid int `json:"oid"`
	// ID of replied comment
	ReplyTo *int `json:"reply_to,omitempty"`
	// Comment author's ID
	Uid int `json:"uid"`
}

type Notes_RestoreComment_Request

type Notes_RestoreComment_Request struct {
	// Comment ID.
	//  Minimum: 0
	CommentId int
	// Note owner ID.
	//  Format: int64
	//  Minimum: 0
	OwnerId *int
}

type Notifications_Feedback

type Notifications_Feedback struct {
	Attachments *[]Wall_WallpostAttachment `json:"attachments,omitempty"`
	// Reply author's ID
	FromId *int      `json:"from_id,omitempty"`
	Geo    *Base_Geo `json:"geo,omitempty"`
	// Item ID
	Id    *int            `json:"id,omitempty"`
	Likes *Base_LikesInfo `json:"likes,omitempty"`
	// Reply text
	Text *string `json:"text,omitempty"`
	// Wall owner's ID
	ToId *int `json:"to_id,omitempty"`
}

type Notifications_Get_Filters

type Notifications_Get_Filters string
const (
	Notifications_Get_Filters_Wall      Notifications_Get_Filters = "wall"
	Notifications_Get_Filters_Mentions  Notifications_Get_Filters = "mentions"
	Notifications_Get_Filters_Comments  Notifications_Get_Filters = "comments"
	Notifications_Get_Filters_Likes     Notifications_Get_Filters = "likes"
	Notifications_Get_Filters_Reposted  Notifications_Get_Filters = "reposted"
	Notifications_Get_Filters_Followers Notifications_Get_Filters = "followers"
	Notifications_Get_Filters_Friends   Notifications_Get_Filters = "friends"
)

type Notifications_Get_Request

type Notifications_Get_Request struct {
	// Number of notifications to return.
	//  Default: 30
	//  Minimum: 1
	//  Maximum: 100
	Count     *int
	StartFrom *string
	Filters   *[]Notifications_Get_Filters
	// Earliest timestamp (in Unix time) of a notification to return. By default, 24 hours ago.
	StartTime *int
	// Latest timestamp (in Unix time) of a notification to return. By default, the current time.
	EndTime *int
}

type Notifications_Get_Response

type Notifications_Get_Response struct {
	Response struct {
		Apps *[]Apps_App `json:"apps,omitempty"`
		// Total number
		Count  *int                              `json:"count,omitempty"`
		Groups *[]Groups_Group                   `json:"groups,omitempty"`
		Items  *[]Notifications_NotificationItem `json:"items,omitempty"`
		// Time when user has been checked notifications last time
		LastViewed *int            `json:"last_viewed,omitempty"`
		NextFrom   *string         `json:"next_from,omitempty"`
		Photos     *[]Photos_Photo `json:"photos,omitempty"`
		Profiles   *[]Users_User   `json:"profiles,omitempty"`
		Ttl        *int            `json:"ttl,omitempty"`
		Videos     *[]Video_Video  `json:"videos,omitempty"`
	} `json:"response"`
}

type Notifications_MarkAsViewed_Response

type Notifications_MarkAsViewed_Response struct {
	// Result
	Response Base_BoolInt `json:"response"`
}

type Notifications_Notification

type Notifications_Notification struct {
	// Date when the event has been occurred
	Date     *int                        `json:"date,omitempty"`
	Feedback *Notifications_Feedback     `json:"feedback,omitempty"`
	Parent   *Notifications_Notification `json:"parent,omitempty"`
	Reply    *Notifications_Reply        `json:"reply,omitempty"`
	// Notification type
	Type *string `json:"type,omitempty"`
}

type Notifications_NotificationItem

type Notifications_NotificationItem Notifications_Notification

type Notifications_NotificationsComment

type Notifications_NotificationsComment struct {
	// Date when the comment has been added in Unixtime
	//  Minimum: 0
	Date *int `json:"date,omitempty"`
	// Comment ID
	//  Minimum: 1
	Id *int `json:"id,omitempty"`
	// Author ID
	//  Format: int64
	OwnerId *int           `json:"owner_id,omitempty"`
	Photo   *Photos_Photo  `json:"photo,omitempty"`
	Post    *Wall_Wallpost `json:"post,omitempty"`
	// Comment text
	Text  *string      `json:"text,omitempty"`
	Topic *Board_Topic `json:"topic,omitempty"`
	Video *Video_Video `json:"video,omitempty"`
}

type Notifications_Reply

type Notifications_Reply struct {
	// Date when the reply has been created in Unixtime
	Date *int `json:"date,omitempty"`
	// Reply ID
	Id *int `json:"id,omitempty"`
	// Reply text
	Text *int `json:"text,omitempty"`
}

type Notifications_SendMessageError

type Notifications_SendMessageError struct {
	// Error code
	Code *Notifications_SendMessageError_Code `json:"code,omitempty"`
	// Error description
	Description *string `json:"description,omitempty"`
}

type Notifications_SendMessageError_Code

type Notifications_SendMessageError_Code int
const (
	Notifications_SendMessageError_Code_NotificationsDisabled Notifications_SendMessageError_Code = 1
	Notifications_SendMessageError_Code_FloodControlPerHour   Notifications_SendMessageError_Code = 2
	Notifications_SendMessageError_Code_FloodControlPerDay    Notifications_SendMessageError_Code = 3
	Notifications_SendMessageError_Code_AppIsNotInstalled     Notifications_SendMessageError_Code = 4
)

type Notifications_SendMessageItem

type Notifications_SendMessageItem struct {
	Error *Notifications_SendMessageError `json:"error,omitempty"`
	// Notification status
	Status *bool `json:"status,omitempty"`
	// User ID
	//  Format: int64
	UserId *int `json:"user_id,omitempty"`
}

type Notifications_SendMessage_Request

type Notifications_SendMessage_Request struct {
	//  MinItems: 1
	//  MaxItems: 100
	//  Minimum: 0
	UserIds *[]int
	//  MaxLength: 254
	Message string
	//  MaxLength: 2047
	Fragment *string
	//  Format: int64
	//  Minimum: 0
	GroupId  *int
	RandomId *int
	// Type of sending (delivering) notifications: 'immediately' — push and bell notifications will be delivered as soon as possible, 'delayed' — push and bell notifications will be delivered in the most comfortable time for the user, 'delayed_push' — only push notifications will be delivered in the most comfortable time, while the bell notifications will be delivered as soon as possible
	//  Default: immediately
	SendingMode *Notifications_SendMessage_SendingMode
}

type Notifications_SendMessage_Response

type Notifications_SendMessage_Response struct {
	Response []Notifications_SendMessageItem `json:"response"`
}

type Notifications_SendMessage_SendingMode

type Notifications_SendMessage_SendingMode string
const (
	Notifications_SendMessage_SendingMode_Delayed     Notifications_SendMessage_SendingMode = "delayed"
	Notifications_SendMessage_SendingMode_DelayedPush Notifications_SendMessage_SendingMode = "delayed_push"
	Notifications_SendMessage_SendingMode_Immediately Notifications_SendMessage_SendingMode = "immediately"
)

type OAuthError

type OAuthError interface {
	// Error returns oAuth error.
	Error() string

	// Description returns oAuth error description.
	Description() string
}

OAuthError contains fields of OAuth error.

type OAuthErrorType

type OAuthErrorType string
const (
	OAuthErrorTypeInvalidRequest          OAuthErrorType = "invalid_request"
	OAuthErrorTypeUnauthorizedClient      OAuthErrorType = "unauthorized_client"
	OAuthErrorTypeUnsupportedResponseType OAuthErrorType = "unsupported_response_type"
	OAuthErrorTypeInvalidScope            OAuthErrorType = "invalid_scope"
	OAuthErrorTypeServerError             OAuthErrorType = "server_error"
	OAuthErrorTypeTemporarilyUnavailable  OAuthErrorType = "temporarily_unavailable"
	OAuthErrorTypeAccessDenied            OAuthErrorType = "access_denied"
	OAuthErrorTypeInvalidGrant            OAuthErrorType = "invalid_grant"
	OAuthErrorTypeNeedValidation          OAuthErrorType = "need_validation"
	OAuthErrorTypeNeedCaptcha             OAuthErrorType = "need_captcha"
)

type Oauth_Error

type Oauth_Error struct {
	// Error type
	Error string `json:"error"`
	// Error description
	ErrorDescription string `json:"error_description"`
	// URI for validation
	RedirectUri *string `json:"redirect_uri,omitempty"`
}

type Option

type Option struct {
	// contains filtered or unexported fields
}

Option is structure for optional method fields.

func CaptchaKey

func CaptchaKey(key string) Option

CaptchaKey text input.

func CaptchaSID

func CaptchaSID(sid string) Option

CaptchaSID received ID.

func Lang

func Lang(l Language) Option

Lang determines the Language for the data to be displayed on. For example country and city names. Numeric format from VK.Account_GetInfo is supported as well.

func TestMode

func TestMode() Option

TestMode allows you to execute queries from a native application without enabling it for all users.

type Orders_Amount

type Orders_Amount struct {
	Amounts *[]Orders_AmountItem `json:"amounts,omitempty"`
	// Currency name
	Currency *string `json:"currency,omitempty"`
}

type Orders_AmountItem

type Orders_AmountItem struct {
	// Votes amount in user's currency
	Amount *float64 `json:"amount,omitempty"`
	// Amount description
	Description *string `json:"description,omitempty"`
	// Votes number
	Votes *string `json:"votes,omitempty"`
}

type Orders_CancelSubscription_Request

type Orders_CancelSubscription_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserId int
	//  Minimum: 0
	SubscriptionId int
	//  Default: 0
	PendingCancel *bool
}

type Orders_CancelSubscription_Response

type Orders_CancelSubscription_Response struct {
	// Result
	Response Base_BoolInt `json:"response"`
}

type Orders_ChangeState_Action

type Orders_ChangeState_Action string
const (
	Orders_ChangeState_Action_Cancel Orders_ChangeState_Action = "cancel"
	Orders_ChangeState_Action_Charge Orders_ChangeState_Action = "charge"
	Orders_ChangeState_Action_Refund Orders_ChangeState_Action = "refund"
)

type Orders_ChangeState_Request

type Orders_ChangeState_Request struct {
	// order ID.
	//  Minimum: 0
	OrderId int
	// action to be done with the order. Available actions: *cancel — to cancel unconfirmed order. *charge — to confirm unconfirmed order. Applies only if processing of [vk.com/dev/payments_status|order_change_state] notification failed. *refund — to cancel confirmed order.
	Action Orders_ChangeState_Action
	// internal ID of the order in the application.
	//  Minimum: 0
	AppOrderId *int
	// if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
	TestMode *bool
}

type Orders_ChangeState_Response

type Orders_ChangeState_Response struct {
	// New state
	Response string `json:"response"`
}

type Orders_GetAmount_Request

type Orders_GetAmount_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserId int
	//  MaxItems: 100
	Votes *[]string
}

type Orders_GetAmount_Response

type Orders_GetAmount_Response struct {
	Response []Orders_Amount `json:"response"`
}

type Orders_GetById_Request

type Orders_GetById_Request struct {
	// order ID.
	//  Minimum: 0
	OrderId *int
	//  MaxItems: 500
	//  Minimum: 0
	OrderIds *[]int
	// if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
	TestMode *bool
}

type Orders_GetById_Response

type Orders_GetById_Response struct {
	Response []Orders_Order `json:"response"`
}

type Orders_GetUserSubscriptionById_Request

type Orders_GetUserSubscriptionById_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserId int
	//  Minimum: 0
	SubscriptionId int
}

type Orders_GetUserSubscriptionById_Response

type Orders_GetUserSubscriptionById_Response struct {
	Response Orders_Subscription `json:"response"`
}

type Orders_GetUserSubscriptions_Request

type Orders_GetUserSubscriptions_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserId int
}

type Orders_GetUserSubscriptions_Response

type Orders_GetUserSubscriptions_Response struct {
	Response struct {
		// Total number
		Count *int                   `json:"count,omitempty"`
		Items *[]Orders_Subscription `json:"items,omitempty"`
	} `json:"response"`
}

type Orders_Get_Request

type Orders_Get_Request struct {
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// number of returned orders.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
	// if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
	TestMode *bool
}

type Orders_Get_Response

type Orders_Get_Response struct {
	Response []Orders_Order `json:"response"`
}

type Orders_Order

type Orders_Order struct {
	// Amount
	Amount string `json:"amount"`
	// App order ID
	AppOrderId string `json:"app_order_id"`
	// Cancel transaction ID
	CancelTransactionId *string `json:"cancel_transaction_id,omitempty"`
	// Date of creation in Unixtime
	Date string `json:"date"`
	// Order ID
	Id string `json:"id"`
	// Order item
	Item string `json:"item"`
	// Receiver ID
	ReceiverId string `json:"receiver_id"`
	// Order status
	Status Orders_Order_Status `json:"status"`
	// Transaction ID
	TransactionId *string `json:"transaction_id,omitempty"`
	// User ID
	UserId string `json:"user_id"`
}

type Orders_Order_Status

type Orders_Order_Status string
const (
	Orders_Order_Status_Created    Orders_Order_Status = "created"
	Orders_Order_Status_Charged    Orders_Order_Status = "charged"
	Orders_Order_Status_Refunded   Orders_Order_Status = "refunded"
	Orders_Order_Status_Chargeable Orders_Order_Status = "chargeable"
	Orders_Order_Status_Cancelled  Orders_Order_Status = "cancelled"
	Orders_Order_Status_Declined   Orders_Order_Status = "declined"
)

type Orders_Subscription

type Orders_Subscription struct {
	// Subscription's application id
	AppId *int `json:"app_id,omitempty"`
	// Subscription's application name
	ApplicationName *string `json:"application_name,omitempty"`
	// Cancel reason
	CancelReason *string `json:"cancel_reason,omitempty"`
	// Date of creation in Unixtime
	CreateTime int `json:"create_time"`
	// Subscription expiration time in Unixtime
	ExpireTime *int `json:"expire_time,omitempty"`
	// Subscription ID
	Id int `json:"id"`
	// Subscription order item
	ItemId string `json:"item_id"`
	// Date of next bill in Unixtime
	NextBillTime *int `json:"next_bill_time,omitempty"`
	// Pending cancel state
	PendingCancel *bool `json:"pending_cancel,omitempty"`
	// Subscription period
	Period int `json:"period"`
	// Date of last period start in Unixtime
	PeriodStartTime int `json:"period_start_time"`
	// Item photo image url
	PhotoUrl *string `json:"photo_url,omitempty"`
	// Subscription price
	Price int `json:"price"`
	// Subscription status
	Status string `json:"status"`
	// Is test subscription
	TestMode *bool `json:"test_mode,omitempty"`
	// Subscription name
	Title *string `json:"title,omitempty"`
	// Date of trial expire in Unixtime
	TrialExpireTime *int `json:"trial_expire_time,omitempty"`
	// Date of last change in Unixtime
	UpdateTime int `json:"update_time"`
}

type Orders_UpdateSubscription_Request

type Orders_UpdateSubscription_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserId int
	//  Minimum: 0
	SubscriptionId int
	//  Minimum: 0
	Price int
}

type Orders_UpdateSubscription_Response

type Orders_UpdateSubscription_Response struct {
	// Result
	Response Base_BoolInt `json:"response"`
}

type Owner_State

type Owner_State struct {
	// wiki text to describe user state
	Description *string            `json:"description,omitempty"`
	State       *Owner_State_State `json:"state,omitempty"`
}

type Owner_State_State

type Owner_State_State int
const (
	Owner_State_State_Banned      Owner_State_State = 1
	Owner_State_State_Adult       Owner_State_State = 2
	Owner_State_State_Hidden      Owner_State_State = 3
	Owner_State_State_Deleted     Owner_State_State = 4
	Owner_State_State_Blacklisted Owner_State_State = 5
)

type Pages_ClearCache_Request

type Pages_ClearCache_Request struct {
	// Address of the page where you need to refesh the cached version
	Url string
}

type Pages_GetHistory_Request

type Pages_GetHistory_Request struct {
	// Wiki page ID.
	PageId int
	// ID of the community that owns the wiki page.
	//  Format: int64
	GroupId *int
	//  Format: int64
	UserId *int
}

type Pages_GetHistory_Response

type Pages_GetHistory_Response struct {
	Response []Pages_WikipageHistory `json:"response"`
}

type Pages_GetTitles_Request

type Pages_GetTitles_Request struct {
	// ID of the community that owns the wiki page.
	//  Format: int64
	GroupId *int
}

type Pages_GetTitles_Response

type Pages_GetTitles_Response struct {
	Response []Pages_Wikipage `json:"response"`
}

type Pages_GetVersion_Request

type Pages_GetVersion_Request struct {
	VersionId int
	// ID of the community that owns the wiki page.
	//  Format: int64
	GroupId *int
	//  Format: int64
	UserId *int
	// '1' — to return the page as HTML
	NeedHtml *bool
}

type Pages_GetVersion_Response

type Pages_GetVersion_Response struct {
	Response Pages_WikipageFull `json:"response"`
}

type Pages_Get_Request

type Pages_Get_Request struct {
	// Page owner ID.
	//  Format: int64
	OwnerId *int
	// Wiki page ID.
	PageId *int
	// '1' — to return information about a global wiki page
	Global *bool
	// '1' — resulting wiki page is a preview for the attached link
	SitePreview *bool
	// Wiki page title.
	Title      *string
	NeedSource *bool
	// '1' — to return the page as HTML,
	NeedHtml *bool
}

type Pages_Get_Response

type Pages_Get_Response struct {
	Response Pages_WikipageFull `json:"response"`
}

type Pages_ParseWiki_Request

type Pages_ParseWiki_Request struct {
	// Text of the wiki page.
	Text string
	// ID of the group in the context of which this markup is interpreted.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Pages_ParseWiki_Response

type Pages_ParseWiki_Response struct {
	// HTML source
	Response string `json:"response"`
}

type Pages_PrivacySettings

type Pages_PrivacySettings int
const (
	Pages_PrivacySettings_CommunityManagersOnly Pages_PrivacySettings = 0
	Pages_PrivacySettings_CommunityMembersOnly  Pages_PrivacySettings = 1
	Pages_PrivacySettings_Everyone              Pages_PrivacySettings = 2
)

type Pages_SaveAccess_Edit

type Pages_SaveAccess_Edit int
const (
	Pages_SaveAccess_Edit_Managers Pages_SaveAccess_Edit = 0
	Pages_SaveAccess_Edit_Members  Pages_SaveAccess_Edit = 1
	Pages_SaveAccess_Edit_All      Pages_SaveAccess_Edit = 2
)

type Pages_SaveAccess_Request

type Pages_SaveAccess_Request struct {
	// Wiki page ID.
	PageId int
	// ID of the community that owns the wiki page.
	//  Format: int64
	GroupId *int
	//  Format: int64
	UserId *int
	// Who can view the wiki page: '1' — only community members, '2' — all users can view the page, '0' — only community managers
	View *Pages_SaveAccess_View
	// Who can edit the wiki page: '1' — only community members, '2' — all users can edit the page, '0' — only community managers
	Edit *Pages_SaveAccess_Edit
}

type Pages_SaveAccess_Response

type Pages_SaveAccess_Response struct {
	// Page ID
	Response int `json:"response"`
}

type Pages_SaveAccess_View

type Pages_SaveAccess_View int
const (
	Pages_SaveAccess_View_Managers Pages_SaveAccess_View = 0
	Pages_SaveAccess_View_Members  Pages_SaveAccess_View = 1
	Pages_SaveAccess_View_All      Pages_SaveAccess_View = 2
)

type Pages_Save_Request

type Pages_Save_Request struct {
	// Text of the wiki page in wiki-format.
	Text *string
	// Wiki page ID. The 'title' parameter can be passed instead of 'pid'.
	PageId *int
	// ID of the community that owns the wiki page.
	//  Format: int64
	GroupId *int
	// User ID
	//  Format: int64
	UserId *int
	// Wiki page title.
	Title *string
}

type Pages_Save_Response

type Pages_Save_Response struct {
	// Page ID
	Response int `json:"response"`
}

type Pages_Wikipage

type Pages_Wikipage struct {
	// Page creator ID
	CreatorId *int `json:"creator_id,omitempty"`
	// Page creator name
	CreatorName *string `json:"creator_name,omitempty"`
	// Last editor ID
	EditorId *int `json:"editor_id,omitempty"`
	// Last editor name
	EditorName *string `json:"editor_name,omitempty"`
	// Community ID
	//  Format: int64
	//  Minimum: 1
	GroupId int `json:"group_id"`
	// Page ID
	//  Minimum: 1
	Id int `json:"id"`
	// Page title
	Title string `json:"title"`
	// Views number
	Views int `json:"views"`
	// Edit settings of the page
	WhoCanEdit Pages_PrivacySettings `json:"who_can_edit"`
	// View settings of the page
	WhoCanView Pages_PrivacySettings `json:"who_can_view"`
}

type Pages_WikipageFull

type Pages_WikipageFull struct {
	// Date when the page has been created in Unixtime
	Created int `json:"created"`
	// Page creator ID
	CreatorId *int `json:"creator_id,omitempty"`
	// Information whether current user can edit the page
	CurrentUserCanEdit *Base_BoolInt `json:"current_user_can_edit,omitempty"`
	// Information whether current user can edit the page access settings
	CurrentUserCanEditAccess *Base_BoolInt `json:"current_user_can_edit_access,omitempty"`
	// Date when the page has been edited in Unixtime
	Edited int `json:"edited"`
	// Last editor ID
	EditorId *int `json:"editor_id,omitempty"`
	// Community ID
	//  Format: int64
	//  Minimum: 1
	GroupId int `json:"group_id"`
	// Page content, HTML
	Html *string `json:"html,omitempty"`
	// Page ID
	//  Minimum: 1
	Id int `json:"id"`
	// Owner ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// Parent
	Parent *string `json:"parent,omitempty"`
	// Parent2
	Parent2 *string `json:"parent2,omitempty"`
	// Page content, wiki
	Source *string `json:"source,omitempty"`
	// Page title
	Title string `json:"title"`
	// URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
	// URL of the page preview
	//  Format: uri
	ViewUrl string `json:"view_url"`
	// Views number
	Views int `json:"views"`
	// Edit settings of the page
	WhoCanEdit Pages_PrivacySettings `json:"who_can_edit"`
	// View settings of the page
	WhoCanView Pages_PrivacySettings `json:"who_can_view"`
}

type Pages_WikipageHistory

type Pages_WikipageHistory struct {
	// Date when the page has been edited in Unixtime
	//  Minimum: 0
	Date int `json:"date"`
	// Last editor ID
	EditorId int `json:"editor_id"`
	// Last editor name
	EditorName string `json:"editor_name"`
	// Version ID
	//  Minimum: 0
	Id int `json:"id"`
	// Page size in bytes
	//  Minimum: 0
	Length int `json:"length"`
}

type Photos_ConfirmTag_Request

type Photos_ConfirmTag_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	PhotoId string
	// Tag ID.
	TagId int
}

type Photos_Copy_Request

type Photos_Copy_Request struct {
	// photo's owner ID
	//  Format: int64
	OwnerId int
	// photo ID
	//  Minimum: 0
	PhotoId int
	// for private photos
	AccessKey *string
}

type Photos_Copy_Response

type Photos_Copy_Response struct {
	// Photo ID
	//  Minimum: 1
	Response int `json:"response"`
}

type Photos_CreateAlbum_Request

type Photos_CreateAlbum_Request struct {
	// Album title.
	//  MinLength: 2
	Title string
	// ID of the community in which the album will be created.
	//  Format: int64
	GroupId *int
	// Album description.
	Description *string
	//  Default: all
	PrivacyView *[]string
	//  Default: all
	PrivacyComment     *[]string
	UploadByAdminsOnly *bool
	CommentsDisabled   *bool
}

type Photos_CreateAlbum_Response

type Photos_CreateAlbum_Response struct {
	Response Photos_PhotoAlbumFull `json:"response"`
}

type Photos_CreateComment_Request

type Photos_CreateComment_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	PhotoId int
	// Comment text.
	Message     *string
	Attachments *[]string
	// '1' — to post a comment from the community
	FromGroup      *bool
	ReplyToComment *int
	//  Minimum: 0
	StickerId *int
	AccessKey *string
	Guid      *string
}

type Photos_CreateComment_Response

type Photos_CreateComment_Response struct {
	// Created comment ID
	Response int `json:"response"`
}

type Photos_DeleteAlbum_Request

type Photos_DeleteAlbum_Request struct {
	// Album ID.
	//  Minimum: 0
	AlbumId int
	// ID of the community that owns the album.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Photos_DeleteComment_Request

type Photos_DeleteComment_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Comment ID.
	CommentId int
}

type Photos_DeleteComment_Response

type Photos_DeleteComment_Response struct {
	// Returns 1 if request has been processed successfully, 0 if the comment is not found
	Response Base_BoolInt `json:"response"`
}

type Photos_Delete_Request

type Photos_Delete_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	//  Minimum: 0
	PhotoId int
}

type Photos_EditAlbum_Request

type Photos_EditAlbum_Request struct {
	// ID of the photo album to be edited.
	//  Minimum: 0
	AlbumId int
	// New album title.
	Title *string
	// New album description.
	Description *string
	// ID of the user or community that owns the album.
	//  Format: int64
	OwnerId            *int
	PrivacyView        *[]string
	PrivacyComment     *[]string
	UploadByAdminsOnly *bool
	CommentsDisabled   *bool
}

type Photos_EditComment_Request

type Photos_EditComment_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Comment ID.
	CommentId int
	// New text of the comment.
	Message     *string
	Attachments *[]string
}

type Photos_Edit_Request

type Photos_Edit_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	//  Minimum: 0
	PhotoId int
	// New caption for the photo. If this parameter is not set, it is considered to be equal to an empty string.
	Caption      *string
	Latitude     *float64
	Longitude    *float64
	PlaceStr     *string
	FoursquareId *string
	DeletePlace  *bool
}

type Photos_GetAlbumsCount_Request

type Photos_GetAlbumsCount_Request struct {
	// User ID.
	//  Format: int64
	UserId *int
	// Community ID.
	//  Format: int64
	GroupId *int
}

type Photos_GetAlbumsCount_Response

type Photos_GetAlbumsCount_Response struct {
	// Albums number
	//  Minimum: 0
	Response int `json:"response"`
}

type Photos_GetAlbums_Request

type Photos_GetAlbums_Request struct {
	// ID of the user or community that owns the albums.
	//  Format: int64
	OwnerId *int
	//  MaxItems: 1000
	AlbumIds *[]int
	// Offset needed to return a specific subset of albums.
	//  Minimum: 0
	Offset *int
	// Number of albums to return.
	//  Minimum: 0
	Count *int
	// '1' — to return system albums with negative IDs
	NeedSystem *bool
	// '1' — to return an additional 'thumb_src' field, '0' — (default)
	NeedCovers *bool
	// '1' — to return photo sizes in a
	PhotoSizes *bool
}

type Photos_GetAlbums_Response

type Photos_GetAlbums_Response struct {
	Response struct {
		// Total number
		Count int                     `json:"count"`
		Items []Photos_PhotoAlbumFull `json:"items"`
	} `json:"response"`
}

type Photos_GetAllComments_Request

type Photos_GetAllComments_Request struct {
	// ID of the user or community that owns the album(s).
	//  Format: int64
	OwnerId *int
	// Album ID. If the parameter is not set, comments on all of the user's albums will be returned.
	//  Minimum: 0
	AlbumId *int
	// '1' — to return an additional 'likes' field, '0' — (default)
	NeedLikes *bool
	// Offset needed to return a specific subset of comments. By default, '0'.
	//  Minimum: 0
	Offset *int
	// Number of comments to return. By default, '20'. Maximum value, '100'.
	//  Minimum: 0
	Count *int
}

type Photos_GetAllComments_Response

type Photos_GetAllComments_Response struct {
	Response struct {
		// Total number
		Count *int                `json:"count,omitempty"`
		Items *[]Wall_WallComment `json:"items,omitempty"`
	} `json:"response"`
}

type Photos_GetAllExtended_Response

type Photos_GetAllExtended_Response struct {
	Response struct {
		// Total number
		Count *int                             `json:"count,omitempty"`
		Items *[]Photos_PhotoFullXtrRealOffset `json:"items,omitempty"`
		// Information whether next page is presented
		More *Base_BoolInt `json:"more,omitempty"`
	} `json:"response"`
}

type Photos_GetAll_Request

type Photos_GetAll_Request struct {
	// ID of a user or community that owns the photos. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Offset needed to return a specific subset of photos. By default, '0'.
	//  Minimum: 0
	Offset *int
	// Number of photos to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	// '1' - to return image sizes in [vk.com/dev/photo_sizes|special format].
	PhotoSizes *bool
	// '1' - to return photos only from standard albums, '0' - to return all photos including those in service albums, e.g., 'My wall photos' (default)
	NoServiceAlbums *bool
	// '1' - to show information about photos being hidden from the block above the wall.
	NeedHidden *bool
	// '1' - not to return photos being hidden from the block above the wall. Works only with owner_id>0, no_service_albums is ignored.
	SkipHidden *bool
}

type Photos_GetAll_Response

type Photos_GetAll_Response struct {
	Response struct {
		// Total number
		Count *int                         `json:"count,omitempty"`
		Items *[]Photos_PhotoXtrRealOffset `json:"items,omitempty"`
		// Information whether next page is presented
		More *Base_BoolInt `json:"more,omitempty"`
	} `json:"response"`
}

type Photos_GetById_Request

type Photos_GetById_Request struct {
	//  MaxItems: 500
	Photos *[]string
	// '1' — to return additional fields, '0' — (default)
	Extended *bool
	// '1' — to return photo sizes in a
	PhotoSizes *bool
}

type Photos_GetById_Response

type Photos_GetById_Response struct {
	Response []Photos_Photo `json:"response"`
}

type Photos_GetChatUploadServer_Request

type Photos_GetChatUploadServer_Request struct {
	// ID of the chat for which you want to upload a cover photo.
	//  Minimum: 0
	ChatId int
	//  Minimum: 0
	CropX *int
	//  Minimum: 0
	CropY *int
	// Width (in pixels) of the photo after cropping.
	//  Minimum: 200
	CropWidth *int
}

type Photos_GetCommentsExtended_Response

type Photos_GetCommentsExtended_Response struct {
	Response struct {
		// Total number
		Count    int                `json:"count"`
		Groups   []Groups_GroupFull `json:"groups"`
		Items    []Wall_WallComment `json:"items"`
		Profiles []Users_UserFull   `json:"profiles"`
		// Real offset of the comments
		//  Minimum: 0
		RealOffset *int `json:"real_offset,omitempty"`
	} `json:"response"`
}

type Photos_GetComments_Request

type Photos_GetComments_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	PhotoId int
	// '1' — to return an additional 'likes' field, '0' — (default)
	NeedLikes *bool
	//  Minimum: 0
	StartCommentId *int
	// Offset needed to return a specific subset of comments. By default, '0'.
	Offset *int
	// Number of comments to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	// Sort order: 'asc' — old first, 'desc' — new first
	Sort      *Photos_GetComments_Sort
	AccessKey *string
	Fields    *[]Users_Fields
}

type Photos_GetComments_Response

type Photos_GetComments_Response struct {
	Response struct {
		// Total number
		Count *int                `json:"count,omitempty"`
		Items *[]Wall_WallComment `json:"items,omitempty"`
		// Real offset of the comments
		//  Minimum: 0
		RealOffset *int `json:"real_offset,omitempty"`
	} `json:"response"`
}

type Photos_GetComments_Sort

type Photos_GetComments_Sort string
const (
	Photos_GetComments_Sort_OldFirst Photos_GetComments_Sort = "asc"
	Photos_GetComments_Sort_NewFirst Photos_GetComments_Sort = "desc"
)

type Photos_GetMarketAlbumUploadServer_Request

type Photos_GetMarketAlbumUploadServer_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
}

type Photos_GetMarketUploadServer_Request

type Photos_GetMarketUploadServer_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// '1' if you want to upload the main item photo.
	MainPhoto *bool
	// X coordinate of the crop left upper corner.
	//  Minimum: 0
	CropX *int
	// Y coordinate of the crop left upper corner.
	//  Minimum: 0
	CropY *int
	// Width of the cropped photo in px.
	//  Minimum: 400
	CropWidth *int
}

type Photos_GetMarketUploadServer_Response

type Photos_GetMarketUploadServer_Response struct {
	Response Base_UploadServer `json:"response"`
}

type Photos_GetMessagesUploadServer_Request

type Photos_GetMessagesUploadServer_Request struct {
	// Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
	PeerId *int
}

type Photos_GetMessagesUploadServer_Response

type Photos_GetMessagesUploadServer_Response struct {
	Response Photos_PhotoUpload `json:"response"`
}

type Photos_GetNewTags_Request

type Photos_GetNewTags_Request struct {
	// Offset needed to return a specific subset of photos.
	Offset *int
	// Number of photos to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
}

type Photos_GetNewTags_Response

type Photos_GetNewTags_Response struct {
	Response struct {
		// Total number
		Count int                      `json:"count"`
		Items []Photos_PhotoXtrTagInfo `json:"items"`
	} `json:"response"`
}

type Photos_GetOwnerCoverPhotoUploadServer_Request

type Photos_GetOwnerCoverPhotoUploadServer_Request struct {
	// ID of community that owns the album (if the photo will be uploaded to a community album).
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// X coordinate of the left-upper corner
	//  Default: 0
	//  Minimum: 0
	CropX *int
	// Y coordinate of the left-upper corner
	//  Default: 0
	//  Minimum: 0
	CropY *int
	// X coordinate of the right-bottom corner
	//  Default: 795
	//  Minimum: 0
	CropX2 *int
	// Y coordinate of the right-bottom corner
	//  Default: 200
	//  Minimum: 0
	CropY2 *int
}

type Photos_GetOwnerPhotoUploadServer_Request

type Photos_GetOwnerPhotoUploadServer_Request struct {
	// identifier of a community or current user. "Note that community id must be negative. 'owner_id=1' - user, 'owner_id=-1' - community, "
	//  Format: int64
	OwnerId *int
}

type Photos_GetTags_Request

type Photos_GetTags_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	PhotoId   int
	AccessKey *string
}

type Photos_GetTags_Response

type Photos_GetTags_Response struct {
	Response []Photos_PhotoTag `json:"response"`
}

type Photos_GetUploadServer_Request

type Photos_GetUploadServer_Request struct {
	//  Format: int32
	AlbumId *int
	// ID of community that owns the album (if the photo will be uploaded to a community album).
	//  Format: int64
	GroupId *int
}

type Photos_GetUploadServer_Response

type Photos_GetUploadServer_Response struct {
	Response Photos_PhotoUpload `json:"response"`
}

type Photos_GetUserPhotos_Request

type Photos_GetUserPhotos_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// Offset needed to return a specific subset of photos. By default, '0'.
	//  Minimum: 0
	Offset *int
	// Number of photos to return. Maximum value is 1000.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
	// '1' — to return an additional 'likes' field, '0' — (default)
	Extended *bool
	// Sort order: '1' — by date the tag was added in ascending order, '0' — by date the tag was added in descending order
	Sort *string
}

type Photos_GetUserPhotos_Response

type Photos_GetUserPhotos_Response struct {
	Response struct {
		// Total number
		Count int            `json:"count"`
		Items []Photos_Photo `json:"items"`
	} `json:"response"`
}

type Photos_GetWallUploadServer_Request

type Photos_GetWallUploadServer_Request struct {
	// ID of community to whose wall the photo will be uploaded.
	//  Format: int64
	GroupId *int
}

type Photos_GetWallUploadServer_Response

type Photos_GetWallUploadServer_Response struct {
	Response Photos_PhotoUpload `json:"response"`
}

type Photos_Get_Request

type Photos_Get_Request struct {
	// ID of the user or community that owns the photos. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Photo album ID. To return information about photos from service albums, use the following string values: 'profile, wall, saved'.
	AlbumId  *string
	PhotoIds *[]string
	// Sort order: '1' — reverse chronological, '0' — chronological
	Rev *bool
	// '1' — to return additional 'likes', 'comments', and 'tags' fields, '0' — (default)
	Extended *bool
	// Type of feed obtained in 'feed' field of the method.
	FeedType *string
	// unixtime, that can be obtained with [vk.com/dev/newsfeed.get|newsfeed.get] method in date field to get all photos uploaded by the user on a specific day, or photos the user has been tagged on. Also, 'uid' parameter of the user the event happened with shall be specified.
	Feed *int
	// '1' — to return photo sizes in a [vk.com/dev/photo_sizes|special format]
	PhotoSizes *bool
	//  Minimum: 0
	Offset *int
	//  Default: 50
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Photos_Get_Response

type Photos_Get_Response struct {
	Response struct {
		// Total number
		Count int            `json:"count"`
		Items []Photos_Photo `json:"items"`
	} `json:"response"`
}

type Photos_Image

type Photos_Image struct {
	// Height of the photo in px.
	Height *int              `json:"height,omitempty"`
	Type   *Photos_ImageType `json:"type,omitempty"`
	// Photo URL.
	//  Format: uri
	Url *string `json:"url,omitempty"`
	// Width of the photo in px.
	Width *int `json:"width,omitempty"`
}

type Photos_ImageType

type Photos_ImageType string

Photos_ImageType Photo's type.

const (
	Photos_ImageType_S Photos_ImageType = "s"
	Photos_ImageType_M Photos_ImageType = "m"
	Photos_ImageType_X Photos_ImageType = "x"
	Photos_ImageType_L Photos_ImageType = "l"
	Photos_ImageType_O Photos_ImageType = "o"
	Photos_ImageType_P Photos_ImageType = "p"
	Photos_ImageType_Q Photos_ImageType = "q"
	Photos_ImageType_R Photos_ImageType = "r"
	Photos_ImageType_Y Photos_ImageType = "y"
	Photos_ImageType_Z Photos_ImageType = "z"
	Photos_ImageType_W Photos_ImageType = "w"
)

type Photos_MakeCover_Request

type Photos_MakeCover_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	PhotoId int
	// Album ID.
	AlbumId *int
}

type Photos_MarketAlbumUpload_Response

type Photos_MarketAlbumUpload_Response struct {
	Response struct {
		// Community ID
		Gid *int `json:"gid,omitempty"`
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Photo *string `json:"photo,omitempty"`
		// Upload server number
		Server *int `json:"server,omitempty"`
	} `json:"response"`
}

type Photos_MarketUpload_Response

type Photos_MarketUpload_Response struct {
	Response struct {
		// Crop data
		CropData *string `json:"crop_data,omitempty"`
		// Crop hash
		CropHash *string `json:"crop_hash,omitempty"`
		// Community ID
		//  Format: int64
		GroupId *int `json:"group_id,omitempty"`
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Photo *string `json:"photo,omitempty"`
		// Upload server number
		Server *int `json:"server,omitempty"`
	} `json:"response"`
}

type Photos_MessageUpload_Response

type Photos_MessageUpload_Response struct {
	Response struct {
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Photo *string `json:"photo,omitempty"`
		// Upload server number
		Server *int `json:"server,omitempty"`
	} `json:"response"`
}

type Photos_Move_Request

type Photos_Move_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// ID of the album to which the photo will be moved.
	TargetAlbumId int
	//  MaxItems: 100
	PhotoIds int
}

type Photos_OwnerCoverUpload_Response

type Photos_OwnerCoverUpload_Response struct {
	Response struct {
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Photo *string `json:"photo,omitempty"`
	} `json:"response"`
}

type Photos_OwnerUpload_Response

type Photos_OwnerUpload_Response struct {
	Response struct {
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Photo *string `json:"photo,omitempty"`
		// Upload server number
		Server *int `json:"server,omitempty"`
	} `json:"response"`
}

type Photos_Photo

type Photos_Photo struct {
	// Access key for the photo
	AccessKey *string `json:"access_key,omitempty"`
	// Album ID
	AlbumId int `json:"album_id"`
	// Information whether current user can comment the photo
	CanComment *Base_BoolInt     `json:"can_comment,omitempty"`
	Comments   *Base_ObjectCount `json:"comments,omitempty"`
	// Date when uploaded
	//  Minimum: 0
	Date int `json:"date"`
	// Whether photo has attached tag links
	HasTags bool `json:"has_tags"`
	// Original photo height
	//  Minimum: 0
	Height *int `json:"height,omitempty"`
	// Photo ID
	//  Minimum: 0
	Id     int             `json:"id"`
	Images *[]Photos_Image `json:"images,omitempty"`
	// Latitude
	Lat   *float64    `json:"lat,omitempty"`
	Likes *Base_Likes `json:"likes,omitempty"`
	// Longitude
	Long *float64 `json:"long,omitempty"`
	// Photo owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// URL of image with 2560 px width
	//  Format: uri
	Photo256 *string `json:"photo_256,omitempty"`
	Place    *string `json:"place,omitempty"`
	// Post ID
	//  Minimum: 1
	PostId  *int                 `json:"post_id,omitempty"`
	Reposts *Base_RepostsInfo    `json:"reposts,omitempty"`
	Sizes   *[]Photos_PhotoSizes `json:"sizes,omitempty"`
	Tags    *Base_ObjectCount    `json:"tags,omitempty"`
	// Photo caption
	Text *string `json:"text,omitempty"`
	// ID of the user who have uploaded the photo
	//  Format: int64
	//  Minimum: 1
	UserId *int `json:"user_id,omitempty"`
	// Original photo width
	//  Minimum: 0
	Width *int `json:"width,omitempty"`
}

type Photos_PhotoAlbum

type Photos_PhotoAlbum struct {
	// Date when the album has been created in Unixtime
	//  Minimum: 0
	Created int `json:"created"`
	// Photo album description
	Description *string `json:"description,omitempty"`
	// Photo album ID
	Id int `json:"id"`
	// Album owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// Photos number
	//  Minimum: 0
	Size  int           `json:"size"`
	Thumb *Photos_Photo `json:"thumb,omitempty"`
	// Photo album title
	Title string `json:"title"`
	// Date when the album has been updated last time in Unixtime
	//  Minimum: 0
	Updated int `json:"updated"`
}

type Photos_PhotoAlbumFull

type Photos_PhotoAlbumFull struct {
	// album can delete
	CanDelete *bool `json:"can_delete,omitempty"`
	// Information whether current user can upload photo to the album
	CanUpload *Base_BoolInt `json:"can_upload,omitempty"`
	// Information whether album comments are disabled
	CommentsDisabled *Base_BoolInt `json:"comments_disabled,omitempty"`
	// Date when the album has been created in Unixtime
	//  Minimum: 0
	Created int `json:"created"`
	// Photo album description
	Description *string `json:"description,omitempty"`
	// Photo album ID
	Id int `json:"id"`
	// Album owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// Photos number
	//  Minimum: 0
	Size  int                  `json:"size"`
	Sizes *[]Photos_PhotoSizes `json:"sizes,omitempty"`
	// Thumb photo ID
	//  Minimum: 0
	ThumbId *int `json:"thumb_id,omitempty"`
	// Information whether the album thumb is last photo
	ThumbIsLast *Base_BoolInt `json:"thumb_is_last,omitempty"`
	// URL of the thumb image
	//  Format: uri
	ThumbSrc *string `json:"thumb_src,omitempty"`
	// Photo album title
	Title string `json:"title"`
	// Date when the album has been updated last time in Unixtime
	//  Minimum: 0
	Updated int `json:"updated"`
	// Information whether only community administrators can upload photos
	UploadByAdminsOnly *Base_BoolInt `json:"upload_by_admins_only,omitempty"`
}

type Photos_PhotoFalseable

type Photos_PhotoFalseable struct {
	// contains filtered or unexported fields
}

func (*Photos_PhotoFalseable) MarshalJSON

func (o *Photos_PhotoFalseable) MarshalJSON() ([]byte, error)

func (Photos_PhotoFalseable) Raw

func (o Photos_PhotoFalseable) Raw() []byte

func (*Photos_PhotoFalseable) UnmarshalJSON

func (o *Photos_PhotoFalseable) UnmarshalJSON(body []byte) (err error)

type Photos_PhotoFullXtrRealOffset

type Photos_PhotoFullXtrRealOffset struct {
	// Access key for the photo
	AccessKey *string `json:"access_key,omitempty"`
	// Album ID
	AlbumId    int               `json:"album_id"`
	CanComment *Base_BoolInt     `json:"can_comment,omitempty"`
	Comments   *Base_ObjectCount `json:"comments,omitempty"`
	// Date when uploaded
	//  Minimum: 0
	Date int `json:"date"`
	// Original photo height
	//  Minimum: 0
	Height *int `json:"height,omitempty"`
	// Returns if the photo is hidden above the wall
	Hidden *Base_PropertyExists `json:"hidden,omitempty"`
	// Photo ID
	//  Minimum: 0
	Id int `json:"id"`
	// Latitude
	Lat   *float64    `json:"lat,omitempty"`
	Likes *Base_Likes `json:"likes,omitempty"`
	// Longitude
	Long *float64 `json:"long,omitempty"`
	// Photo owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// URL of image with 1280 px width
	//  Format: uri
	Photo1280 *string `json:"photo_1280,omitempty"`
	// URL of image with 130 px width
	//  Format: uri
	Photo130 *string `json:"photo_130,omitempty"`
	// URL of image with 2560 px width
	//  Format: uri
	Photo2560 *string `json:"photo_2560,omitempty"`
	// URL of image with 604 px width
	//  Format: uri
	Photo604 *string `json:"photo_604,omitempty"`
	// URL of image with 75 px width
	//  Format: uri
	Photo75 *string `json:"photo_75,omitempty"`
	// URL of image with 807 px width
	//  Format: uri
	Photo807 *string `json:"photo_807,omitempty"`
	// Post ID
	//  Minimum: 1
	PostId *int `json:"post_id,omitempty"`
	// Real position of the photo
	RealOffset *int                 `json:"real_offset,omitempty"`
	Reposts    *Base_ObjectCount    `json:"reposts,omitempty"`
	Sizes      *[]Photos_PhotoSizes `json:"sizes,omitempty"`
	Tags       *Base_ObjectCount    `json:"tags,omitempty"`
	// Photo caption
	Text *string `json:"text,omitempty"`
	// ID of the user who have uploaded the photo
	//  Format: int64
	//  Minimum: 1
	UserId *int `json:"user_id,omitempty"`
	// Original photo width
	//  Minimum: 0
	Width *int `json:"width,omitempty"`
}

type Photos_PhotoSizes

type Photos_PhotoSizes struct {
	// Height in px
	//  Minimum: 0
	Height int `json:"height"`
	// URL of the image
	//  Format: uri
	Src  *string               `json:"src,omitempty"`
	Type Photos_PhotoSizesType `json:"type"`
	// URL of the image
	//  Format: uri
	Url string `json:"url"`
	// Width in px
	//  Minimum: 0
	Width int `json:"width"`
}

type Photos_PhotoSizesType

type Photos_PhotoSizesType string

Photos_PhotoSizesType Size type

const (
	Photos_PhotoSizesType_S    Photos_PhotoSizesType = "s"
	Photos_PhotoSizesType_M    Photos_PhotoSizesType = "m"
	Photos_PhotoSizesType_X    Photos_PhotoSizesType = "x"
	Photos_PhotoSizesType_O    Photos_PhotoSizesType = "o"
	Photos_PhotoSizesType_P    Photos_PhotoSizesType = "p"
	Photos_PhotoSizesType_Q    Photos_PhotoSizesType = "q"
	Photos_PhotoSizesType_R    Photos_PhotoSizesType = "r"
	Photos_PhotoSizesType_K    Photos_PhotoSizesType = "k"
	Photos_PhotoSizesType_L    Photos_PhotoSizesType = "l"
	Photos_PhotoSizesType_Y    Photos_PhotoSizesType = "y"
	Photos_PhotoSizesType_Z    Photos_PhotoSizesType = "z"
	Photos_PhotoSizesType_C    Photos_PhotoSizesType = "c"
	Photos_PhotoSizesType_W    Photos_PhotoSizesType = "w"
	Photos_PhotoSizesType_A    Photos_PhotoSizesType = "a"
	Photos_PhotoSizesType_B    Photos_PhotoSizesType = "b"
	Photos_PhotoSizesType_E    Photos_PhotoSizesType = "e"
	Photos_PhotoSizesType_I    Photos_PhotoSizesType = "i"
	Photos_PhotoSizesType_D    Photos_PhotoSizesType = "d"
	Photos_PhotoSizesType_J    Photos_PhotoSizesType = "j"
	Photos_PhotoSizesType_Temp Photos_PhotoSizesType = "temp"
	Photos_PhotoSizesType_H    Photos_PhotoSizesType = "h"
	Photos_PhotoSizesType_G    Photos_PhotoSizesType = "g"
	Photos_PhotoSizesType_N    Photos_PhotoSizesType = "n"
	Photos_PhotoSizesType_F    Photos_PhotoSizesType = "f"
	Photos_PhotoSizesType_Max  Photos_PhotoSizesType = "max"
)

type Photos_PhotoTag

type Photos_PhotoTag struct {
	// Date when tag has been added in Unixtime
	//  Minimum: 0
	Date int `json:"date"`
	// Tagged description.
	Description *string `json:"description,omitempty"`
	// Tag ID
	Id int `json:"id"`
	// ID of the tag creator
	PlacerId int `json:"placer_id"`
	// Tag description
	TaggedName string `json:"tagged_name"`
	// Tagged user ID
	//  Format: int64
	UserId int `json:"user_id"`
	// Information whether the tag is reviewed
	Viewed Base_BoolInt `json:"viewed"`
	// Coordinate X of the left upper corner
	X float64 `json:"x"`
	// Coordinate X of the right lower corner
	X2 float64 `json:"x2"`
	// Coordinate Y of the left upper corner
	Y float64 `json:"y"`
	// Coordinate Y of the right lower corner
	Y2 float64 `json:"y2"`
}

type Photos_PhotoUpload

type Photos_PhotoUpload struct {
	// Album ID
	AlbumId int `json:"album_id"`
	// Fallback URL if upload_url returned error
	//  Format: uri
	FallbackUploadUrl *string `json:"fallback_upload_url,omitempty"`
	// Group ID
	//  Format: int64
	GroupId *int `json:"group_id,omitempty"`
	// URL to upload photo
	//  Format: uri
	UploadUrl string `json:"upload_url"`
	// User ID
	//  Format: int64
	UserId int `json:"user_id"`
}

type Photos_PhotoUpload_Response

type Photos_PhotoUpload_Response struct {
	Response struct {
		// Album ID
		Aid *int `json:"aid,omitempty"`
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Photo *string `json:"photo,omitempty"`
		// Uploaded photos data
		PhotosList *string `json:"photos_list,omitempty"`
		// Upload server number
		Server *int `json:"server,omitempty"`
	} `json:"response"`
}

type Photos_PhotoXtrRealOffset

type Photos_PhotoXtrRealOffset struct {
	// Access key for the photo
	AccessKey *string `json:"access_key,omitempty"`
	// Album ID
	AlbumId int `json:"album_id"`
	// Date when uploaded
	//  Minimum: 0
	Date int `json:"date"`
	// Original photo height
	//  Minimum: 0
	Height *int `json:"height,omitempty"`
	// Returns if the photo is hidden above the wall
	Hidden *Base_PropertyExists `json:"hidden,omitempty"`
	// Photo ID
	//  Minimum: 0
	Id int `json:"id"`
	// Latitude
	Lat *float64 `json:"lat,omitempty"`
	// Longitude
	Long *float64 `json:"long,omitempty"`
	// Photo owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// URL of image with 1280 px width
	//  Format: uri
	Photo1280 *string `json:"photo_1280,omitempty"`
	// URL of image with 130 px width
	//  Format: uri
	Photo130 *string `json:"photo_130,omitempty"`
	// URL of image with 2560 px width
	//  Format: uri
	Photo2560 *string `json:"photo_2560,omitempty"`
	// URL of image with 604 px width
	//  Format: uri
	Photo604 *string `json:"photo_604,omitempty"`
	// URL of image with 75 px width
	//  Format: uri
	Photo75 *string `json:"photo_75,omitempty"`
	// URL of image with 807 px width
	//  Format: uri
	Photo807 *string `json:"photo_807,omitempty"`
	// Post ID
	//  Minimum: 1
	PostId *int `json:"post_id,omitempty"`
	// Real position of the photo
	RealOffset *int                 `json:"real_offset,omitempty"`
	Sizes      *[]Photos_PhotoSizes `json:"sizes,omitempty"`
	// Photo caption
	Text *string `json:"text,omitempty"`
	// ID of the user who have uploaded the photo
	//  Format: int64
	//  Minimum: 1
	UserId *int `json:"user_id,omitempty"`
	// Original photo width
	//  Minimum: 0
	Width *int `json:"width,omitempty"`
}

type Photos_PhotoXtrTagInfo

type Photos_PhotoXtrTagInfo struct {
	// Access key for the photo
	AccessKey *string `json:"access_key,omitempty"`
	// Album ID
	AlbumId int `json:"album_id"`
	// Date when uploaded
	//  Minimum: 0
	Date int `json:"date"`
	// Original photo height
	//  Minimum: 0
	Height *int `json:"height,omitempty"`
	// Photo ID
	//  Minimum: 0
	Id int `json:"id"`
	// Latitude
	Lat *float64 `json:"lat,omitempty"`
	// Longitude
	Long *float64 `json:"long,omitempty"`
	// Photo owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// URL of image with 1280 px width
	//  Format: uri
	Photo1280 *string `json:"photo_1280,omitempty"`
	// URL of image with 130 px width
	//  Format: uri
	Photo130 *string `json:"photo_130,omitempty"`
	// URL of image with 2560 px width
	//  Format: uri
	Photo2560 *string `json:"photo_2560,omitempty"`
	// URL of image with 604 px width
	//  Format: uri
	Photo604 *string `json:"photo_604,omitempty"`
	// URL of image with 75 px width
	//  Format: uri
	Photo75 *string `json:"photo_75,omitempty"`
	// URL of image with 807 px width
	//  Format: uri
	Photo807 *string `json:"photo_807,omitempty"`
	// ID of the tag creator
	PlacerId *int `json:"placer_id,omitempty"`
	// Post ID
	//  Minimum: 1
	PostId *int                 `json:"post_id,omitempty"`
	Sizes  *[]Photos_PhotoSizes `json:"sizes,omitempty"`
	// Date when tag has been added in Unixtime
	//  Minimum: 0
	TagCreated *int `json:"tag_created,omitempty"`
	// Tag ID
	TagId *int `json:"tag_id,omitempty"`
	// Photo caption
	Text *string `json:"text,omitempty"`
	// ID of the user who have uploaded the photo
	//  Format: int64
	//  Minimum: 1
	UserId *int `json:"user_id,omitempty"`
	// Original photo width
	//  Minimum: 0
	Width *int `json:"width,omitempty"`
}

type Photos_PutTag_Request

type Photos_PutTag_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	//  Minimum: 0
	PhotoId int
	// ID of the user to be tagged.
	//  Format: int64
	UserId int
	// Upper left-corner coordinate of the tagged area (as a percentage of the photo's width).
	X *float64
	// Upper left-corner coordinate of the tagged area (as a percentage of the photo's height).
	Y *float64
	// Lower right-corner coordinate of the tagged area (as a percentage of the photo's width).
	X2 *float64
	// Lower right-corner coordinate of the tagged area (as a percentage of the photo's height).
	Y2 *float64
}

type Photos_PutTag_Response

type Photos_PutTag_Response struct {
	// Created tag ID
	Response int `json:"response"`
}

type Photos_RemoveTag_Request

type Photos_RemoveTag_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	PhotoId int
	// Tag ID.
	TagId int
}

type Photos_ReorderAlbums_Request

type Photos_ReorderAlbums_Request struct {
	// ID of the user or community that owns the album.
	//  Format: int64
	OwnerId *int
	// Album ID.
	AlbumId int
	// ID of the album before which the album in question shall be placed.
	Before *int
	// ID of the album after which the album in question shall be placed.
	After *int
}

type Photos_ReorderPhotos_Request

type Photos_ReorderPhotos_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	PhotoId int
	// ID of the photo before which the photo in question shall be placed.
	Before *int
	// ID of the photo after which the photo in question shall be placed.
	After *int
}

type Photos_ReportComment_Reason

type Photos_ReportComment_Reason int
const (
	Photos_ReportComment_Reason_Spam             Photos_ReportComment_Reason = 0
	Photos_ReportComment_Reason_ChildPornography Photos_ReportComment_Reason = 1
	Photos_ReportComment_Reason_Extremism        Photos_ReportComment_Reason = 2
	Photos_ReportComment_Reason_Violence         Photos_ReportComment_Reason = 3
	Photos_ReportComment_Reason_DrugPropaganda   Photos_ReportComment_Reason = 4
	Photos_ReportComment_Reason_AdultMaterial    Photos_ReportComment_Reason = 5
	Photos_ReportComment_Reason_InsultAbuse      Photos_ReportComment_Reason = 6
)

type Photos_ReportComment_Request

type Photos_ReportComment_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId int
	// ID of the comment being reported.
	//  Minimum: 0
	CommentId int
	// Reason for the complaint: '0' - spam, '1' - child pornography, '2' - extremism, '3' - violence, '4' - drug propaganda, '5' - adult material, '6' - insult, abuse
	//  Minimum: 0
	Reason *Photos_ReportComment_Reason
}

type Photos_Report_Reason

type Photos_Report_Reason int
const (
	Photos_Report_Reason_Spam             Photos_Report_Reason = 0
	Photos_Report_Reason_ChildPornography Photos_Report_Reason = 1
	Photos_Report_Reason_Extremism        Photos_Report_Reason = 2
	Photos_Report_Reason_Violence         Photos_Report_Reason = 3
	Photos_Report_Reason_DrugPropaganda   Photos_Report_Reason = 4
	Photos_Report_Reason_AdultMaterial    Photos_Report_Reason = 5
	Photos_Report_Reason_InsultAbuse      Photos_Report_Reason = 6
)

type Photos_Report_Request

type Photos_Report_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId int
	// Photo ID.
	//  Minimum: 0
	PhotoId int
	// Reason for the complaint: '0' - spam, '1' - child pornography, '2' - extremism, '3' - violence, '4' - drug propaganda, '5' - adult material, '6' - insult, abuse
	//  Minimum: 0
	Reason *Photos_Report_Reason
}

type Photos_RestoreComment_Request

type Photos_RestoreComment_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// ID of the deleted comment.
	CommentId int
}

type Photos_RestoreComment_Response

type Photos_RestoreComment_Response struct {
	// Returns 1 if request has been processed successfully, 0 if the comment is not found
	Response Base_BoolInt `json:"response"`
}

type Photos_Restore_Request

type Photos_Restore_Request struct {
	// ID of the user or community that owns the photo.
	//  Format: int64
	OwnerId *int
	// Photo ID.
	//  Minimum: 0
	PhotoId int
}

type Photos_SaveMarketAlbumPhoto_Request

type Photos_SaveMarketAlbumPhoto_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 1
	GroupId int
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Photo string
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	//  Minimum: 0
	Server int
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Hash string
}

type Photos_SaveMarketAlbumPhoto_Response

type Photos_SaveMarketAlbumPhoto_Response struct {
	Response []Photos_Photo `json:"response"`
}

type Photos_SaveMarketPhoto_Request

type Photos_SaveMarketPhoto_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Photo string
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Server int
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Hash string
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	CropData *string
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	CropHash *string
}

type Photos_SaveMarketPhoto_Response

type Photos_SaveMarketPhoto_Response struct {
	Response []Photos_Photo `json:"response"`
}

type Photos_SaveMessagesPhoto_Request

type Photos_SaveMessagesPhoto_Request struct {
	// Parameter returned when the photo is [vk.com/dev/upload_files|uploaded to the server].
	Photo  string
	Server *int
	Hash   *string
}

type Photos_SaveMessagesPhoto_Response

type Photos_SaveMessagesPhoto_Response struct {
	Response []Photos_Photo `json:"response"`
}

type Photos_SaveOwnerCoverPhoto_Request

type Photos_SaveOwnerCoverPhoto_Request struct {
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Hash string
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Photo string
}

type Photos_SaveOwnerCoverPhoto_Response

type Photos_SaveOwnerCoverPhoto_Response struct {
	Response struct {
		Images *[]Base_Image `json:"images,omitempty"`
	} `json:"response"`
}

type Photos_SaveOwnerPhoto_Request

type Photos_SaveOwnerPhoto_Request struct {
	// parameter returned after [vk.com/dev/upload_files|photo upload].
	Server *string
	// parameter returned after [vk.com/dev/upload_files|photo upload].
	Hash *string
	// parameter returned after [vk.com/dev/upload_files|photo upload].
	Photo *string
}

type Photos_SaveOwnerPhoto_Response

type Photos_SaveOwnerPhoto_Response struct {
	Response struct {
		// Photo hash
		PhotoHash string `json:"photo_hash"`
		// Uploaded image url
		PhotoSrc string `json:"photo_src"`
		// Uploaded image url
		PhotoSrcBig *string `json:"photo_src_big,omitempty"`
		// Uploaded image url
		PhotoSrcSmall *string `json:"photo_src_small,omitempty"`
		// Created post ID
		PostId *int `json:"post_id,omitempty"`
		// Returns 1 if profile photo is saved
		Saved *int `json:"saved,omitempty"`
	} `json:"response"`
}

type Photos_SaveWallPhoto_Request

type Photos_SaveWallPhoto_Request struct {
	// ID of the user on whose wall the photo will be saved.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// ID of community on whose wall the photo will be saved.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// Parameter returned when the the photo is [vk.com/dev/upload_files|uploaded to the server].
	Photo  string
	Server *int
	Hash   *string
	// Geographical latitude, in degrees (from '-90' to '90').
	Latitude *float64
	// Geographical longitude, in degrees (from '-180' to '180').
	Longitude *float64
	// Text describing the photo. 2048 digits max.
	Caption *string
}

type Photos_SaveWallPhoto_Response

type Photos_SaveWallPhoto_Response struct {
	Response []Photos_Photo `json:"response"`
}

type Photos_Save_Request

type Photos_Save_Request struct {
	// ID of the album to save photos to.
	AlbumId *int
	// ID of the community to save photos to.
	//  Format: int64
	GroupId *int
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Server *int
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	PhotosList *string
	// Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
	Hash *string
	// Geographical latitude, in degrees (from '-90' to '90').
	Latitude *float64
	// Geographical longitude, in degrees (from '-180' to '180').
	Longitude *float64
	// Text describing the photo. 2048 digits max.
	Caption *string
}

type Photos_Save_Response

type Photos_Save_Response struct {
	Response []Photos_Photo `json:"response"`
}

type Photos_Search_Request

type Photos_Search_Request struct {
	// Search query string.
	Q *string
	// Geographical latitude, in degrees (from '-90' to '90').
	Lat *float64
	// Geographical longitude, in degrees (from '-180' to '180').
	Long *float64
	//  Minimum: 0
	StartTime *int
	//  Minimum: 0
	EndTime *int
	// Sort order:
	//  Minimum: 0
	Sort *int
	// Offset needed to return a specific subset of photos.
	//  Minimum: 0
	Offset *int
	// Number of photos to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
	// Radius of search in meters (works very approximately). Available values: '10', '100', '800', '6000', '50000'.
	//  Default: 5000
	//  Minimum: 0
	Radius *int
}

type Photos_Search_Response

type Photos_Search_Response struct {
	Response struct {
		// Total number
		Count *int            `json:"count,omitempty"`
		Items *[]Photos_Photo `json:"items,omitempty"`
	} `json:"response"`
}

type Photos_TagsSuggestionItem

type Photos_TagsSuggestionItem struct {
	Buttons   *[]Photos_TagsSuggestionItemButton `json:"buttons,omitempty"`
	Caption   *string                            `json:"caption,omitempty"`
	Photo     *Photos_Photo                      `json:"photo,omitempty"`
	Tags      *[]Photos_PhotoTag                 `json:"tags,omitempty"`
	Title     *string                            `json:"title,omitempty"`
	TrackCode *string                            `json:"track_code,omitempty"`
	Type      *string                            `json:"type,omitempty"`
}

type Photos_TagsSuggestionItemButton

type Photos_TagsSuggestionItemButton struct {
	Action *Photos_TagsSuggestionItemButton_Action `json:"action,omitempty"`
	Style  *Photos_TagsSuggestionItemButton_Style  `json:"style,omitempty"`
	Title  *string                                 `json:"title,omitempty"`
}

type Photos_TagsSuggestionItemButton_Action

type Photos_TagsSuggestionItemButton_Action string
const (
	Photos_TagsSuggestionItemButton_Action_Confirm  Photos_TagsSuggestionItemButton_Action = "confirm"
	Photos_TagsSuggestionItemButton_Action_Decline  Photos_TagsSuggestionItemButton_Action = "decline"
	Photos_TagsSuggestionItemButton_Action_ShowTags Photos_TagsSuggestionItemButton_Action = "show_tags"
)

type Photos_TagsSuggestionItemButton_Style

type Photos_TagsSuggestionItemButton_Style string
const (
	Photos_TagsSuggestionItemButton_Style_Primary   Photos_TagsSuggestionItemButton_Style = "primary"
	Photos_TagsSuggestionItemButton_Style_Secondary Photos_TagsSuggestionItemButton_Style = "secondary"
)

type Photos_WallUpload_Response

type Photos_WallUpload_Response struct {
	Response struct {
		// Uploading hash
		Hash *string `json:"hash,omitempty"`
		// Uploaded photo data
		Photo *string `json:"photo,omitempty"`
		// Upload server number
		Server *int `json:"server,omitempty"`
	} `json:"response"`
}

type Podcast_Cover

type Podcast_Cover struct {
	Sizes *[]Photos_PhotoSizes `json:"sizes,omitempty"`
}

type Podcast_ExternalData

type Podcast_ExternalData struct {
	// Podcast cover
	Cover *Podcast_Cover `json:"cover,omitempty"`
	// Name of the podcasts owner community
	OwnerName *string `json:"owner_name,omitempty"`
	// Url of the podcasts owner community
	OwnerUrl *string `json:"owner_url,omitempty"`
	// Podcast title
	Title *string `json:"title,omitempty"`
	// Url of the podcast page
	Url *string `json:"url,omitempty"`
}

type Podcasts_SearchPodcast_Request

type Podcasts_SearchPodcast_Request struct {
	SearchString string
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 20
	//  Minimum: 1
	//  Maximum: 1000
	Count *int
}

type Podcasts_SearchPodcast_Response

type Podcasts_SearchPodcast_Response struct {
	Response struct {
		Podcasts []Podcast_ExternalData `json:"podcasts"`
		// Total amount of found results
		ResultsTotal int `json:"results_total"`
	} `json:"response"`
}

type Polls_AddVote_Request

type Polls_AddVote_Request struct {
	// ID of the user or community that owns the poll. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Poll ID.
	//  Minimum: 0
	PollId int
	//  Minimum: 0
	AnswerIds *[]int
	IsBoard   *bool
}

type Polls_AddVote_Response

type Polls_AddVote_Response struct {
	// Result
	Response Base_BoolInt `json:"response"`
}

type Polls_Answer

type Polls_Answer struct {
	// Answer ID
	//  Minimum: 0
	Id int `json:"id"`
	// Answer rate in percents
	//  Minimum: 0
	Rate float64 `json:"rate"`
	// Answer text
	Text string `json:"text"`
	// Votes number
	//  Minimum: 0
	Votes int `json:"votes"`
}

type Polls_Background

type Polls_Background struct {
	// Gradient angle with 0 on positive X axis
	Angle *int `json:"angle,omitempty"`
	// Hex color code without #
	Color *string `json:"color,omitempty"`
	// Original height of pattern tile
	//  Minimum: 0
	Height *int `json:"height,omitempty"`
	Id     *int `json:"id,omitempty"`
	// Pattern tiles
	Images *[]Base_Image `json:"images,omitempty"`
	Name   *string       `json:"name,omitempty"`
	// Gradient points
	Points *[]Base_GradientPoint  `json:"points,omitempty"`
	Type   *Polls_Background_Type `json:"type,omitempty"`
	// Original with of pattern tile
	//  Minimum: 0
	Width *int `json:"width,omitempty"`
}

type Polls_Background_Type

type Polls_Background_Type string
const (
	Polls_Background_Type_Gradient Polls_Background_Type = "gradient"
	Polls_Background_Type_Tile     Polls_Background_Type = "tile"
)

type Polls_Create_BackgroundId

type Polls_Create_BackgroundId int
const (
	Polls_Create_BackgroundId_1 Polls_Create_BackgroundId = 1
	Polls_Create_BackgroundId_2 Polls_Create_BackgroundId = 2
	Polls_Create_BackgroundId_3 Polls_Create_BackgroundId = 3
	Polls_Create_BackgroundId_4 Polls_Create_BackgroundId = 4
	Polls_Create_BackgroundId_6 Polls_Create_BackgroundId = 6
	Polls_Create_BackgroundId_8 Polls_Create_BackgroundId = 8
	Polls_Create_BackgroundId_9 Polls_Create_BackgroundId = 9
)

type Polls_Create_Request

type Polls_Create_Request struct {
	// question text
	Question *string
	// '1' - anonymous poll, participants list is hidden,, '0' - public poll, participants list is available,, Default value is '0'.
	IsAnonymous *bool
	IsMultiple  *bool
	//  Minimum: 1.5507e+09
	EndDate *int
	// If a poll will be added to a communty it is required to send a negative group identifier. Current user by default.
	//  Format: int64
	OwnerId *int
	AppId   *int
	// available answers list, for example: " ["yes","no","maybe"]", There can be from 1 to 10 answers.
	AddAnswers *string
	//  Minimum: 0
	PhotoId       *int
	BackgroundId  *Polls_Create_BackgroundId
	DisableUnvote *bool
}

type Polls_Create_Response

type Polls_Create_Response struct {
	Response Polls_Poll `json:"response"`
}

type Polls_DeleteVote_Request

type Polls_DeleteVote_Request struct {
	// ID of the user or community that owns the poll. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Poll ID.
	//  Minimum: 0
	PollId int
	// Answer ID.
	//  Minimum: 0
	AnswerId int
	IsBoard  *bool
}

type Polls_DeleteVote_Response

type Polls_DeleteVote_Response struct {
	// Result
	Response Base_BoolInt `json:"response"`
}

type Polls_Edit_BackgroundId

type Polls_Edit_BackgroundId int
const (
	Polls_Edit_BackgroundId_0 Polls_Edit_BackgroundId = 0
	Polls_Edit_BackgroundId_1 Polls_Edit_BackgroundId = 1
	Polls_Edit_BackgroundId_2 Polls_Edit_BackgroundId = 2
	Polls_Edit_BackgroundId_3 Polls_Edit_BackgroundId = 3
	Polls_Edit_BackgroundId_4 Polls_Edit_BackgroundId = 4
	Polls_Edit_BackgroundId_6 Polls_Edit_BackgroundId = 6
	Polls_Edit_BackgroundId_8 Polls_Edit_BackgroundId = 8
	Polls_Edit_BackgroundId_9 Polls_Edit_BackgroundId = 9
)

type Polls_Edit_Request

type Polls_Edit_Request struct {
	// poll owner id
	//  Format: int64
	OwnerId *int
	// edited poll's id
	//  Minimum: 0
	PollId int
	// new question text
	Question *string
	// answers list, for example: , "["yes","no","maybe"]"
	AddAnswers *string
	// object containing answers that need to be edited,, key - answer id, value - new answer text. Example: {"382967099":"option1", "382967103":"option2"}"
	EditAnswers *string
	// list of answer ids to be deleted. For example: "[382967099, 382967103]"
	DeleteAnswers *string
	//  Minimum: 0
	EndDate *int
	//  Minimum: 0
	PhotoId      *int
	BackgroundId *Polls_Edit_BackgroundId
}

type Polls_Friend

type Polls_Friend struct {
	//  Format: int64
	//  Minimum: 0
	Id int `json:"id"`
}

type Polls_GetBackgrounds_Response

type Polls_GetBackgrounds_Response struct {
	Response []Polls_Background `json:"response"`
}

type Polls_GetById_NameCase

type Polls_GetById_NameCase string
const (
	Polls_GetById_NameCase_Abl Polls_GetById_NameCase = "abl"
	Polls_GetById_NameCase_Acc Polls_GetById_NameCase = "acc"
	Polls_GetById_NameCase_Dat Polls_GetById_NameCase = "dat"
	Polls_GetById_NameCase_Gen Polls_GetById_NameCase = "gen"
	Polls_GetById_NameCase_Ins Polls_GetById_NameCase = "ins"
	Polls_GetById_NameCase_Nom Polls_GetById_NameCase = "nom"
)

type Polls_GetById_Request

type Polls_GetById_Request struct {
	// ID of the user or community that owns the poll. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// '1' - poll is in a board, '0' - poll is on a wall. '0' by default.
	IsBoard *bool
	// Poll ID.
	//  Minimum: 0
	PollId   int
	Extended *bool
	//  Default: 3
	//  Minimum: 0
	//  Maximum: 100
	FriendsCount *int
	Fields       *[]string
	//  Default: nom
	NameCase *Polls_GetById_NameCase
}

type Polls_GetById_Response

type Polls_GetById_Response struct {
	Response Polls_Poll `json:"response"`
}

type Polls_GetPhotoUploadServer_Request

type Polls_GetPhotoUploadServer_Request struct {
	//  Format: int64
	OwnerId *int
}

type Polls_GetVoters_NameCase

type Polls_GetVoters_NameCase string
const (
	Polls_GetVoters_NameCase_Nominative    Polls_GetVoters_NameCase = "nom"
	Polls_GetVoters_NameCase_Genitive      Polls_GetVoters_NameCase = "gen"
	Polls_GetVoters_NameCase_Dative        Polls_GetVoters_NameCase = "dat"
	Polls_GetVoters_NameCase_Accusative    Polls_GetVoters_NameCase = "acc"
	Polls_GetVoters_NameCase_Instrumental  Polls_GetVoters_NameCase = "ins"
	Polls_GetVoters_NameCase_Prepositional Polls_GetVoters_NameCase = "abl"
)

type Polls_GetVoters_Request

type Polls_GetVoters_Request struct {
	// ID of the user or community that owns the poll. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Poll ID.
	//  Minimum: 0
	PollId int
	//  Minimum: 0
	AnswerIds *[]int
	IsBoard   *bool
	// '1' — to return only current user's friends, '0' — to return all users (default),
	FriendsOnly *bool
	// Offset needed to return a specific subset of voters. '0' — (default)
	//  Minimum: 0
	Offset *int
	// Number of user IDs to return (if the 'friends_only' parameter is not set, maximum '1000', otherwise '10'). '100' — (default)
	//  Minimum: 0
	Count  *int
	Fields *[]Users_Fields
	// Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
	NameCase *Polls_GetVoters_NameCase
}

type Polls_GetVoters_Response

type Polls_GetVoters_Response struct {
	Response []Polls_Voters `json:"response"`
}

type Polls_Poll

type Polls_Poll struct {
	Anonymous *Polls_PollAnonymous `json:"anonymous,omitempty"`
	// Current user's answer ID
	//  Minimum: 0
	AnswerId *int `json:"answer_id,omitempty"`
	// Current user's answer IDs
	//  Minimum: 0
	AnswerIds *[]int         `json:"answer_ids,omitempty"`
	Answers   []Polls_Answer `json:"answers"`
	// Poll author's ID
	AuthorId   *int              `json:"author_id,omitempty"`
	Background *Polls_Background `json:"background,omitempty"`
	CanEdit    bool              `json:"can_edit"`
	CanReport  bool              `json:"can_report"`
	CanShare   bool              `json:"can_share"`
	CanVote    bool              `json:"can_vote"`
	Closed     bool              `json:"closed"`
	// Date when poll has been created in Unixtime
	//  Minimum: 0
	Created       int     `json:"created"`
	DisableUnvote bool    `json:"disable_unvote"`
	EmbedHash     *string `json:"embed_hash,omitempty"`
	//  Minimum: 0
	EndDate int             `json:"end_date"`
	Friends *[]Polls_Friend `json:"friends,omitempty"`
	// Poll ID
	//  Minimum: 1
	Id      int  `json:"id"`
	IsBoard bool `json:"is_board"`
	// Information whether the poll with multiple choices
	Multiple bool `json:"multiple"`
	// Poll owner's ID
	//  Format: int64
	OwnerId int               `json:"owner_id"`
	Photo   *Polls_Background `json:"photo,omitempty"`
	// Poll question
	Question string `json:"question"`
	// Votes number
	//  Minimum: 0
	Votes int `json:"votes"`
}

type Polls_PollAnonymous

type Polls_PollAnonymous bool

Polls_PollAnonymous Information whether the field is anonymous

type Polls_SavePhoto_Request

type Polls_SavePhoto_Request struct {
	Photo string
	Hash  string
}

type Polls_SavePhoto_Response

type Polls_SavePhoto_Response struct {
	Response Polls_Background `json:"response"`
}

type Polls_Voters

type Polls_Voters struct {
	// Answer ID
	AnswerId *int               `json:"answer_id,omitempty"`
	Users    *Polls_VotersUsers `json:"users,omitempty"`
}

type Polls_VotersUsers

type Polls_VotersUsers struct {
	// Votes number
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
	//  Format: int64
	Items *[]int `json:"items,omitempty"`
}

type PrettyCards_Create_Request

type PrettyCards_Create_Request struct {
	OwnerId int
	Photo   string
	Title   string
	//  MaxLength: 2000
	Link string
	//  MaxLength: 20
	Price *string
	//  MaxLength: 20
	PriceOld *string
	//  MaxLength: 255
	Button *string
}

type PrettyCards_Create_Response

type PrettyCards_Create_Response struct {
	Response struct {
		// Card ID of created pretty card
		CardId string `json:"card_id"`
		// Owner ID of created pretty card
		//  Format: int64
		OwnerId int `json:"owner_id"`
	} `json:"response"`
}

type PrettyCards_Delete_Request

type PrettyCards_Delete_Request struct {
	OwnerId int
	CardId  int
}

type PrettyCards_Delete_Response

type PrettyCards_Delete_Response struct {
	Response struct {
		// Card ID of deleted pretty card
		CardId string `json:"card_id"`
		// Error reason if error happened
		Error *string `json:"error,omitempty"`
		// Owner ID of deleted pretty card
		//  Format: int64
		OwnerId int `json:"owner_id"`
	} `json:"response"`
}

type PrettyCards_Edit_Request

type PrettyCards_Edit_Request struct {
	OwnerId int
	CardId  int
	Photo   *string
	Title   *string
	//  MaxLength: 2000
	Link *string
	//  MaxLength: 20
	Price *string
	//  MaxLength: 20
	PriceOld *string
	//  MaxLength: 255
	Button *string
}

type PrettyCards_Edit_Response

type PrettyCards_Edit_Response struct {
	Response struct {
		// Card ID of edited pretty card
		CardId string `json:"card_id"`
		// Owner ID of edited pretty card
		//  Format: int64
		OwnerId int `json:"owner_id"`
	} `json:"response"`
}

type PrettyCards_GetById_Request

type PrettyCards_GetById_Request struct {
	OwnerId int
	//  MaxItems: 10
	CardIds *[]int
}

type PrettyCards_GetById_Response

type PrettyCards_GetById_Response struct {
	Response []PrettyCards_PrettyCardOrError `json:"response"`
}

type PrettyCards_GetUploadURL_Response

type PrettyCards_GetUploadURL_Response struct {
	// Upload URL
	Response string `json:"response"`
}

type PrettyCards_Get_Request

type PrettyCards_Get_Request struct {
	OwnerId int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 0
	//  Maximum: 100
	Count *int
}

type PrettyCards_Get_Response

type PrettyCards_Get_Response struct {
	Response struct {
		// Total number
		Count int                      `json:"count"`
		Items []PrettyCards_PrettyCard `json:"items"`
	} `json:"response"`
}

type PrettyCards_PrettyCard

type PrettyCards_PrettyCard struct {
	// Button key
	Button *PrettyCards_PrettyCard_Button `json:"button,omitempty"`
	// Button text in current language
	ButtonText *string `json:"button_text,omitempty"`
	// Card ID (long int returned as string)
	CardId string        `json:"card_id"`
	Images *[]Base_Image `json:"images,omitempty"`
	// Link URL
	LinkUrl string `json:"link_url"`
	// Photo ID (format "<owner_id>_<media_id>")
	Photo string `json:"photo"`
	// Price if set (decimal number returned as string)
	Price *string `json:"price,omitempty"`
	// Old price if set (decimal number returned as string)
	PriceOld *string `json:"price_old,omitempty"`
	// Title
	Title string `json:"title"`
}

type PrettyCards_PrettyCardOrError

type PrettyCards_PrettyCardOrError struct {
	// contains filtered or unexported fields
}

func (*PrettyCards_PrettyCardOrError) MarshalJSON

func (o *PrettyCards_PrettyCardOrError) MarshalJSON() ([]byte, error)

func (PrettyCards_PrettyCardOrError) Raw

func (*PrettyCards_PrettyCardOrError) UnmarshalJSON

func (o *PrettyCards_PrettyCardOrError) UnmarshalJSON(body []byte) (err error)

type PrettyCards_PrettyCard_Button

type PrettyCards_PrettyCard_Button struct {
	// contains filtered or unexported fields
}

func (*PrettyCards_PrettyCard_Button) MarshalJSON

func (o *PrettyCards_PrettyCard_Button) MarshalJSON() ([]byte, error)

func (PrettyCards_PrettyCard_Button) Raw

func (*PrettyCards_PrettyCard_Button) UnmarshalJSON

func (o *PrettyCards_PrettyCard_Button) UnmarshalJSON(body []byte) (err error)

type RedirectURL

type RedirectURL struct {
	// contains filtered or unexported fields
}

RedirectURL contains redirect url.

func GetAuthRedirectURL

func GetAuthRedirectURL(req authRequest) RedirectURL

GetAuthRedirectURL build the URL to which the user's browser will be redirected after granting permissions. If the user is not authorized on VKontakte in the browser used, then in the dialog box he will be prompted to enter his username and password.

func (RedirectURL) String

func (u RedirectURL) String() string

String returns valid redirect url.URL string.

type RequestParam

type RequestParam struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Search_GetHints_Request

type Search_GetHints_Request struct {
	// Search query string.
	//  MaxLength: 9000
	Q *string
	// Offset for querying specific result subset
	//  Minimum: 0
	//  Maximum: 200
	Offset *int
	// Maximum number of results to return.
	//  Default: 9
	//  Minimum: 0
	//  Maximum: 200
	Limit   *int
	Filters *[]string
	Fields  *[]string
	//  Default: 1
	SearchGlobal *bool
}

type Search_GetHints_Response

type Search_GetHints_Response struct {
	Response struct {
		//  Minimum: 0
		Count            int           `json:"count"`
		Items            []Search_Hint `json:"items"`
		SuggestedQueries *[]string     `json:"suggested_queries,omitempty"`
	} `json:"response"`
}

type Search_Hint

type Search_Hint struct {
	App *Apps_App `json:"app,omitempty"`
	// Object description
	Description string `json:"description"`
	// Information whether the object has been found globally
	Global  *Base_BoolInt       `json:"global,omitempty"`
	Group   *Groups_Group       `json:"group,omitempty"`
	Link    *Base_Link          `json:"link,omitempty"`
	Profile *Users_UserMin      `json:"profile,omitempty"`
	Section *Search_HintSection `json:"section,omitempty"`
	Type    Search_HintType     `json:"type"`
}

type Search_HintSection

type Search_HintSection string

Search_HintSection Section title

const (
	Search_HintSection_Groups         Search_HintSection = "groups"
	Search_HintSection_Events         Search_HintSection = "events"
	Search_HintSection_Publics        Search_HintSection = "publics"
	Search_HintSection_Correspondents Search_HintSection = "correspondents"
	Search_HintSection_People         Search_HintSection = "people"
	Search_HintSection_Friends        Search_HintSection = "friends"
	Search_HintSection_MutualFriends  Search_HintSection = "mutual_friends"
	Search_HintSection_Promo          Search_HintSection = "promo"
)

type Search_HintType

type Search_HintType string

Search_HintType Object type

const (
	Search_HintType_Group     Search_HintType = "group"
	Search_HintType_Profile   Search_HintType = "profile"
	Search_HintType_VkApp     Search_HintType = "vk_app"
	Search_HintType_App       Search_HintType = "app"
	Search_HintType_Html5Game Search_HintType = "html5_game"
	Search_HintType_Link      Search_HintType = "link"
)

type Secure_AddAppEvent_Request

type Secure_AddAppEvent_Request struct {
	// ID of a user to save the data
	//  Format: int64
	//  Minimum: 1
	UserId int
	// there are 2 default activities: , * 1 - level. Works similar to ,, * 2 - points, saves points amount, Any other value is for saving completed missions
	//  Minimum: 0
	ActivityId int
	// depends on activity_id: * 1 - number, current level number,, * 2 - number, current user's points amount, , Any other value is ignored
	//  Minimum: 0
	Value *int
}

type Secure_CheckToken_Request

type Secure_CheckToken_Request struct {
	// client 'access_token'
	Token *string
	// user 'ip address'. Note that user may access using the 'ipv6' address, in this case it is required to transmit the 'ipv6' address. If not transmitted, the address will not be checked.
	Ip *string
}

type Secure_CheckToken_Response

type Secure_CheckToken_Response struct {
	Response Secure_TokenChecked `json:"response"`
}

type Secure_GetAppBalance_Response

type Secure_GetAppBalance_Response struct {
	// App balance
	Response int `json:"response"`
}

type Secure_GetSMSHistory_Request

type Secure_GetSMSHistory_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// filter by start date. It is set as UNIX-time.
	//  Minimum: 0
	DateFrom *int
	// filter by end date. It is set as UNIX-time.
	//  Minimum: 0
	DateTo *int
	// number of returned posts. By default — 1000.
	//  Default: 1000
	//  Minimum: 0
	//  Maximum: 1000
	Limit *int
}

type Secure_GetSMSHistory_Response

type Secure_GetSMSHistory_Response struct {
	Response []Secure_SmsNotification `json:"response"`
}

type Secure_GetTransactionsHistory_Request

type Secure_GetTransactionsHistory_Request struct {
	Type *int
	//  Format: int64
	//  Minimum: 1
	UidFrom *int
	//  Format: int64
	//  Minimum: 1
	UidTo *int
	//  Minimum: 0
	DateFrom *int
	//  Minimum: 0
	DateTo *int
	//  Default: 1000
	//  Minimum: 0
	//  Maximum: 1000
	Limit *int
}

type Secure_GetTransactionsHistory_Response

type Secure_GetTransactionsHistory_Response struct {
	Response []Secure_Transaction `json:"response"`
}

type Secure_GetUserLevel_Request

type Secure_GetUserLevel_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserIds *[]int
}

type Secure_GetUserLevel_Response

type Secure_GetUserLevel_Response struct {
	Response []Secure_Level `json:"response"`
}

type Secure_GiveEventStickerItem

type Secure_GiveEventStickerItem struct {
	Status *string `json:"status,omitempty"`
	//  Format: int64
	UserId *int `json:"user_id,omitempty"`
}

type Secure_GiveEventSticker_Request

type Secure_GiveEventSticker_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserIds *[]int
	//  Minimum: 0
	AchievementId int
}

type Secure_GiveEventSticker_Response

type Secure_GiveEventSticker_Response struct {
	Response []Secure_GiveEventStickerItem `json:"response"`
}

type Secure_Level

type Secure_Level struct {
	// Level
	Level *int `json:"level,omitempty"`
	// User ID
	Uid *int `json:"uid,omitempty"`
}

type Secure_SendNotification_Request

type Secure_SendNotification_Request struct {
	//  Format: int64
	//  Minimum: 1
	UserIds *[]int
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// notification text which should be sent in 'UTF-8' encoding ('254' characters maximum).
	Message string
}

type Secure_SendNotification_Response

type Secure_SendNotification_Response struct {
	//  Format: int64
	Response []int `json:"response"`
}

type Secure_SendSMSNotification_Request

type Secure_SendSMSNotification_Request struct {
	// ID of the user to whom SMS notification is sent. The user shall allow the application to send him/her notifications (, +1).
	//  Format: int64
	//  Minimum: 1
	UserId int
	// 'SMS' text to be sent in 'UTF-8' encoding. Only Latin letters and numbers are allowed. Maximum size is '160' characters.
	Message string
}

type Secure_SetCounterArray_Response

type Secure_SetCounterArray_Response struct {
	Response []Secure_SetCounterItem `json:"response"`
}

type Secure_SetCounterCounters_Request

type Secure_SetCounterCounters_Request struct {
	Counters *[]string
}

type Secure_SetCounterItem

type Secure_SetCounterItem struct {
	// User ID
	//  Format: int64
	Id     int          `json:"id"`
	Result Base_BoolInt `json:"result"`
}

type Secure_SetCounterNotSecure_Request

type Secure_SetCounterNotSecure_Request struct {
	// counter value.
	Counter   *int
	Increment *bool
}

type Secure_SetCounter_Request

type Secure_SetCounter_Request struct {
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// counter value.
	Counter   *int
	Increment *bool
}

type Secure_SmsNotification

type Secure_SmsNotification struct {
	// Application ID
	AppId *string `json:"app_id,omitempty"`
	// Date when message has been sent in Unixtime
	Date *string `json:"date,omitempty"`
	// Notification ID
	Id *string `json:"id,omitempty"`
	// Messsage text
	Message *string `json:"message,omitempty"`
	// User ID
	UserId *string `json:"user_id,omitempty"`
}

type Secure_TokenChecked

type Secure_TokenChecked struct {
	// Date when access_token has been generated in Unixtime
	Date *int `json:"date,omitempty"`
	// Date when access_token will expire in Unixtime
	Expire *int `json:"expire,omitempty"`
	// Returns if successfully processed
	//  Default: 1
	Success *int `json:"success,omitempty"`
	// User ID
	//  Format: int64
	UserId *int `json:"user_id,omitempty"`
}

type Secure_Transaction

type Secure_Transaction struct {
	// Transaction date in Unixtime
	Date *int `json:"date,omitempty"`
	// Transaction ID
	Id *int `json:"id,omitempty"`
	// From ID
	UidFrom *int `json:"uid_from,omitempty"`
	// To ID
	UidTo *int `json:"uid_to,omitempty"`
	// Votes number
	Votes *int `json:"votes,omitempty"`
}

type Stats_Activity

type Stats_Activity struct {
	// Comments number
	//  Minimum: 0
	Comments *int `json:"comments,omitempty"`
	// Reposts number
	//  Minimum: 0
	Copies *int `json:"copies,omitempty"`
	// Hidden from news count
	//  Minimum: 0
	Hidden *int `json:"hidden,omitempty"`
	// Likes number
	//  Minimum: 0
	Likes *int `json:"likes,omitempty"`
	// New subscribers count
	//  Minimum: 0
	Subscribed *int `json:"subscribed,omitempty"`
	// Unsubscribed count
	//  Minimum: 0
	Unsubscribed *int `json:"unsubscribed,omitempty"`
}

Stats_Activity Activity stats

type Stats_City

type Stats_City struct {
	// Visitors number
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
	// City name
	Name *string `json:"name,omitempty"`
	// City ID
	Value *int `json:"value,omitempty"`
}

type Stats_Country

type Stats_Country struct {
	// Country code
	Code *string `json:"code,omitempty"`
	// Visitors number
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
	// Country name
	Name *string `json:"name,omitempty"`
	// Country ID
	Value *int `json:"value,omitempty"`
}

type Stats_GetPostReach_Request

type Stats_GetPostReach_Request struct {
	// post owner community id. Specify with "-" sign.
	OwnerId string
	//  MaxItems: 30
	//  Minimum: 0
	PostIds *[]int
}

type Stats_GetPostReach_Response

type Stats_GetPostReach_Response struct {
	Response []Stats_WallpostStat `json:"response"`
}

type Stats_Get_Interval

type Stats_Get_Interval string
const (
	Stats_Get_Interval_All   Stats_Get_Interval = "all"
	Stats_Get_Interval_Day   Stats_Get_Interval = "day"
	Stats_Get_Interval_Month Stats_Get_Interval = "month"
	Stats_Get_Interval_Week  Stats_Get_Interval = "week"
	Stats_Get_Interval_Year  Stats_Get_Interval = "year"
)

type Stats_Get_Request

type Stats_Get_Request struct {
	// Community ID.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// Application ID.
	//  Minimum: 0
	AppId *int
	//  Minimum: 0
	TimestampFrom *int
	//  Minimum: 0
	TimestampTo *int
	//  Default: day
	Interval *Stats_Get_Interval
	//  Minimum: 0
	IntervalsCount *int
	Filters        *[]string
	StatsGroups    *[]string
	//  Default: true
	Extended *bool
}

type Stats_Get_Response

type Stats_Get_Response struct {
	Response []Stats_Period `json:"response"`
}

type Stats_Period

type Stats_Period struct {
	Activity *Stats_Activity `json:"activity,omitempty"`
	// Unix timestamp
	PeriodFrom *int `json:"period_from,omitempty"`
	// Unix timestamp
	PeriodTo *int         `json:"period_to,omitempty"`
	Reach    *Stats_Reach `json:"reach,omitempty"`
	Visitors *Stats_Views `json:"visitors,omitempty"`
}

type Stats_Reach

type Stats_Reach struct {
	Age       *[]Stats_SexAge  `json:"age,omitempty"`
	Cities    *[]Stats_City    `json:"cities,omitempty"`
	Countries *[]Stats_Country `json:"countries,omitempty"`
	// Reach count from mobile devices
	//  Minimum: 0
	MobileReach *int `json:"mobile_reach,omitempty"`
	// Reach count
	//  Minimum: 0
	Reach *int `json:"reach,omitempty"`
	// Subscribers reach count
	//  Minimum: 0
	ReachSubscribers *int            `json:"reach_subscribers,omitempty"`
	Sex              *[]Stats_SexAge `json:"sex,omitempty"`
	SexAge           *[]Stats_SexAge `json:"sex_age,omitempty"`
}

Stats_Reach Reach stats

type Stats_SexAge

type Stats_SexAge struct {
	// Visitors number
	//  Minimum: 0
	Count            *int `json:"count,omitempty"`
	CountSubscribers *int `json:"count_subscribers,omitempty"`
	Reach            *int `json:"reach,omitempty"`
	ReachSubscribers *int `json:"reach_subscribers,omitempty"`
	// Sex/age value
	Value string `json:"value"`
}

type Stats_Views

type Stats_Views struct {
	Age       *[]Stats_SexAge  `json:"age,omitempty"`
	Cities    *[]Stats_City    `json:"cities,omitempty"`
	Countries *[]Stats_Country `json:"countries,omitempty"`
	// Number of views from mobile devices
	//  Minimum: 0
	MobileViews *int            `json:"mobile_views,omitempty"`
	Sex         *[]Stats_SexAge `json:"sex,omitempty"`
	SexAge      *[]Stats_SexAge `json:"sex_age,omitempty"`
	// Views number
	//  Minimum: 0
	Views *int `json:"views,omitempty"`
	// Visitors number
	//  Minimum: 0
	Visitors *int `json:"visitors,omitempty"`
}

Stats_Views Views stats

type Stats_WallpostStat

type Stats_WallpostStat struct {
	// Hidings number
	Hide *int `json:"hide,omitempty"`
	// People have joined the group
	JoinGroup *int `json:"join_group,omitempty"`
	// Link clickthrough
	Links    *int `json:"links,omitempty"`
	PostId   *int `json:"post_id,omitempty"`
	ReachAds *int `json:"reach_ads,omitempty"`
	// Subscribers reach
	ReachSubscribers      *int `json:"reach_subscribers,omitempty"`
	ReachSubscribersCount *int `json:"reach_subscribers_count,omitempty"`
	// Total reach
	ReachTotal      *int `json:"reach_total,omitempty"`
	ReachTotalCount *int `json:"reach_total_count,omitempty"`
	ReachViral      *int `json:"reach_viral,omitempty"`
	// Reports number
	Report *int            `json:"report,omitempty"`
	SexAge *[]Stats_SexAge `json:"sex_age,omitempty"`
	// Clickthrough to community
	ToGroup *int `json:"to_group,omitempty"`
	// Unsubscribed members
	Unsubscribe *int `json:"unsubscribe,omitempty"`
}

type Status_Get_Request

type Status_Get_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	UserId *int
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Status_Get_Response

type Status_Get_Response struct {
	Response Status_Status `json:"response"`
}

type Status_Set_Request

type Status_Set_Request struct {
	// Text of the new status.
	Text *string
	// Identifier of a community to set a status in. If left blank the status is set to current user.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Status_Status

type Status_Status struct {
	Audio *Audio_Audio `json:"audio,omitempty"`
	// Status text
	Text string `json:"text"`
}

type Stickers_ImageSet

type Stickers_ImageSet struct {
	// Base URL for images in set
	//  Format: uri
	BaseUrl string `json:"base_url"`
	// Version number to be appended to the image URL
	Version *int `json:"version,omitempty"`
}

type Storage_GetKeys_Request

type Storage_GetKeys_Request struct {
	// user id, whose variables names are returned if they were requested with a server method.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	//  Default: 0
	//  Minimum: 0
	Offset *int
	// amount of variable names the info needs to be collected from.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Storage_GetKeys_Response

type Storage_GetKeys_Response struct {
	Response []string `json:"response"`
}

type Storage_Get_Request

type Storage_Get_Request struct {
	//  MaxLength: 100
	Key *string
	//  MaxItems: 1000
	Keys *[]string
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type Storage_Get_Response

type Storage_Get_Response struct {
	Response []Storage_Value `json:"response"`
}

type Storage_Set_Request

type Storage_Set_Request struct {
	//  MaxLength: 100
	Key   string
	Value *string
	//  Format: int64
	//  Minimum: 0
	UserId *int
}

type Storage_Value

type Storage_Value struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Store_AddStickersToFavorite_Request

type Store_AddStickersToFavorite_Request struct {
	//  Minimum: 0
	StickerIds *[]int
}

type Store_GetFavoriteStickers_Response

type Store_GetFavoriteStickers_Response struct {
	Response []Base_Sticker `json:"response"`
}

type Store_GetProducts_Request

type Store_GetProducts_Request struct {
	Type     *string
	Merchant *string
	Section  *string
	//  Minimum: 0
	ProductIds *[]int
	Filters    *[]string
	//  Default: 0
	Extended *bool
}

type Store_GetProducts_Response

type Store_GetProducts_Response struct {
	Response []Store_Product `json:"response"`
}

type Store_GetStickersKeywords_Request

type Store_GetStickersKeywords_Request struct {
	//  Minimum: 0
	StickersIds *[]int
	//  Minimum: 0
	ProductsIds *[]int
	//  Default: true
	Aliases     *bool
	AllProducts *bool
	//  Default: true
	NeedStickers *bool
}

type Store_GetStickersKeywords_Response

type Store_GetStickersKeywords_Response struct {
	Response struct {
		// Total count of chunks to load
		//  Minimum: 1
		ChunksCount *int `json:"chunks_count,omitempty"`
		// Chunks version hash
		//  Minimum: 1
		ChunksHash *string `json:"chunks_hash,omitempty"`
		//  Minimum: 0
		Count      int                     `json:"count"`
		Dictionary []Store_StickersKeyword `json:"dictionary"`
	} `json:"response"`
}

type Store_Product

type Store_Product struct {
	// Information whether the product is active (1 - yes, 0 - no)
	Active *Base_BoolInt `json:"active,omitempty"`
	// Information whether the product is an animated sticker pack (for stickers product type)
	HasAnimation *bool `json:"has_animation,omitempty"`
	// Array of icon images or icon set object of the product (for stickers product type)
	Icon *Store_ProductIcon `json:"icon,omitempty"`
	// Id of the product
	Id int `json:"id"`
	// Information whether sticker product wasn't used after being purchased
	IsNew         *bool   `json:"is_new,omitempty"`
	PaymentRegion *string `json:"payment_region,omitempty"`
	// Array of preview images of the product (for stickers product type)
	Previews *[]Base_Image `json:"previews,omitempty"`
	// Information whether the product is promoted (1 - yes, 0 - no)
	Promoted *Base_BoolInt `json:"promoted,omitempty"`
	// Date (Unix time) when the product was purchased
	//  Minimum: 0
	PurchaseDate *int `json:"purchase_date,omitempty"`
	// Information whether the product is purchased (1 - yes, 0 - no)
	Purchased *Base_BoolInt      `json:"purchased,omitempty"`
	Stickers  *Base_StickersList `json:"stickers,omitempty"`
	// Array of style sticker ids (for sticker pack styles)
	StyleStickerIds *[]int `json:"style_sticker_ids,omitempty"`
	// Subtitle of the product
	Subtitle *string `json:"subtitle,omitempty"`
	// Title of the product
	Title *string `json:"title,omitempty"`
	// Product type
	Type Store_Product_Type `json:"type"`
}

type Store_ProductIcon

type Store_ProductIcon []Base_Image

type Store_Product_Type

type Store_Product_Type string
const (
	Store_Product_Type_Stickers Store_Product_Type = "stickers"
)

type Store_RemoveStickersFromFavorite_Request

type Store_RemoveStickersFromFavorite_Request struct {
	//  Minimum: 0
	StickerIds *[]int
}

type Store_StickersKeyword

type Store_StickersKeyword struct {
	PromotedStickers *Store_StickersKeywordStickers  `json:"promoted_stickers,omitempty"`
	Stickers         *[]Store_StickersKeywordSticker `json:"stickers,omitempty"`
	UserStickers     *Store_StickersKeywordStickers  `json:"user_stickers,omitempty"`
	Words            []string                        `json:"words"`
}

type Store_StickersKeywordSticker

type Store_StickersKeywordSticker struct {
	// Pack id
	PackId int `json:"pack_id"`
	// Sticker id
	StickerId int `json:"sticker_id"`
}

type Store_StickersKeywordStickers

type Store_StickersKeywordStickers Base_StickersList

type Stories_BanOwner_Request

type Stories_BanOwner_Request struct {
	//  Format: int64
	//  MaxItems: 200
	OwnersIds *[]int
}

type Stories_ClickableArea

type Stories_ClickableArea struct {
	X int `json:"x"`
	Y int `json:"y"`
}

type Stories_ClickableSticker

type Stories_ClickableSticker struct {
	App *Apps_AppMin `json:"app,omitempty"`
	// Additional context for app sticker
	AppContext     *string                 `json:"app_context,omitempty"`
	Audio          *Audio_Audio            `json:"audio,omitempty"`
	AudioStartTime *int                    `json:"audio_start_time,omitempty"`
	ClickableArea  []Stories_ClickableArea `json:"clickable_area"`
	// Color, hex format
	Color *string `json:"color,omitempty"`
	// Whether current user has unread interaction with this app
	HasNewInteractions *bool   `json:"has_new_interactions,omitempty"`
	Hashtag            *string `json:"hashtag,omitempty"`
	// Clickable sticker ID
	Id int `json:"id"`
	// Whether current user allowed broadcast notify from this app
	IsBroadcastNotifyAllowed *bool              `json:"is_broadcast_notify_allowed,omitempty"`
	LinkObject               *Base_Link         `json:"link_object,omitempty"`
	MarketItem               *Market_MarketItem `json:"market_item,omitempty"`
	Mention                  *string            `json:"mention,omitempty"`
	//  Format: int64
	OwnerId *int        `json:"owner_id,omitempty"`
	PlaceId *int        `json:"place_id,omitempty"`
	Poll    *Polls_Poll `json:"poll,omitempty"`
	PostId  *int        `json:"post_id,omitempty"`
	//  Format: int64
	PostOwnerId        *int    `json:"post_owner_id,omitempty"`
	Question           *string `json:"question,omitempty"`
	QuestionButton     *string `json:"question_button,omitempty"`
	SituationalAppUrl  *string `json:"situational_app_url,omitempty"`
	SituationalThemeId *int    `json:"situational_theme_id,omitempty"`
	// Sticker ID
	StickerId *int `json:"sticker_id,omitempty"`
	// Sticker pack ID
	StickerPackId *int                              `json:"sticker_pack_id,omitempty"`
	StoryId       *int                              `json:"story_id,omitempty"`
	Style         *Stories_ClickableSticker_Style   `json:"style,omitempty"`
	Subtype       *Stories_ClickableSticker_Subtype `json:"subtype,omitempty"`
	TooltipText   *string                           `json:"tooltip_text,omitempty"`
	Type          Stories_ClickableSticker_Type     `json:"type"`
}

type Stories_ClickableSticker_Style

type Stories_ClickableSticker_Style string
const (
	Stories_ClickableSticker_Style_Transparent   Stories_ClickableSticker_Style = "transparent"
	Stories_ClickableSticker_Style_BlueGradient  Stories_ClickableSticker_Style = "blue_gradient"
	Stories_ClickableSticker_Style_RedGradient   Stories_ClickableSticker_Style = "red_gradient"
	Stories_ClickableSticker_Style_Underline     Stories_ClickableSticker_Style = "underline"
	Stories_ClickableSticker_Style_Blue          Stories_ClickableSticker_Style = "blue"
	Stories_ClickableSticker_Style_Green         Stories_ClickableSticker_Style = "green"
	Stories_ClickableSticker_Style_White         Stories_ClickableSticker_Style = "white"
	Stories_ClickableSticker_Style_QuestionReply Stories_ClickableSticker_Style = "question_reply"
	Stories_ClickableSticker_Style_Light         Stories_ClickableSticker_Style = "light"
	Stories_ClickableSticker_Style_Impressive    Stories_ClickableSticker_Style = "impressive"
)

type Stories_ClickableSticker_Subtype

type Stories_ClickableSticker_Subtype string
const (
	Stories_ClickableSticker_Subtype_MarketItem        Stories_ClickableSticker_Subtype = "market_item"
	Stories_ClickableSticker_Subtype_AliexpressProduct Stories_ClickableSticker_Subtype = "aliexpress_product"
)

type Stories_ClickableSticker_Type

type Stories_ClickableSticker_Type string
const (
	Stories_ClickableSticker_Type_Hashtag          Stories_ClickableSticker_Type = "hashtag"
	Stories_ClickableSticker_Type_Mention          Stories_ClickableSticker_Type = "mention"
	Stories_ClickableSticker_Type_Link             Stories_ClickableSticker_Type = "link"
	Stories_ClickableSticker_Type_Question         Stories_ClickableSticker_Type = "question"
	Stories_ClickableSticker_Type_Place            Stories_ClickableSticker_Type = "place"
	Stories_ClickableSticker_Type_MarketItem       Stories_ClickableSticker_Type = "market_item"
	Stories_ClickableSticker_Type_Music            Stories_ClickableSticker_Type = "music"
	Stories_ClickableSticker_Type_StoryReply       Stories_ClickableSticker_Type = "story_reply"
	Stories_ClickableSticker_Type_Owner            Stories_ClickableSticker_Type = "owner"
	Stories_ClickableSticker_Type_Post             Stories_ClickableSticker_Type = "post"
	Stories_ClickableSticker_Type_Poll             Stories_ClickableSticker_Type = "poll"
	Stories_ClickableSticker_Type_Sticker          Stories_ClickableSticker_Type = "sticker"
	Stories_ClickableSticker_Type_App              Stories_ClickableSticker_Type = "app"
	Stories_ClickableSticker_Type_SituationalTheme Stories_ClickableSticker_Type = "situational_theme"
)

type Stories_ClickableStickers

type Stories_ClickableStickers struct {
	ClickableStickers []Stories_ClickableSticker `json:"clickable_stickers"`
	//  Minimum: 0
	OriginalHeight int `json:"original_height"`
	//  Minimum: 0
	OriginalWidth int `json:"original_width"`
}

type Stories_Delete_Request

type Stories_Delete_Request struct {
	// Story owner's ID. Current user id is used by default.
	//  Format: int64
	OwnerId *int
	// Story ID.
	//  Minimum: 0
	StoryId *int
	//  MaxItems: 100
	Stories *[]string
}

type Stories_FeedItem

type Stories_FeedItem struct {
	// App, which stories has been grouped (for type app_grouped_stories)
	App            *Apps_AppMin `json:"app,omitempty"`
	BirthdayUserId *int         `json:"birthday_user_id,omitempty"`
	// Grouped stories of various authors (for types community_grouped_stories/app_grouped_stories type)
	Grouped   *[]Stories_FeedItem `json:"grouped,omitempty"`
	HasUnseen *bool               `json:"has_unseen,omitempty"`
	Id        *string             `json:"id,omitempty"`
	Name      *string             `json:"name,omitempty"`
	// Additional data for promo stories (for type promo_stories)
	PromoData *Stories_PromoBlock `json:"promo_data,omitempty"`
	// Author stories
	Stories   *[]Stories_Story `json:"stories,omitempty"`
	TrackCode *string          `json:"track_code,omitempty"`
	// Type of Feed Item
	Type Stories_FeedItem_Type `json:"type"`
}

type Stories_FeedItem_Type

type Stories_FeedItem_Type string
const (
	Stories_FeedItem_Type_PromoStories            Stories_FeedItem_Type = "promo_stories"
	Stories_FeedItem_Type_Stories                 Stories_FeedItem_Type = "stories"
	Stories_FeedItem_Type_LiveActive              Stories_FeedItem_Type = "live_active"
	Stories_FeedItem_Type_LiveFinished            Stories_FeedItem_Type = "live_finished"
	Stories_FeedItem_Type_CommunityGroupedStories Stories_FeedItem_Type = "community_grouped_stories"
	Stories_FeedItem_Type_AppGroupedStories       Stories_FeedItem_Type = "app_grouped_stories"
	Stories_FeedItem_Type_Birthday                Stories_FeedItem_Type = "birthday"
	Stories_FeedItem_Type_Discover                Stories_FeedItem_Type = "discover"
	Stories_FeedItem_Type_Advices                 Stories_FeedItem_Type = "advices"
)

type Stories_GetBannedExtended_Response

type Stories_GetBannedExtended_Response struct {
	Response struct {
		// Stories count
		Count    int                `json:"count"`
		Groups   []Groups_GroupFull `json:"groups"`
		Items    []int              `json:"items"`
		Profiles []Users_UserFull   `json:"profiles"`
	} `json:"response"`
}

type Stories_GetBanned_Request

type Stories_GetBanned_Request struct {
	Fields *[]Base_UserGroupFields
}

type Stories_GetBanned_Response

type Stories_GetBanned_Response struct {
	Response struct {
		// Stories count
		Count int `json:"count"`
		//  Format: int64
		Items []int `json:"items"`
	} `json:"response"`
}

type Stories_GetByIdExtended_Response

type Stories_GetByIdExtended_Response struct {
	Response struct {
		// Stories count
		Count    int                `json:"count"`
		Groups   []Groups_GroupFull `json:"groups"`
		Items    []Stories_Story    `json:"items"`
		Profiles []Users_UserFull   `json:"profiles"`
	} `json:"response"`
}

type Stories_GetById_Request

type Stories_GetById_Request struct {
	//  MaxItems: 100
	Stories *[]string
	// '1' — to return additional fields for users and communities. Default value is 0.
	//  Default: false
	Extended *bool
	Fields   *[]Base_UserGroupFields
}

type Stories_GetPhotoUploadServer_Request

type Stories_GetPhotoUploadServer_Request struct {
	// 1 — to add the story to friend's feed.
	AddToNews *bool
	//  Minimum: 0
	UserIds *[]int
	// ID of the story to reply with the current.
	ReplyToStory *string
	// Link text (for community's stories only).
	LinkText *Stories_UploadLinkText
	// Link URL. Internal links on https://vk.com only.
	//  MaxLength: 2048
	LinkUrl *string
	// ID of the community to upload the story (should be verified or with the "fire" icon).
	//  Format: int64
	//  Minimum: 0
	GroupId           *int
	ClickableStickers *string
}

type Stories_GetPhotoUploadServer_Response

type Stories_GetPhotoUploadServer_Response struct {
	Response struct {
		// Upload URL
		UploadUrl string `json:"upload_url"`
		// Users ID who can to see story.
		//  Minimum: 0
		UserIds []int `json:"user_ids"`
	} `json:"response"`
}

type Stories_GetReplies_Request

type Stories_GetReplies_Request struct {
	// Story owner ID.
	//  Format: int64
	OwnerId int
	// Story ID.
	//  Minimum: 0
	StoryId int
	// Access key for the private object.
	AccessKey *string
	// '1' — to return additional fields for users and communities. Default value is 0.
	//  Default: false
	Extended *bool
	Fields   *[]Base_UserGroupFields
}

type Stories_GetStats_Request

type Stories_GetStats_Request struct {
	// Story owner ID.
	//  Format: int64
	OwnerId int
	// Story ID.
	//  Minimum: 0
	StoryId int
}

type Stories_GetStats_Response

type Stories_GetStats_Response struct {
	Response Stories_StoryStats `json:"response"`
}

type Stories_GetV5113_Response

type Stories_GetV5113_Response struct {
	Response struct {
		Count            int                `json:"count"`
		Groups           *[]Groups_Group    `json:"groups,omitempty"`
		Items            []Stories_FeedItem `json:"items"`
		NeedUploadScreen *bool              `json:"need_upload_screen,omitempty"`
		NextFrom         *string            `json:"next_from,omitempty"`
		Profiles         *[]Users_UserFull  `json:"profiles,omitempty"`
	} `json:"response"`
}

type Stories_GetVideoUploadServer_Request

type Stories_GetVideoUploadServer_Request struct {
	// 1 — to add the story to friend's feed.
	AddToNews *bool
	//  Minimum: 0
	UserIds *[]int
	// ID of the story to reply with the current.
	ReplyToStory *string
	// Link text (for community's stories only).
	LinkText *Stories_UploadLinkText
	// Link URL. Internal links on https://vk.com only.
	//  MaxLength: 2048
	LinkUrl *string
	// ID of the community to upload the story (should be verified or with the "fire" icon).
	//  Format: int64
	//  Minimum: 0
	GroupId           *int
	ClickableStickers *string
}

type Stories_GetVideoUploadServer_Response

type Stories_GetVideoUploadServer_Response struct {
	Response struct {
		// Upload URL
		UploadUrl string `json:"upload_url"`
		// Users ID who can to see story.
		//  Minimum: 0
		UserIds []int `json:"user_ids"`
	} `json:"response"`
}

type Stories_GetViewersExtendedV5115_Response

type Stories_GetViewersExtendedV5115_Response struct {
	Response struct {
		// Viewers count
		Count        int                   `json:"count"`
		HiddenReason *string               `json:"hidden_reason,omitempty"`
		Items        []Stories_ViewersItem `json:"items"`
		NextFrom     *string               `json:"next_from,omitempty"`
	} `json:"response"`
}

type Stories_GetViewersExtended_Response

type Stories_GetViewersExtended_Response struct {
	Response struct {
		// Viewers count
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Stories_GetViewers_Request

type Stories_GetViewers_Request struct {
	// Story owner ID.
	//  Format: int64
	OwnerId int
	// Story ID.
	//  Minimum: 0
	StoryId int
	// Maximum number of results.
	//  Default: 100
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of results.
	//  Default: 0
	//  Minimum: 0
	Offset *int
	Fields *[]Base_UserGroupFields
}

type Stories_Get_Request

type Stories_Get_Request struct {
	// Owner ID.
	//  Format: int64
	OwnerId *int
	// '1' — to return additional fields for users and communities. Default value is 0.
	//  Default: false
	Extended *bool
	Fields   *[]Base_UserGroupFields
}

type Stories_Get_Response

type Stories_Get_Response struct {
	Response struct {
		// Stories count
		Count            int                 `json:"count"`
		Groups           *[]Groups_Group     `json:"groups,omitempty"`
		Items            [][]Stories_Story   `json:"items"`
		NeedUploadScreen *bool               `json:"need_upload_screen,omitempty"`
		Profiles         *[]Users_UserFull   `json:"profiles,omitempty"`
		PromoData        *Stories_PromoBlock `json:"promo_data,omitempty"`
	} `json:"response"`
}

type Stories_HideAllReplies_Request

type Stories_HideAllReplies_Request struct {
	// ID of the user whose replies should be hidden.
	//  Format: int64
	OwnerId int
	//  Format: int64
	//  Minimum: 0
	GroupId *int
}

type Stories_HideReply_Request

type Stories_HideReply_Request struct {
	// ID of the user whose replies should be hidden.
	//  Format: int64
	OwnerId int
	// Story ID.
	//  Minimum: 0
	StoryId int
}

type Stories_PromoBlock

type Stories_PromoBlock struct {
	// Promo story title
	Name string `json:"name"`
	// Hide animation for promo story
	NotAnimated bool `json:"not_animated"`
	// RL of square photo of the story with 100 pixels in width
	Photo100 string `json:"photo_100"`
	// RL of square photo of the story with 50 pixels in width
	Photo50 string `json:"photo_50"`
}

Stories_PromoBlock Additional data for promo stories

type Stories_Replies

type Stories_Replies struct {
	// Replies number.
	//  Minimum: 0
	Count int `json:"count"`
	// New replies number.
	New *int `json:"new,omitempty"`
}

type Stories_Save_Request

type Stories_Save_Request struct {
	UploadResults *[]string
	Extended      *bool
	Fields        *[]Base_UserGroupFields
}

type Stories_Save_Response

type Stories_Save_Response struct {
	Response struct {
		Count    int             `json:"count"`
		Groups   *[]Groups_Group `json:"groups,omitempty"`
		Items    []Stories_Story `json:"items"`
		Profiles *[]Users_User   `json:"profiles,omitempty"`
	} `json:"response"`
}

type Stories_Search_Request

type Stories_Search_Request struct {
	//  MaxLength: 255
	Q *string
	//  Minimum: 0
	PlaceId   *int
	Latitude  *float64
	Longitude *float64
	//  Minimum: 0
	Radius      *int
	MentionedId *int
	//  Default: 20
	//  Minimum: 1
	//  Maximum: 1000
	Count    *int
	Extended *bool
	Fields   *[]Base_UserGroupFields
}

type Stories_SendInteraction_Request

type Stories_SendInteraction_Request struct {
	AccessKey string
	//  MaxLength: 1000
	Message *string
	//  Default: false
	IsBroadcast *bool
	//  Default: false
	IsAnonymous *bool
	//  Default: false
	UnseenMarker *bool
}

type Stories_StatLine

type Stories_StatLine struct {
	//  Minimum: 0
	Counter       *int   `json:"counter,omitempty"`
	IsUnavailable *bool  `json:"is_unavailable,omitempty"`
	Name          string `json:"name"`
}

type Stories_Story

type Stories_Story struct {
	// Access key for private object.
	AccessKey          *string `json:"access_key,omitempty"`
	BirthdayWishUserId *int    `json:"birthday_wish_user_id,omitempty"`
	// Information whether story has question sticker and current user can send question to the author
	CanAsk *Base_BoolInt `json:"can_ask,omitempty"`
	// Information whether story has question sticker and current user can send anonymous question to the author
	CanAskAnonymous *Base_BoolInt `json:"can_ask_anonymous,omitempty"`
	// Information whether current user can comment the story (0 - no, 1 - yes).
	CanComment *Base_BoolInt `json:"can_comment,omitempty"`
	// Information whether current user can hide the story (0 - no, 1 - yes).
	CanHide *Base_BoolInt `json:"can_hide,omitempty"`
	// Information whether current user can like the story.
	CanLike *bool `json:"can_like,omitempty"`
	// Information whether current user can reply to the story (0 - no, 1 - yes).
	CanReply *Base_BoolInt `json:"can_reply,omitempty"`
	// Information whether current user can see the story (0 - no, 1 - yes).
	CanSee *Base_BoolInt `json:"can_see,omitempty"`
	// Information whether current user can share the story (0 - no, 1 - yes).
	CanShare          *Base_BoolInt              `json:"can_share,omitempty"`
	CanUseInNarrative *bool                      `json:"can_use_in_narrative,omitempty"`
	ClickableStickers *Stories_ClickableStickers `json:"clickable_stickers,omitempty"`
	// Date when story has been added in Unixtime.
	//  Minimum: 0
	Date *int `json:"date,omitempty"`
	// Story expiration time. Unixtime.
	//  Minimum: 0
	ExpiresAt           *int    `json:"expires_at,omitempty"`
	FirstNarrativeTitle *string `json:"first_narrative_title,omitempty"`
	// Story ID.
	Id int `json:"id"`
	// Information whether the story is deleted (false - no, true - yes).
	IsDeleted *bool `json:"is_deleted,omitempty"`
	// Information whether the story is expired (false - no, true - yes).
	IsExpired       *bool              `json:"is_expired,omitempty"`
	Link            *Stories_StoryLink `json:"link,omitempty"`
	NarrativesCount *int               `json:"narratives_count,omitempty"`
	// Story owner's ID.
	//  Format: int64
	OwnerId     int            `json:"owner_id"`
	ParentStory *Stories_Story `json:"parent_story,omitempty"`
	// Access key for private object.
	ParentStoryAccessKey *string `json:"parent_story_access_key,omitempty"`
	// Parent story ID.
	ParentStoryId *int `json:"parent_story_id,omitempty"`
	// Parent story owner's ID.
	ParentStoryOwnerId *int          `json:"parent_story_owner_id,omitempty"`
	Photo              *Photos_Photo `json:"photo,omitempty"`
	// Replies counters to current story.
	Replies *Stories_Replies `json:"replies,omitempty"`
	// Information whether current user has seen the story or not (0 - no, 1 - yes).
	Seen  *Base_BoolInt      `json:"seen,omitempty"`
	Type  *Stories_StoryType `json:"type,omitempty"`
	Video *Video_VideoFull   `json:"video,omitempty"`
	// Views number.
	//  Minimum: 0
	Views *int `json:"views,omitempty"`
}
type Stories_StoryLink struct {
	// How to open url
	LinkUrlTarget *string `json:"link_url_target,omitempty"`
	// Link text
	Text string `json:"text"`
	// Link URL
	//  Format: uri
	Url string `json:"url"`
}

type Stories_StoryStats

type Stories_StoryStats struct {
	Answer      Stories_StoryStatsStat `json:"answer"`
	Bans        Stories_StoryStatsStat `json:"bans"`
	Likes       Stories_StoryStatsStat `json:"likes"`
	OpenLink    Stories_StoryStatsStat `json:"open_link"`
	Replies     Stories_StoryStatsStat `json:"replies"`
	Shares      Stories_StoryStatsStat `json:"shares"`
	Subscribers Stories_StoryStatsStat `json:"subscribers"`
	Views       Stories_StoryStatsStat `json:"views"`
}

type Stories_StoryStatsStat

type Stories_StoryStatsStat struct {
	// Stat value
	//  Minimum: 0
	Count *int                    `json:"count,omitempty"`
	State Stories_StoryStatsState `json:"state"`
}

type Stories_StoryStatsState

type Stories_StoryStatsState string

Stories_StoryStatsState Statistic state

const (
	Stories_StoryStatsState_On     Stories_StoryStatsState = "on"
	Stories_StoryStatsState_Off    Stories_StoryStatsState = "off"
	Stories_StoryStatsState_Hidden Stories_StoryStatsState = "hidden"
)

type Stories_StoryType

type Stories_StoryType string

Stories_StoryType Story type.

const (
	Stories_StoryType_Photo          Stories_StoryType = "photo"
	Stories_StoryType_Video          Stories_StoryType = "video"
	Stories_StoryType_LiveActive     Stories_StoryType = "live_active"
	Stories_StoryType_LiveFinished   Stories_StoryType = "live_finished"
	Stories_StoryType_BirthdayInvite Stories_StoryType = "birthday_invite"
)

type Stories_UnbanOwner_Request

type Stories_UnbanOwner_Request struct {
	//  Format: int64
	//  MaxItems: 200
	OwnersIds *[]int
}

type Stories_UploadLinkText

type Stories_UploadLinkText string
const (
	Stories_UploadLinkText_ToStore   Stories_UploadLinkText = "to_store"
	Stories_UploadLinkText_Vote      Stories_UploadLinkText = "vote"
	Stories_UploadLinkText_More      Stories_UploadLinkText = "more"
	Stories_UploadLinkText_Book      Stories_UploadLinkText = "book"
	Stories_UploadLinkText_Order     Stories_UploadLinkText = "order"
	Stories_UploadLinkText_Enroll    Stories_UploadLinkText = "enroll"
	Stories_UploadLinkText_Fill      Stories_UploadLinkText = "fill"
	Stories_UploadLinkText_Signup    Stories_UploadLinkText = "signup"
	Stories_UploadLinkText_Buy       Stories_UploadLinkText = "buy"
	Stories_UploadLinkText_Ticket    Stories_UploadLinkText = "ticket"
	Stories_UploadLinkText_Write     Stories_UploadLinkText = "write"
	Stories_UploadLinkText_Open      Stories_UploadLinkText = "open"
	Stories_UploadLinkText_LearnMore Stories_UploadLinkText = "learn_more"
	Stories_UploadLinkText_View      Stories_UploadLinkText = "view"
	Stories_UploadLinkText_GoTo      Stories_UploadLinkText = "go_to"
	Stories_UploadLinkText_Contact   Stories_UploadLinkText = "contact"
	Stories_UploadLinkText_Watch     Stories_UploadLinkText = "watch"
	Stories_UploadLinkText_Play      Stories_UploadLinkText = "play"
	Stories_UploadLinkText_Install   Stories_UploadLinkText = "install"
	Stories_UploadLinkText_Read      Stories_UploadLinkText = "read"
	Stories_UploadLinkText_Calendar  Stories_UploadLinkText = "calendar"
)

type Stories_Upload_Response

type Stories_Upload_Response struct {
	Response struct {
		// A string hash that is used in the stories.save method
		UploadResult *string `json:"upload_result,omitempty"`
	} `json:"response"`
}

type Stories_ViewersItem

type Stories_ViewersItem struct {
	// user has like for this object
	IsLiked bool            `json:"is_liked"`
	User    *Users_UserFull `json:"user,omitempty"`
	// user id
	//  Format: int64
	UserId int `json:"user_id"`
}

type Streaming_GetServerUrl_Response

type Streaming_GetServerUrl_Response struct {
	Response struct {
		// Server host
		Endpoint *string `json:"endpoint,omitempty"`
		// Access key
		Key *string `json:"key,omitempty"`
	} `json:"response"`
}

type Streaming_SetSettings_MonthlyTier

type Streaming_SetSettings_MonthlyTier string
const (
	Streaming_SetSettings_MonthlyTier_Tier1     Streaming_SetSettings_MonthlyTier = "tier_1"
	Streaming_SetSettings_MonthlyTier_Tier2     Streaming_SetSettings_MonthlyTier = "tier_2"
	Streaming_SetSettings_MonthlyTier_Tier3     Streaming_SetSettings_MonthlyTier = "tier_3"
	Streaming_SetSettings_MonthlyTier_Tier4     Streaming_SetSettings_MonthlyTier = "tier_4"
	Streaming_SetSettings_MonthlyTier_Tier5     Streaming_SetSettings_MonthlyTier = "tier_5"
	Streaming_SetSettings_MonthlyTier_Tier6     Streaming_SetSettings_MonthlyTier = "tier_6"
	Streaming_SetSettings_MonthlyTier_Unlimited Streaming_SetSettings_MonthlyTier = "unlimited"
)

type Streaming_SetSettings_Request

type Streaming_SetSettings_Request struct {
	MonthlyTier *Streaming_SetSettings_MonthlyTier
}

type Subcode

type Subcode int
const (
	TooManyCommunities             Subcode = 1
	UserReachedLinkedAccountsLimit Subcode = 1000
	ServiceUuidLinkWithAnotherUser Subcode = 1001
)

type UserToken

type UserToken struct {
	// contains filtered or unexported fields
}

UserToken is required to run almost all API methods excepting the secure section. Some methods, such as VK.Users_Get, can be called without a token but some data may be unavailable because it does matter who exactly tries to get it.

Token is a kind of user signature in the application. It reports the server which user sends requests and what permissions did they grant to the app.

To get a user token use one of these ways: - Implicit flow to run methods on behalf of a user in Javascript apps and Standalone clients (mobile or desktop). - Authorization code flow to run methods on behalf of a user from the server side on a website.

func (UserToken) AccessToken

func (ut UserToken) AccessToken() string

AccessToken returns user access token.

func (UserToken) Email

func (ut UserToken) Email() *string

Email will return the user's email, if the user has an email specified and application has requested the appropriate AccessPermission.

func (UserToken) ExpiresIn

func (ut UserToken) ExpiresIn() time.Duration

ExpiresIn returns token expiredIn time.

func (UserToken) State

func (ut UserToken) State() *string

State returns request state.

func (UserToken) UserID

func (ut UserToken) UserID() int

UserID returns user ID.

type Users_Career

type Users_Career struct {
	// City ID
	CityId *int `json:"city_id,omitempty"`
	// City name
	CityName *string `json:"city_name,omitempty"`
	// Company name
	Company *string `json:"company,omitempty"`
	// Country ID
	CountryId *int `json:"country_id,omitempty"`
	// From year
	From *int `json:"from,omitempty"`
	// Community ID
	//  Format: int64
	GroupId *int `json:"group_id,omitempty"`
	// Career ID
	Id *int `json:"id,omitempty"`
	// Position
	Position *string `json:"position,omitempty"`
	// Till year
	Until *int `json:"until,omitempty"`
}

type Users_Exports

type Users_Exports struct {
	Facebook    *int `json:"facebook,omitempty"`
	Livejournal *int `json:"livejournal,omitempty"`
	Twitter     *int `json:"twitter,omitempty"`
}

type Users_Fields

type Users_Fields string
const (
	Users_Fields_FirstNameNom           Users_Fields = "first_name_nom"
	Users_Fields_FirstNameGen           Users_Fields = "first_name_gen"
	Users_Fields_FirstNameDat           Users_Fields = "first_name_dat"
	Users_Fields_FirstNameAcc           Users_Fields = "first_name_acc"
	Users_Fields_FirstNameIns           Users_Fields = "first_name_ins"
	Users_Fields_FirstNameAbl           Users_Fields = "first_name_abl"
	Users_Fields_LastNameNom            Users_Fields = "last_name_nom"
	Users_Fields_LastNameGen            Users_Fields = "last_name_gen"
	Users_Fields_LastNameDat            Users_Fields = "last_name_dat"
	Users_Fields_LastNameAcc            Users_Fields = "last_name_acc"
	Users_Fields_LastNameIns            Users_Fields = "last_name_ins"
	Users_Fields_LastNameAbl            Users_Fields = "last_name_abl"
	Users_Fields_PhotoId                Users_Fields = "photo_id"
	Users_Fields_Verified               Users_Fields = "verified"
	Users_Fields_Sex                    Users_Fields = "sex"
	Users_Fields_Bdate                  Users_Fields = "bdate"
	Users_Fields_BdateVisibility        Users_Fields = "bdate_visibility"
	Users_Fields_City                   Users_Fields = "city"
	Users_Fields_Country                Users_Fields = "country"
	Users_Fields_HomeTown               Users_Fields = "home_town"
	Users_Fields_HasPhoto               Users_Fields = "has_photo"
	Users_Fields_Photo                  Users_Fields = "photo"
	Users_Fields_PhotoRec               Users_Fields = "photo_rec"
	Users_Fields_Photo50                Users_Fields = "photo_50"
	Users_Fields_Photo100               Users_Fields = "photo_100"
	Users_Fields_Photo200Orig           Users_Fields = "photo_200_orig"
	Users_Fields_Photo200               Users_Fields = "photo_200"
	Users_Fields_Photo400               Users_Fields = "photo_400"
	Users_Fields_Photo400Orig           Users_Fields = "photo_400_orig"
	Users_Fields_PhotoBig               Users_Fields = "photo_big"
	Users_Fields_PhotoMedium            Users_Fields = "photo_medium"
	Users_Fields_PhotoMediumRec         Users_Fields = "photo_medium_rec"
	Users_Fields_PhotoMax               Users_Fields = "photo_max"
	Users_Fields_PhotoMaxOrig           Users_Fields = "photo_max_orig"
	Users_Fields_PhotoMaxSize           Users_Fields = "photo_max_size"
	Users_Fields_ThirdPartyButtons      Users_Fields = "third_party_buttons"
	Users_Fields_Online                 Users_Fields = "online"
	Users_Fields_Lists                  Users_Fields = "lists"
	Users_Fields_Domain                 Users_Fields = "domain"
	Users_Fields_HasMobile              Users_Fields = "has_mobile"
	Users_Fields_Contacts               Users_Fields = "contacts"
	Users_Fields_Language               Users_Fields = "language"
	Users_Fields_Site                   Users_Fields = "site"
	Users_Fields_Education              Users_Fields = "education"
	Users_Fields_Universities           Users_Fields = "universities"
	Users_Fields_Schools                Users_Fields = "schools"
	Users_Fields_Status                 Users_Fields = "status"
	Users_Fields_LastSeen               Users_Fields = "last_seen"
	Users_Fields_FollowersCount         Users_Fields = "followers_count"
	Users_Fields_Counters               Users_Fields = "counters"
	Users_Fields_CommonCount            Users_Fields = "common_count"
	Users_Fields_OnlineInfo             Users_Fields = "online_info"
	Users_Fields_Occupation             Users_Fields = "occupation"
	Users_Fields_Nickname               Users_Fields = "nickname"
	Users_Fields_Relatives              Users_Fields = "relatives"
	Users_Fields_Relation               Users_Fields = "relation"
	Users_Fields_Personal               Users_Fields = "personal"
	Users_Fields_Connections            Users_Fields = "connections"
	Users_Fields_Exports                Users_Fields = "exports"
	Users_Fields_WallComments           Users_Fields = "wall_comments"
	Users_Fields_WallDefault            Users_Fields = "wall_default"
	Users_Fields_Activities             Users_Fields = "activities"
	Users_Fields_Activity               Users_Fields = "activity"
	Users_Fields_Interests              Users_Fields = "interests"
	Users_Fields_Music                  Users_Fields = "music"
	Users_Fields_Movies                 Users_Fields = "movies"
	Users_Fields_Tv                     Users_Fields = "tv"
	Users_Fields_Books                  Users_Fields = "books"
	Users_Fields_IsNoIndex              Users_Fields = "is_no_index"
	Users_Fields_Games                  Users_Fields = "games"
	Users_Fields_About                  Users_Fields = "about"
	Users_Fields_Quotes                 Users_Fields = "quotes"
	Users_Fields_CanPost                Users_Fields = "can_post"
	Users_Fields_CanSeeAllPosts         Users_Fields = "can_see_all_posts"
	Users_Fields_CanSeeAudio            Users_Fields = "can_see_audio"
	Users_Fields_CanSeeGifts            Users_Fields = "can_see_gifts"
	Users_Fields_Work                   Users_Fields = "work"
	Users_Fields_Places                 Users_Fields = "places"
	Users_Fields_CanWritePrivateMessage Users_Fields = "can_write_private_message"
	Users_Fields_CanSendFriendRequest   Users_Fields = "can_send_friend_request"
	Users_Fields_CanUploadDoc           Users_Fields = "can_upload_doc"
	Users_Fields_IsFavorite             Users_Fields = "is_favorite"
	Users_Fields_IsHiddenFromFeed       Users_Fields = "is_hidden_from_feed"
	Users_Fields_Timezone               Users_Fields = "timezone"
	Users_Fields_ScreenName             Users_Fields = "screen_name"
	Users_Fields_MaidenName             Users_Fields = "maiden_name"
	Users_Fields_CropPhoto              Users_Fields = "crop_photo"
	Users_Fields_IsFriend               Users_Fields = "is_friend"
	Users_Fields_FriendStatus           Users_Fields = "friend_status"
	Users_Fields_Career                 Users_Fields = "career"
	Users_Fields_Military               Users_Fields = "military"
	Users_Fields_Blacklisted            Users_Fields = "blacklisted"
	Users_Fields_BlacklistedByMe        Users_Fields = "blacklisted_by_me"
	Users_Fields_CanSubscribePosts      Users_Fields = "can_subscribe_posts"
	Users_Fields_Descriptions           Users_Fields = "descriptions"
	Users_Fields_Trending               Users_Fields = "trending"
	Users_Fields_Mutual                 Users_Fields = "mutual"
	Users_Fields_FriendshipWeeks        Users_Fields = "friendship_weeks"
	Users_Fields_CanInviteToChats       Users_Fields = "can_invite_to_chats"
	Users_Fields_StoriesArchiveCount    Users_Fields = "stories_archive_count"
	Users_Fields_HasUnseenStories       Users_Fields = "has_unseen_stories"
	Users_Fields_VideoLive              Users_Fields = "video_live"
	Users_Fields_VideoLiveLevel         Users_Fields = "video_live_level"
	Users_Fields_VideoLiveCount         Users_Fields = "video_live_count"
	Users_Fields_ClipsCount             Users_Fields = "clips_count"
	Users_Fields_ServiceDescription     Users_Fields = "service_description"
	Users_Fields_CanSeeWishes           Users_Fields = "can_see_wishes"
	Users_Fields_IsSubscribedPodcasts   Users_Fields = "is_subscribed_podcasts"
	Users_Fields_CanSubscribePodcasts   Users_Fields = "can_subscribe_podcasts"
)

type Users_GetFollowersFields_Response

type Users_GetFollowersFields_Response struct {
	Response struct {
		// Total number of available results
		//  Minimum: 0
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Users_GetFollowers_NameCase

type Users_GetFollowers_NameCase string
const (
	Users_GetFollowers_NameCase_Nominative    Users_GetFollowers_NameCase = "nom"
	Users_GetFollowers_NameCase_Genitive      Users_GetFollowers_NameCase = "gen"
	Users_GetFollowers_NameCase_Dative        Users_GetFollowers_NameCase = "dat"
	Users_GetFollowers_NameCase_Accusative    Users_GetFollowers_NameCase = "acc"
	Users_GetFollowers_NameCase_Instrumental  Users_GetFollowers_NameCase = "ins"
	Users_GetFollowers_NameCase_Prepositional Users_GetFollowers_NameCase = "abl"
)

type Users_GetFollowers_Request

type Users_GetFollowers_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// Offset needed to return a specific subset of followers.
	//  Minimum: 0
	Offset *int
	// Number of followers to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 1000
	Count  *int
	Fields *[]Users_Fields
	// Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
	NameCase *Users_GetFollowers_NameCase
}

type Users_GetFollowers_Response

type Users_GetFollowers_Response struct {
	Response struct {
		// Total friends number
		//  Minimum: 0
		Count int `json:"count"`
		//  Format: int64
		//  Minimum: 1
		Items []int `json:"items"`
	} `json:"response"`
}

type Users_GetSubscriptionsExtended_Response

type Users_GetSubscriptionsExtended_Response struct {
	Response struct {
		// Total number of available results
		//  Minimum: 0
		Count int                       `json:"count"`
		Items []Users_SubscriptionsItem `json:"items"`
	} `json:"response"`
}

type Users_GetSubscriptions_Request

type Users_GetSubscriptions_Request struct {
	// User ID.
	//  Format: int64
	//  Minimum: 0
	UserId *int
	// Offset needed to return a specific subset of subscriptions.
	//  Minimum: 0
	Offset *int
	// Number of users and communities to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count  *int
	Fields *[]Users_Fields
}

type Users_GetSubscriptions_Response

type Users_GetSubscriptions_Response struct {
	Response struct {
		Groups Groups_GroupsArray `json:"groups"`
		Users  Users_UsersArray   `json:"users"`
	} `json:"response"`
}

type Users_Get_NameCase

type Users_Get_NameCase string
const (
	Users_Get_NameCase_Nominative    Users_Get_NameCase = "nom"
	Users_Get_NameCase_Genitive      Users_Get_NameCase = "gen"
	Users_Get_NameCase_Dative        Users_Get_NameCase = "dat"
	Users_Get_NameCase_Accusative    Users_Get_NameCase = "acc"
	Users_Get_NameCase_Instrumental  Users_Get_NameCase = "ins"
	Users_Get_NameCase_Prepositional Users_Get_NameCase = "abl"
)

type Users_Get_Request

type Users_Get_Request struct {
	//  Format: int64
	//  MaxItems: 1000
	UserIds *[]string
	Fields  *[]Users_Fields
	// Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
	NameCase *Users_Get_NameCase
}

type Users_Get_Response

type Users_Get_Response struct {
	Response []Users_UserFull `json:"response"`
}

type Users_LastSeen

type Users_LastSeen struct {
	// Type of the platform that used for the last authorization
	Platform *int `json:"platform,omitempty"`
	// Last visit date (in Unix time)
	Time *int `json:"time,omitempty"`
}

type Users_Military

type Users_Military struct {
	// Country ID
	CountryId int `json:"country_id"`
	// From year
	From *int `json:"from,omitempty"`
	// Military ID
	Id *int `json:"id,omitempty"`
	// Unit name
	Unit string `json:"unit"`
	// Unit ID
	UnitId int `json:"unit_id"`
	// Till year
	Until *int `json:"until,omitempty"`
}

type Users_Occupation

type Users_Occupation struct {
	// ID of school, university, company group
	//  Minimum: 0
	Id *int `json:"id,omitempty"`
	// Name of occupation
	Name *string `json:"name,omitempty"`
	// Type of occupation
	Type *string `json:"type,omitempty"`
}

type Users_OnlineInfo

type Users_OnlineInfo struct {
	// Application id from which user is currently online or was last seen online
	//  Minimum: 0
	AppId *int `json:"app_id,omitempty"`
	// Is user online from desktop app or mobile app
	IsMobile *bool `json:"is_mobile,omitempty"`
	// Whether user is currently online or not
	IsOnline *bool `json:"is_online,omitempty"`
	// Last time we saw user being active
	//  Minimum: 0
	LastSeen *int `json:"last_seen,omitempty"`
	// In case user online is not visible, it indicates approximate timeframe of user online
	Status *Users_OnlineInfo_Status `json:"status,omitempty"`
	// Whether you can see real online status of user or not
	Visible bool `json:"visible"`
}

type Users_OnlineInfo_Status

type Users_OnlineInfo_Status string
const (
	Users_OnlineInfo_Status_Recently  Users_OnlineInfo_Status = "recently"
	Users_OnlineInfo_Status_LastWeek  Users_OnlineInfo_Status = "last_week"
	Users_OnlineInfo_Status_LastMonth Users_OnlineInfo_Status = "last_month"
	Users_OnlineInfo_Status_LongAgo   Users_OnlineInfo_Status = "long_ago"
	Users_OnlineInfo_Status_NotShow   Users_OnlineInfo_Status = "not_show"
)

type Users_Personal

type Users_Personal struct {
	// User's views on alcohol
	Alcohol *int `json:"alcohol,omitempty"`
	// User's inspired by
	InspiredBy *string   `json:"inspired_by,omitempty"`
	Langs      *[]string `json:"langs,omitempty"`
	// User's personal priority in life
	LifeMain *int `json:"life_main,omitempty"`
	// User's personal priority in people
	PeopleMain *int `json:"people_main,omitempty"`
	// User's political views
	Political *int `json:"political,omitempty"`
	// User's religion
	Religion *string `json:"religion,omitempty"`
	// User's religion id
	ReligionId *int `json:"religion_id,omitempty"`
	// User's views on smoking
	Smoking *int `json:"smoking,omitempty"`
}

type Users_Relative

type Users_Relative struct {
	// Date of child birthday (format dd.mm.yyyy)
	BirthDate *string `json:"birth_date,omitempty"`
	// Relative ID
	//  Format: int64
	Id *int `json:"id,omitempty"`
	// Name of relative
	Name *string `json:"name,omitempty"`
	// Relative type
	Type Users_Relative_Type `json:"type"`
}

type Users_Relative_Type

type Users_Relative_Type string
const (
	Users_Relative_Type_Parent      Users_Relative_Type = "parent"
	Users_Relative_Type_Child       Users_Relative_Type = "child"
	Users_Relative_Type_Grandparent Users_Relative_Type = "grandparent"
	Users_Relative_Type_Grandchild  Users_Relative_Type = "grandchild"
	Users_Relative_Type_Sibling     Users_Relative_Type = "sibling"
)

type Users_Report_Request

type Users_Report_Request struct {
	// ID of the user about whom a complaint is being made.
	//  Format: int64
	//  Minimum: 1
	UserId int
	// Type of complaint: 'porn' - pornography, 'spam' - spamming, 'insult' - abusive behavior, 'advertisement' - disruptive advertisements
	Type Users_Report_Type
	// Comment describing the complaint.
	Comment *string
}

type Users_Report_Type

type Users_Report_Type string
const (
	Users_Report_Type_Porn          Users_Report_Type = "porn"
	Users_Report_Type_Spam          Users_Report_Type = "spam"
	Users_Report_Type_Insult        Users_Report_Type = "insult"
	Users_Report_Type_Advertisement Users_Report_Type = "advertisement"
)

type Users_School

type Users_School struct {
	// City ID
	City *int `json:"city,omitempty"`
	// School class letter
	Class *string `json:"class,omitempty"`
	// Country ID
	Country *int `json:"country,omitempty"`
	// School ID
	Id *string `json:"id,omitempty"`
	// School name
	Name       *string `json:"name,omitempty"`
	Speciality *string `json:"speciality,omitempty"`
	// School type ID
	Type *int `json:"type,omitempty"`
	// School type name
	TypeStr *string `json:"type_str,omitempty"`
	// Year the user started to study
	YearFrom *int `json:"year_from,omitempty"`
	// Graduation year
	YearGraduated *int `json:"year_graduated,omitempty"`
	// Year the user finished to study
	YearTo *int `json:"year_to,omitempty"`
}

type Users_Search_Request

type Users_Search_Request struct {
	// Search query string (e.g., 'Vasya Babich').
	Q *string
	// Sort order: '1' — by date registered, '0' — by rating
	Sort *Users_Search_Sort
	// Offset needed to return a specific subset of users.
	//  Minimum: 0
	Offset *int
	// Number of users to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 1000
	Count  *int
	Fields *[]Users_Fields
	// City ID.
	//  Minimum: 0
	City *int
	// Country ID.
	//  Minimum: 0
	Country *int
	// City name in a string.
	Hometown *string
	// ID of the country where the user graduated.
	//  Minimum: 0
	UniversityCountry *int
	// ID of the institution of higher education.
	//  Minimum: 0
	University *int
	// Year of graduation from an institution of higher education.
	//  Minimum: 0
	UniversityYear *int
	// Faculty ID.
	//  Minimum: 0
	UniversityFaculty *int
	// Chair ID.
	//  Minimum: 0
	UniversityChair *int
	// '1' — female, '2' — male, '0' — any (default)
	//  Minimum: 0
	Sex *Users_Search_Sex
	// Relationship status: '1' — Not married, '2' — In a relationship, '3' — Engaged, '4' — Married, '5' — It's complicated, '6' — Actively searching, '7' — In love
	//  Minimum: 0
	Status *Users_Search_Status
	// Minimum age.
	//  Minimum: 0
	AgeFrom *int
	// Maximum age.
	//  Minimum: 0
	AgeTo *int
	// Day of birth.
	//  Minimum: 0
	BirthDay *int
	// Month of birth.
	//  Minimum: 0
	BirthMonth *int
	// Year of birth.
	//  Minimum: 1900
	//  Maximum: 2100
	BirthYear *int
	// '1' — online only, '0' — all users
	Online *bool
	// '1' — with photo only, '0' — all users
	HasPhoto *bool
	// ID of the country where users finished school.
	//  Minimum: 0
	SchoolCountry *int
	// ID of the city where users finished school.
	//  Minimum: 0
	SchoolCity *int
	//  Minimum: 0
	SchoolClass *int
	// ID of the school.
	//  Minimum: 0
	School *int
	// School graduation year.
	//  Minimum: 0
	SchoolYear *int
	// Users' religious affiliation.
	Religion *string
	// Name of the company where users work.
	Company *string
	// Job position.
	Position *string
	// ID of a community to search in communities.
	//  Format: int64
	//  Minimum: 0
	GroupId  *int
	FromList *[]string
}

type Users_Search_Response

type Users_Search_Response struct {
	Response struct {
		// Total number of available results
		Count int              `json:"count"`
		Items []Users_UserFull `json:"items"`
	} `json:"response"`
}

type Users_Search_Sex

type Users_Search_Sex int
const (
	Users_Search_Sex_Any    Users_Search_Sex = 0
	Users_Search_Sex_Female Users_Search_Sex = 1
	Users_Search_Sex_Male   Users_Search_Sex = 2
)

type Users_Search_Sort

type Users_Search_Sort int
const (
	Users_Search_Sort_ByRating         Users_Search_Sort = 0
	Users_Search_Sort_ByDateRegistered Users_Search_Sort = 1
)

type Users_Search_Status

type Users_Search_Status int
const (
	Users_Search_Status_NotSpecified      Users_Search_Status = 0
	Users_Search_Status_NotMarried        Users_Search_Status = 1
	Users_Search_Status_Relationship      Users_Search_Status = 2
	Users_Search_Status_Engaged           Users_Search_Status = 3
	Users_Search_Status_Married           Users_Search_Status = 4
	Users_Search_Status_Complicated       Users_Search_Status = 5
	Users_Search_Status_ActivelySearching Users_Search_Status = 6
	Users_Search_Status_InLove            Users_Search_Status = 7
)

type Users_SubscriptionsItem

type Users_SubscriptionsItem struct {
	// contains filtered or unexported fields
}

func (*Users_SubscriptionsItem) MarshalJSON

func (o *Users_SubscriptionsItem) MarshalJSON() ([]byte, error)

func (Users_SubscriptionsItem) Raw

func (o Users_SubscriptionsItem) Raw() []byte

func (*Users_SubscriptionsItem) UnmarshalJSON

func (o *Users_SubscriptionsItem) UnmarshalJSON(body []byte) (err error)

type Users_University

type Users_University struct {
	// Chair ID
	Chair *int `json:"chair,omitempty"`
	// Chair name
	ChairName *string `json:"chair_name,omitempty"`
	// City ID
	City *int `json:"city,omitempty"`
	// Country ID
	Country *int `json:"country,omitempty"`
	// Education form
	EducationForm *string `json:"education_form,omitempty"`
	// Education status
	EducationStatus *string `json:"education_status,omitempty"`
	// Faculty ID
	Faculty *int `json:"faculty,omitempty"`
	// Faculty name
	FacultyName *string `json:"faculty_name,omitempty"`
	// Graduation year
	Graduation *int `json:"graduation,omitempty"`
	// University ID
	Id *int `json:"id,omitempty"`
	// University name
	Name              *string `json:"name,omitempty"`
	UniversityGroupId *int    `json:"university_group_id,omitempty"`
}

type Users_User

type Users_User struct {
	Users_UserMin
	FriendStatus *Friends_FriendStatusStatus `json:"friend_status,omitempty"`
	Mutual       *Friends_RequestsMutual     `json:"mutual,omitempty"`
	// Information whether the user is online
	Online *Base_BoolInt `json:"online,omitempty"`
	// Application ID
	OnlineApp  *int              `json:"online_app,omitempty"`
	OnlineInfo *Users_OnlineInfo `json:"online_info,omitempty"`
	// Information whether the user is online in mobile site or application
	OnlineMobile *Base_BoolInt `json:"online_mobile,omitempty"`
	// URL of square photo of the user with 100 pixels in width
	//  Format: uri
	Photo100 *string `json:"photo_100,omitempty"`
	// URL of square photo of the user with 50 pixels in width
	//  Format: uri
	Photo50 *string `json:"photo_50,omitempty"`
	// Domain name of the user's page
	ScreenName *string `json:"screen_name,omitempty"`
	// User sex
	Sex *Base_Sex `json:"sex,omitempty"`
	// Information whether the user has a "fire" pictogram.
	Trending *Base_BoolInt `json:"trending,omitempty"`
	// Information whether the user is verified
	Verified *Base_BoolInt `json:"verified,omitempty"`
}

type Users_UserConnections

type Users_UserConnections struct {
	// User's Facebook account
	Facebook string `json:"facebook"`
	// User's Facebook name
	FacebookName *string `json:"facebook_name,omitempty"`
	// User's Instagram account
	Instagram string `json:"instagram"`
	// User's Livejournal account
	Livejournal *string `json:"livejournal,omitempty"`
	// User's Skype nickname
	Skype string `json:"skype"`
	// User's Twitter account
	Twitter string `json:"twitter"`
}

type Users_UserCounters

type Users_UserCounters struct {
	// Albums number
	Albums   *int `json:"albums,omitempty"`
	Articles *int `json:"articles,omitempty"`
	// Audios number
	Audios *int `json:"audios,omitempty"`
	// Badges number
	Badges         *int `json:"badges,omitempty"`
	Clips          *int `json:"clips,omitempty"`
	ClipsFollowers *int `json:"clips_followers,omitempty"`
	// Followers number
	Followers *int `json:"followers,omitempty"`
	// Friends number
	Friends *int `json:"friends,omitempty"`
	// Gifts number
	Gifts *int `json:"gifts,omitempty"`
	// Communities number
	Groups             *int `json:"groups,omitempty"`
	MutualFriends      *int `json:"mutual_friends,omitempty"`
	NewPhotoTags       *int `json:"new_photo_tags,omitempty"`
	NewRecognitionTags *int `json:"new_recognition_tags,omitempty"`
	// Notes number
	Notes *int `json:"notes,omitempty"`
	// Online friends number
	OnlineFriends *int `json:"online_friends,omitempty"`
	// Public pages number
	Pages *int `json:"pages,omitempty"`
	// Photos number
	Photos   *int `json:"photos,omitempty"`
	Podcasts *int `json:"podcasts,omitempty"`
	Posts    *int `json:"posts,omitempty"`
	// Subscriptions number
	Subscriptions *int `json:"subscriptions,omitempty"`
	// Number of photos with user
	UserPhotos *int `json:"user_photos,omitempty"`
	// Number of videos with user
	UserVideos *int `json:"user_videos,omitempty"`
	// Videos number
	Videos *int `json:"videos,omitempty"`
	Wishes *int `json:"wishes,omitempty"`
}

type Users_UserFull

type Users_UserFull struct {
	Users_User
	About      *string `json:"about,omitempty"`
	AccessKey  *string `json:"access_key,omitempty"`
	Activities *string `json:"activities,omitempty"`
	// User's status
	Activity *string `json:"activity,omitempty"`
	// User's date of birth
	Bdate *string `json:"bdate,omitempty"`
	// Information whether current user is in the requested user's blacklist.
	Blacklisted *Base_BoolInt `json:"blacklisted,omitempty"`
	// Information whether the requested user is in current user's blacklist
	BlacklistedByMe *Base_BoolInt `json:"blacklisted_by_me,omitempty"`
	Books           *string       `json:"books,omitempty"`
	// Information whether current user can be invited to the community
	CanBeInvitedGroup *bool `json:"can_be_invited_group,omitempty"`
	// Information whether current user can call
	CanCall *bool `json:"can_call,omitempty"`
	// Information whether group can call user
	CanCallFromGroup *bool `json:"can_call_from_group,omitempty"`
	// Information whether current user can post on the user's wall
	CanPost *Base_BoolInt `json:"can_post,omitempty"`
	// Information whether current user can see other users' audio on the wall
	CanSeeAllPosts *Base_BoolInt `json:"can_see_all_posts,omitempty"`
	// Information whether current user can see the user's audio
	CanSeeAudio *Base_BoolInt `json:"can_see_audio,omitempty"`
	// Information whether current user can see the user's gifts
	CanSeeGifts *Base_BoolInt `json:"can_see_gifts,omitempty"`
	// Information whether current user can see the user's wishes
	CanSeeWishes *bool `json:"can_see_wishes,omitempty"`
	// Information whether current user can send a friend request
	CanSendFriendRequest *Base_BoolInt `json:"can_send_friend_request,omitempty"`
	// Owner in whitelist or not
	CanSubscribePodcasts *bool `json:"can_subscribe_podcasts,omitempty"`
	// Can subscribe to wall
	CanSubscribePosts *bool         `json:"can_subscribe_posts,omitempty"`
	CanUploadDoc      *Base_BoolInt `json:"can_upload_doc,omitempty"`
	// Information whether current user can write private message
	CanWritePrivateMessage *Base_BoolInt   `json:"can_write_private_message,omitempty"`
	Career                 *[]Users_Career `json:"career,omitempty"`
	City                   *Base_City      `json:"city,omitempty"`
	// Number of user's clips
	//  Minimum: 0
	ClipsCount *int `json:"clips_count,omitempty"`
	// Number of common friends with current user
	//  Minimum: 0
	CommonCount *int `json:"common_count,omitempty"`
	// Contact person ID
	ContactId *int `json:"contact_id,omitempty"`
	// User contact name
	ContactName  *string             `json:"contact_name,omitempty"`
	Counters     *Users_UserCounters `json:"counters,omitempty"`
	Country      *Base_Country       `json:"country,omitempty"`
	CropPhoto    *Base_CropPhoto     `json:"crop_photo,omitempty"`
	Descriptions *[]string           `json:"descriptions,omitempty"`
	// Domain name of the user's page
	Domain *string `json:"domain,omitempty"`
	// Education form
	EducationForm *string `json:"education_form,omitempty"`
	// User's education status
	EducationStatus *string        `json:"education_status,omitempty"`
	Email           *string        `json:"email,omitempty"`
	Exports         *Users_Exports `json:"exports,omitempty"`
	Facebook        *string        `json:"facebook,omitempty"`
	FacebookName    *string        `json:"facebook_name,omitempty"`
	// Faculty ID
	Faculty *int `json:"faculty,omitempty"`
	// Faculty name
	FacultyName *string `json:"faculty_name,omitempty"`
	// User's first name in prepositional case
	FirstNameAbl *string `json:"first_name_abl,omitempty"`
	// User's first name in accusative case
	FirstNameAcc *string `json:"first_name_acc,omitempty"`
	// User's first name in dative case
	FirstNameDat *string `json:"first_name_dat,omitempty"`
	// User's first name in genitive case
	FirstNameGen *string `json:"first_name_gen,omitempty"`
	// User's first name in instrumental case
	FirstNameIns *string `json:"first_name_ins,omitempty"`
	// User's first name in nominative case
	FirstNameNom *string `json:"first_name_nom,omitempty"`
	// Number of user's followers
	//  Minimum: 0
	FollowersCount *int    `json:"followers_count,omitempty"`
	Games          *string `json:"games,omitempty"`
	// Graduation year
	Graduation *int `json:"graduation,omitempty"`
	// Information whether the user specified his phone number
	HasMobile *Base_BoolInt `json:"has_mobile,omitempty"`
	// Information whether the user has main photo
	HasPhoto         *Base_BoolInt `json:"has_photo,omitempty"`
	HasUnseenStories *bool         `json:"has_unseen_stories,omitempty"`
	Hash             *string       `json:"hash,omitempty"`
	// User's additional phone number
	HomePhone *string `json:"home_phone,omitempty"`
	// User hometown
	HomeTown  *string `json:"home_town,omitempty"`
	Instagram *string `json:"instagram,omitempty"`
	Interests *string `json:"interests,omitempty"`
	// Information whether the requested user is in faves of current user
	IsFavorite *Base_BoolInt `json:"is_favorite,omitempty"`
	// Information whether the user is a friend of current user
	IsFriend *Base_BoolInt `json:"is_friend,omitempty"`
	// Information whether the requested user is hidden from current user's newsfeed
	IsHiddenFromFeed *Base_BoolInt `json:"is_hidden_from_feed,omitempty"`
	IsMessageRequest *bool         `json:"is_message_request,omitempty"`
	// Access to user profile is restricted for search engines
	IsNoIndex *bool `json:"is_no_index,omitempty"`
	IsService *bool `json:"is_service,omitempty"`
	// Information whether current user is subscribed to podcasts
	IsSubscribedPodcasts            *bool         `json:"is_subscribed_podcasts,omitempty"`
	IsVideoLiveNotificationsBlocked *Base_BoolInt `json:"is_video_live_notifications_blocked,omitempty"`
	Language                        *string       `json:"language,omitempty"`
	// User's last name in prepositional case
	LastNameAbl *string `json:"last_name_abl,omitempty"`
	// User's last name in accusative case
	LastNameAcc *string `json:"last_name_acc,omitempty"`
	// User's last name in dative case
	LastNameDat *string `json:"last_name_dat,omitempty"`
	// User's last name in genitive case
	LastNameGen *string `json:"last_name_gen,omitempty"`
	// User's last name in instrumental case
	LastNameIns *string `json:"last_name_ins,omitempty"`
	// User's last name in nominative case
	LastNameNom *string         `json:"last_name_nom,omitempty"`
	LastSeen    *Users_LastSeen `json:"last_seen,omitempty"`
	Lists       *[]int          `json:"lists,omitempty"`
	Livejournal *string         `json:"livejournal,omitempty"`
	// User maiden name
	MaidenName *string           `json:"maiden_name,omitempty"`
	Military   *[]Users_Military `json:"military,omitempty"`
	// User's mobile phone number
	MobilePhone *string `json:"mobile_phone,omitempty"`
	Movies      *string `json:"movies,omitempty"`
	Music       *string `json:"music,omitempty"`
	// User nickname
	Nickname   *string           `json:"nickname,omitempty"`
	Occupation *Users_Occupation `json:"occupation,omitempty"`
	OwnerState *Owner_State      `json:"owner_state,omitempty"`
	Personal   *Users_Personal   `json:"personal,omitempty"`
	Photo      *string           `json:"photo,omitempty"`
	// URL of square photo of the user with 200 pixels in width
	//  Format: uri
	Photo200 *string `json:"photo_200,omitempty"`
	// URL of user's photo with 200 pixels in width
	//  Format: uri
	Photo200Orig *string `json:"photo_200_orig,omitempty"`
	Photo400     *string `json:"photo_400,omitempty"`
	// URL of user's photo with 400 pixels in width
	//  Format: uri
	Photo400Orig *string `json:"photo_400_orig,omitempty"`
	PhotoBig     *string `json:"photo_big,omitempty"`
	// ID of the user's main photo
	PhotoId *string `json:"photo_id,omitempty"`
	// URL of square photo of the user with maximum width
	//  Format: uri
	PhotoMax *string `json:"photo_max,omitempty"`
	// URL of user's photo of maximum size
	//  Format: uri
	PhotoMaxOrig   *string                `json:"photo_max_orig,omitempty"`
	PhotoMaxSize   *Photos_Photo          `json:"photo_max_size,omitempty"`
	PhotoMedium    *Photos_PhotoFalseable `json:"photo_medium,omitempty"`
	PhotoMediumRec *Photos_PhotoFalseable `json:"photo_medium_rec,omitempty"`
	PhotoRec       *Photos_PhotoFalseable `json:"photo_rec,omitempty"`
	Quotes         *string                `json:"quotes,omitempty"`
	// User relationship status
	Relation           *Users_UserRelation `json:"relation,omitempty"`
	RelationPartner    *Users_UserMin      `json:"relation_partner,omitempty"`
	Relatives          *[]Users_Relative   `json:"relatives,omitempty"`
	Schools            *[]Users_School     `json:"schools,omitempty"`
	ServiceDescription *string             `json:"service_description,omitempty"`
	// User's website
	Site  *string `json:"site,omitempty"`
	Skype *string `json:"skype,omitempty"`
	// User's status
	Status              *string       `json:"status,omitempty"`
	StatusAudio         *Audio_Audio  `json:"status_audio,omitempty"`
	StoriesArchiveCount *int          `json:"stories_archive_count,omitempty"`
	Test                *Base_BoolInt `json:"test,omitempty"`
	// User's timezone
	Timezone     *float64            `json:"timezone,omitempty"`
	Tv           *string             `json:"tv,omitempty"`
	Twitter      *string             `json:"twitter,omitempty"`
	Type         *Users_UserType     `json:"type,omitempty"`
	Universities *[]Users_University `json:"universities,omitempty"`
	// University ID
	University        *int `json:"university,omitempty"`
	UniversityGroupId *int `json:"university_group_id,omitempty"`
	// University name
	UniversityName *string         `json:"university_name,omitempty"`
	VideoLive      *Video_LiveInfo `json:"video_live,omitempty"`
	// Number of user's live streams
	//  Minimum: 0
	VideoLiveCount *int `json:"video_live_count,omitempty"`
	// User level in live streams achievements
	//  Minimum: 0
	VideoLiveLevel *int `json:"video_live_level,omitempty"`
	// Information whether current user can comment wall posts
	WallComments *Base_BoolInt               `json:"wall_comments,omitempty"`
	WallDefault  *Users_UserFull_WallDefault `json:"wall_default,omitempty"`
}

type Users_UserFull_WallDefault

type Users_UserFull_WallDefault string
const (
	Users_UserFull_WallDefault_Owner Users_UserFull_WallDefault = "owner"
	Users_UserFull_WallDefault_All   Users_UserFull_WallDefault = "all"
)

type Users_UserMin

type Users_UserMin struct {
	CanAccessClosed *bool `json:"can_access_closed,omitempty"`
	// Returns if a profile is deleted or blocked
	Deactivated *string `json:"deactivated,omitempty"`
	// User first name
	FirstName *string `json:"first_name,omitempty"`
	// Returns if a profile is hidden.
	Hidden *int `json:"hidden,omitempty"`
	// User ID
	//  Format: int64
	Id       int   `json:"id"`
	IsClosed *bool `json:"is_closed,omitempty"`
	// User last name
	LastName *string `json:"last_name,omitempty"`
}

type Users_UserRelation

type Users_UserRelation int
const (
	Users_UserRelation_NotSpecified      Users_UserRelation = 0
	Users_UserRelation_Single            Users_UserRelation = 1
	Users_UserRelation_InARelationship   Users_UserRelation = 2
	Users_UserRelation_Engaged           Users_UserRelation = 3
	Users_UserRelation_Married           Users_UserRelation = 4
	Users_UserRelation_Complicated       Users_UserRelation = 5
	Users_UserRelation_ActivelySearching Users_UserRelation = 6
	Users_UserRelation_InLove            Users_UserRelation = 7
	Users_UserRelation_InACivilUnion     Users_UserRelation = 8
)

type Users_UserSettingsXtr

type Users_UserSettingsXtr struct {
	// User's date of birth
	Bdate *string `json:"bdate,omitempty"`
	// Information whether user's birthdate are hidden
	//  Minimum: 0
	BdateVisibility *int                   `json:"bdate_visibility,omitempty"`
	City            *Base_City             `json:"city,omitempty"`
	Connections     *Users_UserConnections `json:"connections,omitempty"`
	Country         *Base_Country          `json:"country,omitempty"`
	// User first name
	FirstName *string `json:"first_name,omitempty"`
	// User's hometown
	HomeTown  string                         `json:"home_town"`
	Interests *Account_UserSettingsInterests `json:"interests,omitempty"`
	Languages *[]string                      `json:"languages,omitempty"`
	// User last name
	LastName *string `json:"last_name,omitempty"`
	// User maiden name
	MaidenName  *string              `json:"maiden_name,omitempty"`
	NameRequest *Account_NameRequest `json:"name_request,omitempty"`
	Personal    *Users_Personal      `json:"personal,omitempty"`
	// User phone number with some hidden digits
	Phone *string `json:"phone,omitempty"`
	// User relationship status
	Relation        *Users_UserRelation `json:"relation,omitempty"`
	RelationPartner *Users_UserMin      `json:"relation_partner,omitempty"`
	// Information whether relation status is pending
	RelationPending  *Base_BoolInt    `json:"relation_pending,omitempty"`
	RelationRequests *[]Users_UserMin `json:"relation_requests,omitempty"`
	// Domain name of the user's page
	ScreenName *string `json:"screen_name,omitempty"`
	// User sex
	Sex *Base_Sex `json:"sex,omitempty"`
	// User status
	Status      string       `json:"status"`
	StatusAudio *Audio_Audio `json:"status_audio,omitempty"`
}

type Users_UserType

type Users_UserType string

Users_UserType Object type

const (
	Users_UserType_Profile Users_UserType = "profile"
)

type Users_UserXtrType

type Users_UserXtrType struct {
	Users_User
	Type *Users_UserType `json:"type,omitempty"`
}

type Users_UsersArray

type Users_UsersArray struct {
	// Users number
	//  Minimum: 0
	Count int `json:"count"`
	//  Format: int64
	Items []int `json:"items"`
}
type Utils_CheckLink_Request struct {
	// Link to check (e.g., 'http://google.com').
	Url string
}
type Utils_CheckLink_Response struct {
	Response Utils_LinkChecked `json:"response"`
}

type Utils_DeleteFromLastShortened_Request

type Utils_DeleteFromLastShortened_Request struct {
	// Link key (characters after vk.cc/).
	Key string
}

type Utils_DomainResolved

type Utils_DomainResolved struct {
	// Group ID
	//  Format: int64
	GroupId *int `json:"group_id,omitempty"`
	// Object ID
	ObjectId *int                      `json:"object_id,omitempty"`
	Type     *Utils_DomainResolvedType `json:"type,omitempty"`
}

type Utils_DomainResolvedType

type Utils_DomainResolvedType string

Utils_DomainResolvedType Object type

const (
	Utils_DomainResolvedType_User                 Utils_DomainResolvedType = "user"
	Utils_DomainResolvedType_Group                Utils_DomainResolvedType = "group"
	Utils_DomainResolvedType_Application          Utils_DomainResolvedType = "application"
	Utils_DomainResolvedType_Page                 Utils_DomainResolvedType = "page"
	Utils_DomainResolvedType_VkApp                Utils_DomainResolvedType = "vk_app"
	Utils_DomainResolvedType_CommunityApplication Utils_DomainResolvedType = "community_application"
)
type Utils_GetLastShortenedLinks_Request struct {
	// Number of links to return.
	//  Default: 10
	//  Minimum: 0
	Count *int
	// Offset needed to return a specific subset of links.
	//  Default: 0
	//  Minimum: 0
	Offset *int
}
type Utils_GetLastShortenedLinks_Response struct {
	Response struct {
		// Total number of available results
		//  Minimum: 0
		Count *int                       `json:"count,omitempty"`
		Items *[]Utils_LastShortenedLink `json:"items,omitempty"`
	} `json:"response"`
}

type Utils_GetLinkStatsExtended_Response

type Utils_GetLinkStatsExtended_Response struct {
	Response Utils_LinkStatsExtended `json:"response"`
}

type Utils_GetLinkStats_Interval

type Utils_GetLinkStats_Interval string
const (
	Utils_GetLinkStats_Interval_Day     Utils_GetLinkStats_Interval = "day"
	Utils_GetLinkStats_Interval_Forever Utils_GetLinkStats_Interval = "forever"
	Utils_GetLinkStats_Interval_Hour    Utils_GetLinkStats_Interval = "hour"
	Utils_GetLinkStats_Interval_Month   Utils_GetLinkStats_Interval = "month"
	Utils_GetLinkStats_Interval_Week    Utils_GetLinkStats_Interval = "week"
)

type Utils_GetLinkStats_Request

type Utils_GetLinkStats_Request struct {
	// Link key (characters after vk.cc/).
	Key string
	// Source of scope
	//  Default: vk_cc
	Source *Utils_GetLinkStats_Source
	// Access key for private link stats.
	AccessKey *string
	// Interval.
	//  Default: day
	Interval *Utils_GetLinkStats_Interval
	// Number of intervals to return.
	//  Default: 1
	//  Minimum: 0
	//  Maximum: 100
	IntervalsCount *int
}

type Utils_GetLinkStats_Response

type Utils_GetLinkStats_Response struct {
	Response Utils_LinkStats `json:"response"`
}

type Utils_GetLinkStats_Source

type Utils_GetLinkStats_Source string
const (
	Utils_GetLinkStats_Source_VkCc   Utils_GetLinkStats_Source = "vk_cc"
	Utils_GetLinkStats_Source_VkLink Utils_GetLinkStats_Source = "vk_link"
)

type Utils_GetServerTime_Response

type Utils_GetServerTime_Response struct {
	// Time as Unixtime
	Response int `json:"response"`
}
type Utils_GetShortLink_Request struct {
	// URL to be shortened.
	Url string
	// 1 — private stats, 0 — public stats.
	//  Default: false
	Private *bool
}
type Utils_GetShortLink_Response struct {
	Response Utils_ShortLink `json:"response"`
}
type Utils_LastShortenedLink struct {
	// Access key for private stats
	AccessKey *string `json:"access_key,omitempty"`
	// Link key (characters after vk.cc/)
	Key *string `json:"key,omitempty"`
	// Short link URL
	//  Format: uri
	ShortUrl *string `json:"short_url,omitempty"`
	// Creation time in Unixtime
	Timestamp *int `json:"timestamp,omitempty"`
	// Full URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
	// Total views number
	Views *int `json:"views,omitempty"`
}

type Utils_LinkChecked

type Utils_LinkChecked struct {
	// Link URL
	//  Format: uri
	Link   *string                  `json:"link,omitempty"`
	Status *Utils_LinkCheckedStatus `json:"status,omitempty"`
}

type Utils_LinkCheckedStatus

type Utils_LinkCheckedStatus string

Utils_LinkCheckedStatus Link status

const (
	Utils_LinkCheckedStatus_NotBanned  Utils_LinkCheckedStatus = "not_banned"
	Utils_LinkCheckedStatus_Banned     Utils_LinkCheckedStatus = "banned"
	Utils_LinkCheckedStatus_Processing Utils_LinkCheckedStatus = "processing"
)

type Utils_LinkStats

type Utils_LinkStats struct {
	// Link key (characters after vk.cc/)
	Key   *string        `json:"key,omitempty"`
	Stats *[]Utils_Stats `json:"stats,omitempty"`
}

type Utils_LinkStatsExtended

type Utils_LinkStatsExtended struct {
	// Link key (characters after vk.cc/)
	Key   *string                `json:"key,omitempty"`
	Stats *[]Utils_StatsExtended `json:"stats,omitempty"`
}

type Utils_ResolveScreenName_Request

type Utils_ResolveScreenName_Request struct {
	// Screen name of the user, community (e.g., 'apiclub,' 'andrew', or 'rules_of_war'), or application.
	ScreenName string
}

type Utils_ResolveScreenName_Response

type Utils_ResolveScreenName_Response struct {
	Response Utils_DomainResolved `json:"response"`
}
type Utils_ShortLink struct {
	// Access key for private stats
	AccessKey *string `json:"access_key,omitempty"`
	// Link key (characters after vk.cc/)
	Key *string `json:"key,omitempty"`
	// Short link URL
	//  Format: uri
	ShortUrl *string `json:"short_url,omitempty"`
	// Full URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

type Utils_Stats

type Utils_Stats struct {
	// Start time
	Timestamp *int `json:"timestamp,omitempty"`
	// Total views number
	Views *int `json:"views,omitempty"`
}

type Utils_StatsCity

type Utils_StatsCity struct {
	// City ID
	CityId *int `json:"city_id,omitempty"`
	// Views number
	Views *int `json:"views,omitempty"`
}

type Utils_StatsCountry

type Utils_StatsCountry struct {
	// Country ID
	CountryId *int `json:"country_id,omitempty"`
	// Views number
	Views *int `json:"views,omitempty"`
}

type Utils_StatsExtended

type Utils_StatsExtended struct {
	Cities    *[]Utils_StatsCity    `json:"cities,omitempty"`
	Countries *[]Utils_StatsCountry `json:"countries,omitempty"`
	SexAge    *[]Utils_StatsSexAge  `json:"sex_age,omitempty"`
	// Start time
	Timestamp *int `json:"timestamp,omitempty"`
	// Total views number
	Views *int `json:"views,omitempty"`
}

type Utils_StatsSexAge

type Utils_StatsSexAge struct {
	// Age denotation
	AgeRange *string `json:"age_range,omitempty"`
	//  Views by female users
	Female *int `json:"female,omitempty"`
	//  Views by male users
	Male *int `json:"male,omitempty"`
}

type VK

type VK struct {
	// contains filtered or unexported fields
}

VK the main structure for calling requests to the API

func NewVK

func NewVK(client *http.Client, token ...string) *VK

NewVK create and return new VK

func (*VK) Account_Ban

func (vk *VK) Account_Ban(ctx context.Context, req Account_Ban_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_Ban ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.ban

func (*VK) Account_ChangePassword

func (vk *VK) Account_ChangePassword(ctx context.Context, req Account_ChangePassword_Request, options ...Option) (resp Account_ChangePassword_Response, apiErr ApiError, err error)

Account_ChangePassword Changes a user password after access is successfully restored with the [vk.com/dev/auth.restore|auth.restore] method. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.changePassword

func (*VK) Account_GetActiveOffers

func (vk *VK) Account_GetActiveOffers(ctx context.Context, req Account_GetActiveOffers_Request, options ...Option) (resp Account_GetActiveOffers_Response, apiErr ApiError, err error)

Account_GetActiveOffers Returns a list of active ads (offers) which executed by the user will bring him/her respective number of votes to his balance in the application. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.getActiveOffers

func (*VK) Account_GetAppPermissions

func (vk *VK) Account_GetAppPermissions(ctx context.Context, req Account_GetAppPermissions_Request, options ...Option) (resp Account_GetAppPermissions_Response, apiErr ApiError, err error)

Account_GetAppPermissions Gets settings of the user in this application. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.getAppPermissions

func (*VK) Account_GetBanned

func (vk *VK) Account_GetBanned(ctx context.Context, req Account_GetBanned_Request, options ...Option) (resp Account_GetBanned_Response, apiErr ApiError, err error)

Account_GetBanned Returns a user's blacklist. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.getBanned

func (*VK) Account_GetCounters

func (vk *VK) Account_GetCounters(ctx context.Context, req Account_GetCounters_Request, options ...Option) (resp Account_GetCounters_Response, apiErr ApiError, err error)

Account_GetCounters Returns non-null values of user counters. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.getCounters

func (*VK) Account_GetInfo

func (vk *VK) Account_GetInfo(ctx context.Context, req Account_GetInfo_Request, options ...Option) (resp Account_GetInfo_Response, apiErr ApiError, err error)

Account_GetInfo Returns current account info. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.getInfo

func (*VK) Account_GetProfileInfo

func (vk *VK) Account_GetProfileInfo(ctx context.Context, options ...Option) (resp Account_GetProfileInfo_Response, apiErr ApiError, err error)

Account_GetProfileInfo Returns the current account info. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.getProfileInfo

func (*VK) Account_GetPushSettings

func (vk *VK) Account_GetPushSettings(ctx context.Context, req Account_GetPushSettings_Request, options ...Option) (resp Account_GetPushSettings_Response, apiErr ApiError, err error)

Account_GetPushSettings Gets settings of push notifications. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.getPushSettings

func (*VK) Account_RegisterDevice

func (vk *VK) Account_RegisterDevice(ctx context.Context, req Account_RegisterDevice_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_RegisterDevice Subscribes an iOS/Android/Windows Phone-based device to receive push notifications May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.registerDevice

func (*VK) Account_SaveProfileInfo

func (vk *VK) Account_SaveProfileInfo(ctx context.Context, req Account_SaveProfileInfo_Request, options ...Option) (resp Account_SaveProfileInfo_Response, apiErr ApiError, err error)

Account_SaveProfileInfo Edits current profile info. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_InvalidAddress ]

https://dev.vk.com/method/account.saveProfileInfo

func (*VK) Account_SetInfo

func (vk *VK) Account_SetInfo(ctx context.Context, req Account_SetInfo_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_SetInfo Allows to edit the current account info. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.setInfo

func (*VK) Account_SetOffline

func (vk *VK) Account_SetOffline(ctx context.Context, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_SetOffline Marks a current user as offline. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.setOffline

func (*VK) Account_SetOnline

func (vk *VK) Account_SetOnline(ctx context.Context, req Account_SetOnline_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_SetOnline Marks the current user as online for 15 minutes. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.setOnline

func (*VK) Account_SetPushSettings

func (vk *VK) Account_SetPushSettings(ctx context.Context, req Account_SetPushSettings_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_SetPushSettings Change push settings. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.setPushSettings

func (*VK) Account_SetSilenceMode

func (vk *VK) Account_SetSilenceMode(ctx context.Context, req Account_SetSilenceMode_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_SetSilenceMode Mutes push notifications for the set period of time. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.setSilenceMode

func (*VK) Account_Unban

func (vk *VK) Account_Unban(ctx context.Context, req Account_Unban_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_Unban ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.unban

func (*VK) Account_UnregisterDevice

func (vk *VK) Account_UnregisterDevice(ctx context.Context, req Account_UnregisterDevice_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Account_UnregisterDevice Unsubscribes a device from push notifications. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/account.unregisterDevice

func (*VK) Ads_AddOfficeUsers

func (vk *VK) Ads_AddOfficeUsers(ctx context.Context, req Ads_AddOfficeUsers_Request, options ...Option) (resp Ads_AddOfficeUsers_Response, apiErr ApiError, err error)

Ads_AddOfficeUsers Adds managers and/or supervisors to advertising account. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.addOfficeUsers

func (vk *VK) Ads_CheckLink(ctx context.Context, req Ads_CheckLink_Request, options ...Option) (resp Ads_CheckLink_Response, apiErr ApiError, err error)

Ads_CheckLink Allows to check the ad link. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/ads.checkLink

func (*VK) Ads_CreateAds

func (vk *VK) Ads_CreateAds(ctx context.Context, req Ads_CreateAds_Request, options ...Option) (resp Ads_CreateAds_Response, apiErr ApiError, err error)

Ads_CreateAds Creates ads. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AdsPartialSuccess, Error_WeightedFlood ]

https://dev.vk.com/method/ads.createAds

func (*VK) Ads_CreateCampaigns

func (vk *VK) Ads_CreateCampaigns(ctx context.Context, req Ads_CreateCampaigns_Request, options ...Option) (resp Ads_CreateCampaigns_Response, apiErr ApiError, err error)

Ads_CreateCampaigns Creates advertising campaigns. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AdsPartialSuccess, Error_WeightedFlood ]

https://dev.vk.com/method/ads.createCampaigns

func (*VK) Ads_CreateClients

func (vk *VK) Ads_CreateClients(ctx context.Context, req Ads_CreateClients_Request, options ...Option) (resp Ads_CreateClients_Response, apiErr ApiError, err error)

Ads_CreateClients Creates clients of an advertising agency. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AdsPartialSuccess, Error_WeightedFlood ]

https://dev.vk.com/method/ads.createClients

func (*VK) Ads_CreateTargetGroup

func (vk *VK) Ads_CreateTargetGroup(ctx context.Context, req Ads_CreateTargetGroup_Request, options ...Option) (resp Ads_CreateTargetGroup_Response, apiErr ApiError, err error)

Ads_CreateTargetGroup Creates a group to re-target ads for users who visited advertiser's site (viewed information about the product, registered, etc.). May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.createTargetGroup

func (*VK) Ads_DeleteAds

func (vk *VK) Ads_DeleteAds(ctx context.Context, req Ads_DeleteAds_Request, options ...Option) (resp Ads_DeleteAds_Response, apiErr ApiError, err error)

Ads_DeleteAds Archives ads. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AdsObjectDeleted, Error_AdsPartialSuccess, Error_WeightedFlood ]

https://dev.vk.com/method/ads.deleteAds

func (*VK) Ads_DeleteCampaigns

func (vk *VK) Ads_DeleteCampaigns(ctx context.Context, req Ads_DeleteCampaigns_Request, options ...Option) (resp Ads_DeleteCampaigns_Response, apiErr ApiError, err error)

Ads_DeleteCampaigns Archives advertising campaigns. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AdsObjectDeleted, Error_AdsPartialSuccess, Error_WeightedFlood ]

https://dev.vk.com/method/ads.deleteCampaigns

func (*VK) Ads_DeleteClients

func (vk *VK) Ads_DeleteClients(ctx context.Context, req Ads_DeleteClients_Request, options ...Option) (resp Ads_DeleteClients_Response, apiErr ApiError, err error)

Ads_DeleteClients Archives clients of an advertising agency. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AdsObjectDeleted, Error_AdsPartialSuccess, Error_WeightedFlood ]

https://dev.vk.com/method/ads.deleteClients

func (*VK) Ads_DeleteTargetGroup

func (vk *VK) Ads_DeleteTargetGroup(ctx context.Context, req Ads_DeleteTargetGroup_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Ads_DeleteTargetGroup Deletes a retarget group. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.deleteTargetGroup

func (*VK) Ads_GetAccounts

func (vk *VK) Ads_GetAccounts(ctx context.Context, options ...Option) (resp Ads_GetAccounts_Response, apiErr ApiError, err error)

Ads_GetAccounts Returns a list of advertising accounts. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/ads.getAccounts

func (*VK) Ads_GetAds

func (vk *VK) Ads_GetAds(ctx context.Context, req Ads_GetAds_Request, options ...Option) (resp Ads_GetAds_Response, apiErr ApiError, err error)

Ads_GetAds Returns number of ads. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getAds

func (*VK) Ads_GetAdsLayout

func (vk *VK) Ads_GetAdsLayout(ctx context.Context, req Ads_GetAdsLayout_Request, options ...Option) (resp Ads_GetAdsLayout_Response, apiErr ApiError, err error)

Ads_GetAdsLayout Returns descriptions of ad layouts. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getAdsLayout

func (*VK) Ads_GetAdsTargeting

func (vk *VK) Ads_GetAdsTargeting(ctx context.Context, req Ads_GetAdsTargeting_Request, options ...Option) (resp Ads_GetAdsTargeting_Response, apiErr ApiError, err error)

Ads_GetAdsTargeting Returns ad targeting parameters. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getAdsTargeting

func (*VK) Ads_GetBudget

func (vk *VK) Ads_GetBudget(ctx context.Context, req Ads_GetBudget_Request, options ...Option) (resp Ads_GetBudget_Response, apiErr ApiError, err error)

Ads_GetBudget Returns current budget of the advertising account. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getBudget

func (*VK) Ads_GetCampaigns

func (vk *VK) Ads_GetCampaigns(ctx context.Context, req Ads_GetCampaigns_Request, options ...Option) (resp Ads_GetCampaigns_Response, apiErr ApiError, err error)

Ads_GetCampaigns Returns a list of campaigns in an advertising account. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getCampaigns

func (*VK) Ads_GetCategories

func (vk *VK) Ads_GetCategories(ctx context.Context, req Ads_GetCategories_Request, options ...Option) (resp Ads_GetCategories_Response, apiErr ApiError, err error)

Ads_GetCategories Returns a list of possible ad categories. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/ads.getCategories

func (*VK) Ads_GetClients

func (vk *VK) Ads_GetClients(ctx context.Context, req Ads_GetClients_Request, options ...Option) (resp Ads_GetClients_Response, apiErr ApiError, err error)

Ads_GetClients Returns a list of advertising agency's clients. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getClients

func (*VK) Ads_GetDemographics

func (vk *VK) Ads_GetDemographics(ctx context.Context, req Ads_GetDemographics_Request, options ...Option) (resp Ads_GetDemographics_Response, apiErr ApiError, err error)

Ads_GetDemographics Returns demographics for ads or campaigns. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getDemographics

func (*VK) Ads_GetFloodStats

func (vk *VK) Ads_GetFloodStats(ctx context.Context, req Ads_GetFloodStats_Request, options ...Option) (resp Ads_GetFloodStats_Response, apiErr ApiError, err error)

Ads_GetFloodStats Returns information about current state of a counter — number of remaining runs of methods and time to the next counter nulling in seconds. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/ads.getFloodStats

func (*VK) Ads_GetLookalikeRequests

func (vk *VK) Ads_GetLookalikeRequests(ctx context.Context, req Ads_GetLookalikeRequests_Request, options ...Option) (resp Ads_GetLookalikeRequests_Response, apiErr ApiError, err error)

Ads_GetLookalikeRequests ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getLookalikeRequests

func (*VK) Ads_GetMusicians

func (vk *VK) Ads_GetMusicians(ctx context.Context, req Ads_GetMusicians_Request, options ...Option) (resp Ads_GetMusicians_Response, apiErr ApiError, err error)

Ads_GetMusicians ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood, Error_NotFound ]

https://dev.vk.com/method/ads.getMusicians

func (*VK) Ads_GetMusiciansByIds

func (vk *VK) Ads_GetMusiciansByIds(ctx context.Context, req Ads_GetMusiciansByIds_Request, options ...Option) (resp Ads_GetMusicians_Response, apiErr ApiError, err error)

Ads_GetMusiciansByIds ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getMusiciansByIds

func (*VK) Ads_GetOfficeUsers

func (vk *VK) Ads_GetOfficeUsers(ctx context.Context, req Ads_GetOfficeUsers_Request, options ...Option) (resp Ads_GetOfficeUsers_Response, apiErr ApiError, err error)

Ads_GetOfficeUsers Returns a list of managers and supervisors of advertising account. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getOfficeUsers

func (*VK) Ads_GetPostsReach

func (vk *VK) Ads_GetPostsReach(ctx context.Context, req Ads_GetPostsReach_Request, options ...Option) (resp Ads_GetPostsReach_Response, apiErr ApiError, err error)

Ads_GetPostsReach Returns detailed statistics of promoted posts reach from campaigns and ads. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getPostsReach

func (*VK) Ads_GetRejectionReason

func (vk *VK) Ads_GetRejectionReason(ctx context.Context, req Ads_GetRejectionReason_Request, options ...Option) (resp Ads_GetRejectionReason_Response, apiErr ApiError, err error)

Ads_GetRejectionReason Returns a reason of ad rejection for pre-moderation. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getRejectionReason

func (*VK) Ads_GetStatistics

func (vk *VK) Ads_GetStatistics(ctx context.Context, req Ads_GetStatistics_Request, options ...Option) (resp Ads_GetStatistics_Response, apiErr ApiError, err error)

Ads_GetStatistics Returns statistics of performance indicators for ads, campaigns, clients or the whole account. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getStatistics

func (*VK) Ads_GetSuggestions

func (vk *VK) Ads_GetSuggestions(ctx context.Context, req Ads_GetSuggestions_Request, options ...Option) (resp Ads_GetSuggestions_Response, apiErr ApiError, err error)

Ads_GetSuggestions Returns a set of auto-suggestions for various targeting parameters. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/ads.getSuggestions

func (*VK) Ads_GetTargetGroups

func (vk *VK) Ads_GetTargetGroups(ctx context.Context, req Ads_GetTargetGroups_Request, options ...Option) (resp Ads_GetTargetGroups_Response, apiErr ApiError, err error)

Ads_GetTargetGroups Returns a list of target groups. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getTargetGroups

func (*VK) Ads_GetTargetingStats

func (vk *VK) Ads_GetTargetingStats(ctx context.Context, req Ads_GetTargetingStats_Request, options ...Option) (resp Ads_GetTargetingStats_Response, apiErr ApiError, err error)

Ads_GetTargetingStats Returns the size of targeting audience, and also recommended values for CPC and CPM. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.getTargetingStats

func (*VK) Ads_GetUploadURL

func (vk *VK) Ads_GetUploadURL(ctx context.Context, req Ads_GetUploadURL_Request, options ...Option) (resp Ads_GetUploadURL_Response, apiErr ApiError, err error)

Ads_GetUploadURL Returns URL to upload an ad photo to. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/ads.getUploadURL

func (*VK) Ads_GetVideoUploadURL

func (vk *VK) Ads_GetVideoUploadURL(ctx context.Context, options ...Option) (resp Ads_GetVideoUploadURL_Response, apiErr ApiError, err error)

Ads_GetVideoUploadURL Returns URL to upload an ad video to. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/ads.getVideoUploadURL

func (*VK) Ads_ImportTargetContacts

func (vk *VK) Ads_ImportTargetContacts(ctx context.Context, req Ads_ImportTargetContacts_Request, options ...Option) (resp Ads_ImportTargetContacts_Response, apiErr ApiError, err error)

Ads_ImportTargetContacts Imports a list of advertiser's contacts to count VK registered users against the target group. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.importTargetContacts

func (*VK) Ads_RemoveOfficeUsers

func (vk *VK) Ads_RemoveOfficeUsers(ctx context.Context, req Ads_RemoveOfficeUsers_Request, options ...Option) (resp Ads_RemoveOfficeUsers_Response, apiErr ApiError, err error)

Ads_RemoveOfficeUsers Removes managers and/or supervisors from advertising account. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.removeOfficeUsers

func (*VK) Ads_UpdateAds

func (vk *VK) Ads_UpdateAds(ctx context.Context, req Ads_UpdateAds_Request, options ...Option) (resp Ads_UpdateAds_Response, apiErr ApiError, err error)

Ads_UpdateAds Edits ads. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.updateAds

func (*VK) Ads_UpdateCampaigns

func (vk *VK) Ads_UpdateCampaigns(ctx context.Context, req Ads_UpdateCampaigns_Request, options ...Option) (resp Ads_UpdateCampaigns_Response, apiErr ApiError, err error)

Ads_UpdateCampaigns Edits advertising campaigns. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AdsPartialSuccess, Error_WeightedFlood ]

https://dev.vk.com/method/ads.updateCampaigns

func (*VK) Ads_UpdateClients

func (vk *VK) Ads_UpdateClients(ctx context.Context, req Ads_UpdateClients_Request, options ...Option) (resp Ads_UpdateClients_Response, apiErr ApiError, err error)

Ads_UpdateClients Edits clients of an advertising agency. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.updateClients

func (*VK) Ads_UpdateOfficeUsers

func (vk *VK) Ads_UpdateOfficeUsers(ctx context.Context, req Ads_UpdateOfficeUsers_Request, options ...Option) (resp Ads_UpdateOfficeUsers_Response, apiErr ApiError, err error)

Ads_UpdateOfficeUsers Adds managers and/or supervisors to advertising account. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.updateOfficeUsers

func (*VK) Ads_UpdateTargetGroup

func (vk *VK) Ads_UpdateTargetGroup(ctx context.Context, req Ads_UpdateTargetGroup_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Ads_UpdateTargetGroup Edits a retarget group. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WeightedFlood ]

https://dev.vk.com/method/ads.updateTargetGroup

func (*VK) Adsweb_GetAdCategories

func (vk *VK) Adsweb_GetAdCategories(ctx context.Context, req Adsweb_GetAdCategories_Request, options ...Option) (resp Adsweb_GetAdCategories_Response, apiErr ApiError, err error)

Adsweb_GetAdCategories ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/adsweb.getAdCategories

func (*VK) Adsweb_GetAdUnitCode

func (vk *VK) Adsweb_GetAdUnitCode(ctx context.Context, options ...Option) (resp Adsweb_GetAdUnitCode_Response, apiErr ApiError, err error)

Adsweb_GetAdUnitCode ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/adsweb.getAdUnitCode

func (*VK) Adsweb_GetAdUnits

func (vk *VK) Adsweb_GetAdUnits(ctx context.Context, req Adsweb_GetAdUnits_Request, options ...Option) (resp Adsweb_GetAdUnits_Response, apiErr ApiError, err error)

Adsweb_GetAdUnits ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/adsweb.getAdUnits

func (*VK) Adsweb_GetFraudHistory

func (vk *VK) Adsweb_GetFraudHistory(ctx context.Context, req Adsweb_GetFraudHistory_Request, options ...Option) (resp Adsweb_GetFraudHistory_Response, apiErr ApiError, err error)

Adsweb_GetFraudHistory ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/adsweb.getFraudHistory

func (*VK) Adsweb_GetSites

func (vk *VK) Adsweb_GetSites(ctx context.Context, req Adsweb_GetSites_Request, options ...Option) (resp Adsweb_GetSites_Response, apiErr ApiError, err error)

Adsweb_GetSites ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/adsweb.getSites

func (*VK) Adsweb_GetStatistics

func (vk *VK) Adsweb_GetStatistics(ctx context.Context, req Adsweb_GetStatistics_Request, options ...Option) (resp Adsweb_GetStatistics_Response, apiErr ApiError, err error)

Adsweb_GetStatistics ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/adsweb.getStatistics

func (*VK) AppWidgets_GetAppImageUploadServer

func (vk *VK) AppWidgets_GetAppImageUploadServer(ctx context.Context, req AppWidgets_GetAppImageUploadServer_Request, options ...Option) (resp AppWidgets_GetAppImageUploadServer_Response, apiErr ApiError, err error)

AppWidgets_GetAppImageUploadServer Returns a URL for uploading a photo to the community collection for community app widgets May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/appWidgets.getAppImageUploadServer

func (*VK) AppWidgets_GetAppImages

func (vk *VK) AppWidgets_GetAppImages(ctx context.Context, req AppWidgets_GetAppImages_Request, options ...Option) (resp AppWidgets_GetAppImages_Response, apiErr ApiError, err error)

AppWidgets_GetAppImages Returns an app collection of images for community app widgets May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/appWidgets.getAppImages

func (*VK) AppWidgets_GetGroupImageUploadServer

func (vk *VK) AppWidgets_GetGroupImageUploadServer(ctx context.Context, req AppWidgets_GetGroupImageUploadServer_Request, options ...Option) (resp AppWidgets_GetGroupImageUploadServer_Response, apiErr ApiError, err error)

AppWidgets_GetGroupImageUploadServer Returns a URL for uploading a photo to the community collection for community app widgets May execute with listed access token types:

[ group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/appWidgets.getGroupImageUploadServer

func (*VK) AppWidgets_GetGroupImages

func (vk *VK) AppWidgets_GetGroupImages(ctx context.Context, req AppWidgets_GetGroupImages_Request, options ...Option) (resp AppWidgets_GetGroupImages_Response, apiErr ApiError, err error)

AppWidgets_GetGroupImages Returns a community collection of images for community app widgets May execute with listed access token types:

[ group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/appWidgets.getGroupImages

func (*VK) AppWidgets_GetImagesById

func (vk *VK) AppWidgets_GetImagesById(ctx context.Context, req AppWidgets_GetImagesById_Request, options ...Option) (resp AppWidgets_GetImagesById_Response, apiErr ApiError, err error)

AppWidgets_GetImagesById Returns an image for community app widgets by its ID May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/appWidgets.getImagesById

func (*VK) AppWidgets_SaveAppImage

func (vk *VK) AppWidgets_SaveAppImage(ctx context.Context, req AppWidgets_SaveAppImage_Request, options ...Option) (resp AppWidgets_SaveAppImage_Response, apiErr ApiError, err error)

AppWidgets_SaveAppImage Allows to save image into app collection for community app widgets May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamPhoto ]

https://dev.vk.com/method/appWidgets.saveAppImage

func (*VK) AppWidgets_SaveGroupImage

func (vk *VK) AppWidgets_SaveGroupImage(ctx context.Context, req AppWidgets_SaveGroupImage_Request, options ...Option) (resp AppWidgets_SaveGroupImage_Response, apiErr ApiError, err error)

AppWidgets_SaveGroupImage Allows to save image into community collection for community app widgets May execute with listed access token types:

[ group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamPhoto ]

https://dev.vk.com/method/appWidgets.saveGroupImage

func (*VK) AppWidgets_Update

func (vk *VK) AppWidgets_Update(ctx context.Context, req AppWidgets_Update_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

AppWidgets_Update Allows to update community app widget May execute with listed access token types:

[ group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Compile, Error_Runtime, Error_Blocked, Error_WallAccessPost, Error_WallAccessReplies, Error_ParamGroupId ]

https://dev.vk.com/method/appWidgets.update

func (*VK) Apps_DeleteAppRequests

func (vk *VK) Apps_DeleteAppRequests(ctx context.Context, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Apps_DeleteAppRequests Deletes all request notifications from the current app. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.deleteAppRequests

func (*VK) Apps_Get

func (vk *VK) Apps_Get(ctx context.Context, req Apps_Get_Request, options ...Option) (resp Apps_Get_Response, apiErr ApiError, err error)

Apps_Get Returns applications data. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.get

func (*VK) Apps_GetCatalog

func (vk *VK) Apps_GetCatalog(ctx context.Context, req Apps_GetCatalog_Request, options ...Option) (resp Apps_GetCatalog_Response, apiErr ApiError, err error)

Apps_GetCatalog Returns a list of applications (apps) available to users in the App Catalog. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getCatalog

func (*VK) Apps_GetFriendsList

func (vk *VK) Apps_GetFriendsList(ctx context.Context, req Apps_GetFriendsList_Request, options ...Option) (resp Apps_GetFriendsList_Response, apiErr ApiError, err error)

Apps_GetFriendsList Creates friends list for requests and invites in current app. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getFriendsList

func (*VK) Apps_GetFriendsListExtended

func (vk *VK) Apps_GetFriendsListExtended(ctx context.Context, req Apps_GetFriendsList_Request, options ...Option) (resp Apps_GetFriendsListExtended_Response, apiErr ApiError, err error)

Apps_GetFriendsListExtended Creates friends list for requests and invites in current app. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getFriendsList

func (*VK) Apps_GetLeaderboard

func (vk *VK) Apps_GetLeaderboard(ctx context.Context, req Apps_GetLeaderboard_Request, options ...Option) (resp Apps_GetLeaderboard_Response, apiErr ApiError, err error)

Apps_GetLeaderboard Returns players rating in the game. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getLeaderboard

func (*VK) Apps_GetLeaderboardExtended

func (vk *VK) Apps_GetLeaderboardExtended(ctx context.Context, req Apps_GetLeaderboard_Request, options ...Option) (resp Apps_GetLeaderboardExtended_Response, apiErr ApiError, err error)

Apps_GetLeaderboardExtended Returns players rating in the game. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getLeaderboard

func (*VK) Apps_GetMiniAppPolicies

func (vk *VK) Apps_GetMiniAppPolicies(ctx context.Context, req Apps_GetMiniAppPolicies_Request, options ...Option) (resp Apps_GetMiniAppPolicies_Response, apiErr ApiError, err error)

Apps_GetMiniAppPolicies Returns policies and terms given to a mini app. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getMiniAppPolicies

func (*VK) Apps_GetScopes

func (vk *VK) Apps_GetScopes(ctx context.Context, req Apps_GetScopes_Request, options ...Option) (resp Apps_GetScopes_Response, apiErr ApiError, err error)

Apps_GetScopes Returns scopes for auth May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getScopes

func (*VK) Apps_GetScore

func (vk *VK) Apps_GetScore(ctx context.Context, req Apps_GetScore_Request, options ...Option) (resp Apps_GetScore_Response, apiErr ApiError, err error)

Apps_GetScore Returns user score in app May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.getScore

func (*VK) Apps_PromoHasActiveGift

func (vk *VK) Apps_PromoHasActiveGift(ctx context.Context, req Apps_PromoHasActiveGift_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Apps_PromoHasActiveGift ... May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ActionFailed ]

https://dev.vk.com/method/apps.promoHasActiveGift

func (*VK) Apps_PromoUseGift

func (vk *VK) Apps_PromoUseGift(ctx context.Context, req Apps_PromoUseGift_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Apps_PromoUseGift ... May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ActionFailed ]

https://dev.vk.com/method/apps.promoUseGift

func (*VK) Apps_SendRequest

func (vk *VK) Apps_SendRequest(ctx context.Context, req Apps_SendRequest_Request, options ...Option) (resp Apps_SendRequest_Response, apiErr ApiError, err error)

Apps_SendRequest Sends a request to another user in an app that uses VK authorization. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/apps.sendRequest

func (*VK) Auth_Restore

func (vk *VK) Auth_Restore(ctx context.Context, req Auth_Restore_Request, options ...Option) (resp Auth_Restore_Response, apiErr ApiError, err error)

Auth_Restore Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access. " May execute with listed access token types:

[ user, open, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AuthFloodError ]

https://dev.vk.com/method/auth.restore

func (*VK) Board_AddTopic

func (vk *VK) Board_AddTopic(ctx context.Context, req Board_AddTopic_Request, options ...Option) (resp Board_AddTopic_Response, apiErr ApiError, err error)

Board_AddTopic Creates a new topic on a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.addTopic

func (*VK) Board_CloseTopic

func (vk *VK) Board_CloseTopic(ctx context.Context, req Board_CloseTopic_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_CloseTopic Closes a topic on a community's discussion board so that comments cannot be posted. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.closeTopic

func (*VK) Board_CreateComment

func (vk *VK) Board_CreateComment(ctx context.Context, req Board_CreateComment_Request, options ...Option) (resp Board_CreateComment_Response, apiErr ApiError, err error)

Board_CreateComment Adds a comment on a topic on a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.createComment

func (*VK) Board_DeleteComment

func (vk *VK) Board_DeleteComment(ctx context.Context, req Board_DeleteComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_DeleteComment Deletes a comment on a topic on a community's discussion board. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.deleteComment

func (*VK) Board_DeleteTopic

func (vk *VK) Board_DeleteTopic(ctx context.Context, req Board_DeleteTopic_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_DeleteTopic Deletes a topic from a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.deleteTopic

func (*VK) Board_EditComment

func (vk *VK) Board_EditComment(ctx context.Context, req Board_EditComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_EditComment Edits a comment on a topic on a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.editComment

func (*VK) Board_EditTopic

func (vk *VK) Board_EditTopic(ctx context.Context, req Board_EditTopic_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_EditTopic Edits the title of a topic on a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.editTopic

func (*VK) Board_FixTopic

func (vk *VK) Board_FixTopic(ctx context.Context, req Board_FixTopic_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_FixTopic Pins a topic (fixes its place) to the top of a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.fixTopic

func (*VK) Board_GetComments

func (vk *VK) Board_GetComments(ctx context.Context, req Board_GetComments_Request, options ...Option) (resp Board_GetComments_Response, apiErr ApiError, err error)

Board_GetComments Returns a list of comments on a topic on a community's discussion board. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.getComments

func (*VK) Board_GetCommentsExtended

func (vk *VK) Board_GetCommentsExtended(ctx context.Context, req Board_GetComments_Request, options ...Option) (resp Board_GetCommentsExtended_Response, apiErr ApiError, err error)

Board_GetCommentsExtended Returns a list of comments on a topic on a community's discussion board. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.getComments

func (*VK) Board_GetTopics

func (vk *VK) Board_GetTopics(ctx context.Context, req Board_GetTopics_Request, options ...Option) (resp Board_GetTopics_Response, apiErr ApiError, err error)

Board_GetTopics Returns a list of topics on a community's discussion board. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.getTopics

func (*VK) Board_GetTopicsExtended

func (vk *VK) Board_GetTopicsExtended(ctx context.Context, req Board_GetTopics_Request, options ...Option) (resp Board_GetTopicsExtended_Response, apiErr ApiError, err error)

Board_GetTopicsExtended Returns a list of topics on a community's discussion board. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.getTopics

func (*VK) Board_OpenTopic

func (vk *VK) Board_OpenTopic(ctx context.Context, req Board_OpenTopic_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_OpenTopic Re-opens a previously closed topic on a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.openTopic

func (*VK) Board_RestoreComment

func (vk *VK) Board_RestoreComment(ctx context.Context, req Board_RestoreComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_RestoreComment Restores a comment deleted from a topic on a community's discussion board. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.restoreComment

func (*VK) Board_UnfixTopic

func (vk *VK) Board_UnfixTopic(ctx context.Context, req Board_UnfixTopic_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Board_UnfixTopic Unpins a pinned topic from the top of a community's discussion board. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/board.unfixTopic

func (*VK) Database_GetChairs

func (vk *VK) Database_GetChairs(ctx context.Context, req Database_GetChairs_Request, options ...Option) (resp Database_GetChairs_Response, apiErr ApiError, err error)

Database_GetChairs Returns list of chairs on a specified faculty. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getChairs

func (*VK) Database_GetCities

func (vk *VK) Database_GetCities(ctx context.Context, req Database_GetCities_Request, options ...Option) (resp Database_GetCities_Response, apiErr ApiError, err error)

Database_GetCities Returns a list of cities. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getCities

func (*VK) Database_GetCitiesById

func (vk *VK) Database_GetCitiesById(ctx context.Context, req Database_GetCitiesById_Request, options ...Option) (resp Database_GetCitiesById_Response, apiErr ApiError, err error)

Database_GetCitiesById Returns information about cities by their IDs. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getCitiesById

func (*VK) Database_GetCountries

func (vk *VK) Database_GetCountries(ctx context.Context, req Database_GetCountries_Request, options ...Option) (resp Database_GetCountries_Response, apiErr ApiError, err error)

Database_GetCountries Returns a list of countries. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getCountries

func (*VK) Database_GetCountriesById

func (vk *VK) Database_GetCountriesById(ctx context.Context, req Database_GetCountriesById_Request, options ...Option) (resp Database_GetCountriesById_Response, apiErr ApiError, err error)

Database_GetCountriesById Returns information about countries by their IDs. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getCountriesById

func (*VK) Database_GetFaculties

func (vk *VK) Database_GetFaculties(ctx context.Context, req Database_GetFaculties_Request, options ...Option) (resp Database_GetFaculties_Response, apiErr ApiError, err error)

Database_GetFaculties Returns a list of faculties (i.e., university departments). May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getFaculties

func (*VK) Database_GetMetroStations

func (vk *VK) Database_GetMetroStations(ctx context.Context, req Database_GetMetroStations_Request, options ...Option) (resp Database_GetMetroStations_Response, apiErr ApiError, err error)

Database_GetMetroStations Get metro stations by city May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getMetroStations

func (*VK) Database_GetMetroStationsById

func (vk *VK) Database_GetMetroStationsById(ctx context.Context, req Database_GetMetroStationsById_Request, options ...Option) (resp Database_GetMetroStationsById_Response, apiErr ApiError, err error)

Database_GetMetroStationsById Get metro station by his id May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getMetroStationsById

func (*VK) Database_GetRegions

func (vk *VK) Database_GetRegions(ctx context.Context, req Database_GetRegions_Request, options ...Option) (resp Database_GetRegions_Response, apiErr ApiError, err error)

Database_GetRegions Returns a list of regions. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getRegions

func (*VK) Database_GetSchoolClasses

func (vk *VK) Database_GetSchoolClasses(ctx context.Context, req Database_GetSchoolClasses_Request, options ...Option) (resp Database_GetSchoolClasses_Response, apiErr ApiError, err error)

Database_GetSchoolClasses Returns a list of school classes specified for the country. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getSchoolClasses

func (*VK) Database_GetSchools

func (vk *VK) Database_GetSchools(ctx context.Context, req Database_GetSchools_Request, options ...Option) (resp Database_GetSchools_Response, apiErr ApiError, err error)

Database_GetSchools Returns a list of schools. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getSchools

func (*VK) Database_GetUniversities

func (vk *VK) Database_GetUniversities(ctx context.Context, req Database_GetUniversities_Request, options ...Option) (resp Database_GetUniversities_Response, apiErr ApiError, err error)

Database_GetUniversities Returns a list of higher education institutions. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/database.getUniversities

func (*VK) Docs_Add

func (vk *VK) Docs_Add(ctx context.Context, req Docs_Add_Request, options ...Option) (resp Docs_Add_Response, apiErr ApiError, err error)

Docs_Add Copies a document to a user's or community's document list. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/docs.add

func (*VK) Docs_Delete

func (vk *VK) Docs_Delete(ctx context.Context, req Docs_Delete_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Docs_Delete Deletes a user or community document. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamDocDeleteAccess, Error_ParamDocId ]

https://dev.vk.com/method/docs.delete

func (*VK) Docs_Edit

func (vk *VK) Docs_Edit(ctx context.Context, req Docs_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Docs_Edit Edits a document. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamDocAccess, Error_ParamDocId, Error_ParamDocTitle ]

https://dev.vk.com/method/docs.edit

func (*VK) Docs_Get

func (vk *VK) Docs_Get(ctx context.Context, req Docs_Get_Request, options ...Option) (resp Docs_Get_Response, apiErr ApiError, err error)

Docs_Get Returns detailed information about user or community documents. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/docs.get

func (*VK) Docs_GetById

func (vk *VK) Docs_GetById(ctx context.Context, req Docs_GetById_Request, options ...Option) (resp Docs_GetById_Response, apiErr ApiError, err error)

Docs_GetById Returns information about documents by their IDs. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/docs.getById

func (*VK) Docs_GetMessagesUploadServer

func (vk *VK) Docs_GetMessagesUploadServer(ctx context.Context, req Docs_GetMessagesUploadServer_Request, options ...Option) (resp Docs_GetUploadServer_Response, apiErr ApiError, err error)

Docs_GetMessagesUploadServer Returns the server address for document upload. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesDenySend ]

https://dev.vk.com/method/docs.getMessagesUploadServer

func (*VK) Docs_GetTypes

func (vk *VK) Docs_GetTypes(ctx context.Context, req Docs_GetTypes_Request, options ...Option) (resp Docs_GetTypes_Response, apiErr ApiError, err error)

Docs_GetTypes Returns documents types available for current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/docs.getTypes

func (*VK) Docs_GetUploadServer

func (vk *VK) Docs_GetUploadServer(ctx context.Context, req Docs_GetUploadServer_Request, options ...Option) (resp Docs_GetUploadServer_Response, apiErr ApiError, err error)

Docs_GetUploadServer Returns the server address for document upload. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/docs.getUploadServer

func (*VK) Docs_GetWallUploadServer

func (vk *VK) Docs_GetWallUploadServer(ctx context.Context, req Docs_GetWallUploadServer_Request, options ...Option) (resp Base_GetUploadServer_Response, apiErr ApiError, err error)

Docs_GetWallUploadServer Returns the server address for document upload onto a user's or community's wall. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/docs.getWallUploadServer

func (*VK) Docs_Save

func (vk *VK) Docs_Save(ctx context.Context, req Docs_Save_Request, options ...Option) (resp Docs_Save_Response, apiErr ApiError, err error)

Docs_Save Saves a document after [vk.com/dev/upload_files_2|uploading it to a server]. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_SaveFile ]

https://dev.vk.com/method/docs.save

func (vk *VK) Docs_Search(ctx context.Context, req Docs_Search_Request, options ...Option) (resp Docs_Search_Response, apiErr ApiError, err error)

Docs_Search Returns a list of documents matching the search criteria. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/docs.search

func (*VK) Donut_GetFriends

func (vk *VK) Donut_GetFriends(ctx context.Context, req Donut_GetFriends_Request, options ...Option) (resp Groups_GetMembersFields_Response, apiErr ApiError, err error)

Donut_GetFriends ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/donut.getFriends

func (*VK) Donut_GetSubscription

func (vk *VK) Donut_GetSubscription(ctx context.Context, req Donut_GetSubscription_Request, options ...Option) (resp Donut_GetSubscription_Response, apiErr ApiError, err error)

Donut_GetSubscription ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/donut.getSubscription

func (*VK) Donut_GetSubscriptions

func (vk *VK) Donut_GetSubscriptions(ctx context.Context, req Donut_GetSubscriptions_Request, options ...Option) (resp Donut_GetSubscriptions_Response, apiErr ApiError, err error)

Donut_GetSubscriptions Returns a list of user's VK Donut subscriptions. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/donut.getSubscriptions

func (*VK) Donut_IsDon

func (vk *VK) Donut_IsDon(ctx context.Context, req Donut_IsDon_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Donut_IsDon ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/donut.isDon

func (*VK) DownloadedGames_GetPaidStatus

func (vk *VK) DownloadedGames_GetPaidStatus(ctx context.Context, req DownloadedGames_GetPaidStatus_Request, options ...Option) (resp DownloadedGames_PaidStatus_Response, apiErr ApiError, err error)

DownloadedGames_GetPaidStatus ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ActionFailed, Error_NotFound ]

https://dev.vk.com/method/downloadedGames.getPaidStatus

func (*VK) Fave_AddArticle

func (vk *VK) Fave_AddArticle(ctx context.Context, req Fave_AddArticle_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_AddArticle ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/fave.addArticle

func (vk *VK) Fave_AddLink(ctx context.Context, req Fave_AddLink_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_AddLink Adds a link to user faves. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.addLink

func (*VK) Fave_AddPage

func (vk *VK) Fave_AddPage(ctx context.Context, req Fave_AddPage_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_AddPage ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.addPage

func (*VK) Fave_AddPost

func (vk *VK) Fave_AddPost(ctx context.Context, req Fave_AddPost_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_AddPost ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.addPost

func (*VK) Fave_AddProduct

func (vk *VK) Fave_AddProduct(ctx context.Context, req Fave_AddProduct_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_AddProduct ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.addProduct

func (*VK) Fave_AddTag

func (vk *VK) Fave_AddTag(ctx context.Context, req Fave_AddTag_Request, options ...Option) (resp Fave_AddTag_Response, apiErr ApiError, err error)

Fave_AddTag ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits ]

https://dev.vk.com/method/fave.addTag

func (*VK) Fave_AddVideo

func (vk *VK) Fave_AddVideo(ctx context.Context, req Fave_AddVideo_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_AddVideo ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.addVideo

func (*VK) Fave_EditTag

func (vk *VK) Fave_EditTag(ctx context.Context, req Fave_EditTag_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_EditTag ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.editTag

func (*VK) Fave_Get

func (vk *VK) Fave_Get(ctx context.Context, req Fave_Get_Request, options ...Option) (resp Fave_Get_Response, apiErr ApiError, err error)

Fave_Get ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.get

func (*VK) Fave_GetExtended

func (vk *VK) Fave_GetExtended(ctx context.Context, req Fave_Get_Request, options ...Option) (resp Fave_GetExtended_Response, apiErr ApiError, err error)

Fave_GetExtended ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.get

func (*VK) Fave_GetPages

func (vk *VK) Fave_GetPages(ctx context.Context, req Fave_GetPages_Request, options ...Option) (resp Fave_GetPages_Response, apiErr ApiError, err error)

Fave_GetPages ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.getPages

func (*VK) Fave_GetTags

func (vk *VK) Fave_GetTags(ctx context.Context, options ...Option) (resp Fave_GetTags_Response, apiErr ApiError, err error)

Fave_GetTags ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.getTags

func (*VK) Fave_MarkSeen

func (vk *VK) Fave_MarkSeen(ctx context.Context, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Fave_MarkSeen ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.markSeen

func (*VK) Fave_RemoveArticle

func (vk *VK) Fave_RemoveArticle(ctx context.Context, req Fave_RemoveArticle_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Fave_RemoveArticle ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.removeArticle

func (vk *VK) Fave_RemoveLink(ctx context.Context, req Fave_RemoveLink_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_RemoveLink Removes link from the user's faves. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.removeLink

func (*VK) Fave_RemovePage

func (vk *VK) Fave_RemovePage(ctx context.Context, req Fave_RemovePage_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_RemovePage ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.removePage

func (*VK) Fave_RemovePost

func (vk *VK) Fave_RemovePost(ctx context.Context, req Fave_RemovePost_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_RemovePost ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.removePost

func (*VK) Fave_RemoveProduct

func (vk *VK) Fave_RemoveProduct(ctx context.Context, req Fave_RemoveProduct_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_RemoveProduct ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.removeProduct

func (*VK) Fave_RemoveTag

func (vk *VK) Fave_RemoveTag(ctx context.Context, req Fave_RemoveTag_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_RemoveTag ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.removeTag

func (*VK) Fave_RemoveVideo

func (vk *VK) Fave_RemoveVideo(ctx context.Context, req Fave_RemoveVideo_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_RemoveVideo ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.removeVideo

func (*VK) Fave_ReorderTags

func (vk *VK) Fave_ReorderTags(ctx context.Context, req Fave_ReorderTags_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_ReorderTags ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.reorderTags

func (*VK) Fave_SetPageTags

func (vk *VK) Fave_SetPageTags(ctx context.Context, req Fave_SetPageTags_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_SetPageTags ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/fave.setPageTags

func (*VK) Fave_SetTags

func (vk *VK) Fave_SetTags(ctx context.Context, req Fave_SetTags_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_SetTags ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound, Error_FaveAliexpressTag ]

https://dev.vk.com/method/fave.setTags

func (*VK) Fave_TrackPageInteraction

func (vk *VK) Fave_TrackPageInteraction(ctx context.Context, req Fave_TrackPageInteraction_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Fave_TrackPageInteraction ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/fave.trackPageInteraction

func (*VK) Friends_Add

func (vk *VK) Friends_Add(ctx context.Context, req Friends_Add_Request, options ...Option) (resp Friends_Add_Response, apiErr ApiError, err error)

Friends_Add Approves or creates a friend request. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_FriendsAddInEnemy, Error_FriendsAddEnemy, Error_FriendsAddYourself, Error_FriendsAddNotFound ]

https://dev.vk.com/method/friends.add

func (*VK) Friends_AddList

func (vk *VK) Friends_AddList(ctx context.Context, req Friends_AddList_Request, options ...Option) (resp Friends_AddList_Response, apiErr ApiError, err error)

Friends_AddList Creates a new friend list for the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_FriendsListLimit ]

https://dev.vk.com/method/friends.addList

func (*VK) Friends_AreFriends

func (vk *VK) Friends_AreFriends(ctx context.Context, req Friends_AreFriends_Request, options ...Option) (resp Friends_AreFriends_Response, apiErr ApiError, err error)

Friends_AreFriends Checks the current user's friendship status with other specified users. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.areFriends

func (*VK) Friends_AreFriendsExtended

func (vk *VK) Friends_AreFriendsExtended(ctx context.Context, req Friends_AreFriends_Request, options ...Option) (resp Friends_AreFriendsExtended_Response, apiErr ApiError, err error)

Friends_AreFriendsExtended Checks the current user's friendship status with other specified users. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.areFriends

func (*VK) Friends_Delete

func (vk *VK) Friends_Delete(ctx context.Context, req Friends_Delete_Request, options ...Option) (resp Friends_Delete_Response, apiErr ApiError, err error)

Friends_Delete Declines a friend request or deletes a user from the current user's friend list. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.delete

func (*VK) Friends_DeleteAllRequests

func (vk *VK) Friends_DeleteAllRequests(ctx context.Context, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Friends_DeleteAllRequests Marks all incoming friend requests as viewed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.deleteAllRequests

func (*VK) Friends_DeleteList

func (vk *VK) Friends_DeleteList(ctx context.Context, req Friends_DeleteList_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Friends_DeleteList Deletes a friend list of the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_FriendsListId ]

https://dev.vk.com/method/friends.deleteList

func (*VK) Friends_Edit

func (vk *VK) Friends_Edit(ctx context.Context, req Friends_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Friends_Edit Edits the friend lists of the selected user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.edit

func (*VK) Friends_EditList

func (vk *VK) Friends_EditList(ctx context.Context, req Friends_EditList_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Friends_EditList Edits a friend list of the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_FriendsListId ]

https://dev.vk.com/method/friends.editList

func (*VK) Friends_Get

func (vk *VK) Friends_Get(ctx context.Context, req Friends_Get_Request, options ...Option) (resp Friends_Get_Response, apiErr ApiError, err error)

Friends_Get Returns a list of user IDs or detailed information about a user's friends. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.get

func (*VK) Friends_GetAppUsers

func (vk *VK) Friends_GetAppUsers(ctx context.Context, options ...Option) (resp Friends_GetAppUsers_Response, apiErr ApiError, err error)

Friends_GetAppUsers Returns a list of IDs of the current user's friends who installed the application. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getAppUsers

func (*VK) Friends_GetByPhones

func (vk *VK) Friends_GetByPhones(ctx context.Context, req Friends_GetByPhones_Request, options ...Option) (resp Friends_GetByPhones_Response, apiErr ApiError, err error)

Friends_GetByPhones Returns a list of the current user's friends whose phone numbers, validated or specified in a profile, are in a given list. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getByPhones

func (*VK) Friends_GetLists

func (vk *VK) Friends_GetLists(ctx context.Context, req Friends_GetLists_Request, options ...Option) (resp Friends_GetLists_Response, apiErr ApiError, err error)

Friends_GetLists Returns a list of the user's friend lists. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getLists

func (*VK) Friends_GetMutual

func (vk *VK) Friends_GetMutual(ctx context.Context, req Friends_GetMutual_Request, options ...Option) (resp Friends_GetMutual_Response, apiErr ApiError, err error)

Friends_GetMutual Returns a list of user IDs of the mutual friends of two users. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getMutual

func (*VK) Friends_GetMutualTargetUIDs

func (vk *VK) Friends_GetMutualTargetUIDs(ctx context.Context, req Friends_GetMutualTargetUIDs_Request, options ...Option) (resp Friends_GetMutualTargetUids_Response, apiErr ApiError, err error)

Friends_GetMutualTargetUIDs Returns a list of user IDs of the mutual friends of two users. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getMutual

func (*VK) Friends_GetOnline

func (vk *VK) Friends_GetOnline(ctx context.Context, req Friends_GetOnline_Request, options ...Option) (resp Friends_GetOnline_Response, apiErr ApiError, err error)

Friends_GetOnline Returns a list of user IDs of a user's friends who are online. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getOnline

func (*VK) Friends_GetOnlineOnlineMobile

func (vk *VK) Friends_GetOnlineOnlineMobile(ctx context.Context, req Friends_GetOnline_Request, options ...Option) (resp Friends_GetOnlineOnlineMobile_Response, apiErr ApiError, err error)

Friends_GetOnlineOnlineMobile Returns a list of user IDs of a user's friends who are online. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getOnline

func (*VK) Friends_GetRecent

func (vk *VK) Friends_GetRecent(ctx context.Context, req Friends_GetRecent_Request, options ...Option) (resp Friends_GetRecent_Response, apiErr ApiError, err error)

Friends_GetRecent Returns a list of user IDs of the current user's recently added friends. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getRecent

func (*VK) Friends_GetRequests

func (vk *VK) Friends_GetRequests(ctx context.Context, req Friends_GetRequests_Request, options ...Option) (resp Friends_GetRequests_Response, apiErr ApiError, err error)

Friends_GetRequests Returns information about the current user's incoming and outgoing friend requests. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getRequests

func (*VK) Friends_GetRequestsExtended

func (vk *VK) Friends_GetRequestsExtended(ctx context.Context, req Friends_GetRequests_Request, options ...Option) (resp Friends_GetRequestsExtended_Response, apiErr ApiError, err error)

Friends_GetRequestsExtended Returns information about the current user's incoming and outgoing friend requests. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getRequests

func (*VK) Friends_GetSuggestions

func (vk *VK) Friends_GetSuggestions(ctx context.Context, req Friends_GetSuggestions_Request, options ...Option) (resp Friends_GetSuggestions_Response, apiErr ApiError, err error)

Friends_GetSuggestions Returns a list of profiles of users whom the current user may know. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.getSuggestions

func (vk *VK) Friends_Search(ctx context.Context, req Friends_Search_Request, options ...Option) (resp Friends_Search_Response, apiErr ApiError, err error)

Friends_Search Returns a list of friends matching the search criteria. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/friends.search

func (*VK) Gifts_Get

func (vk *VK) Gifts_Get(ctx context.Context, req Gifts_Get_Request, options ...Option) (resp Gifts_Get_Response, apiErr ApiError, err error)

Gifts_Get Returns a list of user gifts. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/gifts.get

func (*VK) Groups_AddAddress

func (vk *VK) Groups_AddAddress(ctx context.Context, req Groups_AddAddress_Request, options ...Option) (resp Groups_AddAddress_Response, apiErr ApiError, err error)

Groups_AddAddress ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessGroups, Error_NotFound, Error_GroupTooManyAddresses ]

https://dev.vk.com/method/groups.addAddress

func (*VK) Groups_AddCallbackServer

func (vk *VK) Groups_AddCallbackServer(ctx context.Context, req Groups_AddCallbackServer_Request, options ...Option) (resp Groups_AddCallbackServer_Response, apiErr ApiError, err error)

Groups_AddCallbackServer ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_CallbackApiServersLimit ]

https://dev.vk.com/method/groups.addCallbackServer

func (vk *VK) Groups_AddLink(ctx context.Context, req Groups_AddLink_Request, options ...Option) (resp Groups_AddLink_Response, apiErr ApiError, err error)

Groups_AddLink Allows to add a link to the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.addLink

func (*VK) Groups_ApproveRequest

func (vk *VK) Groups_ApproveRequest(ctx context.Context, req Groups_ApproveRequest_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_ApproveRequest Allows to approve join request to the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits ]

https://dev.vk.com/method/groups.approveRequest

func (*VK) Groups_Ban

func (vk *VK) Groups_Ban(ctx context.Context, req Groups_Ban_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_Ban ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.ban

func (*VK) Groups_Create

func (vk *VK) Groups_Create(ctx context.Context, req Groups_Create_Request, options ...Option) (resp Groups_Create_Response, apiErr ApiError, err error)

Groups_Create Creates a new community. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits ]

https://dev.vk.com/method/groups.create

func (*VK) Groups_DeleteAddress

func (vk *VK) Groups_DeleteAddress(ctx context.Context, req Groups_DeleteAddress_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_DeleteAddress ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessGroups, Error_NotFound ]

https://dev.vk.com/method/groups.deleteAddress

func (*VK) Groups_DeleteCallbackServer

func (vk *VK) Groups_DeleteCallbackServer(ctx context.Context, req Groups_DeleteCallbackServer_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_DeleteCallbackServer ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/groups.deleteCallbackServer

func (vk *VK) Groups_DeleteLink(ctx context.Context, req Groups_DeleteLink_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_DeleteLink Allows to delete a link from the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.deleteLink

func (*VK) Groups_DisableOnline

func (vk *VK) Groups_DisableOnline(ctx context.Context, req Groups_DisableOnline_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_DisableOnline ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.disableOnline

func (*VK) Groups_Edit

func (vk *VK) Groups_Edit(ctx context.Context, req Groups_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_Edit Edits a community. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_InvalidAddress ]

https://dev.vk.com/method/groups.edit

func (*VK) Groups_EditAddress

func (vk *VK) Groups_EditAddress(ctx context.Context, req Groups_EditAddress_Request, options ...Option) (resp Groups_EditAddress_Response, apiErr ApiError, err error)

Groups_EditAddress ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessGroups, Error_NotFound, Error_GroupTooManyAddresses ]

https://dev.vk.com/method/groups.editAddress

func (*VK) Groups_EditCallbackServer

func (vk *VK) Groups_EditCallbackServer(ctx context.Context, req Groups_EditCallbackServer_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_EditCallbackServer ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/groups.editCallbackServer

func (vk *VK) Groups_EditLink(ctx context.Context, req Groups_EditLink_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_EditLink Allows to edit a link in the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.editLink

func (*VK) Groups_EditManager

func (vk *VK) Groups_EditManager(ctx context.Context, req Groups_EditManager_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_EditManager Allows to add, remove or edit the community manager. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_GroupChangeCreator, Error_GroupNotInClub, Error_GroupTooManyOfficers, Error_GroupNeed2fa, Error_GroupHostNeed2fa ]

https://dev.vk.com/method/groups.editManager

func (*VK) Groups_EnableOnline

func (vk *VK) Groups_EnableOnline(ctx context.Context, req Groups_EnableOnline_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_EnableOnline ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.enableOnline

func (*VK) Groups_Get

func (vk *VK) Groups_Get(ctx context.Context, req Groups_Get_Request, options ...Option) (resp Groups_Get_Response, apiErr ApiError, err error)

Groups_Get Returns a list of the communities to which a user belongs. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessGroups ]

https://dev.vk.com/method/groups.get

func (*VK) Groups_GetAddresses

func (vk *VK) Groups_GetAddresses(ctx context.Context, req Groups_GetAddresses_Request, options ...Option) (resp Groups_GetAddresses_Response, apiErr ApiError, err error)

Groups_GetAddresses Returns a list of community addresses. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamGroupId, Error_AccessGroups ]

https://dev.vk.com/method/groups.getAddresses

func (*VK) Groups_GetBanned

func (vk *VK) Groups_GetBanned(ctx context.Context, req Groups_GetBanned_Request, options ...Option) (resp Groups_GetBanned_Response, apiErr ApiError, err error)

Groups_GetBanned Returns a list of users on a community blacklist. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/groups.getBanned

func (*VK) Groups_GetById

func (vk *VK) Groups_GetById(ctx context.Context, req Groups_GetById_Request, options ...Option) (resp Groups_GetByIdObjectLegacy_Response, apiErr ApiError, err error)

Groups_GetById Returns information about communities by their IDs. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getById

func (*VK) Groups_GetCallbackConfirmationCode

func (vk *VK) Groups_GetCallbackConfirmationCode(ctx context.Context, req Groups_GetCallbackConfirmationCode_Request, options ...Option) (resp Groups_GetCallbackConfirmationCode_Response, apiErr ApiError, err error)

Groups_GetCallbackConfirmationCode Returns Callback API confirmation code for the community. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getCallbackConfirmationCode

func (*VK) Groups_GetCallbackServers

func (vk *VK) Groups_GetCallbackServers(ctx context.Context, req Groups_GetCallbackServers_Request, options ...Option) (resp Groups_GetCallbackServers_Response, apiErr ApiError, err error)

Groups_GetCallbackServers ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getCallbackServers

func (*VK) Groups_GetCallbackSettings

func (vk *VK) Groups_GetCallbackSettings(ctx context.Context, req Groups_GetCallbackSettings_Request, options ...Option) (resp Groups_GetCallbackSettings_Response, apiErr ApiError, err error)

Groups_GetCallbackSettings Returns [vk.com/dev/callback_api|Callback API] notifications settings. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/groups.getCallbackSettings

func (*VK) Groups_GetCatalog

func (vk *VK) Groups_GetCatalog(ctx context.Context, req Groups_GetCatalog_Request, options ...Option) (resp Groups_GetCatalog_Response, apiErr ApiError, err error)

Groups_GetCatalog Returns communities list for a catalog category. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_CommunitiesCatalogDisabled, Error_CommunitiesCategoriesDisabled ]

https://dev.vk.com/method/groups.getCatalog

func (*VK) Groups_GetCatalogInfo

func (vk *VK) Groups_GetCatalogInfo(ctx context.Context, req Groups_GetCatalogInfo_Request, options ...Option) (resp Groups_GetCatalogInfo_Response, apiErr ApiError, err error)

Groups_GetCatalogInfo Returns categories list for communities catalog May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getCatalogInfo

func (*VK) Groups_GetCatalogInfoExtended

func (vk *VK) Groups_GetCatalogInfoExtended(ctx context.Context, req Groups_GetCatalogInfo_Request, options ...Option) (resp Groups_GetCatalogInfoExtended_Response, apiErr ApiError, err error)

Groups_GetCatalogInfoExtended Returns categories list for communities catalog May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getCatalogInfo

func (*VK) Groups_GetExtended

func (vk *VK) Groups_GetExtended(ctx context.Context, req Groups_Get_Request, options ...Option) (resp Groups_GetObjectExtended_Response, apiErr ApiError, err error)

Groups_GetExtended Returns a list of the communities to which a user belongs. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessGroups ]

https://dev.vk.com/method/groups.get

func (*VK) Groups_GetInvitedUsers

func (vk *VK) Groups_GetInvitedUsers(ctx context.Context, req Groups_GetInvitedUsers_Request, options ...Option) (resp Groups_GetInvitedUsers_Response, apiErr ApiError, err error)

Groups_GetInvitedUsers Returns invited users list of a community May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getInvitedUsers

func (*VK) Groups_GetInvites

func (vk *VK) Groups_GetInvites(ctx context.Context, req Groups_GetInvites_Request, options ...Option) (resp Groups_GetInvites_Response, apiErr ApiError, err error)

Groups_GetInvites Returns a list of invitations to join communities and events. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getInvites

func (*VK) Groups_GetInvitesExtended

func (vk *VK) Groups_GetInvitesExtended(ctx context.Context, req Groups_GetInvites_Request, options ...Option) (resp Groups_GetInvitesExtended_Response, apiErr ApiError, err error)

Groups_GetInvitesExtended Returns a list of invitations to join communities and events. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getInvites

func (*VK) Groups_GetLongPollServer

func (vk *VK) Groups_GetLongPollServer(ctx context.Context, req Groups_GetLongPollServer_Request, options ...Option) (resp Groups_GetLongPollServer_Response, apiErr ApiError, err error)

Groups_GetLongPollServer Returns the data needed to query a Long Poll server for events May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getLongPollServer

func (*VK) Groups_GetLongPollSettings

func (vk *VK) Groups_GetLongPollSettings(ctx context.Context, req Groups_GetLongPollSettings_Request, options ...Option) (resp Groups_GetLongPollSettings_Response, apiErr ApiError, err error)

Groups_GetLongPollSettings Returns Long Poll notification settings May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getLongPollSettings

func (*VK) Groups_GetMembers

func (vk *VK) Groups_GetMembers(ctx context.Context, req Groups_GetMembers_Request, options ...Option) (resp Groups_GetMembers_Response, apiErr ApiError, err error)

Groups_GetMembers Returns a list of community members. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamGroupId ]

https://dev.vk.com/method/groups.getMembers

func (*VK) Groups_GetRequests

func (vk *VK) Groups_GetRequests(ctx context.Context, req Groups_GetRequests_Request, options ...Option) (resp Groups_GetRequests_Response, apiErr ApiError, err error)

Groups_GetRequests Returns a list of requests to the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getRequests

func (*VK) Groups_GetSettings

func (vk *VK) Groups_GetSettings(ctx context.Context, req Groups_GetSettings_Request, options ...Option) (resp Groups_GetSettings_Response, apiErr ApiError, err error)

Groups_GetSettings Returns community settings. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getSettings

func (*VK) Groups_GetTagList

func (vk *VK) Groups_GetTagList(ctx context.Context, req Groups_GetTagList_Request, options ...Option) (resp Groups_GetTagList_Response, apiErr ApiError, err error)

Groups_GetTagList List of group's tags May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getTagList

func (*VK) Groups_GetTokenPermissions

func (vk *VK) Groups_GetTokenPermissions(ctx context.Context, options ...Option) (resp Groups_GetTokenPermissions_Response, apiErr ApiError, err error)

Groups_GetTokenPermissions ... May execute with listed access token types:

[ group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.getTokenPermissions

func (*VK) Groups_Invite

func (vk *VK) Groups_Invite(ctx context.Context, req Groups_Invite_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_Invite Allows to invite friends to the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits ]

https://dev.vk.com/method/groups.invite

func (*VK) Groups_IsMember

func (vk *VK) Groups_IsMember(ctx context.Context, req Groups_IsMember_Request, options ...Option) (resp Groups_IsMember_Response, apiErr ApiError, err error)

Groups_IsMember Returns information specifying whether a user is a member of a community. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.isMember

func (*VK) Groups_IsMemberExtended

func (vk *VK) Groups_IsMemberExtended(ctx context.Context, req Groups_IsMember_Request, options ...Option) (resp Groups_IsMemberExtended_Response, apiErr ApiError, err error)

Groups_IsMemberExtended Returns information specifying whether a user is a member of a community. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.isMember

func (*VK) Groups_IsMemberExtendedUserIDs

func (vk *VK) Groups_IsMemberExtendedUserIDs(ctx context.Context, req Groups_IsMemberUserIDs_Request, options ...Option) (resp Groups_IsMemberUserIdsExtended_Response, apiErr ApiError, err error)

Groups_IsMemberExtendedUserIDs Returns information specifying whether a user is a member of a community. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.isMember

func (*VK) Groups_IsMemberUserIDs

func (vk *VK) Groups_IsMemberUserIDs(ctx context.Context, req Groups_IsMemberUserIDs_Request, options ...Option) (resp Groups_IsMemberUserIds_Response, apiErr ApiError, err error)

Groups_IsMemberUserIDs Returns information specifying whether a user is a member of a community. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.isMember

func (*VK) Groups_Join

func (vk *VK) Groups_Join(ctx context.Context, req Groups_Join_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_Join With this method you can join the group or public page, and also confirm your participation in an event. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits, Error_GroupInviteLinksNotValid ]

https://dev.vk.com/method/groups.join

func (*VK) Groups_Leave

func (vk *VK) Groups_Leave(ctx context.Context, req Groups_Leave_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_Leave With this method you can leave a group, public page, or event. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ClientUpdateNeeded ]

https://dev.vk.com/method/groups.leave

func (*VK) Groups_RemoveUser

func (vk *VK) Groups_RemoveUser(ctx context.Context, req Groups_RemoveUser_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_RemoveUser Removes a user from the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.removeUser

func (vk *VK) Groups_ReorderLink(ctx context.Context, req Groups_ReorderLink_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_ReorderLink Allows to reorder links in the community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.reorderLink

func (vk *VK) Groups_Search(ctx context.Context, req Groups_Search_Request, options ...Option) (resp Groups_Search_Response, apiErr ApiError, err error)

Groups_Search Returns a list of communities matching the search criteria. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.search

func (*VK) Groups_SetCallbackSettings

func (vk *VK) Groups_SetCallbackSettings(ctx context.Context, req Groups_SetCallbackSettings_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_SetCallbackSettings Allow to set notifications settings for group. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/groups.setCallbackSettings

func (*VK) Groups_SetLongPollSettings

func (vk *VK) Groups_SetLongPollSettings(ctx context.Context, req Groups_SetLongPollSettings_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_SetLongPollSettings Sets Long Poll notification settings May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.setLongPollSettings

func (*VK) Groups_SetSettings

func (vk *VK) Groups_SetSettings(ctx context.Context, req Groups_SetSettings_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_SetSettings ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.setSettings

func (*VK) Groups_SetUserNote

func (vk *VK) Groups_SetUserNote(ctx context.Context, req Groups_SetUserNote_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Groups_SetUserNote In order to save note about group participant May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.setUserNote

func (*VK) Groups_TagAdd

func (vk *VK) Groups_TagAdd(ctx context.Context, req Groups_TagAdd_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Groups_TagAdd Add new group's tag May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.tagAdd

func (*VK) Groups_TagBind

func (vk *VK) Groups_TagBind(ctx context.Context, req Groups_TagBind_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Groups_TagBind Bind or unbind group's tag to user May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.tagBind

func (*VK) Groups_TagDelete

func (vk *VK) Groups_TagDelete(ctx context.Context, req Groups_TagDelete_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Groups_TagDelete Delete group's tag May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.tagDelete

func (*VK) Groups_TagUpdate

func (vk *VK) Groups_TagUpdate(ctx context.Context, req Groups_TagUpdate_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Groups_TagUpdate Update group's tag May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.tagUpdate

func (*VK) Groups_ToggleMarket

func (vk *VK) Groups_ToggleMarket(ctx context.Context, req Groups_ToggleMarket_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_ToggleMarket ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketShopAlreadyEnabled, Error_MarketShopAlreadyDisabled ]

https://dev.vk.com/method/groups.toggleMarket

func (*VK) Groups_Unban

func (vk *VK) Groups_Unban(ctx context.Context, req Groups_Unban_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Groups_Unban ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/groups.unban

func (*VK) LeadForms_Create

func (vk *VK) LeadForms_Create(ctx context.Context, req LeadForms_Create_Request, options ...Option) (resp LeadForms_Create_Response, apiErr ApiError, err error)

LeadForms_Create ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/leadForms.create

func (*VK) LeadForms_Delete

func (vk *VK) LeadForms_Delete(ctx context.Context, req LeadForms_Delete_Request, options ...Option) (resp LeadForms_Delete_Response, apiErr ApiError, err error)

LeadForms_Delete ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/leadForms.delete

func (*VK) LeadForms_Get

func (vk *VK) LeadForms_Get(ctx context.Context, req LeadForms_Get_Request, options ...Option) (resp LeadForms_Get_Response, apiErr ApiError, err error)

LeadForms_Get ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/leadForms.get

func (*VK) LeadForms_GetLeads

func (vk *VK) LeadForms_GetLeads(ctx context.Context, req LeadForms_GetLeads_Request, options ...Option) (resp LeadForms_GetLeads_Response, apiErr ApiError, err error)

LeadForms_GetLeads ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/leadForms.getLeads

func (*VK) LeadForms_GetUploadURL

func (vk *VK) LeadForms_GetUploadURL(ctx context.Context, options ...Option) (resp LeadForms_UploadUrl_Response, apiErr ApiError, err error)

LeadForms_GetUploadURL ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/leadForms.getUploadURL

func (*VK) LeadForms_List

func (vk *VK) LeadForms_List(ctx context.Context, req LeadForms_List_Request, options ...Option) (resp LeadForms_List_Response, apiErr ApiError, err error)

LeadForms_List ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/leadForms.list

func (*VK) LeadForms_Update

func (vk *VK) LeadForms_Update(ctx context.Context, req LeadForms_Update_Request, options ...Option) (resp LeadForms_Create_Response, apiErr ApiError, err error)

LeadForms_Update ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/leadForms.update

func (*VK) Likes_Add

func (vk *VK) Likes_Add(ctx context.Context, req Likes_Add_Request, options ...Option) (resp Likes_Add_Response, apiErr ApiError, err error)

Likes_Add Adds the specified object to the 'Likes' list of the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_LikesReactionCanNotBeApplied ]

https://dev.vk.com/method/likes.add

func (*VK) Likes_Delete

func (vk *VK) Likes_Delete(ctx context.Context, req Likes_Delete_Request, options ...Option) (resp Likes_Delete_Response, apiErr ApiError, err error)

Likes_Delete Deletes the specified object from the 'Likes' list of the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/likes.delete

func (*VK) Likes_GetList

func (vk *VK) Likes_GetList(ctx context.Context, req Likes_GetList_Request, options ...Option) (resp Likes_GetList_Response, apiErr ApiError, err error)

Likes_GetList Returns a list of IDs of users who added the specified object to their 'Likes' list. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_LikesReactionCanNotBeApplied ]

https://dev.vk.com/method/likes.getList

func (*VK) Likes_GetListExtended

func (vk *VK) Likes_GetListExtended(ctx context.Context, req Likes_GetList_Request, options ...Option) (resp Likes_GetListExtended_Response, apiErr ApiError, err error)

Likes_GetListExtended Returns a list of IDs of users who added the specified object to their 'Likes' list. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_LikesReactionCanNotBeApplied ]

https://dev.vk.com/method/likes.getList

func (*VK) Likes_IsLiked

func (vk *VK) Likes_IsLiked(ctx context.Context, req Likes_IsLiked_Request, options ...Option) (resp Likes_IsLiked_Response, apiErr ApiError, err error)

Likes_IsLiked Checks for the object in the 'Likes' list of the specified user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/likes.isLiked

func (*VK) Market_Add

func (vk *VK) Market_Add(ctx context.Context, req Market_Add_Request, options ...Option) (resp Market_Add_Response, apiErr ApiError, err error)

Market_Add Ads a new item to the market. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessMarket, Error_MarketTooManyItems, Error_MarketItemHasBadLinks, Error_MarketVariantNotFound, Error_MarketPropertyNotFound, Error_MarketGroupingItemsMustHaveDistinctProperties, Error_MarketGroupingMustContainMoreThanOneItem, Error_MarketPhotosCropInvalidFormat, Error_MarketPhotosCropOverflow, Error_MarketPhotosCropSizeTooLow, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.add

func (*VK) Market_AddAlbum

func (vk *VK) Market_AddAlbum(ctx context.Context, req Market_AddAlbum_Request, options ...Option) (resp Market_AddAlbum_Response, apiErr ApiError, err error)

Market_AddAlbum Creates new collection of items May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketTooManyAlbums, Error_MarketNotEnabled, Error_MarketAlbumMainHidden ]

https://dev.vk.com/method/market.addAlbum

func (*VK) Market_AddToAlbum

func (vk *VK) Market_AddToAlbum(ctx context.Context, req Market_AddToAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_AddToAlbum Adds an item to one or multiple collections. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketAlbumNotFound, Error_MarketNotEnabled, Error_MarketItemNotFound, Error_MarketTooManyItemsInAlbum, Error_MarketItemAlreadyAdded ]

https://dev.vk.com/method/market.addToAlbum

func (*VK) Market_CreateComment

func (vk *VK) Market_CreateComment(ctx context.Context, req Market_CreateComment_Request, options ...Option) (resp Market_CreateComment_Response, apiErr ApiError, err error)

Market_CreateComment Creates a new comment for an item. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.createComment

func (*VK) Market_Delete

func (vk *VK) Market_Delete(ctx context.Context, req Market_Delete_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_Delete Deletes an item. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessMarket, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.delete

func (*VK) Market_DeleteAlbum

func (vk *VK) Market_DeleteAlbum(ctx context.Context, req Market_DeleteAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_DeleteAlbum Deletes a collection of items. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketAlbumNotFound, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.deleteAlbum

func (*VK) Market_DeleteComment

func (vk *VK) Market_DeleteComment(ctx context.Context, req Market_DeleteComment_Request, options ...Option) (resp Market_DeleteComment_Response, apiErr ApiError, err error)

Market_DeleteComment Deletes an item's comment May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.deleteComment

func (*VK) Market_Edit

func (vk *VK) Market_Edit(ctx context.Context, req Market_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_Edit Edits an item. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessMarket, Error_MarketItemNotFound, Error_MarketItemHasBadLinks, Error_MarketGroupingItemsWithDifferentProperties, Error_MarketGroupingAlreadyHasSuchVariant, Error_MarketPhotosCropInvalidFormat, Error_MarketPhotosCropOverflow, Error_MarketPhotosCropSizeTooLow, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.edit

func (*VK) Market_EditAlbum

func (vk *VK) Market_EditAlbum(ctx context.Context, req Market_EditAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_EditAlbum Edits a collection of items May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketAlbumNotFound, Error_MarketNotEnabled, Error_MarketAlbumMainHidden ]

https://dev.vk.com/method/market.editAlbum

func (*VK) Market_EditComment

func (vk *VK) Market_EditComment(ctx context.Context, req Market_EditComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_EditComment Chages item comment's text May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.editComment

func (*VK) Market_EditOrder

func (vk *VK) Market_EditOrder(ctx context.Context, req Market_EditOrder_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_EditOrder Edit order May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketOrdersNoCartItems, Error_MarketInvalidDimensions, Error_MarketCantChangeVkpayStatus ]

https://dev.vk.com/method/market.editOrder

func (*VK) Market_Get

func (vk *VK) Market_Get(ctx context.Context, req Market_Get_Request, options ...Option) (resp Market_Get_Response, apiErr ApiError, err error)

Market_Get Returns items list for a community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.get

func (*VK) Market_GetAlbumById

func (vk *VK) Market_GetAlbumById(ctx context.Context, req Market_GetAlbumById_Request, options ...Option) (resp Market_GetAlbumById_Response, apiErr ApiError, err error)

Market_GetAlbumById Returns items album's data May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getAlbumById

func (*VK) Market_GetAlbums

func (vk *VK) Market_GetAlbums(ctx context.Context, req Market_GetAlbums_Request, options ...Option) (resp Market_GetAlbums_Response, apiErr ApiError, err error)

Market_GetAlbums Returns community's market collections list. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getAlbums

func (*VK) Market_GetById

func (vk *VK) Market_GetById(ctx context.Context, req Market_GetById_Request, options ...Option) (resp Market_GetById_Response, apiErr ApiError, err error)

Market_GetById Returns information about market items by their ids. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getById

func (*VK) Market_GetByIdExtended

func (vk *VK) Market_GetByIdExtended(ctx context.Context, req Market_GetById_Request, options ...Option) (resp Market_GetByIdExtended_Response, apiErr ApiError, err error)

Market_GetByIdExtended Returns information about market items by their ids. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getById

func (*VK) Market_GetCategories

func (vk *VK) Market_GetCategories(ctx context.Context, req Market_GetCategories_Request, options ...Option) (resp Market_GetCategories_Response, apiErr ApiError, err error)

Market_GetCategories Returns a list of market categories. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getCategories

func (*VK) Market_GetComments

func (vk *VK) Market_GetComments(ctx context.Context, req Market_GetComments_Request, options ...Option) (resp Market_GetComments_Response, apiErr ApiError, err error)

Market_GetComments Returns comments list for an item. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketCommentsClosed ]

https://dev.vk.com/method/market.getComments

func (*VK) Market_GetExtended

func (vk *VK) Market_GetExtended(ctx context.Context, req Market_Get_Request, options ...Option) (resp Market_GetExtended_Response, apiErr ApiError, err error)

Market_GetExtended Returns items list for a community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.get

func (*VK) Market_GetGroupOrders

func (vk *VK) Market_GetGroupOrders(ctx context.Context, req Market_GetGroupOrders_Request, options ...Option) (resp Market_GetGroupOrders_Response, apiErr ApiError, err error)

Market_GetGroupOrders Get market orders May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketExtendedNotEnabled ]

https://dev.vk.com/method/market.getGroupOrders

func (*VK) Market_GetOrderById

func (vk *VK) Market_GetOrderById(ctx context.Context, req Market_GetOrderById_Request, options ...Option) (resp Market_GetOrderById_Response, apiErr ApiError, err error)

Market_GetOrderById Get order May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getOrderById

func (*VK) Market_GetOrderItems

func (vk *VK) Market_GetOrderItems(ctx context.Context, req Market_GetOrderItems_Request, options ...Option) (resp Market_GetOrderItems_Response, apiErr ApiError, err error)

Market_GetOrderItems Get market items in the order May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getOrderItems

func (*VK) Market_GetOrders

func (vk *VK) Market_GetOrders(ctx context.Context, req Market_GetOrders_Request, options ...Option) (resp Market_GetOrders_Response, apiErr ApiError, err error)

Market_GetOrders ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getOrders

func (*VK) Market_GetOrdersExtended

func (vk *VK) Market_GetOrdersExtended(ctx context.Context, req Market_GetOrders_Request, options ...Option) (resp Market_GetOrdersExtended_Response, apiErr ApiError, err error)

Market_GetOrdersExtended ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.getOrders

func (*VK) Market_RemoveFromAlbum

func (vk *VK) Market_RemoveFromAlbum(ctx context.Context, req Market_RemoveFromAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_RemoveFromAlbum Removes an item from one or multiple collections. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketAlbumNotFound, Error_MarketItemNotFound, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.removeFromAlbum

func (*VK) Market_ReorderAlbums

func (vk *VK) Market_ReorderAlbums(ctx context.Context, req Market_ReorderAlbums_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_ReorderAlbums Reorders the collections list. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessMarket, Error_MarketAlbumNotFound, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.reorderAlbums

func (*VK) Market_ReorderItems

func (vk *VK) Market_ReorderItems(ctx context.Context, req Market_ReorderItems_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_ReorderItems Changes item place in a collection. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessMarket, Error_MarketAlbumNotFound, Error_MarketItemNotFound, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.reorderItems

func (*VK) Market_Report

func (vk *VK) Market_Report(ctx context.Context, req Market_Report_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_Report Sends a complaint to the item. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.report

func (*VK) Market_ReportComment

func (vk *VK) Market_ReportComment(ctx context.Context, req Market_ReportComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_ReportComment Sends a complaint to the item's comment. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.reportComment

func (*VK) Market_Restore

func (vk *VK) Market_Restore(ctx context.Context, req Market_Restore_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Market_Restore Restores recently deleted item May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessMarket, Error_MarketRestoreTooLate, Error_MarketNotEnabled ]

https://dev.vk.com/method/market.restore

func (*VK) Market_RestoreComment

func (vk *VK) Market_RestoreComment(ctx context.Context, req Market_RestoreComment_Request, options ...Option) (resp Market_RestoreComment_Response, apiErr ApiError, err error)

Market_RestoreComment Restores a recently deleted comment May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.restoreComment

func (vk *VK) Market_Search(ctx context.Context, req Market_Search_Request, options ...Option) (resp Market_Search_Response, apiErr ApiError, err error)

Market_Search Searches market items in a community's catalog May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.search

func (*VK) Market_SearchExtended

func (vk *VK) Market_SearchExtended(ctx context.Context, req Market_Search_Request, options ...Option) (resp Market_SearchExtended_Response, apiErr ApiError, err error)

Market_SearchExtended Searches market items in a community's catalog May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.search

func (*VK) Market_SearchItems

func (vk *VK) Market_SearchItems(ctx context.Context, req Market_SearchItems_Request, options ...Option) (resp Market_Search_Response, apiErr ApiError, err error)

Market_SearchItems ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/market.searchItems

func (*VK) Messages_AddChatUser

func (vk *VK) Messages_AddChatUser(ctx context.Context, req Messages_AddChatUser_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_AddChatUser Adds a new user to a chat. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits, Error_MessagesChatNotAdmin, Error_MessagesMessageRequestAlreadySent, Error_MessagesContactNotFound, Error_MessagesChatDisabled, Error_MessagesMemberAccessToGroupDenied, Error_MessagesChatUnsupported, Error_MessagesGroupPeerAccess ]

https://dev.vk.com/method/messages.addChatUser

func (*VK) Messages_AllowMessagesFromGroup

func (vk *VK) Messages_AllowMessagesFromGroup(ctx context.Context, req Messages_AllowMessagesFromGroup_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_AllowMessagesFromGroup Allows sending messages from community to the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesIntentCantUse ]

https://dev.vk.com/method/messages.allowMessagesFromGroup

func (*VK) Messages_CreateChat

func (vk *VK) Messages_CreateChat(ctx context.Context, req Messages_CreateChat_Request, options ...Option) (resp Messages_CreateChat_Response, apiErr ApiError, err error)

Messages_CreateChat Creates a chat with several participants. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesContactNotFound ]

https://dev.vk.com/method/messages.createChat

func (*VK) Messages_Delete

func (vk *VK) Messages_Delete(ctx context.Context, req Messages_Delete_Request, options ...Option) (resp Messages_Delete_Response, apiErr ApiError, err error)

Messages_Delete Deletes one or more messages. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesCantDeleteForAll ]

https://dev.vk.com/method/messages.delete

func (*VK) Messages_DeleteChatPhoto

func (vk *VK) Messages_DeleteChatPhoto(ctx context.Context, req Messages_DeleteChatPhoto_Request, options ...Option) (resp Messages_DeleteChatPhoto_Response, apiErr ApiError, err error)

Messages_DeleteChatPhoto Deletes a chat's cover picture. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotAdmin, Error_MessagesChatDisabled ]

https://dev.vk.com/method/messages.deleteChatPhoto

func (*VK) Messages_DeleteConversation

func (vk *VK) Messages_DeleteConversation(ctx context.Context, req Messages_DeleteConversation_Request, options ...Option) (resp Messages_DeleteConversation_Response, apiErr ApiError, err error)

Messages_DeleteConversation Deletes all private messages in a conversation. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesContactNotFound ]

https://dev.vk.com/method/messages.deleteConversation

func (*VK) Messages_DenyMessagesFromGroup

func (vk *VK) Messages_DenyMessagesFromGroup(ctx context.Context, req Messages_DenyMessagesFromGroup_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_DenyMessagesFromGroup Denies sending message from community to the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.denyMessagesFromGroup

func (*VK) Messages_Edit

func (vk *VK) Messages_Edit(ctx context.Context, req Messages_Edit_Request, options ...Option) (resp Messages_Edit_Response, apiErr ApiError, err error)

Messages_Edit Edits the message. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesDenySend, Error_MessagesEditExpired, Error_MessagesTooBig, Error_MessagesEditKindDisallowed, Error_MessagesTooLongMessage, Error_MessagesChatUserNoAccess, Error_MessagesKeyboardInvalid, Error_MessagesTooManyPosts, Error_MessagesChatUnsupported, Error_MessagesChatBotFeature, Error_MessagesCantEditPinnedYet ]

https://dev.vk.com/method/messages.edit

func (*VK) Messages_EditChat

func (vk *VK) Messages_EditChat(ctx context.Context, req Messages_EditChat_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_EditChat Edits the title of a chat. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotAdmin, Error_MessagesChatDisabled, Error_MessagesChatUnsupported ]

https://dev.vk.com/method/messages.editChat

func (*VK) Messages_GetByConversationMessageId

func (vk *VK) Messages_GetByConversationMessageId(ctx context.Context, req Messages_GetByConversationMessageId_Request, options ...Option) (resp Messages_GetByConversationMessageId_Response, apiErr ApiError, err error)

Messages_GetByConversationMessageId Returns messages by their IDs within the conversation. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getByConversationMessageId

func (*VK) Messages_GetByConversationMessageIdExtended

func (vk *VK) Messages_GetByConversationMessageIdExtended(ctx context.Context, req Messages_GetByConversationMessageId_Request, options ...Option) (resp Messages_GetByConversationMessageIdExtended_Response, apiErr ApiError, err error)

Messages_GetByConversationMessageIdExtended Returns messages by their IDs within the conversation. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getByConversationMessageId

func (*VK) Messages_GetById

func (vk *VK) Messages_GetById(ctx context.Context, req Messages_GetById_Request, options ...Option) (resp Messages_GetById_Response, apiErr ApiError, err error)

Messages_GetById Returns messages by their IDs. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getById

func (*VK) Messages_GetByIdExtended

func (vk *VK) Messages_GetByIdExtended(ctx context.Context, req Messages_GetById_Request, options ...Option) (resp Messages_GetByIdExtended_Response, apiErr ApiError, err error)

Messages_GetByIdExtended Returns messages by their IDs. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getById

func (*VK) Messages_GetChatPreview

func (vk *VK) Messages_GetChatPreview(ctx context.Context, req Messages_GetChatPreview_Request, options ...Option) (resp Messages_GetChatPreview_Response, apiErr ApiError, err error)

Messages_GetChatPreview ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatUserNoAccess ]

https://dev.vk.com/method/messages.getChatPreview

func (*VK) Messages_GetConversationMembers

func (vk *VK) Messages_GetConversationMembers(ctx context.Context, req Messages_GetConversationMembers_Request, options ...Option) (resp Messages_GetConversationMembers_Response, apiErr ApiError, err error)

Messages_GetConversationMembers Returns a list of IDs of users participating in a chat. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatUserNoAccess ]

https://dev.vk.com/method/messages.getConversationMembers

func (*VK) Messages_GetConversations

func (vk *VK) Messages_GetConversations(ctx context.Context, req Messages_GetConversations_Request, options ...Option) (resp Messages_GetConversations_Response, apiErr ApiError, err error)

Messages_GetConversations Returns a list of the current user's conversations. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotExist, Error_MessagesContactNotFound, Error_MessagesChatUserNoAccess ]

https://dev.vk.com/method/messages.getConversations

func (*VK) Messages_GetConversationsById

func (vk *VK) Messages_GetConversationsById(ctx context.Context, req Messages_GetConversationsById_Request, options ...Option) (resp Messages_GetConversationsById_Response, apiErr ApiError, err error)

Messages_GetConversationsById Returns conversations by their IDs May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotExist, Error_MessagesChatUserNoAccess, Error_MessagesContactNotFound ]

https://dev.vk.com/method/messages.getConversationsById

func (*VK) Messages_GetConversationsByIdExtended

func (vk *VK) Messages_GetConversationsByIdExtended(ctx context.Context, req Messages_GetConversationsById_Request, options ...Option) (resp Messages_GetConversationsByIdExtended_Response, apiErr ApiError, err error)

Messages_GetConversationsByIdExtended Returns conversations by their IDs May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotExist, Error_MessagesChatUserNoAccess, Error_MessagesContactNotFound ]

https://dev.vk.com/method/messages.getConversationsById

func (*VK) Messages_GetHistory

func (vk *VK) Messages_GetHistory(ctx context.Context, req Messages_GetHistory_Request, options ...Option) (resp Messages_GetHistory_Response, apiErr ApiError, err error)

Messages_GetHistory Returns message history for the specified user or group chat. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesContactNotFound ]

https://dev.vk.com/method/messages.getHistory

func (*VK) Messages_GetHistoryAttachments

func (vk *VK) Messages_GetHistoryAttachments(ctx context.Context, req Messages_GetHistoryAttachments_Request, options ...Option) (resp Messages_GetHistoryAttachments_Response, apiErr ApiError, err error)

Messages_GetHistoryAttachments Returns media files from the dialog or group chat. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getHistoryAttachments

func (*VK) Messages_GetHistoryExtended

func (vk *VK) Messages_GetHistoryExtended(ctx context.Context, req Messages_GetHistory_Request, options ...Option) (resp Messages_GetHistoryExtended_Response, apiErr ApiError, err error)

Messages_GetHistoryExtended Returns message history for the specified user or group chat. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesContactNotFound ]

https://dev.vk.com/method/messages.getHistory

func (*VK) Messages_GetImportantMessages

func (vk *VK) Messages_GetImportantMessages(ctx context.Context, req Messages_GetImportantMessages_Request, options ...Option) (resp Messages_GetImportantMessages_Response, apiErr ApiError, err error)

Messages_GetImportantMessages Returns a list of user's important messages. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getImportantMessages

func (*VK) Messages_GetImportantMessagesExtended

func (vk *VK) Messages_GetImportantMessagesExtended(ctx context.Context, req Messages_GetImportantMessages_Request, options ...Option) (resp Messages_GetImportantMessagesExtended_Response, apiErr ApiError, err error)

Messages_GetImportantMessagesExtended Returns a list of user's important messages. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getImportantMessages

func (*VK) Messages_GetIntentUsers

func (vk *VK) Messages_GetIntentUsers(ctx context.Context, req Messages_GetIntentUsers_Request, options ...Option) (resp Messages_GetIntentUsers_Response, apiErr ApiError, err error)

Messages_GetIntentUsers ... May execute with listed access token types:

[ group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesIntentCantUse ]

https://dev.vk.com/method/messages.getIntentUsers

func (vk *VK) Messages_GetInviteLink(ctx context.Context, req Messages_GetInviteLink_Request, options ...Option) (resp Messages_GetInviteLink_Response, apiErr ApiError, err error)

Messages_GetInviteLink ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesCantSeeInviteLink, Error_MessagesCantChangeInviteLink ]

https://dev.vk.com/method/messages.getInviteLink

func (*VK) Messages_GetLastActivity

func (vk *VK) Messages_GetLastActivity(ctx context.Context, req Messages_GetLastActivity_Request, options ...Option) (resp Messages_GetLastActivity_Response, apiErr ApiError, err error)

Messages_GetLastActivity Returns a user's current status and date of last activity. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getLastActivity

func (*VK) Messages_GetLongPollHistory

func (vk *VK) Messages_GetLongPollHistory(ctx context.Context, req Messages_GetLongPollHistory_Request, options ...Option) (resp Messages_GetLongPollHistory_Response, apiErr ApiError, err error)

Messages_GetLongPollHistory Returns updates in user's private messages. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesTooOldPts, Error_MessagesTooNewPts, Error_Timeout ]

https://dev.vk.com/method/messages.getLongPollHistory

func (*VK) Messages_GetLongPollServer

func (vk *VK) Messages_GetLongPollServer(ctx context.Context, req Messages_GetLongPollServer_Request, options ...Option) (resp Messages_GetLongPollServer_Response, apiErr ApiError, err error)

Messages_GetLongPollServer Returns data required for connection to a Long Poll server. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.getLongPollServer

func (*VK) Messages_IsMessagesFromGroupAllowed

func (vk *VK) Messages_IsMessagesFromGroupAllowed(ctx context.Context, req Messages_IsMessagesFromGroupAllowed_Request, options ...Option) (resp Messages_IsMessagesFromGroupAllowed_Response, apiErr ApiError, err error)

Messages_IsMessagesFromGroupAllowed Returns information whether sending messages from the community to current user is allowed. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesIntentCantUse ]

https://dev.vk.com/method/messages.isMessagesFromGroupAllowed

func (vk *VK) Messages_JoinChatByInviteLink(ctx context.Context, req Messages_JoinChatByInviteLink_Request, options ...Option) (resp Messages_JoinChatByInviteLink_Response, apiErr ApiError, err error)

Messages_JoinChatByInviteLink ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatUserNoAccess, Error_Limits ]

https://dev.vk.com/method/messages.joinChatByInviteLink

func (*VK) Messages_MarkAsAnsweredConversation

func (vk *VK) Messages_MarkAsAnsweredConversation(ctx context.Context, req Messages_MarkAsAnsweredConversation_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_MarkAsAnsweredConversation Marks and unmarks conversations as unanswered. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.markAsAnsweredConversation

func (*VK) Messages_MarkAsImportant

func (vk *VK) Messages_MarkAsImportant(ctx context.Context, req Messages_MarkAsImportant_Request, options ...Option) (resp Messages_MarkAsImportant_Response, apiErr ApiError, err error)

Messages_MarkAsImportant Marks and unmarks messages as important (starred). May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.markAsImportant

func (*VK) Messages_MarkAsImportantConversation

func (vk *VK) Messages_MarkAsImportantConversation(ctx context.Context, req Messages_MarkAsImportantConversation_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_MarkAsImportantConversation Marks and unmarks conversations as important. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.markAsImportantConversation

func (*VK) Messages_MarkAsRead

func (vk *VK) Messages_MarkAsRead(ctx context.Context, req Messages_MarkAsRead_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_MarkAsRead Marks messages as read. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.markAsRead

func (*VK) Messages_Pin

func (vk *VK) Messages_Pin(ctx context.Context, req Messages_Pin_Request, options ...Option) (resp Messages_Pin_Response, apiErr ApiError, err error)

Messages_Pin Pin a message. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotAdmin, Error_MessagesCantPinOneTimeStory, Error_MessagesCantPinExpiringMessage ]

https://dev.vk.com/method/messages.pin

func (*VK) Messages_RemoveChatUser

func (vk *VK) Messages_RemoveChatUser(ctx context.Context, req Messages_RemoveChatUser_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_RemoveChatUser Allows the current user to leave a chat or, if the current user started the chat, allows the user to remove another user from the chat. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotAdmin, Error_MessagesChatUserNotInChat, Error_MessagesContactNotFound, Error_MessagesChatDisabled, Error_MessagesChatUnsupported ]

https://dev.vk.com/method/messages.removeChatUser

func (*VK) Messages_Restore

func (vk *VK) Messages_Restore(ctx context.Context, req Messages_Restore_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_Restore Restores a deleted message. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.restore

func (vk *VK) Messages_Search(ctx context.Context, req Messages_Search_Request, options ...Option) (resp Messages_Search_Response, apiErr ApiError, err error)

Messages_Search Returns a list of the current user's private messages that match search criteria. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.search

func (*VK) Messages_SearchConversations

func (vk *VK) Messages_SearchConversations(ctx context.Context, req Messages_SearchConversations_Request, options ...Option) (resp Messages_SearchConversations_Response, apiErr ApiError, err error)

Messages_SearchConversations Returns a list of the current user's conversations that match search criteria. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.searchConversations

func (*VK) Messages_SearchConversationsExtended

func (vk *VK) Messages_SearchConversationsExtended(ctx context.Context, req Messages_SearchConversations_Request, options ...Option) (resp Messages_SearchConversationsExtended_Response, apiErr ApiError, err error)

Messages_SearchConversationsExtended Returns a list of the current user's conversations that match search criteria. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.searchConversations

func (*VK) Messages_SearchExtended

func (vk *VK) Messages_SearchExtended(ctx context.Context, req Messages_Search_Request, options ...Option) (resp Messages_SearchExtended_Response, apiErr ApiError, err error)

Messages_SearchExtended Returns a list of the current user's private messages that match search criteria. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.search

func (*VK) Messages_Send

func (vk *VK) Messages_Send(ctx context.Context, req Messages_Send_Request, options ...Option) (resp Messages_Send_Response, apiErr ApiError, err error)

Messages_Send Sends a message. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesUserBlocked, Error_MessagesDenySend, Error_MessagesPrivacy, Error_MessagesTooLongMessage, Error_MessagesTooLongForwards, Error_MessagesCantFwd, Error_MessagesChatUserNoAccess, Error_MessagesKeyboardInvalid, Error_MessagesChatBotFeature, Error_MessagesContactNotFound, Error_MessagesTooManyPosts, Error_MessagesIntentCantUse, Error_MessagesIntentLimitOverflow, Error_MessagesChatUnsupported, Error_MessagesChatDisabled, Error_MessagesChatNotAdmin, Error_MessagesPeerBlockedReasonByTime, Error_NotFound, Error_MessagesUserNotDon, Error_MessagesMessageCannotBeForwarded ]

https://dev.vk.com/method/messages.send

func (*VK) Messages_SendMessageEventAnswer

func (vk *VK) Messages_SendMessageEventAnswer(ctx context.Context, req Messages_SendMessageEventAnswer_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_SendMessageEventAnswer ... May execute with listed access token types:

[ group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/messages.sendMessageEventAnswer

func (*VK) Messages_SendUserIDs

func (vk *VK) Messages_SendUserIDs(ctx context.Context, req Messages_SendUserIDs_Request, options ...Option) (resp Messages_SendUserIds_Response, apiErr ApiError, err error)

Messages_SendUserIDs Sends a message. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesUserBlocked, Error_MessagesDenySend, Error_MessagesPrivacy, Error_MessagesTooLongMessage, Error_MessagesTooLongForwards, Error_MessagesCantFwd, Error_MessagesChatUserNoAccess, Error_MessagesKeyboardInvalid, Error_MessagesChatBotFeature, Error_MessagesContactNotFound, Error_MessagesTooManyPosts, Error_MessagesIntentCantUse, Error_MessagesIntentLimitOverflow, Error_MessagesChatUnsupported, Error_MessagesChatDisabled, Error_MessagesChatNotAdmin, Error_MessagesPeerBlockedReasonByTime, Error_NotFound, Error_MessagesUserNotDon, Error_MessagesMessageCannotBeForwarded ]

https://dev.vk.com/method/messages.send

func (*VK) Messages_SetActivity

func (vk *VK) Messages_SetActivity(ctx context.Context, req Messages_SetActivity_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_SetActivity Changes the status of a user as typing in a conversation. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesGroupPeerAccess, Error_MessagesChatUserNoAccess, Error_MessagesContactNotFound ]

https://dev.vk.com/method/messages.setActivity

func (*VK) Messages_SetChatPhoto

func (vk *VK) Messages_SetChatPhoto(ctx context.Context, req Messages_SetChatPhoto_Request, options ...Option) (resp Messages_SetChatPhoto_Response, apiErr ApiError, err error)

Messages_SetChatPhoto Sets a previously-uploaded picture as the cover picture of a chat. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Upload, Error_PhotoChanged, Error_MessagesChatNotAdmin ]

https://dev.vk.com/method/messages.setChatPhoto

func (*VK) Messages_Unpin

func (vk *VK) Messages_Unpin(ctx context.Context, req Messages_Unpin_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Messages_Unpin ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesChatNotAdmin ]

https://dev.vk.com/method/messages.unpin

func (*VK) Newsfeed_AddBan

func (vk *VK) Newsfeed_AddBan(ctx context.Context, req Newsfeed_AddBan_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Newsfeed_AddBan Prevents news from specified users and communities from appearing in the current user's newsfeed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.addBan

func (*VK) Newsfeed_DeleteBan

func (vk *VK) Newsfeed_DeleteBan(ctx context.Context, req Newsfeed_DeleteBan_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Newsfeed_DeleteBan Allows news from previously banned users and communities to be shown in the current user's newsfeed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.deleteBan

func (*VK) Newsfeed_DeleteList

func (vk *VK) Newsfeed_DeleteList(ctx context.Context, req Newsfeed_DeleteList_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Newsfeed_DeleteList ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.deleteList

func (*VK) Newsfeed_Get

func (vk *VK) Newsfeed_Get(ctx context.Context, req Newsfeed_Get_Request, options ...Option) (resp Newsfeed_Generic_Response, apiErr ApiError, err error)

Newsfeed_Get Returns data required to show newsfeed for the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.get

func (*VK) Newsfeed_GetBanned

func (vk *VK) Newsfeed_GetBanned(ctx context.Context, req Newsfeed_GetBanned_Request, options ...Option) (resp Newsfeed_GetBanned_Response, apiErr ApiError, err error)

Newsfeed_GetBanned Returns a list of users and communities banned from the current user's newsfeed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getBanned

func (*VK) Newsfeed_GetBannedExtended

func (vk *VK) Newsfeed_GetBannedExtended(ctx context.Context, req Newsfeed_GetBanned_Request, options ...Option) (resp Newsfeed_GetBannedExtended_Response, apiErr ApiError, err error)

Newsfeed_GetBannedExtended Returns a list of users and communities banned from the current user's newsfeed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getBanned

func (*VK) Newsfeed_GetComments

func (vk *VK) Newsfeed_GetComments(ctx context.Context, req Newsfeed_GetComments_Request, options ...Option) (resp Newsfeed_GetComments_Response, apiErr ApiError, err error)

Newsfeed_GetComments Returns a list of comments in the current user's newsfeed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getComments

func (*VK) Newsfeed_GetLists

func (vk *VK) Newsfeed_GetLists(ctx context.Context, req Newsfeed_GetLists_Request, options ...Option) (resp Newsfeed_GetLists_Response, apiErr ApiError, err error)

Newsfeed_GetLists Returns a list of newsfeeds followed by the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getLists

func (*VK) Newsfeed_GetListsExtended

func (vk *VK) Newsfeed_GetListsExtended(ctx context.Context, req Newsfeed_GetLists_Request, options ...Option) (resp Newsfeed_GetListsExtended_Response, apiErr ApiError, err error)

Newsfeed_GetListsExtended Returns a list of newsfeeds followed by the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getLists

func (*VK) Newsfeed_GetMentions

func (vk *VK) Newsfeed_GetMentions(ctx context.Context, req Newsfeed_GetMentions_Request, options ...Option) (resp Newsfeed_GetMentions_Response, apiErr ApiError, err error)

Newsfeed_GetMentions Returns a list of posts on user walls in which the current user is mentioned. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getMentions

func (*VK) Newsfeed_GetRecommended

func (vk *VK) Newsfeed_GetRecommended(ctx context.Context, req Newsfeed_GetRecommended_Request, options ...Option) (resp Newsfeed_Generic_Response, apiErr ApiError, err error)

Newsfeed_GetRecommended , Returns a list of newsfeeds recommended to the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getRecommended

func (*VK) Newsfeed_GetSuggestedSources

func (vk *VK) Newsfeed_GetSuggestedSources(ctx context.Context, req Newsfeed_GetSuggestedSources_Request, options ...Option) (resp Newsfeed_GetSuggestedSources_Response, apiErr ApiError, err error)

Newsfeed_GetSuggestedSources Returns communities and users that current user is suggested to follow. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.getSuggestedSources

func (*VK) Newsfeed_IgnoreItem

func (vk *VK) Newsfeed_IgnoreItem(ctx context.Context, req Newsfeed_IgnoreItem_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Newsfeed_IgnoreItem Hides an item from the newsfeed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.ignoreItem

func (*VK) Newsfeed_SaveList

func (vk *VK) Newsfeed_SaveList(ctx context.Context, req Newsfeed_SaveList_Request, options ...Option) (resp Newsfeed_SaveList_Response, apiErr ApiError, err error)

Newsfeed_SaveList Creates and edits user newsfeed lists May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_TooManyLists ]

https://dev.vk.com/method/newsfeed.saveList

func (vk *VK) Newsfeed_Search(ctx context.Context, req Newsfeed_Search_Request, options ...Option) (resp Newsfeed_Search_Response, apiErr ApiError, err error)

Newsfeed_Search Returns search results by statuses. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.search

func (*VK) Newsfeed_SearchExtended

func (vk *VK) Newsfeed_SearchExtended(ctx context.Context, req Newsfeed_Search_Request, options ...Option) (resp Newsfeed_SearchExtended_Response, apiErr ApiError, err error)

Newsfeed_SearchExtended Returns search results by statuses. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.search

func (*VK) Newsfeed_UnignoreItem

func (vk *VK) Newsfeed_UnignoreItem(ctx context.Context, req Newsfeed_UnignoreItem_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Newsfeed_UnignoreItem Returns a hidden item to the newsfeed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.unignoreItem

func (*VK) Newsfeed_Unsubscribe

func (vk *VK) Newsfeed_Unsubscribe(ctx context.Context, req Newsfeed_Unsubscribe_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Newsfeed_Unsubscribe Unsubscribes the current user from specified newsfeeds. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/newsfeed.unsubscribe

func (*VK) Notes_Add

func (vk *VK) Notes_Add(ctx context.Context, req Notes_Add_Request, options ...Option) (resp Notes_Add_Response, apiErr ApiError, err error)

Notes_Add Creates a new note for the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/notes.add

func (*VK) Notes_CreateComment

func (vk *VK) Notes_CreateComment(ctx context.Context, req Notes_CreateComment_Request, options ...Option) (resp Notes_CreateComment_Response, apiErr ApiError, err error)

Notes_CreateComment Adds a new comment on a note. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessNote, Error_AccessNoteComment ]

https://dev.vk.com/method/notes.createComment

func (*VK) Notes_Delete

func (vk *VK) Notes_Delete(ctx context.Context, req Notes_Delete_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Notes_Delete Deletes a note of the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamNoteId ]

https://dev.vk.com/method/notes.delete

func (*VK) Notes_DeleteComment

func (vk *VK) Notes_DeleteComment(ctx context.Context, req Notes_DeleteComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Notes_DeleteComment Deletes a comment on a note. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessNote, Error_AccessComment ]

https://dev.vk.com/method/notes.deleteComment

func (*VK) Notes_Edit

func (vk *VK) Notes_Edit(ctx context.Context, req Notes_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Notes_Edit Edits a note of the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamNoteId ]

https://dev.vk.com/method/notes.edit

func (*VK) Notes_EditComment

func (vk *VK) Notes_EditComment(ctx context.Context, req Notes_EditComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Notes_EditComment Edits a comment on a note. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessComment ]

https://dev.vk.com/method/notes.editComment

func (*VK) Notes_Get

func (vk *VK) Notes_Get(ctx context.Context, req Notes_Get_Request, options ...Option) (resp Notes_Get_Response, apiErr ApiError, err error)

Notes_Get Returns a list of notes created by a user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamNoteId ]

https://dev.vk.com/method/notes.get

func (*VK) Notes_GetById

func (vk *VK) Notes_GetById(ctx context.Context, req Notes_GetById_Request, options ...Option) (resp Notes_GetById_Response, apiErr ApiError, err error)

Notes_GetById Returns a note by its ID. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessNote, Error_ParamNoteId ]

https://dev.vk.com/method/notes.getById

func (*VK) Notes_GetComments

func (vk *VK) Notes_GetComments(ctx context.Context, req Notes_GetComments_Request, options ...Option) (resp Notes_GetComments_Response, apiErr ApiError, err error)

Notes_GetComments Returns a list of comments on a note. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessNote ]

https://dev.vk.com/method/notes.getComments

func (*VK) Notes_RestoreComment

func (vk *VK) Notes_RestoreComment(ctx context.Context, req Notes_RestoreComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Notes_RestoreComment Restores a deleted comment on a note. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessComment ]

https://dev.vk.com/method/notes.restoreComment

func (*VK) Notifications_Get

func (vk *VK) Notifications_Get(ctx context.Context, req Notifications_Get_Request, options ...Option) (resp Notifications_Get_Response, apiErr ApiError, err error)

Notifications_Get Returns a list of notifications about other users' feedback to the current user's wall posts. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/notifications.get

func (*VK) Notifications_MarkAsViewed

func (vk *VK) Notifications_MarkAsViewed(ctx context.Context, options ...Option) (resp Notifications_MarkAsViewed_Response, apiErr ApiError, err error)

Notifications_MarkAsViewed Resets the counter of new notifications about other users' feedback to the current user's wall posts. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/notifications.markAsViewed

func (*VK) Notifications_SendMessage

func (vk *VK) Notifications_SendMessage(ctx context.Context, req Notifications_SendMessage_Request, options ...Option) (resp Notifications_SendMessage_Response, apiErr ApiError, err error)

Notifications_SendMessage ... May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_GroupAppIsNotInstalledInCommunity ]

https://dev.vk.com/method/notifications.sendMessage

func (*VK) Orders_CancelSubscription

func (vk *VK) Orders_CancelSubscription(ctx context.Context, req Orders_CancelSubscription_Request, options ...Option) (resp Orders_CancelSubscription_Response, apiErr ApiError, err error)

Orders_CancelSubscription ... May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AppsSubscriptionNotFound, Error_AppsSubscriptionInvalidStatus ]

https://dev.vk.com/method/orders.cancelSubscription

func (*VK) Orders_ChangeState

func (vk *VK) Orders_ChangeState(ctx context.Context, req Orders_ChangeState_Request, options ...Option) (resp Orders_ChangeState_Response, apiErr ApiError, err error)

Orders_ChangeState Changes order status. May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits, Error_ActionFailed ]

https://dev.vk.com/method/orders.changeState

func (*VK) Orders_Get

func (vk *VK) Orders_Get(ctx context.Context, req Orders_Get_Request, options ...Option) (resp Orders_Get_Response, apiErr ApiError, err error)

Orders_Get Returns a list of orders. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/orders.get

func (*VK) Orders_GetAmount

func (vk *VK) Orders_GetAmount(ctx context.Context, req Orders_GetAmount_Request, options ...Option) (resp Orders_GetAmount_Response, apiErr ApiError, err error)

Orders_GetAmount ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/orders.getAmount

func (*VK) Orders_GetById

func (vk *VK) Orders_GetById(ctx context.Context, req Orders_GetById_Request, options ...Option) (resp Orders_GetById_Response, apiErr ApiError, err error)

Orders_GetById Returns information about orders by their IDs. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/orders.getById

func (*VK) Orders_GetUserSubscriptionById

func (vk *VK) Orders_GetUserSubscriptionById(ctx context.Context, req Orders_GetUserSubscriptionById_Request, options ...Option) (resp Orders_GetUserSubscriptionById_Response, apiErr ApiError, err error)

Orders_GetUserSubscriptionById ... May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AppsSubscriptionNotFound ]

https://dev.vk.com/method/orders.getUserSubscriptionById

func (*VK) Orders_GetUserSubscriptions

func (vk *VK) Orders_GetUserSubscriptions(ctx context.Context, req Orders_GetUserSubscriptions_Request, options ...Option) (resp Orders_GetUserSubscriptions_Response, apiErr ApiError, err error)

Orders_GetUserSubscriptions ... May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/orders.getUserSubscriptions

func (*VK) Orders_UpdateSubscription

func (vk *VK) Orders_UpdateSubscription(ctx context.Context, req Orders_UpdateSubscription_Request, options ...Option) (resp Orders_UpdateSubscription_Response, apiErr ApiError, err error)

Orders_UpdateSubscription ... May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AppsSubscriptionNotFound, Error_AppsSubscriptionInvalidStatus ]

https://dev.vk.com/method/orders.updateSubscription

func (*VK) Pages_ClearCache

func (vk *VK) Pages_ClearCache(ctx context.Context, req Pages_ClearCache_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Pages_ClearCache Allows to clear the cache of particular 'external' pages which may be attached to VK posts. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/pages.clearCache

func (*VK) Pages_Get

func (vk *VK) Pages_Get(ctx context.Context, req Pages_Get_Request, options ...Option) (resp Pages_Get_Response, apiErr ApiError, err error)

Pages_Get Returns information about a wiki page. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/pages.get

func (*VK) Pages_GetHistory

func (vk *VK) Pages_GetHistory(ctx context.Context, req Pages_GetHistory_Request, options ...Option) (resp Pages_GetHistory_Response, apiErr ApiError, err error)

Pages_GetHistory Returns a list of all previous versions of a wiki page. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessPage, Error_ParamPageId ]

https://dev.vk.com/method/pages.getHistory

func (*VK) Pages_GetTitles

func (vk *VK) Pages_GetTitles(ctx context.Context, req Pages_GetTitles_Request, options ...Option) (resp Pages_GetTitles_Response, apiErr ApiError, err error)

Pages_GetTitles Returns a list of wiki pages in a group. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessPage ]

https://dev.vk.com/method/pages.getTitles

func (*VK) Pages_GetVersion

func (vk *VK) Pages_GetVersion(ctx context.Context, req Pages_GetVersion_Request, options ...Option) (resp Pages_GetVersion_Response, apiErr ApiError, err error)

Pages_GetVersion Returns the text of one of the previous versions of a wiki page. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessPage ]

https://dev.vk.com/method/pages.getVersion

func (*VK) Pages_ParseWiki

func (vk *VK) Pages_ParseWiki(ctx context.Context, req Pages_ParseWiki_Request, options ...Option) (resp Pages_ParseWiki_Response, apiErr ApiError, err error)

Pages_ParseWiki Returns HTML representation of the wiki markup. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/pages.parseWiki

func (*VK) Pages_Save

func (vk *VK) Pages_Save(ctx context.Context, req Pages_Save_Request, options ...Option) (resp Pages_Save_Response, apiErr ApiError, err error)

Pages_Save Saves the text of a wiki page. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessPage, Error_ParamPageId, Error_ParamTitle ]

https://dev.vk.com/method/pages.save

func (*VK) Pages_SaveAccess

func (vk *VK) Pages_SaveAccess(ctx context.Context, req Pages_SaveAccess_Request, options ...Option) (resp Pages_SaveAccess_Response, apiErr ApiError, err error)

Pages_SaveAccess Saves modified read and edit access settings for a wiki page. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessPage, Error_ParamPageId ]

https://dev.vk.com/method/pages.saveAccess

func (*VK) Photos_ConfirmTag

func (vk *VK) Photos_ConfirmTag(ctx context.Context, req Photos_ConfirmTag_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_ConfirmTag Confirms a tag on a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.confirmTag

func (*VK) Photos_Copy

func (vk *VK) Photos_Copy(ctx context.Context, req Photos_Copy_Request, options ...Option) (resp Photos_Copy_Response, apiErr ApiError, err error)

Photos_Copy Allows to copy a photo to the "Saved photos" album May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.copy

func (*VK) Photos_CreateAlbum

func (vk *VK) Photos_CreateAlbum(ctx context.Context, req Photos_CreateAlbum_Request, options ...Option) (resp Photos_CreateAlbum_Response, apiErr ApiError, err error)

Photos_CreateAlbum Creates an empty photo album. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AlbumsLimit ]

https://dev.vk.com/method/photos.createAlbum

func (*VK) Photos_CreateComment

func (vk *VK) Photos_CreateComment(ctx context.Context, req Photos_CreateComment_Request, options ...Option) (resp Photos_CreateComment_Response, apiErr ApiError, err error)

Photos_CreateComment Adds a new comment on the photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.createComment

func (*VK) Photos_Delete

func (vk *VK) Photos_Delete(ctx context.Context, req Photos_Delete_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_Delete Deletes a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.delete

func (*VK) Photos_DeleteAlbum

func (vk *VK) Photos_DeleteAlbum(ctx context.Context, req Photos_DeleteAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_DeleteAlbum Deletes a photo album belonging to the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamAlbumId ]

https://dev.vk.com/method/photos.deleteAlbum

func (*VK) Photos_DeleteComment

func (vk *VK) Photos_DeleteComment(ctx context.Context, req Photos_DeleteComment_Request, options ...Option) (resp Photos_DeleteComment_Response, apiErr ApiError, err error)

Photos_DeleteComment Deletes a comment on the photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.deleteComment

func (*VK) Photos_Edit

func (vk *VK) Photos_Edit(ctx context.Context, req Photos_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_Edit Edits the caption of a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.edit

func (*VK) Photos_EditAlbum

func (vk *VK) Photos_EditAlbum(ctx context.Context, req Photos_EditAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_EditAlbum Edits information about a photo album. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamAlbumId ]

https://dev.vk.com/method/photos.editAlbum

func (*VK) Photos_EditComment

func (vk *VK) Photos_EditComment(ctx context.Context, req Photos_EditComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_EditComment Edits a comment on a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.editComment

func (*VK) Photos_Get

func (vk *VK) Photos_Get(ctx context.Context, req Photos_Get_Request, options ...Option) (resp Photos_Get_Response, apiErr ApiError, err error)

Photos_Get Returns a list of a user's or community's photos. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.get

func (*VK) Photos_GetAlbums

func (vk *VK) Photos_GetAlbums(ctx context.Context, req Photos_GetAlbums_Request, options ...Option) (resp Photos_GetAlbums_Response, apiErr ApiError, err error)

Photos_GetAlbums Returns a list of a user's or community's photo albums. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getAlbums

func (*VK) Photos_GetAlbumsCount

func (vk *VK) Photos_GetAlbumsCount(ctx context.Context, req Photos_GetAlbumsCount_Request, options ...Option) (resp Photos_GetAlbumsCount_Response, apiErr ApiError, err error)

Photos_GetAlbumsCount Returns the number of photo albums belonging to a user or community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getAlbumsCount

func (*VK) Photos_GetAll

func (vk *VK) Photos_GetAll(ctx context.Context, req Photos_GetAll_Request, options ...Option) (resp Photos_GetAll_Response, apiErr ApiError, err error)

Photos_GetAll Returns a list of photos belonging to a user or community, in reverse chronological order. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Blocked ]

https://dev.vk.com/method/photos.getAll

func (*VK) Photos_GetAllComments

func (vk *VK) Photos_GetAllComments(ctx context.Context, req Photos_GetAllComments_Request, options ...Option) (resp Photos_GetAllComments_Response, apiErr ApiError, err error)

Photos_GetAllComments Returns a list of comments on a specific photo album or all albums of the user sorted in reverse chronological order. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamAlbumId ]

https://dev.vk.com/method/photos.getAllComments

func (*VK) Photos_GetAllExtended

func (vk *VK) Photos_GetAllExtended(ctx context.Context, req Photos_GetAll_Request, options ...Option) (resp Photos_GetAllExtended_Response, apiErr ApiError, err error)

Photos_GetAllExtended Returns a list of photos belonging to a user or community, in reverse chronological order. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Blocked ]

https://dev.vk.com/method/photos.getAll

func (*VK) Photos_GetById

func (vk *VK) Photos_GetById(ctx context.Context, req Photos_GetById_Request, options ...Option) (resp Photos_GetById_Response, apiErr ApiError, err error)

Photos_GetById Returns information about photos by their IDs. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getById

func (*VK) Photos_GetChatUploadServer

func (vk *VK) Photos_GetChatUploadServer(ctx context.Context, req Photos_GetChatUploadServer_Request, options ...Option) (resp Base_GetUploadServer_Response, apiErr ApiError, err error)

Photos_GetChatUploadServer Returns an upload link for chat cover pictures. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getChatUploadServer

func (*VK) Photos_GetComments

func (vk *VK) Photos_GetComments(ctx context.Context, req Photos_GetComments_Request, options ...Option) (resp Photos_GetComments_Response, apiErr ApiError, err error)

Photos_GetComments Returns a list of comments on a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getComments

func (*VK) Photos_GetCommentsExtended

func (vk *VK) Photos_GetCommentsExtended(ctx context.Context, req Photos_GetComments_Request, options ...Option) (resp Photos_GetCommentsExtended_Response, apiErr ApiError, err error)

Photos_GetCommentsExtended Returns a list of comments on a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getComments

func (*VK) Photos_GetMarketAlbumUploadServer

func (vk *VK) Photos_GetMarketAlbumUploadServer(ctx context.Context, req Photos_GetMarketAlbumUploadServer_Request, options ...Option) (resp Base_GetUploadServer_Response, apiErr ApiError, err error)

Photos_GetMarketAlbumUploadServer Returns the server address for market album photo upload. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketNotEnabled ]

https://dev.vk.com/method/photos.getMarketAlbumUploadServer

func (*VK) Photos_GetMarketUploadServer

func (vk *VK) Photos_GetMarketUploadServer(ctx context.Context, req Photos_GetMarketUploadServer_Request, options ...Option) (resp Photos_GetMarketUploadServer_Response, apiErr ApiError, err error)

Photos_GetMarketUploadServer Returns the server address for market photo upload. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MarketNotEnabled ]

https://dev.vk.com/method/photos.getMarketUploadServer

func (*VK) Photos_GetMessagesUploadServer

func (vk *VK) Photos_GetMessagesUploadServer(ctx context.Context, req Photos_GetMessagesUploadServer_Request, options ...Option) (resp Photos_GetMessagesUploadServer_Response, apiErr ApiError, err error)

Photos_GetMessagesUploadServer Returns the server address for photo upload in a private message for a user. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesDenySend ]

https://dev.vk.com/method/photos.getMessagesUploadServer

func (*VK) Photos_GetNewTags

func (vk *VK) Photos_GetNewTags(ctx context.Context, req Photos_GetNewTags_Request, options ...Option) (resp Photos_GetNewTags_Response, apiErr ApiError, err error)

Photos_GetNewTags Returns a list of photos with tags that have not been viewed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getNewTags

func (*VK) Photos_GetOwnerCoverPhotoUploadServer

func (vk *VK) Photos_GetOwnerCoverPhotoUploadServer(ctx context.Context, req Photos_GetOwnerCoverPhotoUploadServer_Request, options ...Option) (resp Base_GetUploadServer_Response, apiErr ApiError, err error)

Photos_GetOwnerCoverPhotoUploadServer Returns the server address for owner cover upload. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getOwnerCoverPhotoUploadServer

func (*VK) Photos_GetOwnerPhotoUploadServer

func (vk *VK) Photos_GetOwnerPhotoUploadServer(ctx context.Context, req Photos_GetOwnerPhotoUploadServer_Request, options ...Option) (resp Base_GetUploadServer_Response, apiErr ApiError, err error)

Photos_GetOwnerPhotoUploadServer Returns an upload server address for a profile or community photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getOwnerPhotoUploadServer

func (*VK) Photos_GetTags

func (vk *VK) Photos_GetTags(ctx context.Context, req Photos_GetTags_Request, options ...Option) (resp Photos_GetTags_Response, apiErr ApiError, err error)

Photos_GetTags Returns a list of tags on a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getTags

func (*VK) Photos_GetUploadServer

func (vk *VK) Photos_GetUploadServer(ctx context.Context, req Photos_GetUploadServer_Request, options ...Option) (resp Photos_GetUploadServer_Response, apiErr ApiError, err error)

Photos_GetUploadServer Returns the server address for photo upload. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getUploadServer

func (*VK) Photos_GetUserPhotos

func (vk *VK) Photos_GetUserPhotos(ctx context.Context, req Photos_GetUserPhotos_Request, options ...Option) (resp Photos_GetUserPhotos_Response, apiErr ApiError, err error)

Photos_GetUserPhotos Returns a list of photos in which a user is tagged. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getUserPhotos

func (*VK) Photos_GetWallUploadServer

func (vk *VK) Photos_GetWallUploadServer(ctx context.Context, req Photos_GetWallUploadServer_Request, options ...Option) (resp Photos_GetWallUploadServer_Response, apiErr ApiError, err error)

Photos_GetWallUploadServer Returns the server address for photo upload onto a user's wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.getWallUploadServer

func (*VK) Photos_MakeCover

func (vk *VK) Photos_MakeCover(ctx context.Context, req Photos_MakeCover_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_MakeCover Makes a photo into an album cover. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.makeCover

func (*VK) Photos_Move

func (vk *VK) Photos_Move(ctx context.Context, req Photos_Move_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_Move Moves a photo from one album to another. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.move

func (*VK) Photos_PutTag

func (vk *VK) Photos_PutTag(ctx context.Context, req Photos_PutTag_Request, options ...Option) (resp Photos_PutTag_Response, apiErr ApiError, err error)

Photos_PutTag Adds a tag on the photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.putTag

func (*VK) Photos_RemoveTag

func (vk *VK) Photos_RemoveTag(ctx context.Context, req Photos_RemoveTag_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_RemoveTag Removes a tag from a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.removeTag

func (*VK) Photos_ReorderAlbums

func (vk *VK) Photos_ReorderAlbums(ctx context.Context, req Photos_ReorderAlbums_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_ReorderAlbums Reorders the album in the list of user albums. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.reorderAlbums

func (*VK) Photos_ReorderPhotos

func (vk *VK) Photos_ReorderPhotos(ctx context.Context, req Photos_ReorderPhotos_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_ReorderPhotos Reorders the photo in the list of photos of the user album. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamPhotos ]

https://dev.vk.com/method/photos.reorderPhotos

func (*VK) Photos_Report

func (vk *VK) Photos_Report(ctx context.Context, req Photos_Report_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_Report Reports (submits a complaint about) a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.report

func (*VK) Photos_ReportComment

func (vk *VK) Photos_ReportComment(ctx context.Context, req Photos_ReportComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_ReportComment Reports (submits a complaint about) a comment on a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.reportComment

func (*VK) Photos_Restore

func (vk *VK) Photos_Restore(ctx context.Context, req Photos_Restore_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Photos_Restore Restores a deleted photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.restore

func (*VK) Photos_RestoreComment

func (vk *VK) Photos_RestoreComment(ctx context.Context, req Photos_RestoreComment_Request, options ...Option) (resp Photos_RestoreComment_Response, apiErr ApiError, err error)

Photos_RestoreComment Restores a deleted comment on a photo. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.restoreComment

func (*VK) Photos_Save

func (vk *VK) Photos_Save(ctx context.Context, req Photos_Save_Request, options ...Option) (resp Photos_Save_Response, apiErr ApiError, err error)

Photos_Save Saves photos after successful uploading. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamAlbumId, Error_ParamServer, Error_ParamHash ]

https://dev.vk.com/method/photos.save

func (*VK) Photos_SaveMarketAlbumPhoto

func (vk *VK) Photos_SaveMarketAlbumPhoto(ctx context.Context, req Photos_SaveMarketAlbumPhoto_Request, options ...Option) (resp Photos_SaveMarketAlbumPhoto_Response, apiErr ApiError, err error)

Photos_SaveMarketAlbumPhoto Saves market album photos after successful uploading. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamHash, Error_ParamPhoto, Error_MarketNotEnabled ]

https://dev.vk.com/method/photos.saveMarketAlbumPhoto

func (*VK) Photos_SaveMarketPhoto

func (vk *VK) Photos_SaveMarketPhoto(ctx context.Context, req Photos_SaveMarketPhoto_Request, options ...Option) (resp Photos_SaveMarketPhoto_Response, apiErr ApiError, err error)

Photos_SaveMarketPhoto Saves market photos after successful uploading. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamHash, Error_ParamPhoto, Error_MarketNotEnabled ]

https://dev.vk.com/method/photos.saveMarketPhoto

func (*VK) Photos_SaveMessagesPhoto

func (vk *VK) Photos_SaveMessagesPhoto(ctx context.Context, req Photos_SaveMessagesPhoto_Request, options ...Option) (resp Photos_SaveMessagesPhoto_Response, apiErr ApiError, err error)

Photos_SaveMessagesPhoto Saves a photo after being successfully uploaded. URL obtained with [vk.com/dev/photos.getMessagesUploadServer|photos.getMessagesUploadServer] method. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamAlbumId, Error_ParamServer, Error_ParamHash ]

https://dev.vk.com/method/photos.saveMessagesPhoto

func (*VK) Photos_SaveOwnerCoverPhoto

func (vk *VK) Photos_SaveOwnerCoverPhoto(ctx context.Context, req Photos_SaveOwnerCoverPhoto_Request, options ...Option) (resp Photos_SaveOwnerCoverPhoto_Response, apiErr ApiError, err error)

Photos_SaveOwnerCoverPhoto Saves cover photo after successful uploading. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamPhoto ]

https://dev.vk.com/method/photos.saveOwnerCoverPhoto

func (*VK) Photos_SaveOwnerPhoto

func (vk *VK) Photos_SaveOwnerPhoto(ctx context.Context, req Photos_SaveOwnerPhoto_Request, options ...Option) (resp Photos_SaveOwnerPhoto_Response, apiErr ApiError, err error)

Photos_SaveOwnerPhoto Saves a profile or community photo. Upload URL can be got with the [vk.com/dev/photos.getOwnerPhotoUploadServer|photos.getOwnerPhotoUploadServer] method. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamPhoto ]

https://dev.vk.com/method/photos.saveOwnerPhoto

func (*VK) Photos_SaveWallPhoto

func (vk *VK) Photos_SaveWallPhoto(ctx context.Context, req Photos_SaveWallPhoto_Request, options ...Option) (resp Photos_SaveWallPhoto_Response, apiErr ApiError, err error)

Photos_SaveWallPhoto Saves a photo to a user's or community's wall after being uploaded. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamAlbumId, Error_ParamServer, Error_ParamHash ]

https://dev.vk.com/method/photos.saveWallPhoto

func (vk *VK) Photos_Search(ctx context.Context, req Photos_Search_Request, options ...Option) (resp Photos_Search_Response, apiErr ApiError, err error)

Photos_Search Returns a list of photos. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/photos.search

func (*VK) Podcasts_SearchPodcast

func (vk *VK) Podcasts_SearchPodcast(ctx context.Context, req Podcasts_SearchPodcast_Request, options ...Option) (resp Podcasts_SearchPodcast_Response, apiErr ApiError, err error)

Podcasts_SearchPodcast ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/podcasts.searchPodcast

func (*VK) Polls_AddVote

func (vk *VK) Polls_AddVote(ctx context.Context, req Polls_AddVote_Request, options ...Option) (resp Polls_AddVote_Response, apiErr ApiError, err error)

Polls_AddVote Adds the current user's vote to the selected answer in the poll. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_PollsAccess, Error_PollsAnswerId, Error_PollsPollId ]

https://dev.vk.com/method/polls.addVote

func (*VK) Polls_Create

func (vk *VK) Polls_Create(ctx context.Context, req Polls_Create_Request, options ...Option) (resp Polls_Create_Response, apiErr ApiError, err error)

Polls_Create Creates polls that can be attached to the users' or communities' posts. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/polls.create

func (*VK) Polls_DeleteVote

func (vk *VK) Polls_DeleteVote(ctx context.Context, req Polls_DeleteVote_Request, options ...Option) (resp Polls_DeleteVote_Response, apiErr ApiError, err error)

Polls_DeleteVote Deletes the current user's vote from the selected answer in the poll. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_PollsAccess, Error_PollsAnswerId, Error_PollsPollId ]

https://dev.vk.com/method/polls.deleteVote

func (*VK) Polls_Edit

func (vk *VK) Polls_Edit(ctx context.Context, req Polls_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Polls_Edit Edits created polls May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/polls.edit

func (*VK) Polls_GetBackgrounds

func (vk *VK) Polls_GetBackgrounds(ctx context.Context, options ...Option) (resp Polls_GetBackgrounds_Response, apiErr ApiError, err error)

Polls_GetBackgrounds ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/polls.getBackgrounds

func (*VK) Polls_GetById

func (vk *VK) Polls_GetById(ctx context.Context, req Polls_GetById_Request, options ...Option) (resp Polls_GetById_Response, apiErr ApiError, err error)

Polls_GetById Returns detailed information about a poll by its ID. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_PollsAccess ]

https://dev.vk.com/method/polls.getById

func (*VK) Polls_GetPhotoUploadServer

func (vk *VK) Polls_GetPhotoUploadServer(ctx context.Context, req Polls_GetPhotoUploadServer_Request, options ...Option) (resp Base_GetUploadServer_Response, apiErr ApiError, err error)

Polls_GetPhotoUploadServer ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/polls.getPhotoUploadServer

func (*VK) Polls_GetVoters

func (vk *VK) Polls_GetVoters(ctx context.Context, req Polls_GetVoters_Request, options ...Option) (resp Polls_GetVoters_Response, apiErr ApiError, err error)

Polls_GetVoters Returns a list of IDs of users who selected specific answers in the poll. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_PollsAccess, Error_PollsAnswerId, Error_PollsPollId, Error_PollsAccessWithoutVote ]

https://dev.vk.com/method/polls.getVoters

func (*VK) Polls_SavePhoto

func (vk *VK) Polls_SavePhoto(ctx context.Context, req Polls_SavePhoto_Request, options ...Option) (resp Polls_SavePhoto_Response, apiErr ApiError, err error)

Polls_SavePhoto ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ParamPhoto ]

https://dev.vk.com/method/polls.savePhoto

func (*VK) PrettyCards_Create

func (vk *VK) PrettyCards_Create(ctx context.Context, req PrettyCards_Create_Request, options ...Option) (resp PrettyCards_Create_Response, apiErr ApiError, err error)

PrettyCards_Create ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_PrettyCardsTooManyCards ]

https://dev.vk.com/method/prettyCards.create

func (*VK) PrettyCards_Delete

func (vk *VK) PrettyCards_Delete(ctx context.Context, req PrettyCards_Delete_Request, options ...Option) (resp PrettyCards_Delete_Response, apiErr ApiError, err error)

PrettyCards_Delete ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_PrettyCardsCardNotFound, Error_PrettyCardsCardIsConnectedToPost ]

https://dev.vk.com/method/prettyCards.delete

func (*VK) PrettyCards_Edit

func (vk *VK) PrettyCards_Edit(ctx context.Context, req PrettyCards_Edit_Request, options ...Option) (resp PrettyCards_Edit_Response, apiErr ApiError, err error)

PrettyCards_Edit ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_PrettyCardsCardNotFound ]

https://dev.vk.com/method/prettyCards.edit

func (*VK) PrettyCards_Get

func (vk *VK) PrettyCards_Get(ctx context.Context, req PrettyCards_Get_Request, options ...Option) (resp PrettyCards_Get_Response, apiErr ApiError, err error)

PrettyCards_Get ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/prettyCards.get

func (*VK) PrettyCards_GetById

func (vk *VK) PrettyCards_GetById(ctx context.Context, req PrettyCards_GetById_Request, options ...Option) (resp PrettyCards_GetById_Response, apiErr ApiError, err error)

PrettyCards_GetById ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/prettyCards.getById

func (*VK) PrettyCards_GetUploadURL

func (vk *VK) PrettyCards_GetUploadURL(ctx context.Context, options ...Option) (resp PrettyCards_GetUploadURL_Response, apiErr ApiError, err error)

PrettyCards_GetUploadURL ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/prettyCards.getUploadURL

func (*VK) Search_GetHints

func (vk *VK) Search_GetHints(ctx context.Context, req Search_GetHints_Request, options ...Option) (resp Search_GetHints_Response, apiErr ApiError, err error)

Search_GetHints Allows the programmer to do a quick search for any substring. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/search.getHints

func (*VK) Secure_AddAppEvent

func (vk *VK) Secure_AddAppEvent(ctx context.Context, req Secure_AddAppEvent_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Secure_AddAppEvent Adds user activity information to an application May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AppsAlreadyUnlocked ]

https://dev.vk.com/method/secure.addAppEvent

func (*VK) Secure_CheckToken

func (vk *VK) Secure_CheckToken(ctx context.Context, req Secure_CheckToken_Request, options ...Option) (resp Secure_CheckToken_Response, apiErr ApiError, err error)

Secure_CheckToken Checks the user authentication in 'IFrame' and 'Flash' apps using the 'access_token' parameter. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.checkToken

func (*VK) Secure_GetAppBalance

func (vk *VK) Secure_GetAppBalance(ctx context.Context, options ...Option) (resp Secure_GetAppBalance_Response, apiErr ApiError, err error)

Secure_GetAppBalance Returns payment balance of the application in hundredth of a vote. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.getAppBalance

func (*VK) Secure_GetSMSHistory

func (vk *VK) Secure_GetSMSHistory(ctx context.Context, req Secure_GetSMSHistory_Request, options ...Option) (resp Secure_GetSMSHistory_Response, apiErr ApiError, err error)

Secure_GetSMSHistory Shows a list of SMS notifications sent by the application using [vk.com/dev/secure.sendSMSNotification|secure.sendSMSNotification] method. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.getSMSHistory

func (*VK) Secure_GetTransactionsHistory

func (vk *VK) Secure_GetTransactionsHistory(ctx context.Context, req Secure_GetTransactionsHistory_Request, options ...Option) (resp Secure_GetTransactionsHistory_Response, apiErr ApiError, err error)

Secure_GetTransactionsHistory Shows history of votes transaction between users and the application. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.getTransactionsHistory

func (*VK) Secure_GetUserLevel

func (vk *VK) Secure_GetUserLevel(ctx context.Context, req Secure_GetUserLevel_Request, options ...Option) (resp Secure_GetUserLevel_Response, apiErr ApiError, err error)

Secure_GetUserLevel Returns one of the previously set game levels of one or more users in the application. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.getUserLevel

func (*VK) Secure_GiveEventSticker

func (vk *VK) Secure_GiveEventSticker(ctx context.Context, req Secure_GiveEventSticker_Request, options ...Option) (resp Secure_GiveEventSticker_Response, apiErr ApiError, err error)

Secure_GiveEventSticker Opens the game achievement and gives the user a sticker May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.giveEventSticker

func (*VK) Secure_SendNotification

func (vk *VK) Secure_SendNotification(ctx context.Context, req Secure_SendNotification_Request, options ...Option) (resp Secure_SendNotification_Response, apiErr ApiError, err error)

Secure_SendNotification Sends notification to the user. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.sendNotification

func (*VK) Secure_SendSMSNotification

func (vk *VK) Secure_SendSMSNotification(ctx context.Context, req Secure_SendSMSNotification_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Secure_SendSMSNotification Sends 'SMS' notification to a user's mobile device. May execute with listed access token types:

[ service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_InsufficientFunds, Error_MobileNotActivated ]

https://dev.vk.com/method/secure.sendSMSNotification

func (*VK) Secure_SetCounter

func (vk *VK) Secure_SetCounter(ctx context.Context, req Secure_SetCounter_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Secure_SetCounter Sets a counter which is shown to the user in bold in the left menu. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.setCounter

func (*VK) Secure_SetCounterCounters

func (vk *VK) Secure_SetCounterCounters(ctx context.Context, req Secure_SetCounterCounters_Request, options ...Option) (resp Secure_SetCounterArray_Response, apiErr ApiError, err error)

Secure_SetCounterCounters Sets a counter which is shown to the user in bold in the left menu. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.setCounter

func (*VK) Secure_SetCounterNotSecure

func (vk *VK) Secure_SetCounterNotSecure(ctx context.Context, req Secure_SetCounterNotSecure_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Secure_SetCounterNotSecure Sets a counter which is shown to the user in bold in the left menu. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/secure.setCounter

func (*VK) SetToken

func (vk *VK) SetToken(token string)

SetToken set access token

func (*VK) Stats_Get

func (vk *VK) Stats_Get(ctx context.Context, req Stats_Get_Request, options ...Option) (resp Stats_Get_Response, apiErr ApiError, err error)

Stats_Get Returns statistics of a community or an application. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stats.get

func (*VK) Stats_GetPostReach

func (vk *VK) Stats_GetPostReach(ctx context.Context, req Stats_GetPostReach_Request, options ...Option) (resp Stats_GetPostReach_Response, apiErr ApiError, err error)

Stats_GetPostReach Returns stats for a wall post. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessPost ]

https://dev.vk.com/method/stats.getPostReach

func (*VK) Stats_TrackVisitor

func (vk *VK) Stats_TrackVisitor(ctx context.Context, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Stats_TrackVisitor ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stats.trackVisitor

func (*VK) Status_Get

func (vk *VK) Status_Get(ctx context.Context, req Status_Get_Request, options ...Option) (resp Status_Get_Response, apiErr ApiError, err error)

Status_Get Returns data required to show the status of a user or community. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/status.get

func (*VK) Status_Set

func (vk *VK) Status_Set(ctx context.Context, req Status_Set_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Status_Set Sets a new status for the current user. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_StatusNoAudio ]

https://dev.vk.com/method/status.set

func (*VK) Storage_Get

func (vk *VK) Storage_Get(ctx context.Context, req Storage_Get_Request, options ...Option) (resp Storage_Get_Response, apiErr ApiError, err error)

Storage_Get Returns a value of variable with the name set by key parameter. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/storage.get

func (*VK) Storage_GetKeys

func (vk *VK) Storage_GetKeys(ctx context.Context, req Storage_GetKeys_Request, options ...Option) (resp Storage_GetKeys_Response, apiErr ApiError, err error)

Storage_GetKeys Returns the names of all variables. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/storage.getKeys

func (*VK) Storage_Set

func (vk *VK) Storage_Set(ctx context.Context, req Storage_Set_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Storage_Set Saves a value of variable with the name set by 'key' parameter. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Limits ]

https://dev.vk.com/method/storage.set

func (*VK) Store_AddStickersToFavorite

func (vk *VK) Store_AddStickersToFavorite(ctx context.Context, req Store_AddStickersToFavorite_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Store_AddStickersToFavorite Adds given sticker IDs to the list of user's favorite stickers May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_StickersNotPurchased, Error_StickersTooManyFavorites ]

https://dev.vk.com/method/store.addStickersToFavorite

func (*VK) Store_GetFavoriteStickers

func (vk *VK) Store_GetFavoriteStickers(ctx context.Context, options ...Option) (resp Store_GetFavoriteStickers_Response, apiErr ApiError, err error)

Store_GetFavoriteStickers ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/store.getFavoriteStickers

func (*VK) Store_GetProducts

func (vk *VK) Store_GetProducts(ctx context.Context, req Store_GetProducts_Request, options ...Option) (resp Store_GetProducts_Response, apiErr ApiError, err error)

Store_GetProducts ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/store.getProducts

func (*VK) Store_GetStickersKeywords

func (vk *VK) Store_GetStickersKeywords(ctx context.Context, req Store_GetStickersKeywords_Request, options ...Option) (resp Store_GetStickersKeywords_Response, apiErr ApiError, err error)

Store_GetStickersKeywords ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/store.getStickersKeywords

func (*VK) Store_RemoveStickersFromFavorite

func (vk *VK) Store_RemoveStickersFromFavorite(ctx context.Context, req Store_RemoveStickersFromFavorite_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Store_RemoveStickersFromFavorite Removes given sticker IDs from the list of user's favorite stickers May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_StickersNotFavorite ]

https://dev.vk.com/method/store.removeStickersFromFavorite

func (*VK) Stories_BanOwner

func (vk *VK) Stories_BanOwner(ctx context.Context, req Stories_BanOwner_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Stories_BanOwner Allows to hide stories from chosen sources from current user's feed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.banOwner

func (*VK) Stories_Delete

func (vk *VK) Stories_Delete(ctx context.Context, req Stories_Delete_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Stories_Delete Allows to delete story. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.delete

func (*VK) Stories_Get

func (vk *VK) Stories_Get(ctx context.Context, req Stories_Get_Request, options ...Option) (resp Stories_GetV5113_Response, apiErr ApiError, err error)

Stories_Get Returns stories available for current user. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.get

func (*VK) Stories_GetBanned

func (vk *VK) Stories_GetBanned(ctx context.Context, req Stories_GetBanned_Request, options ...Option) (resp Stories_GetBanned_Response, apiErr ApiError, err error)

Stories_GetBanned Returns list of sources hidden from current user's feed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.getBanned

func (*VK) Stories_GetBannedExtended

func (vk *VK) Stories_GetBannedExtended(ctx context.Context, req Stories_GetBanned_Request, options ...Option) (resp Stories_GetBannedExtended_Response, apiErr ApiError, err error)

Stories_GetBannedExtended Returns list of sources hidden from current user's feed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.getBanned

func (*VK) Stories_GetById

func (vk *VK) Stories_GetById(ctx context.Context, req Stories_GetById_Request, options ...Option) (resp Stories_GetByIdExtended_Response, apiErr ApiError, err error)

Stories_GetById Returns story by its ID. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_StoryExpired ]

https://dev.vk.com/method/stories.getById

func (*VK) Stories_GetPhotoUploadServer

func (vk *VK) Stories_GetPhotoUploadServer(ctx context.Context, req Stories_GetPhotoUploadServer_Request, options ...Option) (resp Stories_GetPhotoUploadServer_Response, apiErr ApiError, err error)

Stories_GetPhotoUploadServer Returns URL for uploading a story with photo. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesUserBlocked, Error_StoryIncorrectReplyPrivacy, Error_Blocked ]

https://dev.vk.com/method/stories.getPhotoUploadServer

func (*VK) Stories_GetReplies

func (vk *VK) Stories_GetReplies(ctx context.Context, req Stories_GetReplies_Request, options ...Option) (resp Stories_GetV5113_Response, apiErr ApiError, err error)

Stories_GetReplies Returns replies to the story. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.getReplies

func (*VK) Stories_GetStats

func (vk *VK) Stories_GetStats(ctx context.Context, req Stories_GetStats_Request, options ...Option) (resp Stories_GetStats_Response, apiErr ApiError, err error)

Stories_GetStats Returns stories available for current user. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.getStats

func (*VK) Stories_GetVideoUploadServer

func (vk *VK) Stories_GetVideoUploadServer(ctx context.Context, req Stories_GetVideoUploadServer_Request, options ...Option) (resp Stories_GetVideoUploadServer_Response, apiErr ApiError, err error)

Stories_GetVideoUploadServer Allows to receive URL for uploading story with video. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_MessagesUserBlocked, Error_StoryIncorrectReplyPrivacy, Error_Blocked ]

https://dev.vk.com/method/stories.getVideoUploadServer

func (*VK) Stories_GetViewers

func (vk *VK) Stories_GetViewers(ctx context.Context, req Stories_GetViewers_Request, options ...Option) (resp Stories_GetViewersExtendedV5115_Response, apiErr ApiError, err error)

Stories_GetViewers Returns a list of story viewers. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_StoryExpired ]

https://dev.vk.com/method/stories.getViewers

func (*VK) Stories_GetViewersExtended

func (vk *VK) Stories_GetViewersExtended(ctx context.Context, req Stories_GetViewers_Request, options ...Option) (resp Stories_GetViewersExtendedV5115_Response, apiErr ApiError, err error)

Stories_GetViewersExtended Returns a list of story viewers. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_StoryExpired ]

https://dev.vk.com/method/stories.getViewers

func (*VK) Stories_HideAllReplies

func (vk *VK) Stories_HideAllReplies(ctx context.Context, req Stories_HideAllReplies_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Stories_HideAllReplies Hides all replies in the last 24 hours from the user to current user's stories. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.hideAllReplies

func (*VK) Stories_HideReply

func (vk *VK) Stories_HideReply(ctx context.Context, req Stories_HideReply_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Stories_HideReply Hides the reply to the current user's story. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.hideReply

func (*VK) Stories_Save

func (vk *VK) Stories_Save(ctx context.Context, req Stories_Save_Request, options ...Option) (resp Stories_Save_Response, apiErr ApiError, err error)

Stories_Save ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.save

func (vk *VK) Stories_Search(ctx context.Context, req Stories_Search_Request, options ...Option) (resp Stories_GetV5113_Response, apiErr ApiError, err error)

Stories_Search ... May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.search

func (*VK) Stories_SendInteraction

func (vk *VK) Stories_SendInteraction(ctx context.Context, req Stories_SendInteraction_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Stories_SendInteraction ... May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.sendInteraction

func (*VK) Stories_UnbanOwner

func (vk *VK) Stories_UnbanOwner(ctx context.Context, req Stories_UnbanOwner_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Stories_UnbanOwner Allows to show stories from hidden sources in current user's feed. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/stories.unbanOwner

func (*VK) Streaming_GetServerUrl

func (vk *VK) Streaming_GetServerUrl(ctx context.Context, options ...Option) (resp Streaming_GetServerUrl_Response, apiErr ApiError, err error)

Streaming_GetServerUrl Allows to receive data for the connection to Streaming API. May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/streaming.getServerUrl

func (*VK) Streaming_SetSettings

func (vk *VK) Streaming_SetSettings(ctx context.Context, req Streaming_SetSettings_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Streaming_SetSettings ... May execute with listed access token types:

[ service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/streaming.setSettings

func (*VK) Users_Get

func (vk *VK) Users_Get(ctx context.Context, req Users_Get_Request, options ...Option) (resp Users_Get_Response, apiErr ApiError, err error)

Users_Get Returns detailed information on users. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/users.get

func (*VK) Users_GetFollowers

func (vk *VK) Users_GetFollowers(ctx context.Context, req Users_GetFollowers_Request, options ...Option) (resp Users_GetFollowers_Response, apiErr ApiError, err error)

Users_GetFollowers Returns a list of IDs of followers of the user in question, sorted by date added, most recent first. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/users.getFollowers

func (*VK) Users_GetSubscriptions

func (vk *VK) Users_GetSubscriptions(ctx context.Context, req Users_GetSubscriptions_Request, options ...Option) (resp Users_GetSubscriptions_Response, apiErr ApiError, err error)

Users_GetSubscriptions Returns a list of IDs of users and communities followed by the user. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/users.getSubscriptions

func (*VK) Users_GetSubscriptionsExtended

func (vk *VK) Users_GetSubscriptionsExtended(ctx context.Context, req Users_GetSubscriptions_Request, options ...Option) (resp Users_GetSubscriptionsExtended_Response, apiErr ApiError, err error)

Users_GetSubscriptionsExtended Returns a list of IDs of users and communities followed by the user. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/users.getSubscriptions

func (*VK) Users_Report

func (vk *VK) Users_Report(ctx context.Context, req Users_Report_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Users_Report Reports (submits a complain about) a user. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/users.report

func (vk *VK) Users_Search(ctx context.Context, req Users_Search_Request, options ...Option) (resp Users_Search_Response, apiErr ApiError, err error)

Users_Search Returns a list of users matching the search criteria. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/users.search

func (vk *VK) Utils_CheckLink(ctx context.Context, req Utils_CheckLink_Request, options ...Option) (resp Utils_CheckLink_Response, apiErr ApiError, err error)

Utils_CheckLink Checks whether a link is blocked in VK. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/utils.checkLink

func (*VK) Utils_DeleteFromLastShortened

func (vk *VK) Utils_DeleteFromLastShortened(ctx context.Context, req Utils_DeleteFromLastShortened_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Utils_DeleteFromLastShortened Deletes shortened link from user's list. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/utils.deleteFromLastShortened

func (vk *VK) Utils_GetLastShortenedLinks(ctx context.Context, req Utils_GetLastShortenedLinks_Request, options ...Option) (resp Utils_GetLastShortenedLinks_Response, apiErr ApiError, err error)

Utils_GetLastShortenedLinks Returns a list of user's shortened links. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/utils.getLastShortenedLinks

func (*VK) Utils_GetLinkStats

func (vk *VK) Utils_GetLinkStats(ctx context.Context, req Utils_GetLinkStats_Request, options ...Option) (resp Utils_GetLinkStats_Response, apiErr ApiError, err error)

Utils_GetLinkStats Returns stats data for shortened link. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/utils.getLinkStats

func (*VK) Utils_GetLinkStatsExtended

func (vk *VK) Utils_GetLinkStatsExtended(ctx context.Context, req Utils_GetLinkStats_Request, options ...Option) (resp Utils_GetLinkStatsExtended_Response, apiErr ApiError, err error)

Utils_GetLinkStatsExtended Returns stats data for shortened link. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_NotFound ]

https://dev.vk.com/method/utils.getLinkStats

func (*VK) Utils_GetServerTime

func (vk *VK) Utils_GetServerTime(ctx context.Context, options ...Option) (resp Utils_GetServerTime_Response, apiErr ApiError, err error)

Utils_GetServerTime Returns the current time of the VK server. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/utils.getServerTime

func (vk *VK) Utils_GetShortLink(ctx context.Context, req Utils_GetShortLink_Request, options ...Option) (resp Utils_GetShortLink_Response, apiErr ApiError, err error)

Utils_GetShortLink Allows to receive a link shortened via vk.cc. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/utils.getShortLink

func (*VK) Utils_ResolveScreenName

func (vk *VK) Utils_ResolveScreenName(ctx context.Context, req Utils_ResolveScreenName_Request, options ...Option) (resp Utils_ResolveScreenName_Response, apiErr ApiError, err error)

Utils_ResolveScreenName Detects a type of object (e.g., user, community, application) and its ID by screen name. May execute with listed access token types:

[ user, group, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/utils.resolveScreenName

func (*VK) Video_Add

func (vk *VK) Video_Add(ctx context.Context, req Video_Add_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_Add Adds a video to a user or community page. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo, Error_VideoAlreadyAdded ]

https://dev.vk.com/method/video.add

func (*VK) Video_AddAlbum

func (vk *VK) Video_AddAlbum(ctx context.Context, req Video_AddAlbum_Request, options ...Option) (resp Video_AddAlbum_Response, apiErr ApiError, err error)

Video_AddAlbum Creates an empty album for videos. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo, Error_AlbumsLimit ]

https://dev.vk.com/method/video.addAlbum

func (*VK) Video_AddToAlbum

func (vk *VK) Video_AddToAlbum(ctx context.Context, req Video_AddToAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_AddToAlbum ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo, Error_VideoAlreadyAdded ]

https://dev.vk.com/method/video.addToAlbum

func (*VK) Video_CreateComment

func (vk *VK) Video_CreateComment(ctx context.Context, req Video_CreateComment_Request, options ...Option) (resp Video_CreateComment_Response, apiErr ApiError, err error)

Video_CreateComment Adds a new comment on a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_VideoCommentsClosed ]

https://dev.vk.com/method/video.createComment

func (*VK) Video_Delete

func (vk *VK) Video_Delete(ctx context.Context, req Video_Delete_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_Delete Deletes a video from a user or community page. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.delete

func (*VK) Video_DeleteAlbum

func (vk *VK) Video_DeleteAlbum(ctx context.Context, req Video_DeleteAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_DeleteAlbum Deletes a video album. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.deleteAlbum

func (*VK) Video_DeleteComment

func (vk *VK) Video_DeleteComment(ctx context.Context, req Video_DeleteComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_DeleteComment Deletes a comment on a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.deleteComment

func (*VK) Video_Edit

func (vk *VK) Video_Edit(ctx context.Context, req Video_Edit_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_Edit Edits information about a video on a user or community page. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.edit

func (*VK) Video_EditAlbum

func (vk *VK) Video_EditAlbum(ctx context.Context, req Video_EditAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_EditAlbum Edits the title of a video album. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.editAlbum

func (*VK) Video_EditComment

func (vk *VK) Video_EditComment(ctx context.Context, req Video_EditComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_EditComment Edits the text of a comment on a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.editComment

func (*VK) Video_Get

func (vk *VK) Video_Get(ctx context.Context, req Video_Get_Request, options ...Option) (resp Video_Get_Response, apiErr ApiError, err error)

Video_Get Returns detailed information about videos. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.get

func (*VK) Video_GetAlbumById

func (vk *VK) Video_GetAlbumById(ctx context.Context, req Video_GetAlbumById_Request, options ...Option) (resp Video_GetAlbumById_Response, apiErr ApiError, err error)

Video_GetAlbumById Returns video album info May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.getAlbumById

func (*VK) Video_GetAlbums

func (vk *VK) Video_GetAlbums(ctx context.Context, req Video_GetAlbums_Request, options ...Option) (resp Video_GetAlbums_Response, apiErr ApiError, err error)

Video_GetAlbums Returns a list of video albums owned by a user or community. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.getAlbums

func (*VK) Video_GetAlbumsByVideo

func (vk *VK) Video_GetAlbumsByVideo(ctx context.Context, req Video_GetAlbumsByVideo_Request, options ...Option) (resp Video_GetAlbumsByVideo_Response, apiErr ApiError, err error)

Video_GetAlbumsByVideo ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.getAlbumsByVideo

func (*VK) Video_GetAlbumsByVideoExtended

func (vk *VK) Video_GetAlbumsByVideoExtended(ctx context.Context, req Video_GetAlbumsByVideo_Request, options ...Option) (resp Video_GetAlbumsByVideoExtended_Response, apiErr ApiError, err error)

Video_GetAlbumsByVideoExtended ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.getAlbumsByVideo

func (*VK) Video_GetAlbumsExtended

func (vk *VK) Video_GetAlbumsExtended(ctx context.Context, req Video_GetAlbums_Request, options ...Option) (resp Video_GetAlbumsExtended_Response, apiErr ApiError, err error)

Video_GetAlbumsExtended Returns a list of video albums owned by a user or community. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.getAlbums

func (*VK) Video_GetComments

func (vk *VK) Video_GetComments(ctx context.Context, req Video_GetComments_Request, options ...Option) (resp Video_GetComments_Response, apiErr ApiError, err error)

Video_GetComments Returns a list of comments on a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_VideoCommentsClosed ]

https://dev.vk.com/method/video.getComments

func (*VK) Video_GetCommentsExtended

func (vk *VK) Video_GetCommentsExtended(ctx context.Context, req Video_GetComments_Request, options ...Option) (resp Video_GetCommentsExtended_Response, apiErr ApiError, err error)

Video_GetCommentsExtended Returns a list of comments on a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_VideoCommentsClosed ]

https://dev.vk.com/method/video.getComments

func (*VK) Video_RemoveFromAlbum

func (vk *VK) Video_RemoveFromAlbum(ctx context.Context, req Video_RemoveFromAlbum_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_RemoveFromAlbum ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.removeFromAlbum

func (*VK) Video_ReorderAlbums

func (vk *VK) Video_ReorderAlbums(ctx context.Context, req Video_ReorderAlbums_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_ReorderAlbums Reorders the album in the list of user video albums. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo, Error_NotFound ]

https://dev.vk.com/method/video.reorderAlbums

func (*VK) Video_ReorderVideos

func (vk *VK) Video_ReorderVideos(ctx context.Context, req Video_ReorderVideos_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_ReorderVideos Reorders the video in the video album. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo ]

https://dev.vk.com/method/video.reorderVideos

func (*VK) Video_Report

func (vk *VK) Video_Report(ctx context.Context, req Video_Report_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_Report Reports (submits a complaint about) a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.report

func (*VK) Video_ReportComment

func (vk *VK) Video_ReportComment(ctx context.Context, req Video_ReportComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_ReportComment Reports (submits a complaint about) a comment on a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.reportComment

func (*VK) Video_Restore

func (vk *VK) Video_Restore(ctx context.Context, req Video_Restore_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Video_Restore Restores a previously deleted video. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.restore

func (*VK) Video_RestoreComment

func (vk *VK) Video_RestoreComment(ctx context.Context, req Video_RestoreComment_Request, options ...Option) (resp Video_RestoreComment_Response, apiErr ApiError, err error)

Video_RestoreComment Restores a previously deleted comment on a video. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/video.restoreComment

func (*VK) Video_Save

func (vk *VK) Video_Save(ctx context.Context, req Video_Save_Request, options ...Option) (resp Video_Save_Response, apiErr ApiError, err error)

Video_Save Returns a server address (required for upload) and video data. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_AccessVideo, Error_WallAddPost, Error_WallAdsPublished, Error_Upload, Error_GroupHostNeed2fa ]

https://dev.vk.com/method/video.save

func (vk *VK) Video_Search(ctx context.Context, req Video_Search_Request, options ...Option) (resp Video_Search_Response, apiErr ApiError, err error)

Video_Search Returns a list of videos under the set search criterion. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ActionFailed ]

https://dev.vk.com/method/video.search

func (*VK) Video_SearchExtended

func (vk *VK) Video_SearchExtended(ctx context.Context, req Video_Search_Request, options ...Option) (resp Video_SearchExtended_Response, apiErr ApiError, err error)

Video_SearchExtended Returns a list of videos under the set search criterion. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_ActionFailed ]

https://dev.vk.com/method/video.search

func (vk *VK) Wall_CheckCopyrightLink(ctx context.Context, req Wall_CheckCopyrightLink_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Wall_CheckCopyrightLink ... May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallCheckLinkCantDetermineSource ]

https://dev.vk.com/method/wall.checkCopyrightLink

func (*VK) Wall_CloseComments

func (vk *VK) Wall_CloseComments(ctx context.Context, req Wall_CloseComments_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Wall_CloseComments ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.closeComments

func (*VK) Wall_CreateComment

func (vk *VK) Wall_CreateComment(ctx context.Context, req Wall_CreateComment_Request, options ...Option) (resp Wall_CreateComment_Response, apiErr ApiError, err error)

Wall_CreateComment Adds a comment to a post on a user wall or community wall. May execute with listed access token types:

[ user, group ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessAddReply, Error_WallReplyOwnerFlood, Error_WallLinksForbidden, Error_WallAccessReplies ]

https://dev.vk.com/method/wall.createComment

func (*VK) Wall_Delete

func (vk *VK) Wall_Delete(ctx context.Context, req Wall_Delete_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_Delete Deletes a post from a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessPost ]

https://dev.vk.com/method/wall.delete

func (*VK) Wall_DeleteComment

func (vk *VK) Wall_DeleteComment(ctx context.Context, req Wall_DeleteComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_DeleteComment Deletes a comment on a post on a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessComment ]

https://dev.vk.com/method/wall.deleteComment

func (*VK) Wall_Edit

func (vk *VK) Wall_Edit(ctx context.Context, req Wall_Edit_Request, options ...Option) (resp Wall_Edit_Response, apiErr ApiError, err error)

Wall_Edit Edits a post on a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAdsPostLimitReached, Error_WallDonut ]

https://dev.vk.com/method/wall.edit

func (*VK) Wall_EditAdsStealth

func (vk *VK) Wall_EditAdsStealth(ctx context.Context, req Wall_EditAdsStealth_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_EditAdsStealth Allows to edit hidden post. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAdsPostLimitReached ]

https://dev.vk.com/method/wall.editAdsStealth

func (*VK) Wall_EditComment

func (vk *VK) Wall_EditComment(ctx context.Context, req Wall_EditComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_EditComment Edits a comment on a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.editComment

func (*VK) Wall_Get

func (vk *VK) Wall_Get(ctx context.Context, req Wall_Get_Request, options ...Option) (resp Wall_Get_Response, apiErr ApiError, err error)

Wall_Get Returns a list of posts on a user wall or community wall. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Blocked ]

https://dev.vk.com/method/wall.get

func (*VK) Wall_GetById

func (vk *VK) Wall_GetById(ctx context.Context, req Wall_GetById_Request, options ...Option) (resp Wall_GetByIdLegacy_Response, apiErr ApiError, err error)

Wall_GetById Returns a list of posts from user or community walls by their IDs. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.getById

func (*VK) Wall_GetByIdExtended

func (vk *VK) Wall_GetByIdExtended(ctx context.Context, req Wall_GetById_Request, options ...Option) (resp Wall_GetByIdExtended_Response, apiErr ApiError, err error)

Wall_GetByIdExtended Returns a list of posts from user or community walls by their IDs. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.getById

func (*VK) Wall_GetComment

func (vk *VK) Wall_GetComment(ctx context.Context, req Wall_GetComment_Request, options ...Option) (resp Wall_GetComment_Response, apiErr ApiError, err error)

Wall_GetComment Returns a comment on a post on a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessReplies ]

https://dev.vk.com/method/wall.getComment

func (*VK) Wall_GetCommentExtended

func (vk *VK) Wall_GetCommentExtended(ctx context.Context, req Wall_GetComment_Request, options ...Option) (resp Wall_GetCommentExtended_Response, apiErr ApiError, err error)

Wall_GetCommentExtended Returns a comment on a post on a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessReplies ]

https://dev.vk.com/method/wall.getComment

func (*VK) Wall_GetComments

func (vk *VK) Wall_GetComments(ctx context.Context, req Wall_GetComments_Request, options ...Option) (resp Wall_GetComments_Response, apiErr ApiError, err error)

Wall_GetComments Returns a list of comments on a post on a user wall or community wall. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessReplies ]

https://dev.vk.com/method/wall.getComments

func (*VK) Wall_GetCommentsExtended

func (vk *VK) Wall_GetCommentsExtended(ctx context.Context, req Wall_GetComments_Request, options ...Option) (resp Wall_GetCommentsExtended_Response, apiErr ApiError, err error)

Wall_GetCommentsExtended Returns a list of comments on a post on a user wall or community wall. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessReplies ]

https://dev.vk.com/method/wall.getComments

func (*VK) Wall_GetExtended

func (vk *VK) Wall_GetExtended(ctx context.Context, req Wall_Get_Request, options ...Option) (resp Wall_GetExtended_Response, apiErr ApiError, err error)

Wall_GetExtended Returns a list of posts on a user wall or community wall. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_Blocked ]

https://dev.vk.com/method/wall.get

func (*VK) Wall_GetReposts

func (vk *VK) Wall_GetReposts(ctx context.Context, req Wall_GetReposts_Request, options ...Option) (resp Wall_GetReposts_Response, apiErr ApiError, err error)

Wall_GetReposts Returns information about reposts of a post on user wall or community wall. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.getReposts

func (*VK) Wall_OpenComments

func (vk *VK) Wall_OpenComments(ctx context.Context, req Wall_OpenComments_Request, options ...Option) (resp Base_Bool_Response, apiErr ApiError, err error)

Wall_OpenComments ... May execute with listed access token types:

[ user, group ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.openComments

func (*VK) Wall_Pin

func (vk *VK) Wall_Pin(ctx context.Context, req Wall_Pin_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_Pin Pins the post on wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.pin

func (*VK) Wall_Post

func (vk *VK) Wall_Post(ctx context.Context, req Wall_Post_Request, options ...Option) (resp Wall_Post_Response, apiErr ApiError, err error)

Wall_Post Adds a new post on a user wall or community wall. Can also be used to publish suggested or scheduled posts. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAdsPublished, Error_WallAddPost, Error_WallTooManyRecipients, Error_WallLinksForbidden, Error_WallAdsPostLimitReached, Error_WallDonut ]

https://dev.vk.com/method/wall.post

func (*VK) Wall_PostAdsStealth

func (vk *VK) Wall_PostAdsStealth(ctx context.Context, req Wall_PostAdsStealth_Request, options ...Option) (resp Wall_PostAdsStealth_Response, apiErr ApiError, err error)

Wall_PostAdsStealth Allows to create hidden post which will not be shown on the community's wall and can be used for creating an ad with type "Community post". May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAdsPublished, Error_WallAddPost, Error_WallTooManyRecipients, Error_WallLinksForbidden ]

https://dev.vk.com/method/wall.postAdsStealth

func (*VK) Wall_ReportComment

func (vk *VK) Wall_ReportComment(ctx context.Context, req Wall_ReportComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_ReportComment Reports (submits a complaint about) a comment on a post on a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.reportComment

func (*VK) Wall_ReportPost

func (vk *VK) Wall_ReportPost(ctx context.Context, req Wall_ReportPost_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_ReportPost Reports (submits a complaint about) a post on a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.reportPost

func (*VK) Wall_Repost

func (vk *VK) Wall_Repost(ctx context.Context, req Wall_Repost_Request, options ...Option) (resp Wall_Repost_Response, apiErr ApiError, err error)

Wall_Repost Reposts (copies) an object to a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAdsPublished, Error_WallAddPost, Error_WallAdsPostLimitReached ]

https://dev.vk.com/method/wall.repost

func (*VK) Wall_Restore

func (vk *VK) Wall_Restore(ctx context.Context, req Wall_Restore_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_Restore Restores a post deleted from a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessPost, Error_WallAddPost ]

https://dev.vk.com/method/wall.restore

func (*VK) Wall_RestoreComment

func (vk *VK) Wall_RestoreComment(ctx context.Context, req Wall_RestoreComment_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_RestoreComment Restores a comment deleted from a user wall or community wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessComment ]

https://dev.vk.com/method/wall.restoreComment

func (vk *VK) Wall_Search(ctx context.Context, req Wall_Search_Request, options ...Option) (resp Wall_Search_Response, apiErr ApiError, err error)

Wall_Search Allows to search posts on user or community walls. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessPost ]

https://dev.vk.com/method/wall.search

func (*VK) Wall_SearchExtended

func (vk *VK) Wall_SearchExtended(ctx context.Context, req Wall_Search_Request, options ...Option) (resp Wall_SearchExtended_Response, apiErr ApiError, err error)

Wall_SearchExtended Allows to search posts on user or community walls. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global or with listed codes API errors:

[ Error_WallAccessPost ]

https://dev.vk.com/method/wall.search

func (*VK) Wall_Unpin

func (vk *VK) Wall_Unpin(ctx context.Context, req Wall_Unpin_Request, options ...Option) (resp Base_Ok_Response, apiErr ApiError, err error)

Wall_Unpin Unpins the post on wall. May execute with listed access token types:

[ user ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/wall.unpin

func (*VK) Widgets_GetComments

func (vk *VK) Widgets_GetComments(ctx context.Context, req Widgets_GetComments_Request, options ...Option) (resp Widgets_GetComments_Response, apiErr ApiError, err error)

Widgets_GetComments Gets a list of comments for the page added through the [vk.com/dev/Comments|Comments widget]. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/widgets.getComments

func (*VK) Widgets_GetPages

func (vk *VK) Widgets_GetPages(ctx context.Context, req Widgets_GetPages_Request, options ...Option) (resp Widgets_GetPages_Response, apiErr ApiError, err error)

Widgets_GetPages Gets a list of application/site pages where the [vk.com/dev/Comments|Comments widget] or [vk.com/dev/Like|Like widget] is installed. May execute with listed access token types:

[ user, service ]

When executing method, may return one of global API errors.

https://dev.vk.com/method/widgets.getPages

type Video_AddAlbum_Privacy

type Video_AddAlbum_Privacy string
const (
	Video_AddAlbum_Privacy_All              Video_AddAlbum_Privacy = "0"
	Video_AddAlbum_Privacy_Friends          Video_AddAlbum_Privacy = "1"
	Video_AddAlbum_Privacy_FriendsOfFriends Video_AddAlbum_Privacy = "2"
	Video_AddAlbum_Privacy_OnlyMe           Video_AddAlbum_Privacy = "3"
)

type Video_AddAlbum_Request

type Video_AddAlbum_Request struct {
	// Community ID (if the album will be created in a community).
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// Album title.
	Title   *string
	Privacy *[]Video_AddAlbum_Privacy
}

type Video_AddAlbum_Response

type Video_AddAlbum_Response struct {
	Response struct {
		// Created album ID
		AlbumId int `json:"album_id"`
	} `json:"response"`
}

type Video_AddToAlbum_Request

type Video_AddToAlbum_Request struct {
	//  Format: int64
	TargetId *int
	AlbumId  *int
	AlbumIds *[]int
	//  Format: int64
	OwnerId int
	//  Format: int32
	//  Minimum: 0
	VideoId int
}

type Video_Add_Request

type Video_Add_Request struct {
	// identifier of a user or community to add a video to. Use a negative value to designate a community ID.
	//  Format: int64
	TargetId *int
	// Video ID.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// ID of the user or community that owns the video. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId int
}

type Video_ChangeVideoAlbums_Response

type Video_ChangeVideoAlbums_Response struct {
	Response []int `json:"response"`
}

type Video_CreateComment_Request

type Video_CreateComment_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
	// Video ID.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// New comment text.
	Message     *string
	Attachments *[]string
	// '1' — to post the comment from a community name (only if 'owner_id'<0)
	FromGroup *bool
	//  Minimum: 0
	ReplyToComment *int
	//  Minimum: 0
	StickerId *int
	Guid      *string
}

type Video_CreateComment_Response

type Video_CreateComment_Response struct {
	// Created comment ID
	Response int `json:"response"`
}

type Video_DeleteAlbum_Request

type Video_DeleteAlbum_Request struct {
	// Community ID (if the album is owned by a community).
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// Album ID.
	//  Minimum: 0
	AlbumId int
}

type Video_DeleteComment_Request

type Video_DeleteComment_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
	// ID of the comment to be deleted.
	CommentId int
}

type Video_Delete_Request

type Video_Delete_Request struct {
	// Video ID.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
	//  Format: int64
	TargetId *int
}

type Video_EditAlbum_Privacy

type Video_EditAlbum_Privacy string
const (
	Video_EditAlbum_Privacy_All              Video_EditAlbum_Privacy = "0"
	Video_EditAlbum_Privacy_Friends          Video_EditAlbum_Privacy = "1"
	Video_EditAlbum_Privacy_FriendsOfFriends Video_EditAlbum_Privacy = "2"
	Video_EditAlbum_Privacy_OnlyMe           Video_EditAlbum_Privacy = "3"
)

type Video_EditAlbum_Request

type Video_EditAlbum_Request struct {
	// Community ID (if the album edited is owned by a community).
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// Album ID.
	//  Minimum: 0
	AlbumId int
	// New album title.
	Title   string
	Privacy *[]Video_EditAlbum_Privacy
}

type Video_EditComment_Request

type Video_EditComment_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
	// Comment ID.
	CommentId int
	// New comment text.
	Message     *string
	Attachments *[]string
}

type Video_Edit_Request

type Video_Edit_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
	// Video ID.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// New video title.
	Name *string
	// New video description.
	Desc           *string
	PrivacyView    *[]string
	PrivacyComment *[]string
	// Disable comments for the group video.
	NoComments *bool
	// '1' — to repeat the playback of the video, '0' — to play the video once,
	Repeat *bool
}

type Video_GetAlbumById_Request

type Video_GetAlbumById_Request struct {
	// identifier of a user or community to add a video to. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Album ID.
	AlbumId int
}

type Video_GetAlbumById_Response

type Video_GetAlbumById_Response struct {
	Response Video_VideoAlbumFull `json:"response"`
}

type Video_GetAlbumsByVideoExtended_Response

type Video_GetAlbumsByVideoExtended_Response struct {
	Response struct {
		// Total number
		Count *int                    `json:"count,omitempty"`
		Items *[]Video_VideoAlbumFull `json:"items,omitempty"`
	} `json:"response"`
}

type Video_GetAlbumsByVideo_Request

type Video_GetAlbumsByVideo_Request struct {
	//  Format: int64
	TargetId *int
	//  Format: int64
	OwnerId int
	//  Format: int32
	//  Minimum: 0
	VideoId int
}

type Video_GetAlbumsByVideo_Response

type Video_GetAlbumsByVideo_Response struct {
	Response []int `json:"response"`
}

type Video_GetAlbumsExtended_Response

type Video_GetAlbumsExtended_Response struct {
	Response struct {
		// Total number
		Count int                    `json:"count"`
		Items []Video_VideoAlbumFull `json:"items"`
	} `json:"response"`
}

type Video_GetAlbums_Request

type Video_GetAlbums_Request struct {
	// ID of the user or community that owns the video album(s).
	//  Format: int64
	OwnerId *int
	// Offset needed to return a specific subset of video albums.
	//  Minimum: 0
	Offset *int
	// Number of video albums to return.
	//  Default: 50
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	//  Default: 0
	NeedSystem *bool
}

type Video_GetAlbums_Response

type Video_GetAlbums_Response struct {
	Response struct {
		// Total number
		Count int                `json:"count"`
		Items []Video_VideoAlbum `json:"items"`
	} `json:"response"`
}

type Video_GetCommentsExtended_Response

type Video_GetCommentsExtended_Response struct {
	Response struct {
		// Information whether current user can comment the post
		CanPost *bool `json:"can_post,omitempty"`
		// Total number
		Count int `json:"count"`
		// Count of replies of current level
		CurrentLevelCount *int           `json:"current_level_count,omitempty"`
		Groups            []Groups_Group `json:"groups"`
		// Information whether groups can comment the post
		GroupsCanPost   *bool              `json:"groups_can_post,omitempty"`
		Items           []Wall_WallComment `json:"items"`
		Profiles        []Users_User       `json:"profiles"`
		RealOffset      *int               `json:"real_offset,omitempty"`
		ShowReplyButton *bool              `json:"show_reply_button,omitempty"`
	} `json:"response"`
}

type Video_GetComments_Request

type Video_GetComments_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
	// Video ID.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// '1' — to return an additional 'likes' field
	NeedLikes *bool
	//  Minimum: 0
	StartCommentId *int
	// Offset needed to return a specific subset of comments.
	Offset *int
	// Number of comments to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	// Sort order: 'asc' — oldest comment first, 'desc' — newest comment first
	Sort   *Video_GetComments_Sort
	Fields *[]string
}

type Video_GetComments_Response

type Video_GetComments_Response struct {
	Response struct {
		// Information whether current user can comment the post
		CanPost *bool `json:"can_post,omitempty"`
		// Total number
		Count int `json:"count"`
		// Count of replies of current level
		CurrentLevelCount *int `json:"current_level_count,omitempty"`
		// Information whether groups can comment the post
		GroupsCanPost   *bool              `json:"groups_can_post,omitempty"`
		Items           []Wall_WallComment `json:"items"`
		RealOffset      *int               `json:"real_offset,omitempty"`
		ShowReplyButton *bool              `json:"show_reply_button,omitempty"`
	} `json:"response"`
}

type Video_GetComments_Sort

type Video_GetComments_Sort string
const (
	Video_GetComments_Sort_OldestCommentFirst Video_GetComments_Sort = "asc"
	Video_GetComments_Sort_NewestCommentFirst Video_GetComments_Sort = "desc"
)

type Video_Get_Request

type Video_Get_Request struct {
	// ID of the user or community that owns the video(s).
	//  Format: int64
	OwnerId *int
	Videos  *[]string
	// ID of the album containing the video(s).
	AlbumId *int
	// Number of videos to return.
	//  Default: 100
	//  Minimum: 0
	//  Maximum: 200
	Count *int
	// Offset needed to return a specific subset of videos.
	//  Minimum: 0
	Offset *int
	// '1' — to return an extended response with additional fields
	Extended *bool
	Fields   *[]string
}

type Video_Get_Response

type Video_Get_Response struct {
	Response struct {
		// Total number
		Count    int                 `json:"count"`
		Groups   *[]Groups_GroupFull `json:"groups,omitempty"`
		Items    []Video_VideoFull   `json:"items"`
		Profiles *[]Users_UserFull   `json:"profiles,omitempty"`
	} `json:"response"`
}

type Video_LiveInfo

type Video_LiveInfo struct {
	Enabled                Base_BoolInt  `json:"enabled"`
	IsNotificationsBlocked *Base_BoolInt `json:"is_notifications_blocked,omitempty"`
}

type Video_LiveSettings

type Video_LiveSettings struct {
	// If user car rewind live or not
	CanRewind *Base_BoolInt `json:"can_rewind,omitempty"`
	// If live is endless or not
	IsEndless *Base_BoolInt `json:"is_endless,omitempty"`
	// Max possible time for rewind
	MaxDuration *int `json:"max_duration,omitempty"`
}

Video_LiveSettings Video live settings

type Video_RemoveFromAlbum_Request

type Video_RemoveFromAlbum_Request struct {
	//  Format: int64
	TargetId *int
	AlbumId  *int
	AlbumIds *[]int
	//  Format: int64
	OwnerId int
	//  Format: int32
	//  Minimum: 0
	VideoId int
}

type Video_ReorderAlbums_Request

type Video_ReorderAlbums_Request struct {
	// ID of the user or community that owns the albums..
	//  Format: int64
	OwnerId *int
	// Album ID.
	//  Minimum: 0
	AlbumId int
	// ID of the album before which the album in question shall be placed.
	//  Minimum: 0
	Before *int
	// ID of the album after which the album in question shall be placed.
	//  Minimum: 0
	After *int
}

type Video_ReorderVideos_Request

type Video_ReorderVideos_Request struct {
	// ID of the user or community that owns the album with videos.
	//  Format: int64
	TargetId *int
	// ID of the video album.
	//  Default: -2
	AlbumId *int
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId int
	// ID of the video.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// ID of the user or community that owns the video before which the video in question shall be placed.
	//  Format: int64
	BeforeOwnerId *int
	// ID of the video before which the video in question shall be placed.
	//  Format: int32
	//  Minimum: 0
	BeforeVideoId *int
	// ID of the user or community that owns the video after which the photo in question shall be placed.
	//  Format: int64
	AfterOwnerId *int
	// ID of the video after which the photo in question shall be placed.
	//  Format: int32
	//  Minimum: 0
	AfterVideoId *int
}

type Video_ReportComment_Reason

type Video_ReportComment_Reason int
const (
	Video_ReportComment_Reason_Spam             Video_ReportComment_Reason = 0
	Video_ReportComment_Reason_ChildPornography Video_ReportComment_Reason = 1
	Video_ReportComment_Reason_Extremism        Video_ReportComment_Reason = 2
	Video_ReportComment_Reason_Violence         Video_ReportComment_Reason = 3
	Video_ReportComment_Reason_DrugPropaganda   Video_ReportComment_Reason = 4
	Video_ReportComment_Reason_AdultMaterial    Video_ReportComment_Reason = 5
	Video_ReportComment_Reason_InsultAbuse      Video_ReportComment_Reason = 6
)

type Video_ReportComment_Request

type Video_ReportComment_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId int
	// ID of the comment being reported.
	//  Minimum: 0
	CommentId int
	// Reason for the complaint: , 0 - spam , 1 - child pornography , 2 - extremism , 3 - violence , 4 - drug propaganda , 5 - adult material , 6 - insult, abuse
	//  Minimum: 0
	Reason *Video_ReportComment_Reason
}

type Video_Report_Reason

type Video_Report_Reason int
const (
	Video_Report_Reason_Spam             Video_Report_Reason = 0
	Video_Report_Reason_ChildPornography Video_Report_Reason = 1
	Video_Report_Reason_Extremism        Video_Report_Reason = 2
	Video_Report_Reason_Violence         Video_Report_Reason = 3
	Video_Report_Reason_DrugPropaganda   Video_Report_Reason = 4
	Video_Report_Reason_AdultMaterial    Video_Report_Reason = 5
	Video_Report_Reason_InsultAbuse      Video_Report_Reason = 6
)

type Video_Report_Request

type Video_Report_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId int
	// Video ID.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// Reason for the complaint: '0' - spam, '1' - child pornography, '2' - extremism, '3' - violence, '4' - drug propaganda, '5' - adult material, '6' - insult, abuse
	//  Minimum: 0
	Reason *Video_Report_Reason
	// Comment describing the complaint.
	Comment *string
	// (If the video was found in search results.) Search query string.
	SearchQuery *string
}

type Video_RestoreComment_Request

type Video_RestoreComment_Request struct {
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
	// ID of the deleted comment.
	CommentId int
}

type Video_RestoreComment_Response

type Video_RestoreComment_Response struct {
	// Returns 1 if request has been processed successfully, 0 if the comment is not found
	Response Base_BoolInt `json:"response"`
}

type Video_Restore_Request

type Video_Restore_Request struct {
	// Video ID.
	//  Format: int32
	//  Minimum: 0
	VideoId int
	// ID of the user or community that owns the video.
	//  Format: int64
	OwnerId *int
}

type Video_SaveResult

type Video_SaveResult struct {
	// Video access key
	AccessKey *string `json:"access_key,omitempty"`
	// Video description
	Description *string `json:"description,omitempty"`
	// Video owner ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// Video title
	Title *string `json:"title,omitempty"`
	// URL for the video uploading
	//  Format: uri
	UploadUrl *string `json:"upload_url,omitempty"`
	// Video ID
	VideoId *int `json:"video_id,omitempty"`
}

type Video_Save_Request

type Video_Save_Request struct {
	// Name of the video.
	Name *string
	// Description of the video.
	Description *string
	// '1' — to designate the video as private (send it via a private message), the video will not appear on the user's video list and will not be available by ID for other users, '0' — not to designate the video as private
	IsPrivate *bool
	// '1' — to post the saved video on a user's wall, '0' — not to post the saved video on a user's wall
	Wallpost *bool
	// URL for embedding the video from an external website.
	Link *string
	// ID of the community in which the video will be saved. By default, the current user's page.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	// ID of the album to which the saved video will be added.
	//  Minimum: 0
	AlbumId        *int
	PrivacyView    *[]string
	PrivacyComment *[]string
	NoComments     *bool
	// '1' — to repeat the playback of the video, '0' — to play the video once,
	Repeat      *bool
	Compression *bool
}

type Video_Save_Response

type Video_Save_Response struct {
	Response Video_SaveResult `json:"response"`
}

type Video_SearchExtended_Response

type Video_SearchExtended_Response struct {
	Response struct {
		// Total number
		Count    int                `json:"count"`
		Groups   []Groups_GroupFull `json:"groups"`
		Items    []Video_VideoFull  `json:"items"`
		Profiles []Users_User       `json:"profiles"`
	} `json:"response"`
}

type Video_Search_Filters

type Video_Search_Filters string
const (
	Video_Search_Filters_Youtube Video_Search_Filters = "youtube"
	Video_Search_Filters_Vimeo   Video_Search_Filters = "vimeo"
	Video_Search_Filters_Short   Video_Search_Filters = "short"
	Video_Search_Filters_Long    Video_Search_Filters = "long"
)

type Video_Search_Request

type Video_Search_Request struct {
	// Search query string (e.g., 'The Beatles').
	Q *string
	// Sort order: '1' — by duration, '2' — by relevance, '0' — by date added
	Sort *Video_Search_Sort
	// If not null, only searches for high-definition videos.
	Hd *int
	// '1' — to disable the Safe Search filter, '0' — to enable the Safe Search filter
	Adult     *bool
	Live      *bool
	Filters   *[]Video_Search_Filters
	SearchOwn *bool
	// Offset needed to return a specific subset of videos.
	//  Minimum: 0
	Offset *int
	//  Minimum: 0
	Longer *int
	//  Minimum: 0
	Shorter *int
	// Number of videos to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 200
	Count *int
}

type Video_Search_Response

type Video_Search_Response struct {
	Response struct {
		// Total number
		Count int               `json:"count"`
		Items []Video_VideoFull `json:"items"`
	} `json:"response"`
}

type Video_Search_Sort

type Video_Search_Sort int
const (
	Video_Search_Sort_Duration  Video_Search_Sort = 1
	Video_Search_Sort_Relevance Video_Search_Sort = 2
	Video_Search_Sort_DateAdded Video_Search_Sort = 0
)

type Video_Upload_Response

type Video_Upload_Response struct {
	Response struct {
		// Video size
		Size *int `json:"size,omitempty"`
		// Video ID
		VideoId *int `json:"video_id,omitempty"`
	} `json:"response"`
}

type Video_Video

type Video_Video struct {
	// Video access key
	AccessKey *string `json:"access_key,omitempty"`
	// 1 if video is added to user's albums
	Added *Base_BoolInt `json:"added,omitempty"`
	// Date when the video has been added in Unixtime
	//  Minimum: 0
	AddingDate *int `json:"adding_date,omitempty"`
	// Live donations balance
	//  Minimum: 0
	Balance *int `json:"balance,omitempty"`
	// Information whether current user can add the video
	CanAdd *Base_BoolInt `json:"can_add,omitempty"`
	// Information whether current user can add the video to favourites
	CanAddToFaves *Base_BoolInt `json:"can_add_to_faves,omitempty"`
	// Information whether current user can attach action button to the video
	CanAttachLink *Base_BoolInt `json:"can_attach_link,omitempty"`
	// Information whether current user can comment the video
	CanComment *Base_BoolInt `json:"can_comment,omitempty"`
	// Information whether current user can edit the video
	CanEdit *Base_BoolInt `json:"can_edit,omitempty"`
	// Information whether current user can like the video
	CanLike *Base_BoolInt `json:"can_like,omitempty"`
	// Information whether current user can repost the video
	CanRepost *Base_BoolInt `json:"can_repost,omitempty"`
	// Information whether current user can subscribe to author of the video
	CanSubscribe *Base_BoolInt `json:"can_subscribe,omitempty"`
	// Number of comments
	//  Minimum: 0
	Comments *int `json:"comments,omitempty"`
	// Restriction code
	//  Minimum: 0
	ContentRestricted *int `json:"content_restricted,omitempty"`
	// Restriction text
	ContentRestrictedMessage *string `json:"content_restricted_message,omitempty"`
	// 1 if  video is being converted
	Converting *Base_BoolInt `json:"converting,omitempty"`
	// Date when video has been uploaded in Unixtime
	//  Minimum: 0
	Date *int `json:"date,omitempty"`
	// Video description
	Description *string `json:"description,omitempty"`
	// Video duration in seconds
	//  Minimum: 0
	Duration   *int                `json:"duration,omitempty"`
	FirstFrame *[]Video_VideoImage `json:"first_frame,omitempty"`
	// Video height
	//  Minimum: 0
	Height *int `json:"height,omitempty"`
	// Video ID
	//  Minimum: 0
	Id    *int                `json:"id,omitempty"`
	Image *[]Video_VideoImage `json:"image,omitempty"`
	// Whether video is added to bookmarks
	IsFavorite *bool `json:"is_favorite,omitempty"`
	// 1 if video is private
	IsPrivate *Base_BoolInt `json:"is_private,omitempty"`
	// 1 if user is subscribed to author of the video
	IsSubscribed *Base_BoolInt `json:"is_subscribed,omitempty"`
	Likes        *Base_Likes   `json:"likes,omitempty"`
	// 1 if the video is a live stream
	Live *Base_PropertyExists `json:"live,omitempty"`
	// Whether current user is subscribed to the upcoming live stream notification (if not subscribed to the author)
	LiveNotify *Base_BoolInt `json:"live_notify,omitempty"`
	// Date in Unixtime when the live stream is scheduled to start by the author
	//  Minimum: 0
	LiveStartTime *int `json:"live_start_time,omitempty"`
	// Live stream status
	LiveStatus *Video_Video_LiveStatus `json:"live_status,omitempty"`
	// If video is external, number of views on vk
	//  Minimum: 0
	LocalViews *int `json:"local_views,omitempty"`
	// Video owner ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// External platform
	Platform *string `json:"platform,omitempty"`
	// Video embed URL
	//  Format: uri
	Player *string `json:"player,omitempty"`
	// Returns if the video is processing
	Processing *Base_PropertyExists `json:"processing,omitempty"`
	// Information whether the video is repeated
	Repeat  *Base_PropertyExists `json:"repeat,omitempty"`
	Reposts *Base_RepostsInfo    `json:"reposts,omitempty"`
	// Number of spectators of the stream
	//  Minimum: 0
	Spectators *int `json:"spectators,omitempty"`
	// Video title
	Title     *string           `json:"title,omitempty"`
	TrackCode *string           `json:"track_code,omitempty"`
	Type      *Video_Video_Type `json:"type,omitempty"`
	// 1 if the video is an upcoming stream
	Upcoming *Base_PropertyExists `json:"upcoming,omitempty"`
	// Id of the user who uploaded the video if it was uploaded to a group by member
	//  Format: int64
	//  Minimum: 0
	UserId *int `json:"user_id,omitempty"`
	// Number of views
	//  Minimum: 0
	Views *int `json:"views,omitempty"`
	// Video width
	//  Minimum: 0
	Width *int `json:"width,omitempty"`
}

type Video_VideoAlbum

type Video_VideoAlbum struct {
	// Album ID
	Id int `json:"id"`
	// Album owner's ID
	//  Format: int64
	OwnerId int `json:"owner_id"`
	// Album title
	Title string `json:"title"`
}

type Video_VideoAlbumFull

type Video_VideoAlbumFull struct {
	Video_VideoAlbum
	// Total number of videos in album
	//  Minimum: 0
	Count int `json:"count"`
	// Album cover image in different sizes
	Image *[]Video_VideoImage `json:"image,omitempty"`
	// Need blur album thumb or not
	ImageBlur *Base_PropertyExists `json:"image_blur,omitempty"`
	// Information whether album is system
	IsSystem *Base_PropertyExists `json:"is_system,omitempty"`
	// Date when the album has been updated last time in Unixtime
	//  Minimum: 0
	UpdatedTime int `json:"updated_time"`
}

type Video_VideoFiles

type Video_VideoFiles struct {
	// URL of the external player
	//  Format: uri
	External *string `json:"external,omitempty"`
	// URL of the flv file with 320p quality
	//  Format: uri
	Flv320 *string `json:"flv_320,omitempty"`
	// URL of the mpeg4 file with 1080p quality
	//  Format: uri
	Mp41080 *string `json:"mp4_1080,omitempty"`
	// URL of the mpeg4 file with 144p quality
	//  Format: uri
	Mp4144 *string `json:"mp4_144,omitempty"`
	// URL of the mpeg4 file with 2K quality
	//  Format: uri
	Mp41440 *string `json:"mp4_1440,omitempty"`
	// URL of the mpeg4 file with 4K quality
	//  Format: uri
	Mp42160 *string `json:"mp4_2160,omitempty"`
	// URL of the mpeg4 file with 240p quality
	//  Format: uri
	Mp4240 *string `json:"mp4_240,omitempty"`
	// URL of the mpeg4 file with 360p quality
	//  Format: uri
	Mp4360 *string `json:"mp4_360,omitempty"`
	// URL of the mpeg4 file with 480p quality
	//  Format: uri
	Mp4480 *string `json:"mp4_480,omitempty"`
	// URL of the mpeg4 file with 720p quality
	//  Format: uri
	Mp4720 *string `json:"mp4_720,omitempty"`
}

type Video_VideoFull

type Video_VideoFull struct {
	Video_Video
	Files *Video_VideoFiles `json:"files,omitempty"`
	// Settings for live stream
	LiveSettings *Video_LiveSettings `json:"live_settings,omitempty"`
	Trailer      *Video_VideoFiles   `json:"trailer,omitempty"`
}

type Video_VideoImage

type Video_VideoImage struct {
	Base_Image
	WithPadding *Base_PropertyExists `json:"with_padding,omitempty"`
}

type Video_Video_LiveStatus

type Video_Video_LiveStatus string
const (
	Video_Video_LiveStatus_Waiting  Video_Video_LiveStatus = "waiting"
	Video_Video_LiveStatus_Started  Video_Video_LiveStatus = "started"
	Video_Video_LiveStatus_Finished Video_Video_LiveStatus = "finished"
	Video_Video_LiveStatus_Failed   Video_Video_LiveStatus = "failed"
	Video_Video_LiveStatus_Upcoming Video_Video_LiveStatus = "upcoming"
)

type Video_Video_Type

type Video_Video_Type string
const (
	Video_Video_Type_Video      Video_Video_Type = "video"
	Video_Video_Type_MusicVideo Video_Video_Type = "music_video"
	Video_Video_Type_Movie      Video_Video_Type = "movie"
)

type Wall_AppPost

type Wall_AppPost struct {
	// Application ID
	Id *int `json:"id,omitempty"`
	// Application name
	Name *string `json:"name,omitempty"`
	// URL of the preview image with 130 px in width
	//  Format: uri
	Photo130 *string `json:"photo_130,omitempty"`
	// URL of the preview image with 604 px in width
	//  Format: uri
	Photo604 *string `json:"photo_604,omitempty"`
}

type Wall_AttachedNote

type Wall_AttachedNote struct {
	CanComment *int `json:"can_comment,omitempty"`
	// Comments number
	//  Minimum: 0
	Comments int `json:"comments"`
	// Date when the note has been created in Unixtime
	//  Minimum: 0
	Date int `json:"date"`
	// Note ID
	//  Minimum: 1
	Id int `json:"id"`
	// Note owner's ID
	//  Format: int64
	//  Minimum: 1
	OwnerId        int       `json:"owner_id"`
	PrivacyComment *[]string `json:"privacy_comment,omitempty"`
	PrivacyView    *[]string `json:"privacy_view,omitempty"`
	// Read comments number
	//  Minimum: 0
	ReadComments int `json:"read_comments"`
	// Note text
	Text *string `json:"text,omitempty"`
	// Note wiki text
	TextWiki *string `json:"text_wiki,omitempty"`
	// Note title
	Title string `json:"title"`
	// URL of the page with note preview
	//  Format: uri
	ViewUrl string `json:"view_url"`
}

type Wall_CarouselBase

type Wall_CarouselBase struct {
	// Index of current carousel element
	//  Minimum: 0
	CarouselOffset *int `json:"carousel_offset,omitempty"`
}
type Wall_CheckCopyrightLink_Request struct {
	Link string
}

type Wall_CloseComments_Request

type Wall_CloseComments_Request struct {
	//  Format: int64
	OwnerId int
	//  Minimum: 0
	PostId int
}

type Wall_CommentAttachment

type Wall_CommentAttachment struct {
	Audio             *Audio_Audio               `json:"audio,omitempty"`
	Doc               *Docs_Doc                  `json:"doc,omitempty"`
	Link              *Base_Link                 `json:"link,omitempty"`
	Market            *Market_MarketItem         `json:"market,omitempty"`
	MarketMarketAlbum *Market_MarketAlbum        `json:"market_market_album,omitempty"`
	Note              *Wall_AttachedNote         `json:"note,omitempty"`
	Page              *Pages_WikipageFull        `json:"page,omitempty"`
	Photo             *Photos_Photo              `json:"photo,omitempty"`
	Sticker           *Base_Sticker              `json:"sticker,omitempty"`
	Type              Wall_CommentAttachmentType `json:"type"`
	Video             *Video_Video               `json:"video,omitempty"`
}

type Wall_CommentAttachmentType

type Wall_CommentAttachmentType string

Wall_CommentAttachmentType Attachment type

const (
	Wall_CommentAttachmentType_Photo             Wall_CommentAttachmentType = "photo"
	Wall_CommentAttachmentType_Audio             Wall_CommentAttachmentType = "audio"
	Wall_CommentAttachmentType_Video             Wall_CommentAttachmentType = "video"
	Wall_CommentAttachmentType_Doc               Wall_CommentAttachmentType = "doc"
	Wall_CommentAttachmentType_Link              Wall_CommentAttachmentType = "link"
	Wall_CommentAttachmentType_Note              Wall_CommentAttachmentType = "note"
	Wall_CommentAttachmentType_Page              Wall_CommentAttachmentType = "page"
	Wall_CommentAttachmentType_MarketMarketAlbum Wall_CommentAttachmentType = "market_market_album"
	Wall_CommentAttachmentType_Market            Wall_CommentAttachmentType = "market"
	Wall_CommentAttachmentType_Sticker           Wall_CommentAttachmentType = "sticker"
)

type Wall_CreateComment_Request

type Wall_CreateComment_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Post ID.
	//  Minimum: 0
	PostId int
	// Group ID.
	//  Format: int64
	//  Minimum: 0
	FromGroup *int
	// (Required if 'attachments' is not set.) Text of the comment.
	Message *string
	// ID of comment to reply.
	ReplyToComment *int
	Attachments    *[]string
	// Sticker ID.
	//  Minimum: 0
	StickerId *int
	// Unique identifier to avoid repeated comments.
	Guid *string
}

type Wall_CreateComment_Response

type Wall_CreateComment_Response struct {
	Response struct {
		// Created comment ID
		CommentId int `json:"comment_id"`
	} `json:"response"`
}

type Wall_DeleteComment_Request

type Wall_DeleteComment_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Comment ID.
	//  Minimum: 0
	CommentId int
}

type Wall_Delete_Request

type Wall_Delete_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// ID of the post to be deleted.
	//  Minimum: 0
	PostId *int
}

type Wall_EditAdsStealth_Request

type Wall_EditAdsStealth_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Post ID. Used for publishing of scheduled and suggested posts.
	//  Minimum: 0
	PostId int
	// (Required if 'attachments' is not set.) Text of the post.
	Message     *string
	Attachments *[]string
	// Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)
	Signed *bool
	// Geographical latitude of a check-in, in degrees (from -90 to 90).
	Lat *float64
	// Geographical longitude of a check-in, in degrees (from -180 to 180).
	Long *float64
	// ID of the location where the user was tagged.
	//  Minimum: 0
	PlaceId *int
	// Link button ID
	LinkButton *string
	// Link title
	LinkTitle *string
	// Link image url
	LinkImage *string
	// Link video ID in format "<owner_id>_<media_id>"
	LinkVideo *string
}

type Wall_EditComment_Request

type Wall_EditComment_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Comment ID.
	//  Minimum: 0
	CommentId int
	// New comment text.
	Message     *string
	Attachments *[]string
}

type Wall_Edit_Request

type Wall_Edit_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	//  Minimum: 0
	PostId      int
	FriendsOnly *bool
	// (Required if 'attachments' is not set.) Text of the post.
	Message     *string
	Attachments *[]string
	Services    *string
	Signed      *bool
	//  Minimum: 0
	PublishDate *int
	Lat         *float64
	Long        *float64
	//  Minimum: 0
	PlaceId           *int
	MarkAsAds         *bool
	CloseComments     *bool
	DonutPaidDuration *int
	//  Minimum: 0
	PosterBkgId         *int
	PosterBkgOwnerId    *int
	PosterBkgAccessHash *string
	Copyright           *string
	// Topic ID. Allowed values can be obtained from newsfeed.getPostTopics method
	//  Minimum: 0
	TopicId *Wall_Edit_TopicId
}

type Wall_Edit_Response

type Wall_Edit_Response struct {
	Response struct {
		// Edited post ID
		//  Minimum: 0
		PostId int `json:"post_id"`
	} `json:"response"`
}

type Wall_Edit_TopicId

type Wall_Edit_TopicId int
const (
	Wall_Edit_TopicId_EmptyTopic     Wall_Edit_TopicId = 0
	Wall_Edit_TopicId_Art            Wall_Edit_TopicId = 1
	Wall_Edit_TopicId_It             Wall_Edit_TopicId = 7
	Wall_Edit_TopicId_Games          Wall_Edit_TopicId = 12
	Wall_Edit_TopicId_Music          Wall_Edit_TopicId = 16
	Wall_Edit_TopicId_Photo          Wall_Edit_TopicId = 19
	Wall_Edit_TopicId_ScienceAndTech Wall_Edit_TopicId = 21
	Wall_Edit_TopicId_Sport          Wall_Edit_TopicId = 23
	Wall_Edit_TopicId_Travel         Wall_Edit_TopicId = 25
	Wall_Edit_TopicId_TvAndCinema    Wall_Edit_TopicId = 26
	Wall_Edit_TopicId_Humor          Wall_Edit_TopicId = 32
	Wall_Edit_TopicId_Fashion        Wall_Edit_TopicId = 43
)

type Wall_Geo

type Wall_Geo struct {
	// Coordinates as string. <latitude> <longtitude>
	Coordinates *string     `json:"coordinates,omitempty"`
	Place       *Base_Place `json:"place,omitempty"`
	// Information whether a map is showed
	Showmap *int `json:"showmap,omitempty"`
	// Place type
	Type *Wall_Geo_Type `json:"type,omitempty"`
}

type Wall_Geo_Type

type Wall_Geo_Type string
const (
	Wall_Geo_Type_Place Wall_Geo_Type = "place"
	Wall_Geo_Type_Point Wall_Geo_Type = "point"
)

type Wall_GetByIdExtended_Response

type Wall_GetByIdExtended_Response struct {
	Response struct {
		Groups   []Groups_GroupFull  `json:"groups"`
		Items    []Wall_WallpostFull `json:"items"`
		Profiles []Users_UserFull    `json:"profiles"`
	} `json:"response"`
}

type Wall_GetByIdLegacy_Response

type Wall_GetByIdLegacy_Response struct {
	Response []Wall_WallpostFull `json:"response"`
}

type Wall_GetById_Request

type Wall_GetById_Request struct {
	Posts *[]string
	// Sets the number of parent elements to include in the array 'copy_history' that is returned if the post is a repost from another wall.
	//  Default: 2
	CopyHistoryDepth *int
	Fields           *[]Base_UserGroupFields
}

type Wall_GetById_Response

type Wall_GetById_Response struct {
	Response struct {
		Items *[]Wall_WallpostFull `json:"items,omitempty"`
	} `json:"response"`
}

type Wall_GetCommentExtended_Response

type Wall_GetCommentExtended_Response struct {
	Response struct {
		Groups   []Groups_Group     `json:"groups"`
		Items    []Wall_WallComment `json:"items"`
		Profiles []Users_User       `json:"profiles"`
	} `json:"response"`
}

type Wall_GetComment_Request

type Wall_GetComment_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Comment ID.
	//  Minimum: 0
	CommentId int
	Fields    *[]Base_UserGroupFields
}

type Wall_GetComment_Response

type Wall_GetComment_Response struct {
	Response struct {
		Items []Wall_WallComment `json:"items"`
	} `json:"response"`
}

type Wall_GetCommentsExtended_Response

type Wall_GetCommentsExtended_Response struct {
	Response struct {
		// Information whether current user can comment the post
		CanPost *bool `json:"can_post,omitempty"`
		// Total number
		Count int `json:"count"`
		// Count of replies of current level
		CurrentLevelCount *int           `json:"current_level_count,omitempty"`
		Groups            []Groups_Group `json:"groups"`
		// Information whether groups can comment the post
		GroupsCanPost   *bool              `json:"groups_can_post,omitempty"`
		Items           []Wall_WallComment `json:"items"`
		Profiles        []Users_User       `json:"profiles"`
		ShowReplyButton *bool              `json:"show_reply_button,omitempty"`
	} `json:"response"`
}

type Wall_GetComments_Request

type Wall_GetComments_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Post ID.
	//  Minimum: 0
	PostId *int
	// '1' — to return the 'likes' field, '0' — not to return the 'likes' field (default)
	NeedLikes *bool
	//  Minimum: 0
	StartCommentId *int
	// Offset needed to return a specific subset of comments.
	Offset *int
	// Number of comments to return (maximum 100).
	//  Minimum: 0
	Count *int
	// Sort order: 'asc' — chronological, 'desc' — reverse chronological
	Sort *Wall_GetComments_Sort
	// Number of characters at which to truncate comments when previewed. By default, '90'. Specify '0' if you do not want to truncate comments.
	//  Minimum: 0
	PreviewLength *int
	Fields        *[]Base_UserGroupFields
	// Comment ID.
	//  Minimum: 0
	CommentId *int
	// Count items in threads.
	//  Default: 0
	//  Minimum: 0
	//  Maximum: 10
	ThreadItemsCount *int
}

type Wall_GetComments_Response

type Wall_GetComments_Response struct {
	Response struct {
		// Information whether current user can comment the post
		CanPost *bool `json:"can_post,omitempty"`
		// Total number
		Count int `json:"count"`
		// Count of replies of current level
		CurrentLevelCount *int `json:"current_level_count,omitempty"`
		// Information whether groups can comment the post
		GroupsCanPost   *bool              `json:"groups_can_post,omitempty"`
		Items           []Wall_WallComment `json:"items"`
		ShowReplyButton *bool              `json:"show_reply_button,omitempty"`
	} `json:"response"`
}

type Wall_GetComments_Sort

type Wall_GetComments_Sort string
const (
	Wall_GetComments_Sort_Chronological        Wall_GetComments_Sort = "asc"
	Wall_GetComments_Sort_ReverseChronological Wall_GetComments_Sort = "desc"
)

type Wall_GetExtended_Response

type Wall_GetExtended_Response struct {
	Response struct {
		// Total number
		Count    int                 `json:"count"`
		Groups   []Groups_GroupFull  `json:"groups"`
		Items    []Wall_WallpostFull `json:"items"`
		Profiles []Users_UserFull    `json:"profiles"`
	} `json:"response"`
}

type Wall_GetFilter

type Wall_GetFilter string

Wall_GetFilter Filter to apply: 'owner' — posts by the wall owner, 'others' — posts by someone else, 'all' — posts by the wall owner and others (default), 'postponed' — timed posts (only available for calls with an 'access_token'), 'suggests' — suggested posts on a community wall

const (
	Wall_GetFilter_Owner     Wall_GetFilter = "owner"
	Wall_GetFilter_Others    Wall_GetFilter = "others"
	Wall_GetFilter_All       Wall_GetFilter = "all"
	Wall_GetFilter_Postponed Wall_GetFilter = "postponed"
	Wall_GetFilter_Suggests  Wall_GetFilter = "suggests"
	Wall_GetFilter_Archived  Wall_GetFilter = "archived"
	Wall_GetFilter_Donut     Wall_GetFilter = "donut"
)

type Wall_GetReposts_Request

type Wall_GetReposts_Request struct {
	// User ID or community ID. By default, current user ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Post ID.
	//  Minimum: 0
	PostId *int
	// Offset needed to return a specific subset of reposts.
	//  Minimum: 0
	Offset *int
	// Number of reposts to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 1000
	Count *int
}

type Wall_GetReposts_Response

type Wall_GetReposts_Response struct {
	Response struct {
		Groups   []Groups_Group      `json:"groups"`
		Items    []Wall_WallpostFull `json:"items"`
		Profiles []Users_User        `json:"profiles"`
	} `json:"response"`
}

type Wall_Get_Request

type Wall_Get_Request struct {
	// ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// User or community short address.
	Domain *string
	// Offset needed to return a specific subset of posts.
	//  Minimum: 0
	Offset *int
	// Number of posts to return (maximum 100).
	//  Minimum: 0
	Count  *int
	Filter *Wall_GetFilter
	Fields *[]Base_UserGroupFields
}

type Wall_Get_Response

type Wall_Get_Response struct {
	Response struct {
		// Total number
		Count int                 `json:"count"`
		Items []Wall_WallpostFull `json:"items"`
	} `json:"response"`
}

type Wall_Graffiti

type Wall_Graffiti struct {
	// Access key for graffiti
	AccessKey *string `json:"access_key,omitempty"`
	// Graffiti height
	//  Minimum: 0
	Height *int `json:"height,omitempty"`
	// Graffiti ID
	Id *int `json:"id,omitempty"`
	// Graffiti owner's ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// URL of the preview image with 200 px in width
	//  Format: uri
	Photo200 *string `json:"photo_200,omitempty"`
	// URL of the preview image with 586 px in width
	//  Format: uri
	Photo586 *string `json:"photo_586,omitempty"`
	// Graffiti URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
	// Graffiti width
	//  Minimum: 0
	Width *int `json:"width,omitempty"`
}

type Wall_OpenComments_Request

type Wall_OpenComments_Request struct {
	//  Format: int64
	OwnerId int
	//  Minimum: 0
	PostId int
}

type Wall_Pin_Request

type Wall_Pin_Request struct {
	// ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Post ID.
	//  Minimum: 0
	PostId int
}

type Wall_PostAdsStealth_Request

type Wall_PostAdsStealth_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId int
	// (Required if 'attachments' is not set.) Text of the post.
	Message     *string
	Attachments *[]string
	// Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)
	Signed *bool
	// Geographical latitude of a check-in, in degrees (from -90 to 90).
	Lat *float64
	// Geographical longitude of a check-in, in degrees (from -180 to 180).
	Long *float64
	// ID of the location where the user was tagged.
	//  Minimum: 0
	PlaceId *int
	// Unique identifier to avoid duplication the same post.
	Guid *string
	// Link button ID
	LinkButton *string
	// Link title
	LinkTitle *string
	// Link image url
	LinkImage *string
	// Link video ID in format "<owner_id>_<media_id>"
	LinkVideo *string
}

type Wall_PostAdsStealth_Response

type Wall_PostAdsStealth_Response struct {
	Response struct {
		// Created post ID
		PostId int `json:"post_id"`
	} `json:"response"`
}

type Wall_PostCopyright

type Wall_PostCopyright struct {
	//  Format: int64
	Id   *int   `json:"id,omitempty"`
	Link string `json:"link"`
	Name string `json:"name"`
	Type string `json:"type"`
}

type Wall_PostSource

type Wall_PostSource struct {
	// Additional data
	Data *string    `json:"data,omitempty"`
	Link *Base_Link `json:"link,omitempty"`
	// Platform name
	Platform *string              `json:"platform,omitempty"`
	Type     *Wall_PostSourceType `json:"type,omitempty"`
	// URL to an external site used to publish the post
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

type Wall_PostSourceType

type Wall_PostSourceType string

Wall_PostSourceType Type of post source

const (
	Wall_PostSourceType_Vk     Wall_PostSourceType = "vk"
	Wall_PostSourceType_Widget Wall_PostSourceType = "widget"
	Wall_PostSourceType_Api    Wall_PostSourceType = "api"
	Wall_PostSourceType_Rss    Wall_PostSourceType = "rss"
	Wall_PostSourceType_Sms    Wall_PostSourceType = "sms"
	Wall_PostSourceType_Mvk    Wall_PostSourceType = "mvk"
)

type Wall_PostType

type Wall_PostType string

Wall_PostType Post type

const (
	Wall_PostType_Post     Wall_PostType = "post"
	Wall_PostType_Copy     Wall_PostType = "copy"
	Wall_PostType_Reply    Wall_PostType = "reply"
	Wall_PostType_Postpone Wall_PostType = "postpone"
	Wall_PostType_Suggest  Wall_PostType = "suggest"
	Wall_PostType_PostAds  Wall_PostType = "post_ads"
	Wall_PostType_Photo    Wall_PostType = "photo"
	Wall_PostType_Video    Wall_PostType = "video"
)

type Wall_Post_Request

type Wall_Post_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// '1' — post will be available to friends only, '0' — post will be available to all users (default)
	FriendsOnly *bool
	// For a community: '1' — post will be published by the community, '0' — post will be published by the user (default)
	FromGroup *bool
	// (Required if 'attachments' is not set.) Text of the post.
	Message     *string
	Attachments *[]string
	// List of services or websites the update will be exported to, if the user has so requested. Sample values: 'twitter', 'facebook'.
	Services *string
	// Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)
	Signed *bool
	// Publication date (in Unix time). If used, posting will be delayed until the set time.
	//  Minimum: 0
	PublishDate *int
	// Geographical latitude of a check-in, in degrees (from -90 to 90).
	Lat *float64
	// Geographical longitude of a check-in, in degrees (from -180 to 180).
	Long *float64
	// ID of the location where the user was tagged.
	//  Minimum: 0
	PlaceId *int
	// Post ID. Used for publishing of scheduled and suggested posts.
	//  Minimum: 0
	PostId *int
	Guid   *string
	//  Default: false
	MarkAsAds         *bool
	CloseComments     *bool
	DonutPaidDuration *int
	MuteNotifications *bool
	Copyright         *string
	// Topic ID. Allowed values can be obtained from newsfeed.getPostTopics method
	//  Minimum: 0
	TopicId *Wall_Post_TopicId
}

type Wall_Post_Response

type Wall_Post_Response struct {
	Response struct {
		// Created post ID
		PostId int `json:"post_id"`
	} `json:"response"`
}

type Wall_Post_TopicId

type Wall_Post_TopicId int
const (
	Wall_Post_TopicId_EmptyTopic     Wall_Post_TopicId = 0
	Wall_Post_TopicId_Art            Wall_Post_TopicId = 1
	Wall_Post_TopicId_It             Wall_Post_TopicId = 7
	Wall_Post_TopicId_Games          Wall_Post_TopicId = 12
	Wall_Post_TopicId_Music          Wall_Post_TopicId = 16
	Wall_Post_TopicId_Photo          Wall_Post_TopicId = 19
	Wall_Post_TopicId_ScienceAndTech Wall_Post_TopicId = 21
	Wall_Post_TopicId_Sport          Wall_Post_TopicId = 23
	Wall_Post_TopicId_Travel         Wall_Post_TopicId = 25
	Wall_Post_TopicId_TvAndCinema    Wall_Post_TopicId = 26
	Wall_Post_TopicId_Humor          Wall_Post_TopicId = 32
	Wall_Post_TopicId_Fashion        Wall_Post_TopicId = 43
)

type Wall_PostedPhoto

type Wall_PostedPhoto struct {
	// Photo ID
	Id *int `json:"id,omitempty"`
	// Photo owner's ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// URL of the preview image with 130 px in width
	//  Format: uri
	Photo130 *string `json:"photo_130,omitempty"`
	// URL of the preview image with 604 px in width
	//  Format: uri
	Photo604 *string `json:"photo_604,omitempty"`
}

type Wall_ReportComment_Reason

type Wall_ReportComment_Reason int
const (
	Wall_ReportComment_Reason_Spam             Wall_ReportComment_Reason = 0
	Wall_ReportComment_Reason_ChildPornography Wall_ReportComment_Reason = 1
	Wall_ReportComment_Reason_Extremism        Wall_ReportComment_Reason = 2
	Wall_ReportComment_Reason_Violence         Wall_ReportComment_Reason = 3
	Wall_ReportComment_Reason_DrugPropaganda   Wall_ReportComment_Reason = 4
	Wall_ReportComment_Reason_AdultMaterial    Wall_ReportComment_Reason = 5
	Wall_ReportComment_Reason_InsultAbuse      Wall_ReportComment_Reason = 6
)

type Wall_ReportComment_Request

type Wall_ReportComment_Request struct {
	// ID of the user or community that owns the wall.
	//  Format: int64
	OwnerId int
	// Comment ID.
	//  Minimum: 0
	CommentId int
	// Reason for the complaint: '0' - spam, '1' - child pornography, '2' - extremism, '3' - violence, '4' - drug propaganda, '5' - adult material, '6' - insult, abuse
	//  Minimum: 0
	Reason *Wall_ReportComment_Reason
}

type Wall_ReportPost_Reason

type Wall_ReportPost_Reason int
const (
	Wall_ReportPost_Reason_Spam             Wall_ReportPost_Reason = 0
	Wall_ReportPost_Reason_ChildPornography Wall_ReportPost_Reason = 1
	Wall_ReportPost_Reason_Extremism        Wall_ReportPost_Reason = 2
	Wall_ReportPost_Reason_Violence         Wall_ReportPost_Reason = 3
	Wall_ReportPost_Reason_DrugPropaganda   Wall_ReportPost_Reason = 4
	Wall_ReportPost_Reason_AdultMaterial    Wall_ReportPost_Reason = 5
	Wall_ReportPost_Reason_InsultAbuse      Wall_ReportPost_Reason = 6
)

type Wall_ReportPost_Request

type Wall_ReportPost_Request struct {
	// ID of the user or community that owns the wall.
	//  Format: int64
	OwnerId int
	// Post ID.
	//  Minimum: 0
	PostId int
	// Reason for the complaint: '0' - spam, '1' - child pornography, '2' - extremism, '3' - violence, '4' - drug propaganda, '5' - adult material, '6' - insult, abuse
	//  Minimum: 0
	Reason *Wall_ReportPost_Reason
}

type Wall_Repost_Request

type Wall_Repost_Request struct {
	// ID of the object to be reposted on the wall. Example: "wall66748_3675"
	Object string
	// Comment to be added along with the reposted object.
	Message *string
	// Target community ID when reposting to a community.
	//  Format: int64
	//  Minimum: 0
	GroupId *int
	//  Default: false
	MarkAsAds         *bool
	MuteNotifications *bool
}

type Wall_Repost_Response

type Wall_Repost_Response struct {
	Response struct {
		// Reposts number
		//  Minimum: 0
		LikesCount int `json:"likes_count"`
		// Reposts to mail number
		//  Minimum: 0
		MailRepostCount *int `json:"mail_repost_count,omitempty"`
		// Created post ID
		PostId int `json:"post_id"`
		// Reposts number
		//  Minimum: 1
		RepostsCount int `json:"reposts_count"`
		//  Default: 1
		Success int `json:"success"`
		// Reposts to wall number
		//  Minimum: 0
		WallRepostCount *int `json:"wall_repost_count,omitempty"`
	} `json:"response"`
}

type Wall_RestoreComment_Request

type Wall_RestoreComment_Request struct {
	// User ID or community ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Comment ID.
	CommentId int
}

type Wall_Restore_Request

type Wall_Restore_Request struct {
	// User ID or community ID from whose wall the post was deleted. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// ID of the post to be restored.
	//  Minimum: 0
	PostId *int
}

type Wall_SearchExtended_Response

type Wall_SearchExtended_Response struct {
	Response struct {
		// Total number
		Count    int                 `json:"count"`
		Groups   []Groups_GroupFull  `json:"groups"`
		Items    []Wall_WallpostFull `json:"items"`
		Profiles []Users_UserFull    `json:"profiles"`
	} `json:"response"`
}

type Wall_Search_Request

type Wall_Search_Request struct {
	// user or community id. "Remember that for a community 'owner_id' must be negative."
	//  Format: int64
	OwnerId *int
	// user or community screen name.
	Domain *string
	// search query string.
	//  MaxLength: 9000
	Query *string
	// '1' - returns only page owner's posts.
	OwnersOnly *bool
	// count of posts to return.
	//  Default: 20
	//  Minimum: 0
	//  Maximum: 100
	Count *int
	// Offset needed to return a specific subset of posts.
	//  Default: 0
	//  Minimum: 0
	Offset *int
	Fields *[]Base_UserGroupFields
}

type Wall_Search_Response

type Wall_Search_Response struct {
	Response struct {
		// Total number
		Count int                 `json:"count"`
		Items []Wall_WallpostFull `json:"items"`
	} `json:"response"`
}

type Wall_Unpin_Request

type Wall_Unpin_Request struct {
	// ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
	//  Format: int64
	OwnerId *int
	// Post ID.
	//  Minimum: 0
	PostId int
}

type Wall_Views

type Wall_Views struct {
	// Count
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
}

type Wall_WallComment

type Wall_WallComment struct {
	Attachments *[]Wall_CommentAttachment `json:"attachments,omitempty"`
	CanEdit     *Base_BoolInt             `json:"can_edit,omitempty"`
	// Date when the comment has been added in Unixtime
	//  Minimum: 0
	Date    int                    `json:"date"`
	Deleted *bool                  `json:"deleted,omitempty"`
	Donut   *Wall_WallCommentDonut `json:"donut,omitempty"`
	// Author ID
	//  Format: int64
	FromId int `json:"from_id"`
	// Comment ID
	//  Minimum: 1
	Id    int             `json:"id"`
	Likes *Base_LikesInfo `json:"likes,omitempty"`
	//  Format: int64
	OwnerId      *int   `json:"owner_id,omitempty"`
	ParentsStack *[]int `json:"parents_stack,omitempty"`
	PhotoId      *int   `json:"photo_id,omitempty"`
	// Photo ID
	//  Minimum: 0
	Pid    *int `json:"pid,omitempty"`
	PostId *int `json:"post_id,omitempty"`
	// Real position of the comment
	RealOffset *int `json:"real_offset,omitempty"`
	// Replied comment ID
	ReplyToComment *int `json:"reply_to_comment,omitempty"`
	// Replied user ID
	//  Format: int64
	ReplyToUser *int `json:"reply_to_user,omitempty"`
	// Comment text
	Text    string          `json:"text"`
	Thread  *Comment_Thread `json:"thread,omitempty"`
	VideoId *int            `json:"video_id,omitempty"`
}

type Wall_WallCommentDonut

type Wall_WallCommentDonut struct {
	// Means commentator is donator
	IsDon       *bool                             `json:"is_don,omitempty"`
	Placeholder *Wall_WallCommentDonutPlaceholder `json:"placeholder,omitempty"`
}

type Wall_WallCommentDonutPlaceholder

type Wall_WallCommentDonutPlaceholder struct {
	Text string `json:"text"`
}

type Wall_Wallpost

type Wall_Wallpost struct {
	// Access key to private object
	AccessKey   *string                    `json:"access_key,omitempty"`
	Attachments *[]Wall_WallpostAttachment `json:"attachments,omitempty"`
	// Information about the source of the post
	Copyright *Wall_PostCopyright `json:"copyright,omitempty"`
	// Date of publishing in Unixtime
	Date *int `json:"date,omitempty"`
	// Date of editing in Unixtime
	//  Minimum: 0
	Edited *int `json:"edited,omitempty"`
	// Post author ID
	//  Format: int64
	FromId *int      `json:"from_id,omitempty"`
	Geo    *Wall_Geo `json:"geo,omitempty"`
	// Post ID
	Id *int `json:"id,omitempty"`
	// Is post archived, only for post owners
	IsArchived *bool `json:"is_archived,omitempty"`
	IsDeleted  *bool `json:"is_deleted,omitempty"`
	// Information whether the post in favorites list
	IsFavorite *bool `json:"is_favorite,omitempty"`
	// Count of likes
	Likes *Base_LikesInfo `json:"likes,omitempty"`
	// Wall owner's ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// If post type 'reply', contains original parent IDs stack
	ParentsStack *[]int `json:"parents_stack,omitempty"`
	// If post type 'reply', contains original post ID
	PostId     *int              `json:"post_id,omitempty"`
	PostSource *Wall_PostSource  `json:"post_source,omitempty"`
	PostType   *Wall_PostType    `json:"post_type,omitempty"`
	Reposts    *Base_RepostsInfo `json:"reposts,omitempty"`
	// Post signer ID
	//  Format: int64
	SignerId *int `json:"signer_id,omitempty"`
	// Post text
	Text *string `json:"text,omitempty"`
	// Count of views
	Views *Wall_Views `json:"views,omitempty"`
}

type Wall_WallpostAttachment

type Wall_WallpostAttachment struct {
	// Access key for the audio
	AccessKey   *string                     `json:"access_key,omitempty"`
	Album       *Photos_PhotoAlbum          `json:"album,omitempty"`
	App         *Wall_AppPost               `json:"app,omitempty"`
	Audio       *Audio_Audio                `json:"audio,omitempty"`
	Doc         *Docs_Doc                   `json:"doc,omitempty"`
	Event       *Events_EventAttach         `json:"event,omitempty"`
	Graffiti    *Wall_Graffiti              `json:"graffiti,omitempty"`
	Group       *Groups_GroupAttach         `json:"group,omitempty"`
	Link        *Base_Link                  `json:"link,omitempty"`
	Market      *Market_MarketItem          `json:"market,omitempty"`
	MarketAlbum *Market_MarketAlbum         `json:"market_album,omitempty"`
	Note        *Notes_Note                 `json:"note,omitempty"`
	Page        *Pages_WikipageFull         `json:"page,omitempty"`
	Photo       *Photos_Photo               `json:"photo,omitempty"`
	Poll        *Polls_Poll                 `json:"poll,omitempty"`
	PostedPhoto *Wall_PostedPhoto           `json:"posted_photo,omitempty"`
	Type        Wall_WallpostAttachmentType `json:"type"`
	Video       *Video_VideoFull            `json:"video,omitempty"`
}

type Wall_WallpostAttachmentType

type Wall_WallpostAttachmentType string

Wall_WallpostAttachmentType Attachment type

const (
	Wall_WallpostAttachmentType_Photo            Wall_WallpostAttachmentType = "photo"
	Wall_WallpostAttachmentType_PhotosList       Wall_WallpostAttachmentType = "photos_list"
	Wall_WallpostAttachmentType_PostedPhoto      Wall_WallpostAttachmentType = "posted_photo"
	Wall_WallpostAttachmentType_Audio            Wall_WallpostAttachmentType = "audio"
	Wall_WallpostAttachmentType_AudioPlaylist    Wall_WallpostAttachmentType = "audio_playlist"
	Wall_WallpostAttachmentType_Video            Wall_WallpostAttachmentType = "video"
	Wall_WallpostAttachmentType_Doc              Wall_WallpostAttachmentType = "doc"
	Wall_WallpostAttachmentType_Link             Wall_WallpostAttachmentType = "link"
	Wall_WallpostAttachmentType_Graffiti         Wall_WallpostAttachmentType = "graffiti"
	Wall_WallpostAttachmentType_Note             Wall_WallpostAttachmentType = "note"
	Wall_WallpostAttachmentType_App              Wall_WallpostAttachmentType = "app"
	Wall_WallpostAttachmentType_Poll             Wall_WallpostAttachmentType = "poll"
	Wall_WallpostAttachmentType_Page             Wall_WallpostAttachmentType = "page"
	Wall_WallpostAttachmentType_Album            Wall_WallpostAttachmentType = "album"
	Wall_WallpostAttachmentType_MarketAlbum      Wall_WallpostAttachmentType = "market_album"
	Wall_WallpostAttachmentType_Market           Wall_WallpostAttachmentType = "market"
	Wall_WallpostAttachmentType_Event            Wall_WallpostAttachmentType = "event"
	Wall_WallpostAttachmentType_DonutLink        Wall_WallpostAttachmentType = "donut_link"
	Wall_WallpostAttachmentType_Article          Wall_WallpostAttachmentType = "article"
	Wall_WallpostAttachmentType_Textlive         Wall_WallpostAttachmentType = "textlive"
	Wall_WallpostAttachmentType_Textpost         Wall_WallpostAttachmentType = "textpost"
	Wall_WallpostAttachmentType_TextpostPublish  Wall_WallpostAttachmentType = "textpost_publish"
	Wall_WallpostAttachmentType_SituationalTheme Wall_WallpostAttachmentType = "situational_theme"
	Wall_WallpostAttachmentType_Group            Wall_WallpostAttachmentType = "group"
	Wall_WallpostAttachmentType_Sticker          Wall_WallpostAttachmentType = "sticker"
	Wall_WallpostAttachmentType_Podcast          Wall_WallpostAttachmentType = "podcast"
)

type Wall_WallpostCommentsDonut

type Wall_WallpostCommentsDonut struct {
	Placeholder *Wall_WallpostCommentsDonutPlaceholder `json:"placeholder,omitempty"`
}

type Wall_WallpostCommentsDonutPlaceholder

type Wall_WallpostCommentsDonutPlaceholder struct {
	Text string `json:"text"`
}

Wall_WallpostCommentsDonutPlaceholder Info about paid comments feature

type Wall_WallpostDonut

type Wall_WallpostDonut struct {
	// Says whether group admin can post free copy of this donut post
	CanPublishFreeCopy *bool `json:"can_publish_free_copy,omitempty"`
	// Says what user can edit in post about donut properties
	EditMode *Wall_WallpostDonut_EditMode `json:"edit_mode,omitempty"`
	// Post only for dons
	IsDonut bool `json:"is_donut"`
	// Value of this field need to pass in wall.post/edit in donut_paid_duration
	PaidDuration *int `json:"paid_duration,omitempty"`
	// If placeholder was respond, text and all attachments will be hidden
	Placeholder *Wall_WallpostDonutPlaceholder `json:"placeholder,omitempty"`
}

Wall_WallpostDonut Info about paid wall post

type Wall_WallpostDonutPlaceholder

type Wall_WallpostDonutPlaceholder struct {
	Text string `json:"text"`
}

type Wall_WallpostDonut_EditMode

type Wall_WallpostDonut_EditMode string
const (
	Wall_WallpostDonut_EditMode_All      Wall_WallpostDonut_EditMode = "all"
	Wall_WallpostDonut_EditMode_Duration Wall_WallpostDonut_EditMode = "duration"
)

type Wall_WallpostFull

type Wall_WallpostFull struct {
	Wall_CarouselBase
	Wall_Wallpost
	// Information whether current user can delete the post
	CanDelete *Base_BoolInt `json:"can_delete,omitempty"`
	// Information whether current user can edit the post
	CanEdit *Base_BoolInt `json:"can_edit,omitempty"`
	// Information whether current user can pin the post
	CanPin      *Base_BoolInt        `json:"can_pin,omitempty"`
	Comments    *Base_CommentsInfo   `json:"comments,omitempty"`
	CopyHistory *[]Wall_WallpostFull `json:"copy_history,omitempty"`
	// Post creator ID (if post still can be edited)
	//  Format: int64
	CreatedBy *int                `json:"created_by,omitempty"`
	Donut     *Wall_WallpostDonut `json:"donut,omitempty"`
	// Hash for sharing
	Hash *string `json:"hash,omitempty"`
	// Information whether the post is pinned
	IsPinned *int `json:"is_pinned,omitempty"`
	// Information whether the post is marked as ads
	MarkedAsAds *Base_BoolInt `json:"marked_as_ads,omitempty"`
	// Preview length control parameter
	//  Minimum: 0
	//  Maximum: 1
	ShortTextRate *float64 `json:"short_text_rate,omitempty"`
	// Topic ID. Allowed values can be obtained from newsfeed.getPostTopics method
	//  Minimum: 0
	TopicId *Wall_WallpostFull_TopicId `json:"topic_id,omitempty"`
}

type Wall_WallpostFull_TopicId

type Wall_WallpostFull_TopicId int
const (
	Wall_WallpostFull_TopicId_EmptyTopic     Wall_WallpostFull_TopicId = 0
	Wall_WallpostFull_TopicId_Art            Wall_WallpostFull_TopicId = 1
	Wall_WallpostFull_TopicId_It             Wall_WallpostFull_TopicId = 7
	Wall_WallpostFull_TopicId_Games          Wall_WallpostFull_TopicId = 12
	Wall_WallpostFull_TopicId_Music          Wall_WallpostFull_TopicId = 16
	Wall_WallpostFull_TopicId_Photo          Wall_WallpostFull_TopicId = 19
	Wall_WallpostFull_TopicId_ScienceAndTech Wall_WallpostFull_TopicId = 21
	Wall_WallpostFull_TopicId_Sport          Wall_WallpostFull_TopicId = 23
	Wall_WallpostFull_TopicId_Travel         Wall_WallpostFull_TopicId = 25
	Wall_WallpostFull_TopicId_TvAndCinema    Wall_WallpostFull_TopicId = 26
	Wall_WallpostFull_TopicId_Humor          Wall_WallpostFull_TopicId = 32
	Wall_WallpostFull_TopicId_Fashion        Wall_WallpostFull_TopicId = 43
)

type Wall_WallpostToId

type Wall_WallpostToId struct {
	Attachments *[]Wall_WallpostAttachment `json:"attachments,omitempty"`
	Comments    *Base_CommentsInfo         `json:"comments,omitempty"`
	// ID of the source post owner
	//  Format: int64
	CopyOwnerId *int `json:"copy_owner_id,omitempty"`
	// ID of the source post
	CopyPostId *int `json:"copy_post_id,omitempty"`
	// Date of publishing in Unixtime
	Date *int `json:"date,omitempty"`
	// Post author ID
	//  Format: int64
	FromId *int      `json:"from_id,omitempty"`
	Geo    *Wall_Geo `json:"geo,omitempty"`
	// Post ID
	Id *int `json:"id,omitempty"`
	// Information whether the post in favorites list
	IsFavorite *bool           `json:"is_favorite,omitempty"`
	Likes      *Base_LikesInfo `json:"likes,omitempty"`
	// wall post ID (if comment)
	PostId     *int              `json:"post_id,omitempty"`
	PostSource *Wall_PostSource  `json:"post_source,omitempty"`
	PostType   *Wall_PostType    `json:"post_type,omitempty"`
	Reposts    *Base_RepostsInfo `json:"reposts,omitempty"`
	// Post signer ID
	//  Format: int64
	SignerId *int `json:"signer_id,omitempty"`
	// Post text
	Text *string `json:"text,omitempty"`
	// Wall owner's ID
	//  Format: int64
	ToId *int `json:"to_id,omitempty"`
}

type Widgets_CommentMedia

type Widgets_CommentMedia struct {
	// Media item ID
	ItemId *int `json:"item_id,omitempty"`
	// Media owner's ID
	//  Format: int64
	OwnerId *int `json:"owner_id,omitempty"`
	// URL of the preview image (type=photo only)
	//  Format: uri
	ThumbSrc *string                   `json:"thumb_src,omitempty"`
	Type     *Widgets_CommentMediaType `json:"type,omitempty"`
}

type Widgets_CommentMediaType

type Widgets_CommentMediaType string

Widgets_CommentMediaType Media type

const (
	Widgets_CommentMediaType_Audio Widgets_CommentMediaType = "audio"
	Widgets_CommentMediaType_Photo Widgets_CommentMediaType = "photo"
	Widgets_CommentMediaType_Video Widgets_CommentMediaType = "video"
)

type Widgets_CommentReplies

type Widgets_CommentReplies struct {
	// Information whether current user can comment the post
	CanPost *Base_BoolInt `json:"can_post,omitempty"`
	// Comments number
	//  Minimum: 0
	Count   *int                          `json:"count,omitempty"`
	Replies *[]Widgets_CommentRepliesItem `json:"replies,omitempty"`
}

type Widgets_CommentRepliesItem

type Widgets_CommentRepliesItem struct {
	// Comment ID
	Cid *int `json:"cid,omitempty"`
	// Date when the comment has been added in Unixtime
	Date  *int                 `json:"date,omitempty"`
	Likes *Widgets_WidgetLikes `json:"likes,omitempty"`
	// Comment text
	Text *string `json:"text,omitempty"`
	// User ID
	Uid  *int            `json:"uid,omitempty"`
	User *Users_UserFull `json:"user,omitempty"`
}

type Widgets_GetComments_Request

type Widgets_GetComments_Request struct {
	WidgetApiId *int
	Url         *string
	PageId      *string
	//  Default: date
	Order  *string
	Fields *[]Users_Fields
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 10
	//  Maximum: 200
	Count *int
}

type Widgets_GetComments_Response

type Widgets_GetComments_Response struct {
	Response struct {
		// Total number
		Count int                     `json:"count"`
		Posts []Widgets_WidgetComment `json:"posts"`
	} `json:"response"`
}

type Widgets_GetPages_Request

type Widgets_GetPages_Request struct {
	WidgetApiId *int
	//  Default: friend_likes
	Order *string
	//  Default: week
	Period *string
	//  Default: 0
	//  Minimum: 0
	Offset *int
	//  Default: 10
	//  Minimum: 10
	//  Maximum: 200
	Count *int
}

type Widgets_GetPages_Response

type Widgets_GetPages_Response struct {
	Response struct {
		// Total number
		Count int                  `json:"count"`
		Pages []Widgets_WidgetPage `json:"pages"`
	} `json:"response"`
}

type Widgets_WidgetComment

type Widgets_WidgetComment struct {
	Attachments *[]Wall_CommentAttachment `json:"attachments,omitempty"`
	// Information whether current user can delete the comment
	CanDelete *Base_BoolInt           `json:"can_delete,omitempty"`
	Comments  *Widgets_CommentReplies `json:"comments,omitempty"`
	// Date when the comment has been added in Unixtime
	Date int `json:"date"`
	// Comment author ID
	FromId int `json:"from_id"`
	// Comment ID
	Id         int                   `json:"id"`
	Likes      *Base_LikesInfo       `json:"likes,omitempty"`
	Media      *Widgets_CommentMedia `json:"media,omitempty"`
	PostSource *Wall_PostSource      `json:"post_source,omitempty"`
	// Post type
	PostType int               `json:"post_type"`
	Reposts  *Base_RepostsInfo `json:"reposts,omitempty"`
	// Comment text
	Text string `json:"text"`
	// Wall owner
	ToId int             `json:"to_id"`
	User *Users_UserFull `json:"user,omitempty"`
}

type Widgets_WidgetLikes

type Widgets_WidgetLikes struct {
	// Likes number
	//  Minimum: 0
	Count *int `json:"count,omitempty"`
}

type Widgets_WidgetPage

type Widgets_WidgetPage struct {
	Comments *Base_ObjectCount `json:"comments,omitempty"`
	// Date when widgets on the page has been initialized firstly in Unixtime
	Date *int `json:"date,omitempty"`
	// Page description
	Description *string `json:"description,omitempty"`
	// Page ID
	Id    *int              `json:"id,omitempty"`
	Likes *Base_ObjectCount `json:"likes,omitempty"`
	// page_id parameter value
	PageId *string `json:"page_id,omitempty"`
	// URL of the preview image
	//  Format: uri
	Photo *string `json:"photo,omitempty"`
	// Page title
	Title *string `json:"title,omitempty"`
	// Page absolute URL
	//  Format: uri
	Url *string `json:"url,omitempty"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL