Documentation ¶
Overview ¶
Package api implements VK API.
Index ¶
- Constants
- func FmtValue(value interface{}, depth int) string
- type AccountChangePasswordResponse
- type AccountGetActiveOffersResponse
- type AccountGetBannedResponse
- type AccountGetCountersResponse
- type AccountGetInfoResponse
- type AccountGetProfileInfoResponse
- type AccountGetPushSettingsResponse
- type AccountSaveProfileInfoResponse
- type AdsAddOfficeUsersItem
- type AdsAddOfficeUsersResponse
- type AdsCheckLinkResponse
- type AdsCreateAdsResponse
- type AdsCreateCampaignsResponse
- type AdsCreateClientsResponse
- type AdsCreateLookalikeRequestResponse
- type AdsCreateTargetGroupResponse
- type AdsCreateTargetPixelResponse
- type AdsDeleteAdsResponse
- type AdsDeleteCampaignsResponse
- type AdsDeleteClientsResponse
- type AdsError
- type AdsGetAccountsResponse
- type AdsGetAdsLayoutResponse
- type AdsGetAdsResponse
- type AdsGetMusiciansResponse
- type AdsGetTargetGroupsResponse
- type AppWidgetsGetAppImageUploadServerResponse
- type AppWidgetsGetAppImagesResponse
- type AppWidgetsGetGroupImageUploadServerResponse
- type AppWidgetsGetGroupImagesResponse
- type AppsGetCatalogResponse
- type AppsGetFriendsListExtendedResponse
- type AppsGetFriendsListResponse
- type AppsGetLeaderboardExtendedResponse
- type AppsGetLeaderboardResponse
- type AppsGetResponse
- type AppsGetScopesResponse
- type AppsGetTestingGroupsResponse
- type AppsUpdateMetaForTestingGroupResponse
- type AuthExchangeSilentAuthTokenResponse
- type AuthGetProfileInfoBySilentTokenResponse
- type AuthRestoreResponse
- type AuthSilentTokenError
- type BoardGetCommentsExtendedResponse
- type BoardGetCommentsResponse
- type BoardGetTopicsExtendedResponse
- type BoardGetTopicsResponse
- type CallsStartResponse
- type DatabaseGetChairsResponse
- type DatabaseGetCitiesByIDResponse
- type DatabaseGetCitiesResponse
- type DatabaseGetCountriesByIDResponse
- type DatabaseGetCountriesResponse
- type DatabaseGetFacultiesResponse
- type DatabaseGetMetroStationsByIDResponse
- type DatabaseGetMetroStationsResponse
- type DatabaseGetRegionsResponse
- type DatabaseGetSchoolClassesResponse
- type DatabaseGetSchoolsResponse
- type DatabaseGetUniversitiesResponse
- type DocsGetByIDResponse
- type DocsGetMessagesUploadServerResponse
- type DocsGetResponse
- type DocsGetTypesResponse
- type DocsGetUploadServerResponse
- type DocsGetWallUploadServerResponse
- type DocsSaveResponse
- type DocsSearchResponse
- type DonutGetFriendsResponse
- type DonutGetSubscriptionsResponse
- type DownloadedGamesGetPaidStatusResponse
- type Error
- type ErrorSubtype
- type ErrorType
- type ExchangeSilentTokenSource
- type ExecuteError
- type ExecuteErrors
- type FaveAddTagResponse
- type FaveGetExtendedResponse
- type FaveGetPagesResponse
- type FaveGetResponse
- type FaveGetTagsResponse
- type FriendsAddListResponse
- type FriendsAreFriendsResponse
- type FriendsDeleteResponse
- type FriendsGetAppUsersResponse
- type FriendsGetByPhonesResponse
- type FriendsGetFieldsResponse
- type FriendsGetListsResponse
- type FriendsGetMutualResponse
- type FriendsGetOnlineOnlineMobileResponse
- type FriendsGetRecentResponse
- type FriendsGetRequestsExtendedResponse
- type FriendsGetRequestsNeedMutualResponse
- type FriendsGetRequestsResponse
- type FriendsGetResponse
- type FriendsGetSuggestionsResponse
- type FriendsSearchResponse
- type GiftsGetCatalogResponse
- type GiftsGetResponse
- type GroupsAddAddressResponse
- type GroupsAddCallbackServerResponse
- type GroupsAddLinkResponse
- type GroupsCreateResponse
- type GroupsEditAddressResponse
- type GroupsGetAddressesResponse
- type GroupsGetBannedResponse
- type GroupsGetByIDResponse
- type GroupsGetCallbackConfirmationCodeResponse
- type GroupsGetCallbackServersResponse
- type GroupsGetCallbackSettingsResponse
- type GroupsGetCatalogInfoExtendedResponse
- type GroupsGetCatalogInfoResponse
- type GroupsGetCatalogResponse
- type GroupsGetExtendedResponse
- type GroupsGetInvitedUsersResponse
- type GroupsGetInvitesExtendedResponse
- type GroupsGetInvitesResponse
- type GroupsGetLongPollServerResponse
- type GroupsGetLongPollSettingsResponse
- type GroupsGetMembersFieldsResponse
- type GroupsGetMembersFilterManagersResponse
- type GroupsGetMembersResponse
- type GroupsGetOnlineStatusResponse
- type GroupsGetRequestsFieldsResponse
- type GroupsGetRequestsResponse
- type GroupsGetResponse
- type GroupsGetSettingsResponse
- type GroupsGetTagListResponse
- type GroupsGetTokenPermissionsResponse
- type GroupsIsMemberExtendedResponse
- type GroupsIsMemberUserIDsExtendedResponse
- type GroupsIsMemberUserIDsResponse
- type GroupsSearchResponse
- type InvalidContentType
- type LeadFormsCreateResponse
- type LeadFormsDeleteResponse
- type LeadFormsGetLeadsResponse
- type LeadFormsGetResponse
- type LeadFormsListResponse
- type LeadFormsUpdateResponse
- type LeadsCheckUserResponse
- type LeadsCompleteResponse
- type LeadsGetStatsResponse
- type LeadsGetUsersResponse
- type LeadsMetricHitResponse
- type LeadsStartResponse
- type LikesAddResponse
- type LikesDeleteResponse
- type LikesGetListExtendedResponse
- type LikesGetListResponse
- type LikesIsLikedResponse
- type MarketAddAlbumResponse
- type MarketAddResponse
- type MarketGetAlbumByIDResponse
- type MarketGetAlbumsResponse
- type MarketGetByIDResponse
- type MarketGetCategoriesResponse
- type MarketGetCommentsExtendedResponse
- type MarketGetCommentsResponse
- type MarketGetGroupOrdersResponse
- type MarketGetOrderByIDResponse
- type MarketGetOrderItemsResponse
- type MarketGetResponse
- type MarketSearchItemsResponse
- type MarketSearchResponse
- type MarusiaCreateAudioResponse
- type MarusiaGetAudioUploadLinkResponse
- type MarusiaGetAudiosResponse
- type MarusiaGetPictureUploadLinkResponse
- type MarusiaGetPicturesResponse
- type MarusiaSavePictureResponse
- type MessagesDeleteChatPhotoResponse
- type MessagesDeleteConversationResponse
- type MessagesDeleteResponse
- type MessagesGetByConversationMessageIDResponse
- type MessagesGetByIDExtendedResponse
- type MessagesGetByIDResponse
- type MessagesGetChatChatIDsResponse
- type MessagesGetChatPreviewResponse
- type MessagesGetChatResponse
- type MessagesGetConversationMembersResponse
- type MessagesGetConversationsByIDExtendedResponse
- type MessagesGetConversationsByIDResponse
- type MessagesGetConversationsResponse
- type MessagesGetHistoryAttachmentsResponse
- type MessagesGetHistoryResponse
- type MessagesGetImportantMessagesResponse
- type MessagesGetIntentUsersResponse
- type MessagesGetInviteLinkResponse
- type MessagesGetLastActivityResponse
- type MessagesGetLongPollHistoryResponse
- type MessagesGetLongPollServerResponse
- type MessagesIsMessagesFromGroupAllowedResponse
- type MessagesJoinChatByInviteLinkResponse
- type MessagesMarkAsImportantResponse
- type MessagesPinResponse
- type MessagesSearchConversationsResponse
- type MessagesSearchResponse
- type MessagesSendUserIDsResponse
- type MessagesSetChatPhotoResponse
- type MessagesStartCallResponse
- type NewsfeedGetBannedExtendedResponse
- type NewsfeedGetBannedResponse
- type NewsfeedGetCommentsResponse
- type NewsfeedGetListsResponse
- type NewsfeedGetMentionsResponse
- type NewsfeedGetRecommendedResponse
- type NewsfeedGetResponse
- type NewsfeedGetSuggestedSourcesResponse
- type NewsfeedIgnoreItemResponse
- type NewsfeedSearchExtendedResponse
- type NewsfeedSearchResponse
- type NotesGetByIDResponse
- type NotesGetCommentsResponse
- type NotesGetResponse
- type NotificationsGetResponse
- type NotificationsSendMessageResponse
- type OrdersChangeStateResponse
- type OrdersGetAmountResponse
- type OrdersGetByIDResponse
- type OrdersGetResponse
- type OrdersGetUserSubscriptionByIDResponse
- type OrdersGetUserSubscriptionsResponse
- type PagesGetHistoryResponse
- type PagesGetResponse
- type PagesGetTitlesResponse
- type PagesGetVersionResponse
- type Params
- type PhotosCreateAlbumResponse
- type PhotosGetAlbumsResponse
- type PhotosGetAllCommentsResponse
- type PhotosGetAllExtendedResponse
- type PhotosGetAllResponse
- type PhotosGetByIDExtendedResponse
- type PhotosGetByIDResponse
- type PhotosGetChatUploadServerResponse
- type PhotosGetCommentsExtendedResponse
- type PhotosGetCommentsResponse
- type PhotosGetExtendedResponse
- type PhotosGetMarketAlbumUploadServerResponse
- type PhotosGetMarketUploadServerResponse
- type PhotosGetMessagesUploadServerResponse
- type PhotosGetNewTagsResponse
- type PhotosGetOwnerCoverPhotoUploadServerResponse
- type PhotosGetOwnerPhotoUploadServerResponse
- type PhotosGetResponse
- type PhotosGetTagsResponse
- type PhotosGetUploadServerResponse
- type PhotosGetUserPhotosExtendedResponse
- type PhotosGetUserPhotosResponse
- type PhotosGetWallUploadServerResponse
- type PhotosSaveMarketAlbumPhotoResponse
- type PhotosSaveMarketPhotoResponse
- type PhotosSaveMessagesPhotoResponse
- type PhotosSaveOwnerCoverPhotoResponse
- type PhotosSaveOwnerPhotoResponse
- type PhotosSaveResponse
- type PhotosSaveWallPhotoResponse
- type PhotosSearchResponse
- type PodcastsGetCatalogExtendedResponse
- type PodcastsGetCatalogResponse
- type PodcastsGetCategoriesResponse
- type PodcastsGetEpisodesResponse
- type PodcastsGetFeedExtendedResponse
- type PodcastsGetFeedResponse
- type PodcastsGetStartPageExtendedResponse
- type PodcastsGetStartPageResponse
- type PollsCreateResponse
- type PollsGetBackgroundsResponse
- type PollsGetByIDResponse
- type PollsGetPhotoUploadServerResponse
- type PollsGetVotersFieldsResponse
- type PollsGetVotersResponse
- type PollsSavePhotoResponse
- type PrettyCardsCreateResponse
- type PrettyCardsDeleteResponse
- type PrettyCardsEditResponse
- type PrettyCardsGetByIDResponse
- type PrettyCardsGetResponse
- type Response
- type SearchGetHintsResponse
- type SecureAddAppEventResponse
- type SecureCheckTokenResponse
- type SecureGetSMSHistoryResponse
- type SecureGetTransactionsHistoryResponse
- type SecureGetUserLevelResponse
- type SecureGiveEventStickerResponse
- type SecureSendNotificationResponse
- type StatsGetPostReachResponse
- type StatsGetResponse
- type StatusGetResponse
- type StorageGetKeysResponse
- type StorageGetResponse
- type StoreGetFavoriteStickersResponse
- type StoriesGetBannedExtendedResponse
- type StoriesGetBannedResponse
- type StoriesGetByIDExtendedResponse
- type StoriesGetByIDResponse
- type StoriesGetExtendedResponse
- type StoriesGetPhotoUploadServerResponse
- type StoriesGetRepliesExtendedResponse
- type StoriesGetRepliesResponse
- type StoriesGetResponse
- type StoriesGetStatsResponse
- type StoriesGetVideoUploadServerResponse
- type StoriesGetViewersResponse
- type StoriesSaveResponse
- type StoriesSearchExtendedResponse
- type StoriesSearchResponse
- type StreamingGetServerURLResponse
- type StreamingGetSettingsResponse
- type StreamingGetStatsResponse
- type StreamingGetStemResponse
- type UploadError
- type UploadStories
- type UsersGetFollowersFieldsResponse
- type UsersGetFollowersResponse
- type UsersGetResponse
- type UsersGetSubscriptionsResponse
- type UsersSearchResponse
- type UtilsCheckLinkResponse
- type UtilsGetLastShortenedLinksResponse
- type UtilsGetLinkStatsExtendedResponse
- type UtilsGetLinkStatsResponse
- type UtilsGetShortLinkResponse
- type UtilsResolveScreenNameResponse
- type VK
- func (vk *VK) AccountBan(params Params) (response int, err error)
- func (vk *VK) AccountChangePassword(params Params) (response AccountChangePasswordResponse, err error)
- func (vk *VK) AccountGetActiveOffers(params Params) (response AccountGetActiveOffersResponse, err error)
- func (vk *VK) AccountGetAppPermissions(params Params) (response int, err error)
- func (vk *VK) AccountGetBanned(params Params) (response AccountGetBannedResponse, err error)
- func (vk *VK) AccountGetCounters(params Params) (response AccountGetCountersResponse, err error)
- func (vk *VK) AccountGetInfo(params Params) (response AccountGetInfoResponse, err error)
- func (vk *VK) AccountGetProfileInfo(params Params) (response AccountGetProfileInfoResponse, err error)
- func (vk *VK) AccountGetPushSettings(params Params) (response AccountGetPushSettingsResponse, err error)
- func (vk *VK) AccountRegisterDevice(params Params) (response int, err error)
- func (vk *VK) AccountSaveProfileInfo(params Params) (response AccountSaveProfileInfoResponse, err error)
- func (vk *VK) AccountSetInfo(params Params) (response int, err error)
- func (vk *VK) AccountSetNameInMenu(params Params) (response int, err error)deprecated
- func (vk *VK) AccountSetOffline(params Params) (response int, err error)
- func (vk *VK) AccountSetOnline(params Params) (response int, err error)
- func (vk *VK) AccountSetPushSettings(params Params) (response int, err error)
- func (vk *VK) AccountSetSilenceMode(params Params) (response int, err error)
- func (vk *VK) AccountUnban(params Params) (response int, err error)
- func (vk *VK) AccountUnregisterDevice(params Params) (response int, err error)
- func (vk *VK) AdsAddOfficeUsers(params Params) (response AdsAddOfficeUsersResponse, err error)
- func (vk *VK) AdsCheckLink(params Params) (response AdsCheckLinkResponse, err error)
- func (vk *VK) AdsCreateAds(params Params) (response AdsCreateAdsResponse, err error)
- func (vk *VK) AdsCreateCampaigns(params Params) (response AdsCreateCampaignsResponse, err error)
- func (vk *VK) AdsCreateClients(params Params) (response AdsCreateClientsResponse, err error)
- func (vk *VK) AdsCreateLookalikeRequest(params Params) (response AdsCreateLookalikeRequestResponse, err error)
- func (vk *VK) AdsCreateTargetGroup(params Params) (response AdsCreateTargetGroupResponse, err error)
- func (vk *VK) AdsCreateTargetPixel(params Params) (response AdsCreateTargetPixelResponse, err error)
- func (vk *VK) AdsDeleteAds(params Params) (response AdsDeleteAdsResponse, err error)
- func (vk *VK) AdsDeleteCampaigns(params Params) (response AdsDeleteCampaignsResponse, err error)
- func (vk *VK) AdsDeleteClients(params Params) (response AdsDeleteClientsResponse, err error)
- func (vk *VK) AdsDeleteTargetGroup(params Params) (response int, err error)
- func (vk *VK) AdsDeleteTargetPixel(params Params) (response int, err error)
- func (vk *VK) AdsGetAccounts(params Params) (response AdsGetAccountsResponse, err error)
- func (vk *VK) AdsGetAds(params Params) (response AdsGetAdsResponse, err error)
- func (vk *VK) AdsGetAdsLayout(params Params) (response AdsGetAdsLayoutResponse, err error)
- func (vk *VK) AdsGetMusicians(params Params) (response AdsGetMusiciansResponse, err error)
- func (vk *VK) AdsGetTargetGroups(params Params) (response AdsGetTargetGroupsResponse, err error)
- func (vk *VK) AdsRemoveTargetContacts(params Params) (response int, err error)
- func (vk *VK) AdsUpdateTargetGroup(params Params) (response int, err error)
- func (vk *VK) AdsUpdateTargetPixel(params Params) (response int, err error)
- func (vk *VK) AppWidgetsGetAppImageUploadServer(params Params) (response AppWidgetsGetAppImageUploadServerResponse, err error)
- func (vk *VK) AppWidgetsGetAppImages(params Params) (response AppWidgetsGetAppImagesResponse, err error)
- func (vk *VK) AppWidgetsGetGroupImageUploadServer(params Params) (response AppWidgetsGetGroupImageUploadServerResponse, err error)
- func (vk *VK) AppWidgetsGetGroupImages(params Params) (response AppWidgetsGetGroupImagesResponse, err error)
- func (vk *VK) AppWidgetsGetImagesByID(params Params) (response object.AppWidgetsImage, err error)
- func (vk *VK) AppWidgetsSaveAppImage(params Params) (response object.AppWidgetsImage, err error)
- func (vk *VK) AppWidgetsSaveGroupImage(params Params) (response object.AppWidgetsImage, err error)
- func (vk *VK) AppWidgetsUpdate(params Params) (response int, err error)
- func (vk *VK) AppsAddUsersToTestingGroup(params Params) (response int, err error)
- func (vk *VK) AppsDeleteAppRequests(params Params) (response int, err error)
- func (vk *VK) AppsGet(params Params) (response AppsGetResponse, err error)
- func (vk *VK) AppsGetCatalog(params Params) (response AppsGetCatalogResponse, err error)
- func (vk *VK) AppsGetFriendsList(params Params) (response AppsGetFriendsListResponse, err error)
- func (vk *VK) AppsGetFriendsListExtended(params Params) (response AppsGetFriendsListExtendedResponse, err error)
- func (vk *VK) AppsGetLeaderboard(params Params) (response AppsGetLeaderboardResponse, err error)
- func (vk *VK) AppsGetLeaderboardExtended(params Params) (response AppsGetLeaderboardExtendedResponse, err error)
- func (vk *VK) AppsGetScopes(params Params) (response AppsGetScopesResponse, err error)
- func (vk *VK) AppsGetScore(params Params) (response string, err error)
- func (vk *VK) AppsGetTestingGroups(params Params) (response AppsGetTestingGroupsResponse, err error)
- func (vk *VK) AppsRemoveTestingGroup(params Params) (response int, err error)
- func (vk *VK) AppsRemoveUsersFromTestingGroups(params Params) (response int, err error)
- func (vk *VK) AppsSendRequest(params Params) (response int, err error)
- func (vk *VK) AppsUpdateMetaForTestingGroup(params Params) (response AppsUpdateMetaForTestingGroupResponse, err error)
- func (vk *VK) AuthCheckPhone(params Params) (response int, err error)deprecated
- func (vk *VK) AuthExchangeSilentAuthToken(params Params) (response AuthExchangeSilentAuthTokenResponse, err error)
- func (vk *VK) AuthGetProfileInfoBySilentToken(params Params) (response AuthGetProfileInfoBySilentTokenResponse, err error)
- func (vk *VK) AuthRestore(params Params) (response AuthRestoreResponse, err error)
- func (vk *VK) BoardAddTopic(params Params) (response int, err error)
- func (vk *VK) BoardCloseTopic(params Params) (response int, err error)
- func (vk *VK) BoardCreateComment(params Params) (response int, err error)
- func (vk *VK) BoardDeleteComment(params Params) (response int, err error)
- func (vk *VK) BoardDeleteTopic(params Params) (response int, err error)
- func (vk *VK) BoardEditComment(params Params) (response int, err error)
- func (vk *VK) BoardEditTopic(params Params) (response int, err error)
- func (vk *VK) BoardFixTopic(params Params) (response int, err error)
- func (vk *VK) BoardGetComments(params Params) (response BoardGetCommentsResponse, err error)
- func (vk *VK) BoardGetCommentsExtended(params Params) (response BoardGetCommentsExtendedResponse, err error)
- func (vk *VK) BoardGetTopics(params Params) (response BoardGetTopicsResponse, err error)
- func (vk *VK) BoardGetTopicsExtended(params Params) (response BoardGetTopicsExtendedResponse, err error)
- func (vk *VK) BoardOpenTopic(params Params) (response int, err error)
- func (vk *VK) BoardRestoreComment(params Params) (response int, err error)
- func (vk *VK) BoardUnfixTopic(params Params) (response int, err error)
- func (vk *VK) CallsForceFinish(params Params) (response int, err error)
- func (vk *VK) CallsStart(params Params) (response CallsStartResponse, err error)
- func (vk *VK) CaptchaForce(params Params) (response int, err error)
- func (vk *VK) DatabaseGetChairs(params Params) (response DatabaseGetChairsResponse, err error)
- func (vk *VK) DatabaseGetCities(params Params) (response DatabaseGetCitiesResponse, err error)
- func (vk *VK) DatabaseGetCitiesByID(params Params) (response DatabaseGetCitiesByIDResponse, err error)
- func (vk *VK) DatabaseGetCountries(params Params) (response DatabaseGetCountriesResponse, err error)
- func (vk *VK) DatabaseGetCountriesByID(params Params) (response DatabaseGetCountriesByIDResponse, err error)
- func (vk *VK) DatabaseGetFaculties(params Params) (response DatabaseGetFacultiesResponse, err error)
- func (vk *VK) DatabaseGetMetroStations(params Params) (response DatabaseGetMetroStationsResponse, err error)
- func (vk *VK) DatabaseGetMetroStationsByID(params Params) (response DatabaseGetMetroStationsByIDResponse, err error)
- func (vk *VK) DatabaseGetRegions(params Params) (response DatabaseGetRegionsResponse, err error)
- func (vk *VK) DatabaseGetSchoolClasses(params Params) (response DatabaseGetSchoolClassesResponse, err error)
- func (vk *VK) DatabaseGetSchools(params Params) (response DatabaseGetSchoolsResponse, err error)
- func (vk *VK) DatabaseGetUniversities(params Params) (response DatabaseGetUniversitiesResponse, err error)
- func (vk *VK) DefaultHandler(method string, sliceParams ...Params) (Response, error)
- func (vk *VK) DocsAdd(params Params) (response int, err error)
- func (vk *VK) DocsDelete(params Params) (response int, err error)
- func (vk *VK) DocsEdit(params Params) (response int, err error)
- func (vk *VK) DocsGet(params Params) (response DocsGetResponse, err error)
- func (vk *VK) DocsGetByID(params Params) (response DocsGetByIDResponse, err error)
- func (vk *VK) DocsGetMessagesUploadServer(params Params) (response DocsGetMessagesUploadServerResponse, err error)
- func (vk *VK) DocsGetTypes(params Params) (response DocsGetTypesResponse, err error)
- func (vk *VK) DocsGetUploadServer(params Params) (response DocsGetUploadServerResponse, err error)
- func (vk *VK) DocsGetWallUploadServer(params Params) (response DocsGetWallUploadServerResponse, err error)
- func (vk *VK) DocsSave(params Params) (response DocsSaveResponse, err error)
- func (vk *VK) DocsSearch(params Params) (response DocsSearchResponse, err error)
- func (vk *VK) DonutGetFriends(params Params) (response DonutGetFriendsResponse, err error)
- func (vk *VK) DonutGetSubscription(params Params) (response object.DonutDonatorSubscriptionInfo, err error)
- func (vk *VK) DonutGetSubscriptions(params Params) (response DonutGetSubscriptionsResponse, err error)
- func (vk *VK) DonutIsDon(params Params) (response int, err error)
- func (vk *VK) DownloadedGamesGetPaidStatus(params Params) (response DownloadedGamesGetPaidStatusResponse, err error)
- func (vk *VK) EnableMessagePack()
- func (vk *VK) EnableZstd()
- func (vk *VK) Execute(code string, obj interface{}) error
- func (vk *VK) ExecuteWithArgs(code string, params Params, obj interface{}) error
- func (vk *VK) FaveAddArticle(params Params) (response int, err error)
- func (vk *VK) FaveAddLink(params Params) (response int, err error)
- func (vk *VK) FaveAddPage(params Params) (response int, err error)
- func (vk *VK) FaveAddPost(params Params) (response int, err error)
- func (vk *VK) FaveAddProduct(params Params) (response int, err error)
- func (vk *VK) FaveAddTag(params Params) (response FaveAddTagResponse, err error)
- func (vk *VK) FaveAddVideo(params Params) (response int, err error)
- func (vk *VK) FaveEditTag(params Params) (response int, err error)
- func (vk *VK) FaveGet(params Params) (response FaveGetResponse, err error)
- func (vk *VK) FaveGetExtended(params Params) (response FaveGetExtendedResponse, err error)
- func (vk *VK) FaveGetPages(params Params) (response FaveGetPagesResponse, err error)
- func (vk *VK) FaveGetTags(params Params) (response FaveGetTagsResponse, err error)
- func (vk *VK) FaveMarkSeen(params Params) (response int, err error)
- func (vk *VK) FaveRemoveArticle(params Params) (response int, err error)
- func (vk *VK) FaveRemoveLink(params Params) (response int, err error)
- func (vk *VK) FaveRemovePage(params Params) (response int, err error)
- func (vk *VK) FaveRemovePost(params Params) (response int, err error)
- func (vk *VK) FaveRemoveProduct(params Params) (response int, err error)
- func (vk *VK) FaveRemoveTag(params Params) (response int, err error)
- func (vk *VK) FaveRemoveVideo(params Params) (response int, err error)
- func (vk *VK) FaveReorderTags(params Params) (response int, err error)
- func (vk *VK) FaveSetPageTags(params Params) (response int, err error)
- func (vk *VK) FaveSetTags(params Params) (response int, err error)
- func (vk *VK) FaveTrackPageInteraction(params Params) (response int, err error)
- func (vk *VK) FriendsAdd(params Params) (response int, err error)
- func (vk *VK) FriendsAddList(params Params) (response FriendsAddListResponse, err error)
- func (vk *VK) FriendsAreFriends(params Params) (response FriendsAreFriendsResponse, err error)
- func (vk *VK) FriendsDelete(params Params) (response FriendsDeleteResponse, err error)
- func (vk *VK) FriendsDeleteAllRequests(params Params) (response int, err error)
- func (vk *VK) FriendsDeleteList(params Params) (response int, err error)
- func (vk *VK) FriendsEdit(params Params) (response int, err error)
- func (vk *VK) FriendsEditList(params Params) (response int, err error)
- func (vk *VK) FriendsGet(params Params) (response FriendsGetResponse, err error)
- func (vk *VK) FriendsGetAppUsers(params Params) (response FriendsGetAppUsersResponse, err error)
- func (vk *VK) FriendsGetByPhones(params Params) (response FriendsGetByPhonesResponse, err error)
- func (vk *VK) FriendsGetFields(params Params) (response FriendsGetFieldsResponse, err error)
- func (vk *VK) FriendsGetLists(params Params) (response FriendsGetListsResponse, err error)
- func (vk *VK) FriendsGetMutual(params Params) (response FriendsGetMutualResponse, err error)
- func (vk *VK) FriendsGetOnline(params Params) (response []int, err error)
- func (vk *VK) FriendsGetOnlineOnlineMobile(params Params) (response FriendsGetOnlineOnlineMobileResponse, err error)
- func (vk *VK) FriendsGetRecent(params Params) (response FriendsGetRecentResponse, err error)
- func (vk *VK) FriendsGetRequests(params Params) (response FriendsGetRequestsResponse, err error)
- func (vk *VK) FriendsGetRequestsExtended(params Params) (response FriendsGetRequestsExtendedResponse, err error)
- func (vk *VK) FriendsGetRequestsNeedMutual(params Params) (response FriendsGetRequestsNeedMutualResponse, err error)
- func (vk *VK) FriendsGetSuggestions(params Params) (response FriendsGetSuggestionsResponse, err error)
- func (vk *VK) FriendsSearch(params Params) (response FriendsSearchResponse, err error)
- func (vk *VK) GiftsGet(params Params) (response GiftsGetResponse, err error)
- func (vk *VK) GiftsGetCatalog(params Params) (response GiftsGetCatalogResponse, err error)
- func (vk *VK) GroupsAddAddress(params Params) (response GroupsAddAddressResponse, err error)
- func (vk *VK) GroupsAddCallbackServer(params Params) (response GroupsAddCallbackServerResponse, err error)
- func (vk *VK) GroupsAddLink(params Params) (response GroupsAddLinkResponse, err error)
- func (vk *VK) GroupsApproveRequest(params Params) (response int, err error)
- func (vk *VK) GroupsBan(params Params) (response int, err error)
- func (vk *VK) GroupsCreate(params Params) (response GroupsCreateResponse, err error)
- func (vk *VK) GroupsDeleteAddress(params Params) (response int, err error)
- func (vk *VK) GroupsDeleteCallbackServer(params Params) (response int, err error)
- func (vk *VK) GroupsDeleteLink(params Params) (response int, err error)
- func (vk *VK) GroupsDisableOnline(params Params) (response int, err error)
- func (vk *VK) GroupsEdit(params Params) (response int, err error)
- func (vk *VK) GroupsEditAddress(params Params) (response GroupsEditAddressResponse, err error)
- func (vk *VK) GroupsEditCallbackServer(params Params) (response int, err error)
- func (vk *VK) GroupsEditLink(params Params) (response int, err error)
- func (vk *VK) GroupsEditManager(params Params) (response int, err error)
- func (vk *VK) GroupsEnableOnline(params Params) (response int, err error)
- func (vk *VK) GroupsGet(params Params) (response GroupsGetResponse, err error)
- func (vk *VK) GroupsGetAddresses(params Params) (response GroupsGetAddressesResponse, err error)
- func (vk *VK) GroupsGetBanned(params Params) (response GroupsGetBannedResponse, err error)
- func (vk *VK) GroupsGetByID(params Params) (response GroupsGetByIDResponse, err error)
- func (vk *VK) GroupsGetCallbackConfirmationCode(params Params) (response GroupsGetCallbackConfirmationCodeResponse, err error)
- func (vk *VK) GroupsGetCallbackServers(params Params) (response GroupsGetCallbackServersResponse, err error)
- func (vk *VK) GroupsGetCallbackSettings(params Params) (response GroupsGetCallbackSettingsResponse, err error)
- func (vk *VK) GroupsGetCatalog(params Params) (response GroupsGetCatalogResponse, err error)deprecated
- func (vk *VK) GroupsGetCatalogInfo(params Params) (response GroupsGetCatalogInfoResponse, err error)
- func (vk *VK) GroupsGetCatalogInfoExtended(params Params) (response GroupsGetCatalogInfoExtendedResponse, err error)
- func (vk *VK) GroupsGetExtended(params Params) (response GroupsGetExtendedResponse, err error)
- func (vk *VK) GroupsGetInvitedUsers(params Params) (response GroupsGetInvitedUsersResponse, err error)
- func (vk *VK) GroupsGetInvites(params Params) (response GroupsGetInvitesResponse, err error)
- func (vk *VK) GroupsGetInvitesExtended(params Params) (response GroupsGetInvitesExtendedResponse, err error)
- func (vk *VK) GroupsGetLongPollServer(params Params) (response GroupsGetLongPollServerResponse, err error)
- func (vk *VK) GroupsGetLongPollSettings(params Params) (response GroupsGetLongPollSettingsResponse, err error)
- func (vk *VK) GroupsGetMembers(params Params) (response GroupsGetMembersResponse, err error)
- func (vk *VK) GroupsGetMembersFields(params Params) (response GroupsGetMembersFieldsResponse, err error)
- func (vk *VK) GroupsGetMembersFilterManagers(params Params) (response GroupsGetMembersFilterManagersResponse, err error)
- func (vk *VK) GroupsGetOnlineStatus(params Params) (response GroupsGetOnlineStatusResponse, err error)
- func (vk *VK) GroupsGetRequests(params Params) (response GroupsGetRequestsResponse, err error)
- func (vk *VK) GroupsGetRequestsFields(params Params) (response GroupsGetRequestsFieldsResponse, err error)
- func (vk *VK) GroupsGetSettings(params Params) (response GroupsGetSettingsResponse, err error)
- func (vk *VK) GroupsGetTagList(params Params) (response GroupsGetTagListResponse, err error)
- func (vk *VK) GroupsGetTokenPermissions(params Params) (response GroupsGetTokenPermissionsResponse, err error)
- func (vk *VK) GroupsInvite(params Params) (response int, err error)
- func (vk *VK) GroupsIsMember(params Params) (response int, err error)
- func (vk *VK) GroupsIsMemberExtended(params Params) (response GroupsIsMemberExtendedResponse, err error)
- func (vk *VK) GroupsIsMemberUserIDs(params Params) (response GroupsIsMemberUserIDsResponse, err error)
- func (vk *VK) GroupsIsMemberUserIDsExtended(params Params) (response GroupsIsMemberUserIDsExtendedResponse, err error)
- func (vk *VK) GroupsJoin(params Params) (response int, err error)
- func (vk *VK) GroupsLeave(params Params) (response int, err error)
- func (vk *VK) GroupsRemoveUser(params Params) (response int, err error)
- func (vk *VK) GroupsReorderLink(params Params) (response int, err error)
- func (vk *VK) GroupsSearch(params Params) (response GroupsSearchResponse, err error)
- func (vk *VK) GroupsSetCallbackSettings(params Params) (response int, err error)
- func (vk *VK) GroupsSetLongPollSettings(params Params) (response int, err error)
- func (vk *VK) GroupsSetSettings(params Params) (response int, err error)
- func (vk *VK) GroupsSetUserNote(params Params) (response int, err error)
- func (vk *VK) GroupsTagAdd(params Params) (response int, err error)
- func (vk *VK) GroupsTagBind(params Params) (response int, err error)
- func (vk *VK) GroupsTagDelete(params Params) (response int, err error)
- func (vk *VK) GroupsTagUpdate(params Params) (response int, err error)
- func (vk *VK) GroupsToggleMarket(params Params) (response int, err error)
- func (vk *VK) GroupsUnban(params Params) (response int, err error)
- func (vk *VK) LeadFormsCreate(params Params) (response LeadFormsCreateResponse, err error)
- func (vk *VK) LeadFormsDelete(params Params) (response LeadFormsDeleteResponse, err error)
- func (vk *VK) LeadFormsGet(params Params) (response LeadFormsGetResponse, err error)
- func (vk *VK) LeadFormsGetLeads(params Params) (response LeadFormsGetLeadsResponse, err error)
- func (vk *VK) LeadFormsGetUploadURL(params Params) (response string, err error)
- func (vk *VK) LeadFormsList(params Params) (response LeadFormsListResponse, err error)
- func (vk *VK) LeadFormsUpdate(params Params) (response LeadFormsUpdateResponse, err error)
- func (vk *VK) LeadsCheckUser(params Params) (response LeadsCheckUserResponse, err error)
- func (vk *VK) LeadsComplete(params Params) (response LeadsCompleteResponse, err error)
- func (vk *VK) LeadsGetStats(params Params) (response LeadsGetStatsResponse, err error)
- func (vk *VK) LeadsGetUsers(params Params) (response LeadsGetUsersResponse, err error)
- func (vk *VK) LeadsMetricHit(params Params) (response LeadsMetricHitResponse, err error)
- func (vk *VK) LeadsStart(params Params) (response LeadsStartResponse, err error)
- func (vk *VK) LikesAdd(params Params) (response LikesAddResponse, err error)
- func (vk *VK) LikesDelete(params Params) (response LikesDeleteResponse, err error)
- func (vk *VK) LikesGetList(params Params) (response LikesGetListResponse, err error)
- func (vk *VK) LikesGetListExtended(params Params) (response LikesGetListExtendedResponse, err error)
- func (vk *VK) LikesIsLiked(params Params) (response LikesIsLikedResponse, err error)
- func (vk *VK) MarketAdd(params Params) (response MarketAddResponse, err error)
- func (vk *VK) MarketAddAlbum(params Params) (response MarketAddAlbumResponse, err error)
- func (vk *VK) MarketAddToAlbum(params Params) (response int, err error)
- func (vk *VK) MarketCreateComment(params Params) (response int, err error)
- func (vk *VK) MarketDelete(params Params) (response int, err error)
- func (vk *VK) MarketDeleteAlbum(params Params) (response int, err error)
- func (vk *VK) MarketDeleteComment(params Params) (response int, err error)
- func (vk *VK) MarketEdit(params Params) (response int, err error)
- func (vk *VK) MarketEditAlbum(params Params) (response int, err error)
- func (vk *VK) MarketEditComment(params Params) (response int, err error)
- func (vk *VK) MarketEditOrder(params Params) (response int, err error)
- func (vk *VK) MarketGet(params Params) (response MarketGetResponse, err error)
- func (vk *VK) MarketGetAlbumByID(params Params) (response MarketGetAlbumByIDResponse, err error)
- func (vk *VK) MarketGetAlbums(params Params) (response MarketGetAlbumsResponse, err error)
- func (vk *VK) MarketGetByID(params Params) (response MarketGetByIDResponse, err error)
- func (vk *VK) MarketGetCategories(params Params) (response MarketGetCategoriesResponse, err error)
- func (vk *VK) MarketGetComments(params Params) (response MarketGetCommentsResponse, err error)
- func (vk *VK) MarketGetCommentsExtended(params Params) (response MarketGetCommentsExtendedResponse, err error)
- func (vk *VK) MarketGetGroupOrders(params Params) (response MarketGetGroupOrdersResponse, err error)
- func (vk *VK) MarketGetOrderByID(params Params) (response MarketGetOrderByIDResponse, err error)
- func (vk *VK) MarketGetOrderItems(params Params) (response MarketGetOrderItemsResponse, err error)
- func (vk *VK) MarketRemoveFromAlbum(params Params) (response int, err error)
- func (vk *VK) MarketReorderAlbums(params Params) (response int, err error)
- func (vk *VK) MarketReorderItems(params Params) (response int, err error)
- func (vk *VK) MarketReport(params Params) (response int, err error)
- func (vk *VK) MarketReportComment(params Params) (response int, err error)
- func (vk *VK) MarketRestore(params Params) (response int, err error)
- func (vk *VK) MarketRestoreComment(params Params) (response int, err error)
- func (vk *VK) MarketSearch(params Params) (response MarketSearchResponse, err error)
- func (vk *VK) MarketSearchItems(params Params) (response MarketSearchItemsResponse, err error)
- func (vk *VK) MarusiaCreateAudio(params Params) (response MarusiaCreateAudioResponse, err error)
- func (vk *VK) MarusiaDeleteAudio(params Params) (response int, err error)
- func (vk *VK) MarusiaDeletePicture(params Params) (response int, err error)
- func (vk *VK) MarusiaGetAudioUploadLink(params Params) (response MarusiaGetAudioUploadLinkResponse, err error)
- func (vk *VK) MarusiaGetAudios(params Params) (response MarusiaGetAudiosResponse, err error)
- func (vk *VK) MarusiaGetPictureUploadLink(params Params) (response MarusiaGetPictureUploadLinkResponse, err error)
- func (vk *VK) MarusiaGetPictures(params Params) (response MarusiaGetPicturesResponse, err error)
- func (vk *VK) MarusiaSavePicture(params Params) (response MarusiaSavePictureResponse, err error)
- func (vk *VK) MessagesAddChatUser(params Params) (response int, err error)
- func (vk *VK) MessagesAllowMessagesFromGroup(params Params) (response int, err error)
- func (vk *VK) MessagesCreateChat(params Params) (response int, err error)
- func (vk *VK) MessagesDelete(params Params) (response MessagesDeleteResponse, err error)
- func (vk *VK) MessagesDeleteChatPhoto(params Params) (response MessagesDeleteChatPhotoResponse, err error)
- func (vk *VK) MessagesDeleteConversation(params Params) (response MessagesDeleteConversationResponse, err error)
- func (vk *VK) MessagesDenyMessagesFromGroup(params Params) (response int, err error)
- func (vk *VK) MessagesEdit(params Params) (response int, err error)
- func (vk *VK) MessagesEditChat(params Params) (response int, err error)
- func (vk *VK) MessagesForceCallFinish(params Params) (response int, err error)deprecated
- func (vk *VK) MessagesGetByConversationMessageID(params Params) (response MessagesGetByConversationMessageIDResponse, err error)
- func (vk *VK) MessagesGetByID(params Params) (response MessagesGetByIDResponse, err error)
- func (vk *VK) MessagesGetByIDExtended(params Params) (response MessagesGetByIDExtendedResponse, err error)
- func (vk *VK) MessagesGetChat(params Params) (response MessagesGetChatResponse, err error)
- func (vk *VK) MessagesGetChatChatIDs(params Params) (response MessagesGetChatChatIDsResponse, err error)
- func (vk *VK) MessagesGetChatPreview(params Params) (response MessagesGetChatPreviewResponse, err error)
- func (vk *VK) MessagesGetConversationMembers(params Params) (response MessagesGetConversationMembersResponse, err error)
- func (vk *VK) MessagesGetConversations(params Params) (response MessagesGetConversationsResponse, err error)
- func (vk *VK) MessagesGetConversationsByID(params Params) (response MessagesGetConversationsByIDResponse, err error)
- func (vk *VK) MessagesGetConversationsByIDExtended(params Params) (response MessagesGetConversationsByIDExtendedResponse, err error)
- func (vk *VK) MessagesGetHistory(params Params) (response MessagesGetHistoryResponse, err error)
- func (vk *VK) MessagesGetHistoryAttachments(params Params) (response MessagesGetHistoryAttachmentsResponse, err error)
- func (vk *VK) MessagesGetImportantMessages(params Params) (response MessagesGetImportantMessagesResponse, err error)
- func (vk *VK) MessagesGetIntentUsers(params Params) (response MessagesGetIntentUsersResponse, err error)
- func (vk *VK) MessagesGetInviteLink(params Params) (response MessagesGetInviteLinkResponse, err error)
- func (vk *VK) MessagesGetLastActivity(params Params) (response MessagesGetLastActivityResponse, err error)
- func (vk *VK) MessagesGetLongPollHistory(params Params) (response MessagesGetLongPollHistoryResponse, err error)
- func (vk *VK) MessagesGetLongPollServer(params Params) (response MessagesGetLongPollServerResponse, err error)
- func (vk *VK) MessagesIsMessagesFromGroupAllowed(params Params) (response MessagesIsMessagesFromGroupAllowedResponse, err error)
- func (vk *VK) MessagesJoinChatByInviteLink(params Params) (response MessagesJoinChatByInviteLinkResponse, err error)
- func (vk *VK) MessagesMarkAsAnsweredConversation(params Params) (response int, err error)
- func (vk *VK) MessagesMarkAsImportant(params Params) (response MessagesMarkAsImportantResponse, err error)
- func (vk *VK) MessagesMarkAsImportantConversation(params Params) (response int, err error)
- func (vk *VK) MessagesMarkAsRead(params Params) (response int, err error)
- func (vk *VK) MessagesPin(params Params) (response MessagesPinResponse, err error)
- func (vk *VK) MessagesRemoveChatUser(params Params) (response int, err error)
- func (vk *VK) MessagesRestore(params Params) (response int, err error)
- func (vk *VK) MessagesSearch(params Params) (response MessagesSearchResponse, err error)
- func (vk *VK) MessagesSearchConversations(params Params) (response MessagesSearchConversationsResponse, err error)
- func (vk *VK) MessagesSend(params Params) (response int, err error)
- func (vk *VK) MessagesSendMessageEventAnswer(params Params) (response int, err error)
- func (vk *VK) MessagesSendPeerIDs(params Params) (response MessagesSendUserIDsResponse, err error)
- func (vk *VK) MessagesSendSticker(params Params) (response int, err error)
- func (vk *VK) MessagesSendUserIDs(params Params) (response MessagesSendUserIDsResponse, err error)deprecated
- func (vk *VK) MessagesSetActivity(params Params) (response int, err error)
- func (vk *VK) MessagesSetChatPhoto(params Params) (response MessagesSetChatPhotoResponse, err error)
- func (vk *VK) MessagesStartCall(params Params) (response MessagesStartCallResponse, err error)deprecated
- func (vk *VK) MessagesUnpin(params Params) (response int, err error)
- func (vk *VK) NewsfeedAddBan(params Params) (response int, err error)
- func (vk *VK) NewsfeedDeleteBan(params Params) (response int, err error)
- func (vk *VK) NewsfeedDeleteList(params Params) (response int, err error)
- func (vk *VK) NewsfeedGet(params Params) (response NewsfeedGetResponse, err error)
- func (vk *VK) NewsfeedGetBanned(params Params) (response NewsfeedGetBannedResponse, err error)
- func (vk *VK) NewsfeedGetBannedExtended(params Params) (response NewsfeedGetBannedExtendedResponse, err error)
- func (vk *VK) NewsfeedGetComments(params Params) (response NewsfeedGetCommentsResponse, err error)
- func (vk *VK) NewsfeedGetLists(params Params) (response NewsfeedGetListsResponse, err error)
- func (vk *VK) NewsfeedGetMentions(params Params) (response NewsfeedGetMentionsResponse, err error)
- func (vk *VK) NewsfeedGetRecommended(params Params) (response NewsfeedGetRecommendedResponse, err error)
- func (vk *VK) NewsfeedGetSuggestedSources(params Params) (response NewsfeedGetSuggestedSourcesResponse, err error)
- func (vk *VK) NewsfeedIgnoreItem(params Params) (response NewsfeedIgnoreItemResponse, err error)
- func (vk *VK) NewsfeedSaveList(params Params) (response int, err error)
- func (vk *VK) NewsfeedSearch(params Params) (response NewsfeedSearchResponse, err error)
- func (vk *VK) NewsfeedSearchExtended(params Params) (response NewsfeedSearchExtendedResponse, err error)
- func (vk *VK) NewsfeedUnignoreItem(params Params) (response int, err error)
- func (vk *VK) NewsfeedUnsubscribe(params Params) (response int, err error)
- func (vk *VK) NotesAdd(params Params) (response int, err error)
- func (vk *VK) NotesCreateComment(params Params) (response int, err error)
- func (vk *VK) NotesDelete(params Params) (response int, err error)
- func (vk *VK) NotesDeleteComment(params Params) (response int, err error)
- func (vk *VK) NotesEdit(params Params) (response int, err error)
- func (vk *VK) NotesEditComment(params Params) (response int, err error)
- func (vk *VK) NotesGet(params Params) (response NotesGetResponse, err error)
- func (vk *VK) NotesGetByID(params Params) (response NotesGetByIDResponse, err error)
- func (vk *VK) NotesGetComments(params Params) (response NotesGetCommentsResponse, err error)
- func (vk *VK) NotesRestoreComment(params Params) (response int, err error)
- func (vk *VK) NotificationsGet(params Params) (response NotificationsGetResponse, err error)
- func (vk *VK) NotificationsMarkAsViewed(params Params) (response int, err error)
- func (vk *VK) NotificationsSendMessage(params Params) (response NotificationsSendMessageResponse, err error)
- func (vk *VK) OrdersCancelSubscription(params Params) (response int, err error)
- func (vk *VK) OrdersChangeState(params Params) (response OrdersChangeStateResponse, err error)
- func (vk *VK) OrdersGet(params Params) (response OrdersGetResponse, err error)
- func (vk *VK) OrdersGetAmount(params Params) (response OrdersGetAmountResponse, err error)
- func (vk *VK) OrdersGetByID(params Params) (response OrdersGetByIDResponse, err error)
- func (vk *VK) OrdersGetUserSubscriptionByID(params Params) (response OrdersGetUserSubscriptionByIDResponse, err error)
- func (vk *VK) OrdersGetUserSubscriptions(params Params) (response OrdersGetUserSubscriptionsResponse, err error)
- func (vk *VK) OrdersUpdateSubscription(params Params) (response int, err error)
- func (vk *VK) PagesClearCache(params Params) (response int, err error)
- func (vk *VK) PagesGet(params Params) (response PagesGetResponse, err error)
- func (vk *VK) PagesGetHistory(params Params) (response PagesGetHistoryResponse, err error)
- func (vk *VK) PagesGetTitles(params Params) (response PagesGetTitlesResponse, err error)
- func (vk *VK) PagesGetVersion(params Params) (response PagesGetVersionResponse, err error)
- func (vk *VK) PagesParseWiki(params Params) (response string, err error)
- func (vk *VK) PagesSave(params Params) (response int, err error)
- func (vk *VK) PagesSaveAccess(params Params) (response int, err error)
- func (vk *VK) PhotosConfirmTag(params Params) (response int, err error)
- func (vk *VK) PhotosCopy(params Params) (response int, err error)
- func (vk *VK) PhotosCreateAlbum(params Params) (response PhotosCreateAlbumResponse, err error)
- func (vk *VK) PhotosCreateComment(params Params) (response int, err error)
- func (vk *VK) PhotosDelete(params Params) (response int, err error)
- func (vk *VK) PhotosDeleteAlbum(params Params) (response int, err error)
- func (vk *VK) PhotosDeleteComment(params Params) (response int, err error)
- func (vk *VK) PhotosEdit(params Params) (response int, err error)
- func (vk *VK) PhotosEditAlbum(params Params) (response int, err error)
- func (vk *VK) PhotosEditComment(params Params) (response int, err error)
- func (vk *VK) PhotosGet(params Params) (response PhotosGetResponse, err error)
- func (vk *VK) PhotosGetAlbums(params Params) (response PhotosGetAlbumsResponse, err error)
- func (vk *VK) PhotosGetAlbumsCount(params Params) (response int, err error)
- func (vk *VK) PhotosGetAll(params Params) (response PhotosGetAllResponse, err error)
- func (vk *VK) PhotosGetAllComments(params Params) (response PhotosGetAllCommentsResponse, err error)
- func (vk *VK) PhotosGetAllExtended(params Params) (response PhotosGetAllExtendedResponse, err error)
- func (vk *VK) PhotosGetByID(params Params) (response PhotosGetByIDResponse, err error)
- func (vk *VK) PhotosGetByIDExtended(params Params) (response PhotosGetByIDExtendedResponse, err error)
- func (vk *VK) PhotosGetChatUploadServer(params Params) (response PhotosGetChatUploadServerResponse, err error)
- func (vk *VK) PhotosGetComments(params Params) (response PhotosGetCommentsResponse, err error)
- func (vk *VK) PhotosGetCommentsExtended(params Params) (response PhotosGetCommentsExtendedResponse, err error)
- func (vk *VK) PhotosGetExtended(params Params) (response PhotosGetExtendedResponse, err error)
- func (vk *VK) PhotosGetMarketAlbumUploadServer(params Params) (response PhotosGetMarketAlbumUploadServerResponse, err error)
- func (vk *VK) PhotosGetMarketUploadServer(params Params) (response PhotosGetMarketUploadServerResponse, err error)
- func (vk *VK) PhotosGetMessagesUploadServer(params Params) (response PhotosGetMessagesUploadServerResponse, err error)
- func (vk *VK) PhotosGetNewTags(params Params) (response PhotosGetNewTagsResponse, err error)
- func (vk *VK) PhotosGetOwnerCoverPhotoUploadServer(params Params) (response PhotosGetOwnerCoverPhotoUploadServerResponse, err error)
- func (vk *VK) PhotosGetOwnerPhotoUploadServer(params Params) (response PhotosGetOwnerPhotoUploadServerResponse, err error)
- func (vk *VK) PhotosGetTags(params Params) (response PhotosGetTagsResponse, err error)
- func (vk *VK) PhotosGetUploadServer(params Params) (response PhotosGetUploadServerResponse, err error)
- func (vk *VK) PhotosGetUserPhotos(params Params) (response PhotosGetUserPhotosResponse, err error)
- func (vk *VK) PhotosGetUserPhotosExtended(params Params) (response PhotosGetUserPhotosExtendedResponse, err error)
- func (vk *VK) PhotosGetWallUploadServer(params Params) (response PhotosGetWallUploadServerResponse, err error)
- func (vk *VK) PhotosMakeCover(params Params) (response int, err error)
- func (vk *VK) PhotosMove(params Params) (response int, err error)
- func (vk *VK) PhotosPutTag(params Params) (response int, err error)
- func (vk *VK) PhotosRemoveTag(params Params) (response int, err error)
- func (vk *VK) PhotosReorderAlbums(params Params) (response int, err error)
- func (vk *VK) PhotosReorderPhotos(params Params) (response int, err error)
- func (vk *VK) PhotosReport(params Params) (response int, err error)
- func (vk *VK) PhotosReportComment(params Params) (response int, err error)
- func (vk *VK) PhotosRestore(params Params) (response int, err error)
- func (vk *VK) PhotosRestoreComment(params Params) (response int, err error)
- func (vk *VK) PhotosSave(params Params) (response PhotosSaveResponse, err error)
- func (vk *VK) PhotosSaveMarketAlbumPhoto(params Params) (response PhotosSaveMarketAlbumPhotoResponse, err error)
- func (vk *VK) PhotosSaveMarketPhoto(params Params) (response PhotosSaveMarketPhotoResponse, err error)
- func (vk *VK) PhotosSaveMessagesPhoto(params Params) (response PhotosSaveMessagesPhotoResponse, err error)
- func (vk *VK) PhotosSaveOwnerCoverPhoto(params Params) (response PhotosSaveOwnerCoverPhotoResponse, err error)
- func (vk *VK) PhotosSaveOwnerPhoto(params Params) (response PhotosSaveOwnerPhotoResponse, err error)
- func (vk *VK) PhotosSaveWallPhoto(params Params) (response PhotosSaveWallPhotoResponse, err error)
- func (vk *VK) PhotosSearch(params Params) (response PhotosSearchResponse, err error)
- func (vk *VK) PodcastsGetCatalog(params Params) (response PodcastsGetCatalogResponse, err error)
- func (vk *VK) PodcastsGetCatalogExtended(params Params) (response PodcastsGetCatalogExtendedResponse, err error)
- func (vk *VK) PodcastsGetCategories(params Params) (response PodcastsGetCategoriesResponse, err error)
- func (vk *VK) PodcastsGetEpisodes(params Params) (response PodcastsGetEpisodesResponse, err error)
- func (vk *VK) PodcastsGetFeed(params Params) (response PodcastsGetFeedResponse, err error)
- func (vk *VK) PodcastsGetFeedExtended(params Params) (response PodcastsGetFeedExtendedResponse, err error)
- func (vk *VK) PodcastsGetStartPage(params Params) (response PodcastsGetStartPageResponse, err error)
- func (vk *VK) PodcastsGetStartPageExtended(params Params) (response PodcastsGetStartPageExtendedResponse, err error)
- func (vk *VK) PodcastsMarkAsListened(params Params) (response int, err error)
- func (vk *VK) PodcastsSubscribe(params Params) (response int, err error)
- func (vk *VK) PodcastsUnsubscribe(params Params) (response int, err error)
- func (vk *VK) PollsAddVote(params Params) (response int, err error)
- func (vk *VK) PollsCreate(params Params) (response PollsCreateResponse, err error)
- func (vk *VK) PollsDeleteVote(params Params) (response int, err error)
- func (vk *VK) PollsEdit(params Params) (response int, err error)
- func (vk *VK) PollsGetBackgrounds(params Params) (response PollsGetBackgroundsResponse, err error)
- func (vk *VK) PollsGetByID(params Params) (response PollsGetByIDResponse, err error)
- func (vk *VK) PollsGetPhotoUploadServer(params Params) (response PollsGetPhotoUploadServerResponse, err error)
- func (vk *VK) PollsGetVoters(params Params) (response PollsGetVotersResponse, err error)
- func (vk *VK) PollsGetVotersFields(params Params) (response PollsGetVotersFieldsResponse, err error)
- func (vk *VK) PollsSavePhoto(params Params) (response PollsSavePhotoResponse, err error)
- func (vk *VK) PrettyCardsCreate(params Params) (response PrettyCardsCreateResponse, err error)
- func (vk *VK) PrettyCardsDelete(params Params) (response PrettyCardsDeleteResponse, err error)
- func (vk *VK) PrettyCardsEdit(params Params) (response PrettyCardsEditResponse, err error)
- func (vk *VK) PrettyCardsGet(params Params) (response PrettyCardsGetResponse, err error)
- func (vk *VK) PrettyCardsGetByID(params Params) (response PrettyCardsGetByIDResponse, err error)
- func (vk *VK) PrettyCardsGetUploadURL(params Params) (response string, err error)
- func (vk *VK) Request(method string, sliceParams ...Params) ([]byte, error)
- func (vk *VK) RequestUnmarshal(method string, obj interface{}, sliceParams ...Params) error
- func (vk *VK) SearchGetHints(params Params) (response SearchGetHintsResponse, err error)
- func (vk *VK) SecureAddAppEvent(params Params) (response SecureAddAppEventResponse, err error)
- func (vk *VK) SecureCheckToken(params Params) (response SecureCheckTokenResponse, err error)
- func (vk *VK) SecureGetAppBalance(params Params) (response int, err error)
- func (vk *VK) SecureGetSMSHistory(params Params) (response SecureGetSMSHistoryResponse, err error)
- func (vk *VK) SecureGetTransactionsHistory(params Params) (response SecureGetTransactionsHistoryResponse, err error)
- func (vk *VK) SecureGetUserLevel(params Params) (response SecureGetUserLevelResponse, err error)
- func (vk *VK) SecureGiveEventSticker(params Params) (response SecureGiveEventStickerResponse, err error)
- func (vk *VK) SecureSendNotification(params Params) (response SecureSendNotificationResponse, err error)
- func (vk *VK) SecureSendSMSNotification(params Params) (response int, err error)
- func (vk *VK) SecureSetCounter(params Params) (response int, err error)
- func (vk *VK) StatsGet(params Params) (response StatsGetResponse, err error)
- func (vk *VK) StatsGetPostReach(params Params) (response StatsGetPostReachResponse, err error)
- func (vk *VK) StatsTrackVisitor(params Params) (response int, err error)
- func (vk *VK) StatusGet(params Params) (response StatusGetResponse, err error)
- func (vk *VK) StatusSet(params Params) (response int, err error)
- func (vk *VK) StorageGet(params Params) (response StorageGetResponse, err error)
- func (vk *VK) StorageGetKeys(params Params) (response StorageGetKeysResponse, err error)
- func (vk *VK) StorageSet(params Params) (response int, err error)
- func (vk *VK) StoreAddStickersToFavorite(params Params) (response int, err error)
- func (vk *VK) StoreGetFavoriteStickers(params Params) (response StoreGetFavoriteStickersResponse, err error)
- func (vk *VK) StoreRemoveStickersFromFavorite(params Params) (response int, err error)
- func (vk *VK) StoriesBanOwner(params Params) (response int, err error)
- func (vk *VK) StoriesDelete(params Params) (response int, err error)
- func (vk *VK) StoriesGet(params Params) (response StoriesGetResponse, err error)
- func (vk *VK) StoriesGetBanned(params Params) (response StoriesGetBannedResponse, err error)
- func (vk *VK) StoriesGetBannedExtended(params Params) (response StoriesGetBannedExtendedResponse, err error)
- func (vk *VK) StoriesGetByID(params Params) (response StoriesGetByIDResponse, err error)
- func (vk *VK) StoriesGetByIDExtended(params Params) (response StoriesGetByIDExtendedResponse, err error)
- func (vk *VK) StoriesGetExtended(params Params) (response StoriesGetExtendedResponse, err error)
- func (vk *VK) StoriesGetPhotoUploadServer(params Params) (response StoriesGetPhotoUploadServerResponse, err error)
- func (vk *VK) StoriesGetReplies(params Params) (response StoriesGetRepliesResponse, err error)
- func (vk *VK) StoriesGetRepliesExtended(params Params) (response StoriesGetRepliesExtendedResponse, err error)
- func (vk *VK) StoriesGetStats(params Params) (response StoriesGetStatsResponse, err error)
- func (vk *VK) StoriesGetVideoUploadServer(params Params) (response StoriesGetVideoUploadServerResponse, err error)
- func (vk *VK) StoriesGetViewers(params Params) (response StoriesGetViewersResponse, err error)
- func (vk *VK) StoriesHideAllReplies(params Params) (response int, err error)
- func (vk *VK) StoriesHideReply(params Params) (response int, err error)
- func (vk *VK) StoriesSave(params Params) (response StoriesSaveResponse, err error)
- func (vk *VK) StoriesSearch(params Params) (response StoriesSearchResponse, err error)
- func (vk *VK) StoriesSearchExtended(params Params) (response StoriesSearchExtendedResponse, err error)
- func (vk *VK) StoriesSendInteraction(params Params) (response int, err error)
- func (vk *VK) StoriesUnbanOwner(params Params) (response int, err error)
- func (vk *VK) StreamingGetServerURL(params Params) (response StreamingGetServerURLResponse, err error)
- func (vk *VK) StreamingGetSettings(params Params) (response StreamingGetSettingsResponse, err error)
- func (vk *VK) StreamingGetStats(params Params) (response StreamingGetStatsResponse, err error)
- func (vk *VK) StreamingGetStem(params Params) (response StreamingGetStemResponse, err error)
- func (vk *VK) StreamingSetSettings(params Params) (response int, err error)
- func (vk *VK) UploadAppImage(imageType string, file io.Reader) (response object.AppWidgetsImage, err error)
- func (vk *VK) UploadChatPhoto(chatID int, file io.Reader) (response MessagesSetChatPhotoResponse, err error)
- func (vk *VK) UploadChatPhotoCrop(chatID, cropX, cropY, cropWidth int, file io.Reader) (response MessagesSetChatPhotoResponse, err error)
- func (vk *VK) UploadDoc(title, tags string, file io.Reader) (response DocsSaveResponse, err error)
- func (vk *VK) UploadFile(url string, file io.Reader, fieldname, filename string) (bodyContent []byte, err error)
- func (vk *VK) UploadGroupDoc(groupID int, title, tags string, file io.Reader) (response DocsSaveResponse, err error)
- func (vk *VK) UploadGroupImage(imageType string, file io.Reader) (response object.AppWidgetsImage, err error)
- func (vk *VK) UploadGroupWallDoc(groupID int, title, tags string, file io.Reader) (response DocsSaveResponse, err error)
- func (vk *VK) UploadGroupWallPhoto(groupID int, file io.Reader) (response PhotosSaveWallPhotoResponse, err error)
- func (vk *VK) UploadLeadFormsPhoto(file io.Reader) (response string, err error)
- func (vk *VK) UploadMarketAlbumPhoto(groupID int, file io.Reader) (response PhotosSaveMarketAlbumPhotoResponse, err error)
- func (vk *VK) UploadMarketPhoto(groupID int, mainPhoto bool, file io.Reader) (response PhotosSaveMarketPhotoResponse, err error)
- func (vk *VK) UploadMarketPhotoCrop(groupID, cropX, cropY, cropWidth int, file io.Reader) (response PhotosSaveMarketPhotoResponse, err error)
- func (vk *VK) UploadMarusiaAudio(file io.Reader) (response MarusiaCreateAudioResponse, err error)
- func (vk *VK) UploadMarusiaPicture(file io.Reader) (response MarusiaSavePictureResponse, err error)
- func (vk *VK) UploadMessagesDoc(peerID int, typeDoc, title, tags string, file io.Reader) (response DocsSaveResponse, err error)
- func (vk *VK) UploadMessagesPhoto(peerID int, file io.Reader) (response PhotosSaveMessagesPhotoResponse, err error)
- func (vk *VK) UploadOwnerCoverPhoto(groupID, cropX, cropY, cropX2, cropY2 int, file io.Reader) (response PhotosSaveOwnerCoverPhotoResponse, err error)
- func (vk *VK) UploadOwnerPhoto(ownerID int, squareCrop string, file io.Reader) (response PhotosSaveOwnerPhotoResponse, err error)
- func (vk *VK) UploadOwnerPollsPhoto(ownerID int, file io.Reader) (response PollsSavePhotoResponse, err error)
- func (vk *VK) UploadPhoto(albumID int, file io.Reader) (response PhotosSaveResponse, err error)
- func (vk *VK) UploadPhotoGroup(groupID, albumID int, file io.Reader) (response PhotosSaveResponse, err error)
- func (vk *VK) UploadPollsPhoto(file io.Reader) (response PollsSavePhotoResponse, err error)
- func (vk *VK) UploadPrettyCardsPhoto(file io.Reader) (response string, err error)
- func (vk *VK) UploadStoriesPhoto(params Params, file io.Reader) (response StoriesSaveResponse, err error)
- func (vk *VK) UploadStoriesVideo(params Params, file io.Reader) (response StoriesSaveResponse, err error)
- func (vk *VK) UploadUserPhoto(file io.Reader) (response PhotosSaveOwnerPhotoResponse, err error)
- func (vk *VK) UploadVideo(params Params, file io.Reader) (response VideoSaveResponse, err error)
- func (vk *VK) UploadWallDoc(title, tags string, file io.Reader) (response DocsSaveResponse, err error)
- func (vk *VK) UploadWallPhoto(file io.Reader) (response PhotosSaveWallPhotoResponse, err error)
- func (vk *VK) UsersGet(params Params) (response UsersGetResponse, err error)
- func (vk *VK) UsersGetFollowers(params Params) (response UsersGetFollowersResponse, err error)
- func (vk *VK) UsersGetFollowersFields(params Params) (response UsersGetFollowersFieldsResponse, err error)
- func (vk *VK) UsersGetSubscriptions(params Params) (response UsersGetSubscriptionsResponse, err error)
- func (vk *VK) UsersReport(params Params) (response int, err error)
- func (vk *VK) UsersSearch(params Params) (response UsersSearchResponse, err error)
- func (vk *VK) UtilsCheckLink(params Params) (response UtilsCheckLinkResponse, err error)
- func (vk *VK) UtilsDeleteFromLastShortened(params Params) (response int, err error)
- func (vk *VK) UtilsGetLastShortenedLinks(params Params) (response UtilsGetLastShortenedLinksResponse, err error)
- func (vk *VK) UtilsGetLinkStats(params Params) (response UtilsGetLinkStatsResponse, err error)
- func (vk *VK) UtilsGetLinkStatsExtended(params Params) (response UtilsGetLinkStatsExtendedResponse, err error)
- func (vk *VK) UtilsGetServerTime(params Params) (response int, err error)
- func (vk *VK) UtilsGetShortLink(params Params) (response UtilsGetShortLinkResponse, err error)
- func (vk *VK) UtilsResolveScreenName(params Params) (response UtilsResolveScreenNameResponse, err error)
- func (vk *VK) VideoAdd(params Params) (response int, err error)
- func (vk *VK) VideoAddAlbum(params Params) (response VideoAddAlbumResponse, err error)
- func (vk *VK) VideoAddToAlbum(params Params) (response int, err error)
- func (vk *VK) VideoCreateComment(params Params) (response int, err error)
- func (vk *VK) VideoDelete(params Params) (response int, err error)
- func (vk *VK) VideoDeleteAlbum(params Params) (response int, err error)
- func (vk *VK) VideoDeleteComment(params Params) (response int, err error)
- func (vk *VK) VideoEdit(params Params) (response VideoEditResponse, err error)
- func (vk *VK) VideoEditAlbum(params Params) (response int, err error)
- func (vk *VK) VideoEditComment(params Params) (response int, err error)
- func (vk *VK) VideoGet(params Params) (response VideoGetResponse, err error)
- func (vk *VK) VideoGetAlbumByID(params Params) (response VideoGetAlbumByIDResponse, err error)
- func (vk *VK) VideoGetAlbums(params Params) (response VideoGetAlbumsResponse, err error)
- func (vk *VK) VideoGetAlbumsByVideo(params Params) (response VideoGetAlbumsByVideoResponse, err error)
- func (vk *VK) VideoGetAlbumsByVideoExtended(params Params) (response VideoGetAlbumsByVideoExtendedResponse, err error)
- func (vk *VK) VideoGetAlbumsExtended(params Params) (response VideoGetAlbumsExtendedResponse, err error)
- func (vk *VK) VideoGetComments(params Params) (response VideoGetCommentsResponse, err error)
- func (vk *VK) VideoGetCommentsExtended(params Params) (response VideoGetCommentsExtendedResponse, err error)
- func (vk *VK) VideoGetExtended(params Params) (response VideoGetExtendedResponse, err error)
- func (vk *VK) VideoLiveGetCategories(params Params) (response VideoLiveGetCategoriesResponse, err error)
- func (vk *VK) VideoRemoveFromAlbum(params Params) (response int, err error)
- func (vk *VK) VideoReorderAlbums(params Params) (response int, err error)
- func (vk *VK) VideoReorderVideos(params Params) (response int, err error)
- func (vk *VK) VideoReport(params Params) (response int, err error)
- func (vk *VK) VideoReportComment(params Params) (response int, err error)
- func (vk *VK) VideoRestore(params Params) (response int, err error)
- func (vk *VK) VideoRestoreComment(params Params) (response int, err error)
- func (vk *VK) VideoSave(params Params) (response VideoSaveResponse, err error)
- func (vk *VK) VideoSearch(params Params) (response VideoSearchResponse, err error)
- func (vk *VK) VideoSearchExtended(params Params) (response VideoSearchExtendedResponse, err error)
- func (vk *VK) VideoStartStreaming(params Params) (response VideoStartStreamingResponse, err error)
- func (vk *VK) VideoStopStreaming(params Params) (response VideoStopStreamingResponse, err error)
- func (vk *VK) WallCheckCopyrightLink(params Params) (response int, err error)
- func (vk *VK) WallCloseComments(params Params) (response int, err error)
- func (vk *VK) WallCreateComment(params Params) (response WallCreateCommentResponse, err error)
- func (vk *VK) WallDelete(params Params) (response int, err error)
- func (vk *VK) WallDeleteComment(params Params) (response int, err error)
- func (vk *VK) WallEdit(params Params) (response WallEditResponse, err error)
- func (vk *VK) WallEditAdsStealth(params Params) (response int, err error)
- func (vk *VK) WallEditComment(params Params) (response int, err error)
- func (vk *VK) WallGet(params Params) (response WallGetResponse, err error)
- func (vk *VK) WallGetByID(params Params) (response WallGetByIDResponse, err error)
- func (vk *VK) WallGetByIDExtended(params Params) (response WallGetByIDExtendedResponse, err error)
- func (vk *VK) WallGetComment(params Params) (response WallGetCommentResponse, err error)
- func (vk *VK) WallGetCommentExtended(params Params) (response WallGetCommentExtendedResponse, err error)
- func (vk *VK) WallGetComments(params Params) (response WallGetCommentsResponse, err error)
- func (vk *VK) WallGetCommentsExtended(params Params) (response WallGetCommentsExtendedResponse, err error)
- func (vk *VK) WallGetExtended(params Params) (response WallGetExtendedResponse, err error)
- func (vk *VK) WallGetReposts(params Params) (response WallGetRepostsResponse, err error)
- func (vk *VK) WallOpenComments(params Params) (response int, err error)
- func (vk *VK) WallPin(params Params) (response int, err error)
- func (vk *VK) WallPost(params Params) (response WallPostResponse, err error)
- func (vk *VK) WallPostAdsStealth(params Params) (response WallPostAdsStealthResponse, err error)
- func (vk *VK) WallReportComment(params Params) (response int, err error)
- func (vk *VK) WallReportPost(params Params) (response int, err error)
- func (vk *VK) WallRepost(params Params) (response WallRepostResponse, err error)
- func (vk *VK) WallRestore(params Params) (response int, err error)
- func (vk *VK) WallRestoreComment(params Params) (response int, err error)
- func (vk *VK) WallSearch(params Params) (response WallSearchResponse, err error)
- func (vk *VK) WallSearchExtended(params Params) (response WallSearchExtendedResponse, err error)
- func (vk *VK) WallUnpin(params Params) (response int, err error)
- func (vk *VK) WidgetsGetComments(params Params) (response WidgetsGetCommentsResponse, err error)
- func (vk *VK) WidgetsGetPages(params Params) (response WidgetsGetPagesResponse, err error)
- type VideoAddAlbumResponse
- type VideoEditResponse
- type VideoGetAlbumByIDResponse
- type VideoGetAlbumsByVideoExtendedResponse
- type VideoGetAlbumsByVideoResponse
- type VideoGetAlbumsExtendedResponse
- type VideoGetAlbumsResponse
- type VideoGetCommentsExtendedResponse
- type VideoGetCommentsResponse
- type VideoGetExtendedResponse
- type VideoGetResponse
- type VideoLiveGetCategoriesResponse
- type VideoSaveResponse
- type VideoSearchExtendedResponse
- type VideoSearchResponse
- type VideoStartStreamingResponse
- type VideoStopStreamingResponse
- type WallCreateCommentResponse
- type WallEditResponse
- type WallGetByIDExtendedResponse
- type WallGetByIDResponse
- type WallGetCommentExtendedResponse
- type WallGetCommentResponse
- type WallGetCommentsExtendedResponse
- type WallGetCommentsResponse
- type WallGetExtendedResponse
- type WallGetRepostsResponse
- type WallGetResponse
- type WallPostAdsStealthResponse
- type WallPostResponse
- type WallRepostResponse
- type WallSearchExtendedResponse
- type WallSearchResponse
- type WidgetsGetCommentsResponse
- type WidgetsGetPagesResponse
- Bugs
Constants ¶
const ( Version = vksdk.API MethodURL = "https://api.vk.com/method/" )
Api constants.
const ( LimitUserToken = 3 LimitGroupToken = 20 )
VKontakte API methods (except for methods from secure and ads sections) with user access key or service access key can be accessed no more than 3 times per second. The community access key is limited to 20 requests per second.
Maximum amount of calls to the secure section methods depends on the app's users amount. If an app has less than 10 000 users, 5 requests per second, up to 100 000 – 8 requests, up to 1 000 000 – 20 requests, 1 000 000+ – 35 requests.
The ads section methods are subject to their own limitations, you can read them on this page - https://dev.vk.com/ru/method/ads
If one of this limits is exceeded, the server will return following error: "Too many requests per second". (errors.TooMany).
If your app's logic implies many requests in a row, check the execute method. It allows for up to 25 requests for different methods in a single request.
In addition to restrictions on the frequency of calls, there are also quantitative restrictions on calling the same type of methods.
After exceeding the quantitative limit, access to a particular method may require entering a captcha (see https://dev.vk.com/ru/api/captcha-error), and may also be temporarily restricted (in this case, the server does not return a response to the call of a particular method, but handles any other requests without problems).
If this error occurs, the following parameters are also passed in the error message:
CaptchaSID - identifier captcha.
CaptchaImg - a link to the image that you want to show the user to enter text from that image.
In this case, you should ask the user to enter text from the CaptchaImg image and repeat the request by adding parameters to it:
captcha_sid - the obtained identifier;
captcha_key - text entered by the user.
More info: https://dev.vk.com/ru/api/api-requests
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountChangePasswordResponse ¶
type AccountChangePasswordResponse struct {
Token string `json:"token"`
}
AccountChangePasswordResponse struct.
type AccountGetActiveOffersResponse ¶
type AccountGetActiveOffersResponse struct { Count int `json:"count"` Items []object.AccountOffer `json:"items"` }
AccountGetActiveOffersResponse struct.
type AccountGetBannedResponse ¶
type AccountGetBannedResponse struct { Count int `json:"count"` Items []int `json:"items"` object.ExtendedResponse }
AccountGetBannedResponse struct.
type AccountGetCountersResponse ¶
type AccountGetCountersResponse object.AccountAccountCounters
AccountGetCountersResponse struct.
type AccountGetInfoResponse ¶
type AccountGetInfoResponse object.AccountInfo
AccountGetInfoResponse struct.
type AccountGetProfileInfoResponse ¶
type AccountGetProfileInfoResponse object.AccountUserSettings
AccountGetProfileInfoResponse struct.
type AccountGetPushSettingsResponse ¶
type AccountGetPushSettingsResponse object.AccountPushSettings
AccountGetPushSettingsResponse struct.
type AccountSaveProfileInfoResponse ¶
type AccountSaveProfileInfoResponse struct { Changed object.BaseBoolInt `json:"changed"` NameRequest object.AccountNameRequest `json:"name_request"` }
AccountSaveProfileInfoResponse struct.
type AdsAddOfficeUsersItem ¶
type AdsAddOfficeUsersItem struct { OK object.BaseBoolInt Error AdsError }
AdsAddOfficeUsersItem struct.
func (*AdsAddOfficeUsersItem) DecodeMsgpack ¶
func (r *AdsAddOfficeUsersItem) DecodeMsgpack(dec *msgpack.Decoder) error
DecodeMsgpack func.
func (*AdsAddOfficeUsersItem) UnmarshalJSON ¶
func (r *AdsAddOfficeUsersItem) UnmarshalJSON(data []byte) (err error)
UnmarshalJSON func.
type AdsAddOfficeUsersResponse ¶
type AdsAddOfficeUsersResponse []AdsAddOfficeUsersItem
AdsAddOfficeUsersResponse struct.
type AdsCheckLinkResponse ¶
type AdsCheckLinkResponse struct { // link status Status object.AdsLinkStatus `json:"status"` // (if status = disallowed) — description of the reason Description string `json:"description,omitempty"` // (if the end link differs from original and status = allowed) — end link. RedirectURL string `json:"redirect_url,omitempty"` }
AdsCheckLinkResponse struct.
type AdsCreateAdsResponse ¶
AdsCreateAdsResponse struct.
type AdsCreateCampaignsResponse ¶
AdsCreateCampaignsResponse struct.
type AdsCreateClientsResponse ¶
AdsCreateClientsResponse struct.
type AdsCreateLookalikeRequestResponse ¶
type AdsCreateLookalikeRequestResponse struct {
RequestID int `json:"request_id"`
}
AdsCreateLookalikeRequestResponse struct.
type AdsCreateTargetGroupResponse ¶
type AdsCreateTargetGroupResponse struct {
ID int `json:"id"`
}
AdsCreateTargetGroupResponse struct.
type AdsCreateTargetPixelResponse ¶
AdsCreateTargetPixelResponse struct.
type AdsDeleteAdsResponse ¶
type AdsDeleteAdsResponse []ErrorType
AdsDeleteAdsResponse struct.
Each response is 0 — deleted successfully, or an error code.
type AdsDeleteCampaignsResponse ¶
type AdsDeleteCampaignsResponse []ErrorType
AdsDeleteCampaignsResponse struct.
Each response is 0 — deleted successfully, or an error code.
type AdsDeleteClientsResponse ¶
type AdsDeleteClientsResponse []ErrorType
AdsDeleteClientsResponse struct.
Each response is 0 — deleted successfully, or an error code.
type AdsGetAccountsResponse ¶
type AdsGetAccountsResponse []object.AdsAccount
AdsGetAccountsResponse struct.
type AdsGetAdsLayoutResponse ¶
type AdsGetAdsLayoutResponse []object.AdsAdLayout
AdsGetAdsLayoutResponse struct.
type AdsGetMusiciansResponse ¶
type AdsGetMusiciansResponse struct {
Items []object.AdsMusician
}
AdsGetMusiciansResponse struct.
type AdsGetTargetGroupsResponse ¶
type AdsGetTargetGroupsResponse []object.AdsTargetGroup
AdsGetTargetGroupsResponse struct.
type AppWidgetsGetAppImageUploadServerResponse ¶
type AppWidgetsGetAppImageUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
AppWidgetsGetAppImageUploadServerResponse struct.
type AppWidgetsGetAppImagesResponse ¶
type AppWidgetsGetAppImagesResponse struct { Count int `json:"count"` Items []object.AppWidgetsImage `json:"items"` }
AppWidgetsGetAppImagesResponse struct.
type AppWidgetsGetGroupImageUploadServerResponse ¶
type AppWidgetsGetGroupImageUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
AppWidgetsGetGroupImageUploadServerResponse struct.
type AppWidgetsGetGroupImagesResponse ¶
type AppWidgetsGetGroupImagesResponse struct { Count int `json:"count"` Items []object.AppWidgetsImage `json:"items"` }
AppWidgetsGetGroupImagesResponse struct.
type AppsGetCatalogResponse ¶
type AppsGetCatalogResponse struct { Count int `json:"count"` Items []object.AppsApp `json:"items"` object.ExtendedResponse }
AppsGetCatalogResponse struct.
type AppsGetFriendsListExtendedResponse ¶
type AppsGetFriendsListExtendedResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
AppsGetFriendsListExtendedResponse struct.
type AppsGetFriendsListResponse ¶
AppsGetFriendsListResponse struct.
type AppsGetLeaderboardExtendedResponse ¶
type AppsGetLeaderboardExtendedResponse struct { Count int `json:"count"` Items []struct { Score int `json:"score"` UserID int `json:"user_id"` } `json:"items"` Profiles []object.UsersUser `json:"profiles"` }
AppsGetLeaderboardExtendedResponse struct.
type AppsGetLeaderboardResponse ¶
type AppsGetLeaderboardResponse struct { Count int `json:"count"` Items []object.AppsLeaderboard `json:"items"` }
AppsGetLeaderboardResponse struct.
type AppsGetResponse ¶
type AppsGetResponse struct { Count int `json:"count"` Items []object.AppsApp `json:"items"` object.ExtendedResponse }
AppsGetResponse struct.
type AppsGetScopesResponse ¶
type AppsGetScopesResponse struct { Count int `json:"count"` Items []object.AppsScope `json:"items"` }
AppsGetScopesResponse struct.
type AppsGetTestingGroupsResponse ¶
type AppsGetTestingGroupsResponse []object.AppsTestingGroup
AppsGetTestingGroupsResponse struct.
type AppsUpdateMetaForTestingGroupResponse ¶
type AppsUpdateMetaForTestingGroupResponse struct {
GroupID int `json:"group_id"`
}
AppsUpdateMetaForTestingGroupResponse struct.
type AuthExchangeSilentAuthTokenResponse ¶
type AuthExchangeSilentAuthTokenResponse struct { AccessToken string `json:"access_token"` AccessTokenID string `json:"access_token_id"` UserID int `json:"user_id"` Phone string `json:"phone"` PhoneValidated interface{} `json:"phone_validated"` IsPartial bool `json:"is_partial"` IsService bool `json:"is_service"` AdditionalSignupRequired bool `json:"additional_signup_required"` Email string `json:"email"` Source ExchangeSilentTokenSource `json:"source"` SourceDescription string `json:"source_description"` }
AuthExchangeSilentAuthTokenResponse struct.
type AuthGetProfileInfoBySilentTokenResponse ¶
type AuthGetProfileInfoBySilentTokenResponse struct { Success []object.AuthSilentTokenProfile `json:"success"` Errors []AuthSilentTokenError `json:"errors"` }
AuthGetProfileInfoBySilentTokenResponse struct.
type AuthRestoreResponse ¶
AuthRestoreResponse struct.
type AuthSilentTokenError ¶
type AuthSilentTokenError struct { Token string `json:"token"` Code ErrorType `json:"code"` Description string `json:"description"` }
AuthSilentTokenError struct.
func (AuthSilentTokenError) Error ¶
func (e AuthSilentTokenError) Error() string
Error returns the description of a AuthSilentTokenError.
func (AuthSilentTokenError) Is ¶
func (e AuthSilentTokenError) Is(target error) bool
Is unwraps its first argument sequentially looking for an error that matches the second.
type BoardGetCommentsExtendedResponse ¶
type BoardGetCommentsExtendedResponse struct { Count int `json:"count"` Items []object.BoardTopicComment `json:"items"` Poll object.BoardTopicPoll `json:"poll"` RealOffset int `json:"real_offset"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` }
BoardGetCommentsExtendedResponse struct.
type BoardGetCommentsResponse ¶
type BoardGetCommentsResponse struct { Count int `json:"count"` Items []object.BoardTopicComment `json:"items"` Poll object.BoardTopicPoll `json:"poll"` RealOffset int `json:"real_offset"` }
BoardGetCommentsResponse struct.
type BoardGetTopicsExtendedResponse ¶
type BoardGetTopicsExtendedResponse struct { Count int `json:"count"` Items []object.BoardTopic `json:"items"` DefaultOrder float64 `json:"default_order"` // BUG(VK): default_order int https://vk.com/bug136682 CanAddTopics object.BaseBoolInt `json:"can_add_topics"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` }
BoardGetTopicsExtendedResponse struct.
type BoardGetTopicsResponse ¶
type BoardGetTopicsResponse struct { Count int `json:"count"` Items []object.BoardTopic `json:"items"` DefaultOrder float64 `json:"default_order"` // BUG(VK): default_order int https://vk.com/bug136682 CanAddTopics object.BaseBoolInt `json:"can_add_topics"` }
BoardGetTopicsResponse struct.
type CallsStartResponse ¶
type CallsStartResponse struct { JoinLink string `json:"join_link"` CallID string `json:"call_id"` }
CallsStartResponse struct.
type DatabaseGetChairsResponse ¶
type DatabaseGetChairsResponse struct { Count int `json:"count"` Items []object.BaseObject `json:"items"` }
DatabaseGetChairsResponse struct.
type DatabaseGetCitiesByIDResponse ¶
type DatabaseGetCitiesByIDResponse []object.DatabaseCity
DatabaseGetCitiesByIDResponse struct.
type DatabaseGetCitiesResponse ¶
type DatabaseGetCitiesResponse struct { Count int `json:"count"` Items []object.DatabaseCity `json:"items"` }
DatabaseGetCitiesResponse struct.
type DatabaseGetCountriesByIDResponse ¶
type DatabaseGetCountriesByIDResponse []object.BaseObject
DatabaseGetCountriesByIDResponse struct.
type DatabaseGetCountriesResponse ¶
type DatabaseGetCountriesResponse struct { Count int `json:"count"` Items []object.BaseObject `json:"items"` }
DatabaseGetCountriesResponse struct.
type DatabaseGetFacultiesResponse ¶
type DatabaseGetFacultiesResponse struct { Count int `json:"count"` Items []object.DatabaseFaculty `json:"items"` }
DatabaseGetFacultiesResponse struct.
type DatabaseGetMetroStationsByIDResponse ¶
type DatabaseGetMetroStationsByIDResponse []object.DatabaseMetroStation
DatabaseGetMetroStationsByIDResponse struct.
type DatabaseGetMetroStationsResponse ¶
type DatabaseGetMetroStationsResponse struct { Count int `json:"count"` Items []object.DatabaseMetroStation `json:"items"` }
DatabaseGetMetroStationsResponse struct.
type DatabaseGetRegionsResponse ¶
type DatabaseGetRegionsResponse struct { Count int `json:"count"` Items []object.DatabaseRegion `json:"items"` }
DatabaseGetRegionsResponse struct.
type DatabaseGetSchoolClassesResponse ¶
type DatabaseGetSchoolClassesResponse []object.BaseObject
DatabaseGetSchoolClassesResponse struct.
type DatabaseGetSchoolsResponse ¶
type DatabaseGetSchoolsResponse struct { Count int `json:"count"` Items []object.DatabaseSchool `json:"items"` }
DatabaseGetSchoolsResponse struct.
type DatabaseGetUniversitiesResponse ¶
type DatabaseGetUniversitiesResponse struct { Count int `json:"count"` Items []object.DatabaseUniversity `json:"items"` }
DatabaseGetUniversitiesResponse struct.
type DocsGetMessagesUploadServerResponse ¶
type DocsGetMessagesUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
DocsGetMessagesUploadServerResponse struct.
type DocsGetResponse ¶
DocsGetResponse struct.
type DocsGetTypesResponse ¶
type DocsGetTypesResponse struct { Count int `json:"count"` Items []object.DocsDocTypes `json:"items"` }
DocsGetTypesResponse struct.
type DocsGetUploadServerResponse ¶
type DocsGetUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
DocsGetUploadServerResponse struct.
type DocsGetWallUploadServerResponse ¶
type DocsGetWallUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
DocsGetWallUploadServerResponse struct.
type DocsSaveResponse ¶
type DocsSaveResponse struct { Type string `json:"type"` AudioMessage object.MessagesAudioMessage `json:"audio_message"` Doc object.DocsDoc `json:"doc"` Graffiti object.MessagesGraffiti `json:"graffiti"` }
DocsSaveResponse struct.
type DocsSearchResponse ¶
DocsSearchResponse struct.
type DonutGetFriendsResponse ¶
type DonutGetFriendsResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
DonutGetFriendsResponse struct.
type DonutGetSubscriptionsResponse ¶
type DonutGetSubscriptionsResponse struct { Subscriptions []object.DonutDonatorSubscriptionInfo `json:"subscriptions"` Count int `json:"count"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` }
DonutGetSubscriptionsResponse struct.
type DownloadedGamesGetPaidStatusResponse ¶
type DownloadedGamesGetPaidStatusResponse struct {
IsPaid object.BaseBoolInt `json:"is_paid"`
}
DownloadedGamesGetPaidStatusResponse struct.
type Error ¶
type Error struct { Code ErrorType `json:"error_code"` Subcode ErrorSubtype `json:"error_subcode"` Message string `json:"error_msg"` Text string `json:"error_text"` CaptchaSID string `json:"captcha_sid"` CaptchaImg string `json:"captcha_img"` // In some cases VK requires to request action confirmation from the user // (for Standalone apps only). Following error will be returned: // // Error code: 24 // Error text: Confirmation required // // Following parameter is transmitted with the error message as well: // // confirmation_text – text of the message to be shown in the default // confirmation window. // // The app should display the default confirmation window with text from // confirmation_text and two buttons: "Continue" and "Cancel". If user // confirms the action repeat the request with an extra parameter: // confirm = 1. // // See https://dev.vk.com/ru/api/confirmation-required-error ConfirmationText string `json:"confirmation_text"` // In some cases VK requires a user validation procedure. . As a result // starting from API version 5.0 (for the older versions captcha_error // will be requested) following error will be returned as a reply to any // API request: // // Error code: 17 // Error text: Validation Required // // Following parameter is transmitted with an error message: // redirect_uri – a special address to open in a browser to pass the // validation procedure. // // After passing the validation a user will be redirected to the service // page: // // https://oauth.vk.com/blank.html#{Data required for validation} // // In case of successful validation following parameters will be // transmitted after #: // // https://oauth.vk.com/blank.html#success=1&access_token={NEW USER TOKEN}&user_id={USER ID} // // If a token was not received by https a new secret will be transmitted // as well. // // In case of unsuccessful validation following address is transmitted: // // https://oauth.vk.com/blank.html#fail=1 // // See https://dev.vk.com/ru/api/validation-required-error RedirectURI string `json:"redirect_uri"` RequestParams []object.BaseRequestParam `json:"request_params"` }
Error struct VK.
type ErrorSubtype ¶
type ErrorSubtype int
ErrorSubtype is the subtype of an error.
func (ErrorSubtype) Error ¶
func (e ErrorSubtype) Error() string
Error returns the message of a ErrorSubtype.
type ErrorType ¶
type ErrorType int
ErrorType is the type of an error.
const ( ErrNoType ErrorType = 0 // NoType error // Unknown error occurred // // Try again later. ErrUnknown ErrorType = 1 // Application is disabled. Enable your application or use test mode // // You need to switch on the app in Settings // https://vk.com/editapp?id={Your API_ID} // or use the test mode (test_mode=1). ErrDisabled ErrorType = 2 // Unknown method passed. // // Check the method name: http://vk.com/dev/methods ErrMethod ErrorType = 3 ErrSignature ErrorType = 4 // Incorrect signature // User authorization failed // // Make sure that you use a correct authorization type. ErrAuth ErrorType = 5 // Too many requests per second // // Decrease the request frequency or use the execute method. // More details on frequency limits here: // https://dev.vk.com/ru/api/api-requests ErrTooMany ErrorType = 6 // Permission to perform this action is denied // // Make sure that your have received required permissions during the // authorization. // You can do it with the account.getAppPermissions method. // https://dev.vk.com/ru/reference/access-rights ErrPermission ErrorType = 7 // Invalid request // // Check the request syntax and used parameters list (it can be found on // a method description page). ErrRequest ErrorType = 8 // Flood control // // You need to decrease the count of identical requests. For more efficient // work you may use execute. ErrFlood ErrorType = 9 // Internal server error // // Try again later. ErrServer ErrorType = 10 // In test mode application should be disabled or user should be authorized // // Switch the app off in Settings: // // https://vk.com/editapp?id={Your API_ID} // ErrEnabledInTest ErrorType = 11 // Unable to compile code. ErrCompile ErrorType = 12 // Runtime error occurred during code invocation. ErrRuntime ErrorType = 13 // Captcha needed. // // See https://dev.vk.com/ru/api/captcha-error ErrCaptcha ErrorType = 14 // Access denied // // Make sure that you use correct identifiers and the content is available // for the user in the full version of the site. ErrAccess ErrorType = 15 // HTTP authorization failed // // To avoid this error check if a user has the 'Use secure connection' // option enabled with the account.getInfo method. ErrAuthHTTPS ErrorType = 16 // Validation required // // Make sure that you don't use a token received with // http://vk.com/dev/auth_mobile for a request from the server. // It's restricted. // // https://dev.vk.com/ru/api/validation-required-error ErrAuthValidation ErrorType = 17 ErrUserDeleted ErrorType = 18 // User was deleted or banned ErrBlocked ErrorType = 19 // Content blocked // Permission to perform this action is denied for non-standalone // applications. ErrMethodPermission ErrorType = 20 // Permission to perform this action is allowed only for standalone and // OpenAPI applications. ErrMethodAds ErrorType = 21 ErrUpload ErrorType = 22 // Upload error // This method was disabled. // // All the methods available now are listed here: http://vk.com/dev/methods ErrMethodDisabled ErrorType = 23 // Confirmation required // // In some cases VK requires to request action confirmation from the user // (for Standalone apps only). // // Following parameter is transmitted with the error message as well: // // confirmation_text – text of the message to be shown in the default // confirmation window. // // The app should display the default confirmation window // with text from confirmation_text and two buttons: "Continue" and // "Cancel". // If user confirms the action repeat the request with an extra parameter: // // confirm = 1. // // https://dev.vk.com/ru/api/confirmation-required-error ErrNeedConfirmation ErrorType = 24 ErrNeedTokenConfirmation ErrorType = 25 // Token confirmation required ErrGroupAuth ErrorType = 27 // Group authorization failed ErrAppAuth ErrorType = 28 // Application authorization failed // Rate limit reached. // // More details on rate limits here: https://dev.vk.com/ru/reference/roadmap ErrRateLimit ErrorType = 29 ErrPrivateProfile ErrorType = 30 // This profile is private // Client version deprecated. ErrClientVersionDeprecated ErrorType = 34 // Method execution was interrupted due to timeout. ErrExecutionTimeout ErrorType = 36 // User was banned. ErrUserBanned ErrorType = 37 // Unknown application. ErrUnknownApplication ErrorType = 38 // Unknown user. ErrUnknownUser ErrorType = 39 // Unknown group. ErrUnknownGroup ErrorType = 40 // Additional signup required. ErrAdditionalSignupRequired ErrorType = 41 // IP is not allowed. ErrIPNotAllowed ErrorType = 42 // One of the parameters specified was missing or invalid // // Check the required parameters list and their format on a method // description page. ErrParam ErrorType = 100 // Invalid application API ID // // Find the app in the administrated list in settings: // http://vk.com/apps?act=settings // And set the correct API_ID in the request. ErrParamAPIID ErrorType = 101 ErrLimits ErrorType = 103 // Out of limits ErrNotFound ErrorType = 104 // Not found ErrSaveFile ErrorType = 105 // Couldn't save file ErrActionFailed ErrorType = 106 // Unable to process action // Invalid user id // // Make sure that you use a correct id. You can get an id using a screen // name with the utils.resolveScreenName method. ErrParamUserID ErrorType = 113 ErrParamAlbumID ErrorType = 114 // Invalid album id ErrParamServer ErrorType = 118 // Invalid server ErrParamTitle ErrorType = 119 // Invalid title ErrParamPhotos ErrorType = 122 // Invalid photos ErrParamHash ErrorType = 121 // Invalid hash ErrParamPhoto ErrorType = 129 // Invalid photo ErrParamGroupID ErrorType = 125 // Invalid group id ErrParamPageID ErrorType = 140 // Page not found ErrAccessPage ErrorType = 141 // Access to page denied // The mobile number of the user is unknown. ErrMobileNotActivated ErrorType = 146 // Application has insufficient funds. ErrInsufficientFunds ErrorType = 147 // Access to the menu of the user denied. ErrAccessMenu ErrorType = 148 // Invalid timestamp // // You may get a correct value with the utils.getServerTime method. ErrParamTimestamp ErrorType = 150 ErrFriendsListID ErrorType = 171 // Invalid list id // Reached the maximum number of lists. ErrFriendsListLimit ErrorType = 173 // Cannot add user himself as friend. ErrFriendsAddYourself ErrorType = 174 // Cannot add this user to friends as they have put you on their blacklist. ErrFriendsAddInEnemy ErrorType = 175 // Cannot add this user to friends as you put him on blacklist. ErrFriendsAddEnemy ErrorType = 176 // Cannot add this user to friends as user not found. ErrFriendsAddNotFound ErrorType = 177 ErrParamNoteID ErrorType = 180 // Note not found ErrAccessNote ErrorType = 181 // Access to note denied ErrAccessNoteComment ErrorType = 182 // You can't comment this note ErrAccessComment ErrorType = 183 // Access to comment denied // Access to album denied // // 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. ErrAccessAlbum ErrorType = 200 // Access to audio denied // // 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. ErrAccessAudio ErrorType = 201 // Access to group denied // // Make sure that the current user is a member or admin of the community // (for closed and private groups and events). ErrAccessGroup ErrorType = 203 // Access denied. ErrAccessVideo ErrorType = 204 // Access denied. ErrAccessMarket ErrorType = 205 // Access to wall's post denied. ErrWallAccessPost ErrorType = 210 // Access to wall's comment denied. ErrWallAccessComment ErrorType = 211 // Access to post comments denied. ErrWallAccessReplies ErrorType = 212 // Access to status replies denied. ErrWallAccessAddReply ErrorType = 213 // Access to adding post denied. ErrWallAddPost ErrorType = 214 // Advertisement post was recently added. ErrWallAdsPublished ErrorType = 219 // Too many recipients. ErrWallTooManyRecipients ErrorType = 220 // User disabled track name broadcast. ErrStatusNoAudio ErrorType = 221 // Hyperlinks are forbidden. ErrWallLinksForbidden ErrorType = 222 // Too many replies. ErrWallReplyOwnerFlood ErrorType = 223 // Too many ads posts. ErrWallAdsPostLimitReached ErrorType = 224 // Donut is disabled. ErrDonutDisabled ErrorType = 225 // Reaction can not be applied to the object. ErrLikesReactionCanNotBeApplied ErrorType = 232 // Access to poll denied. ErrPollsAccess ErrorType = 250 // Invalid answer id. ErrPollsAnswerID ErrorType = 252 // Invalid poll id. ErrPollsPollID ErrorType = 251 // Access denied, please vote first. ErrPollsAccessWithoutVote ErrorType = 253 // Access to the groups list is denied due to the user's privacy settings. ErrAccessGroups ErrorType = 260 // This album is full // // You need to delete the odd objects from the album or use another album. ErrAlbumFull ErrorType = 300 ErrAlbumsLimit ErrorType = 302 // Albums number limit is reached // Permission denied. You must enable votes processing in application // settings // // Check the app settings: // // http://vk.com/editapp?id={Your API_ID}§ion=payments // ErrVotesPermission ErrorType = 500 // Not enough votes. ErrVotes ErrorType = 503 // Not enough money on owner's balance. ErrNotEnoughMoney ErrorType = 504 // Permission denied. You have no access to operations specified with // given object(s). ErrAdsPermission ErrorType = 600 // Permission denied. You have requested too many actions this day. Try // later. ErrWeightedFlood ErrorType = 601 // Some part of the request has not been completed. ErrAdsPartialSuccess ErrorType = 602 // Some ads error occurred. ErrAdsSpecific ErrorType = 603 // Invalid domain. ErrAdsDomainInvalid ErrorType = 604 // Domain is forbidden. ErrAdsDomainForbidden ErrorType = 605 // Domain is reserved. ErrAdsDomainReserved ErrorType = 606 // Domain is occupied. ErrAdsDomainOccupied ErrorType = 607 // Domain is active. ErrAdsDomainActive ErrorType = 608 // Domain app is invalid. ErrAdsDomainAppInvalid ErrorType = 609 // Domain app is forbidden. ErrAdsDomainAppForbidden ErrorType = 610 // Application must be verified. ErrAdsApplicationMustBeVerified ErrorType = 611 // Application must be in domains list of site of ad unit. ErrAdsApplicationMustBeInDomainsList ErrorType = 612 // Application is blocked. ErrAdsApplicationBlocked ErrorType = 613 // Domain of type specified is forbidden in current office type. ErrAdsDomainTypeForbiddenInCurrentOffice ErrorType = 614 // Domain group is invalid. ErrAdsDomainGroupInvalid ErrorType = 615 // Domain group is forbidden. ErrAdsDomainGroupForbidden ErrorType = 616 // Domain app is blocked. ErrAdsDomainAppBlocked ErrorType = 617 // Domain group is not open. ErrAdsDomainGroupNotOpen ErrorType = 618 // Domain group is not possible to be joined to adsweb. ErrAdsDomainGroupNotPossibleJoined ErrorType = 619 // Domain group is blocked. ErrAdsDomainGroupBlocked ErrorType = 620 // Domain group has restriction: links are forbidden. ErrAdsDomainGroupLinksForbidden ErrorType = 621 // Domain group has restriction: excluded from search. ErrAdsDomainGroupExcludedFromSearch ErrorType = 622 // Domain group has restriction: cover is forbidden. ErrAdsDomainGroupCoverForbidden ErrorType = 623 // Domain group has wrong category. ErrAdsDomainGroupWrongCategory ErrorType = 624 // Domain group has wrong name. ErrAdsDomainGroupWrongName ErrorType = 625 // Domain group has low posts reach. ErrAdsDomainGroupLowPostsReach ErrorType = 626 // Domain group has wrong class. ErrAdsDomainGroupWrongClass ErrorType = 627 // Domain group is created recently. ErrAdsDomainGroupCreatedRecently ErrorType = 628 // Object deleted. ErrAdsObjectDeleted ErrorType = 629 // Lookalike request with same source already in progress. ErrAdsLookalikeRequestAlreadyInProgress ErrorType = 630 // Max count of lookalike requests per day reached. ErrAdsLookalikeRequestsLimit ErrorType = 631 // Given audience is too small. ErrAdsAudienceTooSmall ErrorType = 632 // Given audience is too large. ErrAdsAudienceTooLarge ErrorType = 633 // Lookalike request audience save already in progress. ErrAdsLookalikeAudienceSaveAlreadyInProgress ErrorType = 634 // Max count of lookalike request audience saves per day reached. ErrAdsLookalikeSavesLimit ErrorType = 635 // Max count of retargeting groups reached. ErrAdsRetargetingGroupsLimit ErrorType = 636 // Domain group has active nemesis punishment. ErrAdsDomainGroupActiveNemesisPunishment ErrorType = 637 // Cannot edit creator role. ErrGroupChangeCreator ErrorType = 700 // User should be in club. ErrGroupNotInClub ErrorType = 701 // Too many officers in club. ErrGroupTooManyOfficers ErrorType = 702 // You need to enable 2FA for this action. ErrGroupNeed2fa ErrorType = 703 // User needs to enable 2FA for this action. ErrGroupHostNeed2fa ErrorType = 704 // Too many addresses in club. ErrGroupTooManyAddresses ErrorType = 706 // "Application is not installed in community. ErrGroupAppIsNotInstalledInCommunity ErrorType = 711 // Invite link is invalid - expired, deleted or not exists. ErrGroupInvalidInviteLink ErrorType = 714 // This video is already added. ErrVideoAlreadyAdded ErrorType = 800 // Comments for this video are closed. ErrVideoCommentsClosed ErrorType = 801 // Can't send messages for users from blacklist. ErrMessagesUserBlocked ErrorType = 900 // Can't send messages for users without permission. ErrMessagesDenySend ErrorType = 901 // Can't send messages to this user due to their privacy settings. ErrMessagesPrivacy ErrorType = 902 // Value of ts or pts is too old. ErrMessagesTooOldPts ErrorType = 907 // Value of ts or pts is too new. ErrMessagesTooNewPts ErrorType = 908 // Can't edit this message, because it's too old. ErrMessagesEditExpired ErrorType = 909 // Can't sent this message, because it's too big. ErrMessagesTooBig ErrorType = 910 // Keyboard format is invalid. ErrMessagesKeyboardInvalid ErrorType = 911 // This is a chat bot feature, change this status in settings. ErrMessagesChatBotFeature ErrorType = 912 // Too many forwarded messages. ErrMessagesTooLongForwards ErrorType = 913 // Message is too long. ErrMessagesTooLongMessage ErrorType = 914 // You don't have access to this chat. ErrMessagesChatUserNoAccess ErrorType = 917 // You can't see invite link for this chat. ErrMessagesCantSeeInviteLink ErrorType = 919 // Can't edit this kind of message. ErrMessagesEditKindDisallowed ErrorType = 920 // Can't forward these messages. ErrMessagesCantFwd ErrorType = 921 // Can't delete this message for everybody. ErrMessagesCantDeleteForAll ErrorType = 924 // You are not admin of this chat. ErrMessagesChatNotAdmin ErrorType = 925 // Chat does not exist. ErrMessagesChatNotExist ErrorType = 927 // You can't change invite link for this chat. ErrMessagesCantChangeInviteLink ErrorType = 931 // Your community can't interact with this peer. ErrMessagesGroupPeerAccess ErrorType = 932 // User not found in chat. ErrMessagesChatUserNotInChat ErrorType = 935 // Contact not found. ErrMessagesContactNotFound ErrorType = 936 // Message request already send. ErrMessagesMessageRequestAlreadySend ErrorType = 939 // Too many posts in messages. ErrMessagesTooManyPosts ErrorType = 940 // Cannot pin one-time story. ErrMessagesCantPinOneTimeStory ErrorType = 942 // Cannot use this intent. ErrMessagesCantUseIntent ErrorType = 943 // Limits overflow for this intent. ErrMessagesLimitIntent ErrorType = 944 // Chat was disabled. ErrMessagesChatDisabled ErrorType = 945 // Chat not support. ErrMessagesChatNotSupported ErrorType = 946 // Can't add user to chat, because user has no access to group. ErrMessagesMemberAccessToGroupDenied ErrorType = 947 // Can't edit pinned message yet. ErrMessagesEditPinned ErrorType = 949 // Can't send message, reply timed out. ErrMessagesReplyTimedOut ErrorType = 950 // You can't access donut chat without subscription. ErrMessagesAccessDonutChat ErrorType = 962 // This user can't be added to the work chat, as they aren't an employe. ErrMessagesAccessWorkChat ErrorType = 967 // Message cannot be forwarded. ErrMessagesCantForwarded ErrorType = 969 // Cannot pin an expiring message. ErrMessagesPinExpiringMessage ErrorType = 970 // Invalid phone number. ErrParamPhone ErrorType = 1000 // This phone number is used by another user. ErrPhoneAlreadyUsed ErrorType = 1004 // Too many auth attempts, try again later. ErrAuthFloodError ErrorType = 1105 // Processing.. Try later. ErrAuthDelay ErrorType = 1112 // Anonymous token has expired. ErrAnonymousTokenExpired ErrorType = 1114 // Anonymous token is invalid. ErrAnonymousTokenInvalid ErrorType = 1116 // Access token has expired. ErrAuthAccessTokenHasExpired ErrorType = 1117 // Anonymous token ip mismatch. ErrAuthAnonymousTokenIPMismatch ErrorType = 1118 // Invalid document id. ErrParamDocID ErrorType = 1150 // Access to document deleting is denied. ErrParamDocDeleteAccess ErrorType = 1151 // Invalid document title. ErrParamDocTitle ErrorType = 1152 // Access to document is denied. ErrParamDocAccess ErrorType = 1153 // Original photo was changed. ErrPhotoChanged ErrorType = 1160 // Too many feed lists. ErrTooManyLists ErrorType = 1170 // This achievement is already unlocked. ErrAppsAlreadyUnlocked ErrorType = 1251 // Subscription not found. ErrAppsSubscriptionNotFound ErrorType = 1256 // Subscription is in invalid status. ErrAppsSubscriptionInvalidStatus ErrorType = 1257 // Invalid screen name. ErrInvalidAddress ErrorType = 1260 // Catalog is not available for this user. ErrCommunitiesCatalogDisabled ErrorType = 1310 // Catalog categories are not available for this user. ErrCommunitiesCategoriesDisabled ErrorType = 1311 // Too late for restore. ErrMarketRestoreTooLate ErrorType = 1400 // Comments for this market are closed. ErrMarketCommentsClosed ErrorType = 1401 // Album not found. ErrMarketAlbumNotFound ErrorType = 1402 // Item not found. ErrMarketItemNotFound ErrorType = 1403 // Item already added to album. ErrMarketItemAlreadyAdded ErrorType = 1404 // Too many items. ErrMarketTooManyItems ErrorType = 1405 // Too many items in album. ErrMarketTooManyItemsInAlbum ErrorType = 1406 // Too many albums. ErrMarketTooManyAlbums ErrorType = 1407 // Item has bad links in description. ErrMarketItemHasBadLinks ErrorType = 1408 // Extended market not enabled. ErrMarketShopNotEnabled ErrorType = 1409 // Grouping items with different properties. ErrMarketGroupingItemsWithDifferentProperties ErrorType = 1412 // Grouping already has such variant. ErrMarketGroupingAlreadyHasSuchVariant ErrorType = 1413 // Variant not found. ErrMarketVariantNotFound ErrorType = 1416 // Property not found. ErrMarketPropertyNotFound ErrorType = 1417 // Grouping must have two or more items. ErrMarketGroupingMustContainMoreThanOneItem ErrorType = 1425 // Item must have distinct properties. ErrMarketGroupingItemsMustHaveDistinctProperties ErrorType = 1426 // Cart is empty. ErrMarketOrdersNoCartItems ErrorType = 1427 // Specify width, length, height and weight all together. ErrMarketInvalidDimensions ErrorType = 1429 // VK Pay status can not be changed. ErrMarketCantChangeVkpayStatus ErrorType = 1430 // Market was already enabled in this group. ErrMarketShopAlreadyEnabled ErrorType = 1431 // Market was already disabled in this group. ErrMarketShopAlreadyDisabled ErrorType = 1432 // Invalid image crop format. ErrMarketPhotosCropInvalidFormat ErrorType = 1433 // Crop bottom right corner is outside of the image. ErrMarketPhotosCropOverflow ErrorType = 1434 // Crop size is less than the minimum. ErrMarketPhotosCropSizeTooLow ErrorType = 1435 // Market not enabled. ErrMarketNotEnabled ErrorType = 1438 // Cart is empty. ErrMarketCartEmpty ErrorType = 1427 // Specify width, length, height and weight all together. ErrMarketSpecifyDimensions ErrorType = 1429 // VK Pay status can not be changed. ErrVKPayStatus ErrorType = 1430 // Market was already enabled in this group. ErrMarketAlreadyEnabled ErrorType = 1431 // Market was already disabled in this group. ErrMarketAlreadyDisabled ErrorType = 1432 // Main album can not be hidden. ErrMainAlbumCantHidden ErrorType = 1446 // Story has already expired. ErrStoryExpired ErrorType = 1600 // Incorrect reply privacy. ErrStoryIncorrectReplyPrivacy ErrorType = 1602 // Card not found. ErrPrettyCardsCardNotFound ErrorType = 1900 // Too many cards. ErrPrettyCardsTooManyCards ErrorType = 1901 // Card is connected to post. ErrPrettyCardsCardIsConnectedToPost ErrorType = 1902 // Servers number limit is reached. ErrCallbackServersLimit ErrorType = 2000 // Stickers are not purchased. ErrStickersNotPurchased ErrorType = 2100 // Too many favorite stickers. ErrStickersTooManyFavorites ErrorType = 2101 // Stickers are not favorite. ErrStickersNotFavorite ErrorType = 2102 // Specified link is incorrect (can't find source). ErrWallCheckLinkCantDetermineSource ErrorType = 3102 // Recaptcha needed. ErrRecaptcha ErrorType = 3300 // Phone validation needed. ErrPhoneValidation ErrorType = 3301 // Password validation needed. ErrPasswordValidation ErrorType = 3302 // Otp app validation needed. ErrOtpAppValidation ErrorType = 3303 // Email confirmation needed. ErrEmailConfirmation ErrorType = 3304 // Assert votes. ErrAssertVotes ErrorType = 3305 // Token extension required. ErrTokenExtension ErrorType = 3609 // User is deactivated. ErrUserDeactivated ErrorType = 3610 // Service is deactivated for user. ErrServiceDeactivated ErrorType = 3611 // Can't set AliExpress tag to this type of object. ErrAliExpressTag ErrorType = 3800 // Invalid upload response. ErrInvalidUploadResponse ErrorType = 5701 // Invalid upload hash. ErrInvalidUploadHash ErrorType = 5702 // Invalid upload user. ErrInvalidUploadUser ErrorType = 5703 // Invalid upload group. ErrInvalidUploadGroup ErrorType = 5704 // Invalid crop data. ErrInvalidCropData ErrorType = 5705 // To small avatar. ErrToSmallAvatar ErrorType = 5706 // Photo not found. ErrPhotoNotFound ErrorType = 5708 // Invalid Photo. ErrInvalidPhoto ErrorType = 5709 // Invalid hash. ErrInvalidHash ErrorType = 5710 )
Error codes. See https://dev.vk.com/ru/reference/errors
type ExchangeSilentTokenSource ¶
type ExchangeSilentTokenSource int
ExchangeSilentTokenSource call conditions exchangeSilentToken.
0 Unknown 1 Silent authentication 2 Auth by login and password 3 Extended registration 4 Auth by exchange token 5 Auth by exchange token on reset password 6 Auth by exchange token on unblock 7 Auth by exchange token on reset session 8 Auth by exchange token on change password 9 Finish phone validation on authentication 10 Auth by code 11 Auth by external oauth 12 Reactivation 15 Auth by SDK temporary access-token
type ExecuteError ¶
type ExecuteError struct { Method string `json:"method"` Code ErrorType `json:"error_code"` Msg string `json:"error_msg"` }
ExecuteError struct.
type ExecuteErrors ¶
type ExecuteErrors []ExecuteError
ExecuteErrors type.
func (ExecuteErrors) Error ¶
func (e ExecuteErrors) Error() string
Error returns the message of a ExecuteErrors.
type FaveGetExtendedResponse ¶
type FaveGetExtendedResponse struct { Count int `json:"count"` Items []object.FaveItem `json:"items"` object.ExtendedResponse }
FaveGetExtendedResponse struct.
type FaveGetPagesResponse ¶
type FaveGetPagesResponse struct { Count int `json:"count"` Items []object.FavePage `json:"items"` }
FaveGetPagesResponse struct.
type FaveGetResponse ¶
FaveGetResponse struct.
type FaveGetTagsResponse ¶
FaveGetTagsResponse struct.
type FriendsAddListResponse ¶
type FriendsAddListResponse struct {
ListID int `json:"list_id"`
}
FriendsAddListResponse struct.
type FriendsAreFriendsResponse ¶
type FriendsAreFriendsResponse []object.FriendsFriendStatus
FriendsAreFriendsResponse struct.
type FriendsDeleteResponse ¶
type FriendsDeleteResponse struct { Success object.BaseBoolInt `json:"success"` FriendDeleted object.BaseBoolInt `json:"friend_deleted"` OutRequestDeleted object.BaseBoolInt `json:"out_request_deleted"` InRequestDeleted object.BaseBoolInt `json:"in_request_deleted"` SuggestionDeleted object.BaseBoolInt `json:"suggestion_deleted"` }
FriendsDeleteResponse struct.
type FriendsGetAppUsersResponse ¶
type FriendsGetAppUsersResponse []int
FriendsGetAppUsersResponse struct.
type FriendsGetByPhonesResponse ¶
type FriendsGetByPhonesResponse []object.FriendsUserXtrPhone
FriendsGetByPhonesResponse struct.
type FriendsGetFieldsResponse ¶
type FriendsGetFieldsResponse struct { Count int `json:"count"` Items []object.FriendsUserXtrLists `json:"items"` }
FriendsGetFieldsResponse struct.
type FriendsGetListsResponse ¶
type FriendsGetListsResponse struct { Count int `json:"count"` Items []object.FriendsFriendsList `json:"items"` }
FriendsGetListsResponse struct.
type FriendsGetMutualResponse ¶
type FriendsGetMutualResponse []int
FriendsGetMutualResponse struct.
type FriendsGetOnlineOnlineMobileResponse ¶
type FriendsGetOnlineOnlineMobileResponse struct { Online []int `json:"online"` OnlineMobile []int `json:"online_mobile"` }
FriendsGetOnlineOnlineMobileResponse struct.
type FriendsGetRecentResponse ¶
type FriendsGetRecentResponse []int
FriendsGetRecentResponse struct.
type FriendsGetRequestsExtendedResponse ¶
type FriendsGetRequestsExtendedResponse struct { Count int `json:"count"` Items []object.FriendsRequestsXtrMessage `json:"items"` }
FriendsGetRequestsExtendedResponse struct.
type FriendsGetRequestsNeedMutualResponse ¶
type FriendsGetRequestsNeedMutualResponse struct { Count int `json:"count"` // Total requests number Items []object.FriendsRequests `json:"items"` }
FriendsGetRequestsNeedMutualResponse struct.
type FriendsGetRequestsResponse ¶
type FriendsGetRequestsResponse struct { Count int `json:"count"` // Total requests number Items []int `json:"items"` }
FriendsGetRequestsResponse struct.
type FriendsGetResponse ¶
FriendsGetResponse struct.
type FriendsGetSuggestionsResponse ¶
type FriendsGetSuggestionsResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
FriendsGetSuggestionsResponse struct.
type FriendsSearchResponse ¶
type FriendsSearchResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
FriendsSearchResponse struct.
type GiftsGetCatalogResponse ¶
type GiftsGetCatalogResponse []struct { Name string `json:"name"` Title string `json:"title"` Items []object.GiftsGift `json:"items"` }
GiftsGetCatalogResponse struct.
type GiftsGetResponse ¶
GiftsGetResponse struct.
type GroupsAddAddressResponse ¶
type GroupsAddAddressResponse object.GroupsAddress
GroupsAddAddressResponse struct.
type GroupsAddCallbackServerResponse ¶
type GroupsAddCallbackServerResponse struct {
ServerID int `json:"server_id"`
}
GroupsAddCallbackServerResponse struct.
type GroupsAddLinkResponse ¶
type GroupsAddLinkResponse object.GroupsGroupLink
GroupsAddLinkResponse struct.
type GroupsCreateResponse ¶
type GroupsCreateResponse object.GroupsGroup
GroupsCreateResponse struct.
type GroupsEditAddressResponse ¶
type GroupsEditAddressResponse object.GroupsAddress
GroupsEditAddressResponse struct.
type GroupsGetAddressesResponse ¶
type GroupsGetAddressesResponse struct { Count int `json:"count"` Items []object.GroupsAddress `json:"items"` }
GroupsGetAddressesResponse struct.
type GroupsGetBannedResponse ¶
type GroupsGetBannedResponse struct { Count int `json:"count"` Items []object.GroupsOwnerXtrBanInfo `json:"items"` }
GroupsGetBannedResponse struct.
type GroupsGetByIDResponse ¶
type GroupsGetByIDResponse struct { Groups []object.GroupsGroup `json:"groups"` Profiles []object.GroupsProfileItem `json:"profiles"` }
GroupsGetByIDResponse struct.
type GroupsGetCallbackConfirmationCodeResponse ¶
type GroupsGetCallbackConfirmationCodeResponse struct {
Code string `json:"code"`
}
GroupsGetCallbackConfirmationCodeResponse struct.
type GroupsGetCallbackServersResponse ¶
type GroupsGetCallbackServersResponse struct { Count int `json:"count"` Items []object.GroupsCallbackServer `json:"items"` }
GroupsGetCallbackServersResponse struct.
type GroupsGetCallbackSettingsResponse ¶
type GroupsGetCallbackSettingsResponse object.GroupsCallbackSettings
GroupsGetCallbackSettingsResponse struct.
type GroupsGetCatalogInfoExtendedResponse ¶
type GroupsGetCatalogInfoExtendedResponse struct { Enabled object.BaseBoolInt `json:"enabled"` Categories []object.GroupsGroupCategoryFull `json:"categories"` }
GroupsGetCatalogInfoExtendedResponse struct.
type GroupsGetCatalogInfoResponse ¶
type GroupsGetCatalogInfoResponse struct { Enabled object.BaseBoolInt `json:"enabled"` Categories []object.GroupsGroupCategory `json:"categories"` }
GroupsGetCatalogInfoResponse struct.
type GroupsGetCatalogResponse ¶
type GroupsGetCatalogResponse struct { Count int `json:"count"` Items []object.GroupsGroup `json:"items"` }
GroupsGetCatalogResponse struct.
type GroupsGetExtendedResponse ¶
type GroupsGetExtendedResponse struct { Count int `json:"count"` Items []object.GroupsGroup `json:"items"` }
GroupsGetExtendedResponse struct.
type GroupsGetInvitedUsersResponse ¶
type GroupsGetInvitedUsersResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
GroupsGetInvitedUsersResponse struct.
type GroupsGetInvitesExtendedResponse ¶
type GroupsGetInvitesExtendedResponse struct { Count int `json:"count"` Items []object.GroupsGroupXtrInvitedBy `json:"items"` object.ExtendedResponse }
GroupsGetInvitesExtendedResponse struct.
type GroupsGetInvitesResponse ¶
type GroupsGetInvitesResponse struct { Count int `json:"count"` Items []object.GroupsGroupXtrInvitedBy `json:"items"` }
GroupsGetInvitesResponse struct.
type GroupsGetLongPollServerResponse ¶
type GroupsGetLongPollServerResponse object.GroupsLongPollServer
GroupsGetLongPollServerResponse struct.
type GroupsGetLongPollSettingsResponse ¶
type GroupsGetLongPollSettingsResponse object.GroupsLongPollSettings
GroupsGetLongPollSettingsResponse struct.
type GroupsGetMembersFieldsResponse ¶
type GroupsGetMembersFieldsResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
GroupsGetMembersFieldsResponse struct.
type GroupsGetMembersFilterManagersResponse ¶
type GroupsGetMembersFilterManagersResponse struct { Count int `json:"count"` Items []object.GroupsMemberRoleXtrUsersUser `json:"items"` }
GroupsGetMembersFilterManagersResponse struct.
type GroupsGetMembersResponse ¶
GroupsGetMembersResponse struct.
type GroupsGetOnlineStatusResponse ¶
type GroupsGetOnlineStatusResponse object.GroupsOnlineStatus
GroupsGetOnlineStatusResponse struct.
type GroupsGetRequestsFieldsResponse ¶
type GroupsGetRequestsFieldsResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
GroupsGetRequestsFieldsResponse struct.
type GroupsGetRequestsResponse ¶
GroupsGetRequestsResponse struct.
type GroupsGetResponse ¶
GroupsGetResponse struct.
type GroupsGetSettingsResponse ¶
type GroupsGetSettingsResponse object.GroupsGroupSettings
GroupsGetSettingsResponse struct.
type GroupsGetTagListResponse ¶
GroupsGetTagListResponse struct.
type GroupsGetTokenPermissionsResponse ¶
type GroupsGetTokenPermissionsResponse object.GroupsTokenPermissions
GroupsGetTokenPermissionsResponse struct.
type GroupsIsMemberExtendedResponse ¶
type GroupsIsMemberExtendedResponse struct { Invitation object.BaseBoolInt `json:"invitation"` // Information whether user has been invited to the group Member object.BaseBoolInt `json:"member"` // Information whether user is a member of the group Request object.BaseBoolInt `json:"request"` // Information whether user has send request to the group CanInvite object.BaseBoolInt `json:"can_invite"` // Information whether user can be invite CanRecall object.BaseBoolInt `json:"can_recall"` // Information whether user's invite to the group can be recalled }
GroupsIsMemberExtendedResponse struct.
type GroupsIsMemberUserIDsExtendedResponse ¶
type GroupsIsMemberUserIDsExtendedResponse []object.GroupsMemberStatusFull
GroupsIsMemberUserIDsExtendedResponse struct.
type GroupsIsMemberUserIDsResponse ¶
type GroupsIsMemberUserIDsResponse []object.GroupsMemberStatus
GroupsIsMemberUserIDsResponse struct.
type GroupsSearchResponse ¶
type GroupsSearchResponse struct { Count int `json:"count"` Items []object.GroupsGroup `json:"items"` }
GroupsSearchResponse struct.
type InvalidContentType ¶
type InvalidContentType struct {
ContentType string
}
InvalidContentType type.
func (InvalidContentType) Error ¶
func (e InvalidContentType) Error() string
Error returns the message of a InvalidContentType.
type LeadFormsCreateResponse ¶
LeadFormsCreateResponse struct.
type LeadFormsDeleteResponse ¶
type LeadFormsDeleteResponse struct {
FormID int `json:"form_id"`
}
LeadFormsDeleteResponse struct.
type LeadFormsGetLeadsResponse ¶
type LeadFormsGetLeadsResponse struct {
Leads []object.LeadFormsLead `json:"leads"`
}
LeadFormsGetLeadsResponse struct.
type LeadFormsGetResponse ¶
type LeadFormsGetResponse object.LeadFormsForm
LeadFormsGetResponse struct.
type LeadFormsListResponse ¶
type LeadFormsListResponse []object.LeadFormsForm
LeadFormsListResponse struct.
type LeadFormsUpdateResponse ¶
LeadFormsUpdateResponse struct.
type LeadsCheckUserResponse ¶
type LeadsCheckUserResponse object.LeadsChecked
LeadsCheckUserResponse struct.
type LeadsCompleteResponse ¶
type LeadsCompleteResponse object.LeadsComplete
LeadsCompleteResponse struct.
type LeadsGetStatsResponse ¶
LeadsGetStatsResponse struct.
type LeadsGetUsersResponse ¶
type LeadsGetUsersResponse object.LeadsEntry
LeadsGetUsersResponse struct.
type LeadsMetricHitResponse ¶
type LeadsMetricHitResponse struct { Result object.BaseBoolInt `json:"result"` // Information whether request has been processed successfully RedirectLink string `json:"redirect_link"` // Redirect link }
LeadsMetricHitResponse struct.
type LikesAddResponse ¶
type LikesAddResponse struct {
Likes int `json:"likes"`
}
LikesAddResponse struct.
type LikesDeleteResponse ¶
type LikesDeleteResponse struct {
Likes int `json:"likes"`
}
LikesDeleteResponse struct.
type LikesGetListExtendedResponse ¶
type LikesGetListExtendedResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
LikesGetListExtendedResponse struct.
type LikesGetListResponse ¶
LikesGetListResponse struct.
type LikesIsLikedResponse ¶
type LikesIsLikedResponse struct { Liked object.BaseBoolInt `json:"liked"` Copied object.BaseBoolInt `json:"copied"` }
LikesIsLikedResponse struct.
type MarketAddAlbumResponse ¶
type MarketAddAlbumResponse struct { MarketAlbumID int `json:"market_album_id"` // Album ID AlbumsCount int `json:"albums_count"` }
MarketAddAlbumResponse struct.
type MarketAddResponse ¶
type MarketAddResponse struct {
MarketItemID int `json:"market_item_id"` // Item ID
}
MarketAddResponse struct.
type MarketGetAlbumByIDResponse ¶
type MarketGetAlbumByIDResponse struct { Count int `json:"count"` Items []object.MarketMarketAlbum `json:"items"` }
MarketGetAlbumByIDResponse struct.
type MarketGetAlbumsResponse ¶
type MarketGetAlbumsResponse struct { Count int `json:"count"` Items []object.MarketMarketAlbum `json:"items"` }
MarketGetAlbumsResponse struct.
type MarketGetByIDResponse ¶
type MarketGetByIDResponse struct { Count int `json:"count"` Items []object.MarketMarketItem `json:"items"` }
MarketGetByIDResponse struct.
type MarketGetCategoriesResponse ¶
type MarketGetCategoriesResponse struct {
Items []object.MarketMarketCategoryTree `json:"items"`
}
MarketGetCategoriesResponse struct.
type MarketGetCommentsExtendedResponse ¶
type MarketGetCommentsExtendedResponse struct { Count int `json:"count"` Items []object.WallWallComment `json:"items"` object.ExtendedResponse }
MarketGetCommentsExtendedResponse struct.
type MarketGetCommentsResponse ¶
type MarketGetCommentsResponse struct { Count int `json:"count"` Items []object.WallWallComment `json:"items"` }
MarketGetCommentsResponse struct.
type MarketGetGroupOrdersResponse ¶
type MarketGetGroupOrdersResponse struct { Count int `json:"count"` Items []object.MarketOrder `json:"items"` }
MarketGetGroupOrdersResponse struct.
type MarketGetOrderByIDResponse ¶
type MarketGetOrderByIDResponse struct {
Order object.MarketOrder `json:"order"`
}
MarketGetOrderByIDResponse struct.
type MarketGetOrderItemsResponse ¶
type MarketGetOrderItemsResponse struct { Count int `json:"count"` Items []object.MarketOrderItem `json:"items"` }
MarketGetOrderItemsResponse struct.
type MarketGetResponse ¶
type MarketGetResponse struct { Count int `json:"count"` Items []object.MarketMarketItem `json:"items"` }
MarketGetResponse struct.
type MarketSearchItemsResponse ¶
type MarketSearchItemsResponse struct { Count int `json:"count"` ViewType int `json:"view_type"` Items []object.MarketMarketItem `json:"items"` Groups []object.GroupsGroup `json:"groups,omitempty"` }
MarketSearchItemsResponse struct.
type MarketSearchResponse ¶
type MarketSearchResponse struct { Count int `json:"count"` Items []object.MarketMarketItem `json:"items"` ViewType int `json:"view_type"` }
MarketSearchResponse struct.
type MarusiaCreateAudioResponse ¶
MarusiaCreateAudioResponse struct.
type MarusiaGetAudioUploadLinkResponse ¶
type MarusiaGetAudioUploadLinkResponse struct {
AudioUploadLink string `json:"audio_upload_link"` // Link
}
MarusiaGetAudioUploadLinkResponse struct.
type MarusiaGetAudiosResponse ¶
type MarusiaGetAudiosResponse struct { Count int `json:"count"` Audios []object.MarusiaAudio `json:"audios"` }
MarusiaGetAudiosResponse struct.
type MarusiaGetPictureUploadLinkResponse ¶
type MarusiaGetPictureUploadLinkResponse struct {
PictureUploadLink string `json:"picture_upload_link"` // Link
}
MarusiaGetPictureUploadLinkResponse struct.
type MarusiaGetPicturesResponse ¶
type MarusiaGetPicturesResponse struct { Count int `json:"count"` Items []object.MarusiaPicture `json:"items"` }
MarusiaGetPicturesResponse struct.
type MarusiaSavePictureResponse ¶
MarusiaSavePictureResponse struct.
type MessagesDeleteChatPhotoResponse ¶
type MessagesDeleteChatPhotoResponse struct { MessageID int `json:"message_id"` Chat object.MessagesChat `json:"chat"` }
MessagesDeleteChatPhotoResponse struct.
type MessagesDeleteConversationResponse ¶
type MessagesDeleteConversationResponse struct {
LastDeletedID int `json:"last_deleted_id"` // Id of the last message, that was deleted
}
MessagesDeleteConversationResponse struct.
type MessagesDeleteResponse ¶
MessagesDeleteResponse struct.
func (*MessagesDeleteResponse) DecodeMsgpack ¶
func (resp *MessagesDeleteResponse) DecodeMsgpack(dec *msgpack.Decoder) error
DecodeMsgpack funcion.
type MessagesGetByConversationMessageIDResponse ¶
type MessagesGetByConversationMessageIDResponse struct { Count int `json:"count"` Items []object.MessagesMessage `json:"items"` object.ExtendedResponse }
MessagesGetByConversationMessageIDResponse struct.
type MessagesGetByIDExtendedResponse ¶
type MessagesGetByIDExtendedResponse struct { Count int `json:"count"` Items []object.MessagesMessage `json:"items"` object.ExtendedResponse }
MessagesGetByIDExtendedResponse struct.
type MessagesGetByIDResponse ¶
type MessagesGetByIDResponse struct { Count int `json:"count"` Items []object.MessagesMessage `json:"items"` }
MessagesGetByIDResponse struct.
type MessagesGetChatChatIDsResponse ¶
type MessagesGetChatChatIDsResponse []object.MessagesChat
MessagesGetChatChatIDsResponse struct.
type MessagesGetChatPreviewResponse ¶
type MessagesGetChatPreviewResponse struct { Preview object.MessagesChatPreview `json:"preview"` object.ExtendedResponse }
MessagesGetChatPreviewResponse struct.
type MessagesGetChatResponse ¶
type MessagesGetChatResponse object.MessagesChat
MessagesGetChatResponse struct.
type MessagesGetConversationMembersResponse ¶
type MessagesGetConversationMembersResponse struct { Items []struct { MemberID int `json:"member_id"` JoinDate int `json:"join_date"` InvitedBy int `json:"invited_by"` IsOwner object.BaseBoolInt `json:"is_owner,omitempty"` IsAdmin object.BaseBoolInt `json:"is_admin,omitempty"` CanKick object.BaseBoolInt `json:"can_kick,omitempty"` } `json:"items"` Count int `json:"count"` ChatRestrictions struct { OnlyAdminsInvite object.BaseBoolInt `json:"only_admins_invite"` OnlyAdminsEditPin object.BaseBoolInt `json:"only_admins_edit_pin"` OnlyAdminsEditInfo object.BaseBoolInt `json:"only_admins_edit_info"` AdminsPromoteUsers object.BaseBoolInt `json:"admins_promote_users"` } `json:"chat_restrictions"` object.ExtendedResponse }
MessagesGetConversationMembersResponse struct.
type MessagesGetConversationsByIDExtendedResponse ¶
type MessagesGetConversationsByIDExtendedResponse struct { Count int `json:"count"` Items []object.MessagesConversation `json:"items"` object.ExtendedResponse }
MessagesGetConversationsByIDExtendedResponse struct.
type MessagesGetConversationsByIDResponse ¶
type MessagesGetConversationsByIDResponse struct { Count int `json:"count"` Items []object.MessagesConversation `json:"items"` }
MessagesGetConversationsByIDResponse struct.
type MessagesGetConversationsResponse ¶
type MessagesGetConversationsResponse struct { Count int `json:"count"` Items []object.MessagesConversationWithMessage `json:"items"` UnreadCount int `json:"unread_count"` object.ExtendedResponse }
MessagesGetConversationsResponse struct.
type MessagesGetHistoryAttachmentsResponse ¶
type MessagesGetHistoryAttachmentsResponse struct { Items []object.MessagesHistoryAttachment `json:"items"` NextFrom string `json:"next_from"` object.ExtendedResponse }
MessagesGetHistoryAttachmentsResponse struct.
type MessagesGetHistoryResponse ¶
type MessagesGetHistoryResponse struct { Count int `json:"count"` Items []object.MessagesMessage `json:"items"` // extended=1 object.ExtendedResponse // extended=1 Conversations []object.MessagesConversation `json:"conversations,omitempty"` // Deprecated: use .Conversations.InRead InRead int `json:"in_read,omitempty"` // Deprecated: use .Conversations.OutRead OutRead int `json:"out_read,omitempty"` }
MessagesGetHistoryResponse struct.
type MessagesGetImportantMessagesResponse ¶
type MessagesGetImportantMessagesResponse struct { Messages struct { Count int `json:"count"` Items []object.MessagesMessage `json:"items"` } `json:"messages"` Conversations []object.MessagesConversation `json:"conversations"` object.ExtendedResponse }
MessagesGetImportantMessagesResponse struct.
type MessagesGetIntentUsersResponse ¶
type MessagesGetIntentUsersResponse struct { Count int `json:"count"` Items []int `json:"items"` Profiles []object.MessagesMessage `json:"profiles,omitempty"` }
MessagesGetIntentUsersResponse struct.
type MessagesGetInviteLinkResponse ¶
type MessagesGetInviteLinkResponse struct {
Link string `json:"link"`
}
MessagesGetInviteLinkResponse struct.
type MessagesGetLastActivityResponse ¶
type MessagesGetLastActivityResponse object.MessagesLastActivity
MessagesGetLastActivityResponse struct.
type MessagesGetLongPollHistoryResponse ¶
type MessagesGetLongPollHistoryResponse struct { History [][]int `json:"history"` Groups []object.GroupsGroup `json:"groups"` Messages struct { Count int `json:"count"` Items []object.MessagesMessage `json:"items"` } `json:"messages"` Profiles []object.UsersUser `json:"profiles"` // Chats struct {} `json:"chats"` NewPTS int `json:"new_pts"` FromPTS int `json:"from_pts"` More object.BaseBoolInt `json:"chats"` Conversations []object.MessagesConversation `json:"conversations"` }
MessagesGetLongPollHistoryResponse struct.
type MessagesGetLongPollServerResponse ¶
type MessagesGetLongPollServerResponse object.MessagesLongPollParams
MessagesGetLongPollServerResponse struct.
type MessagesIsMessagesFromGroupAllowedResponse ¶
type MessagesIsMessagesFromGroupAllowedResponse struct {
IsAllowed object.BaseBoolInt `json:"is_allowed"`
}
MessagesIsMessagesFromGroupAllowedResponse struct.
type MessagesJoinChatByInviteLinkResponse ¶
type MessagesJoinChatByInviteLinkResponse struct {
ChatID int `json:"chat_id"`
}
MessagesJoinChatByInviteLinkResponse struct.
type MessagesMarkAsImportantResponse ¶
type MessagesMarkAsImportantResponse []int
MessagesMarkAsImportantResponse struct.
type MessagesPinResponse ¶
type MessagesPinResponse object.MessagesMessage
MessagesPinResponse struct.
type MessagesSearchConversationsResponse ¶
type MessagesSearchConversationsResponse struct { Count int `json:"count"` Items []object.MessagesConversation `json:"items"` object.ExtendedResponse }
MessagesSearchConversationsResponse struct.
type MessagesSearchResponse ¶
type MessagesSearchResponse struct { Count int `json:"count"` Items []object.MessagesMessage `json:"items"` object.ExtendedResponse Conversations []object.MessagesConversation `json:"conversations,omitempty"` }
MessagesSearchResponse struct.
type MessagesSendUserIDsResponse ¶
type MessagesSendUserIDsResponse []struct { PeerID int `json:"peer_id"` MessageID int `json:"message_id"` ConversationMessageID int `json:"conversation_message_id"` Error Error `json:"error"` }
MessagesSendUserIDsResponse struct.
TODO: v3 rename MessagesSendPeerIDsResponse - user_ids outdated.
type MessagesSetChatPhotoResponse ¶
type MessagesSetChatPhotoResponse struct { MessageID int `json:"message_id"` Chat object.MessagesChat `json:"chat"` }
MessagesSetChatPhotoResponse struct.
type MessagesStartCallResponse ¶
type MessagesStartCallResponse struct { JoinLink string `json:"join_link"` CallID string `json:"call_id"` }
MessagesStartCallResponse struct.
type NewsfeedGetBannedExtendedResponse ¶
type NewsfeedGetBannedExtendedResponse struct {
object.ExtendedResponse
}
NewsfeedGetBannedExtendedResponse struct.
type NewsfeedGetBannedResponse ¶
type NewsfeedGetBannedResponse struct { Members []int `json:"members"` Groups []int `json:"groups"` }
NewsfeedGetBannedResponse struct.
type NewsfeedGetCommentsResponse ¶
type NewsfeedGetCommentsResponse struct { Items []object.NewsfeedNewsfeedItem `json:"items"` object.ExtendedResponse NextFrom string `json:"next_from"` }
NewsfeedGetCommentsResponse struct.
type NewsfeedGetListsResponse ¶
type NewsfeedGetListsResponse struct { Count int `json:"count"` Items []struct { ID int `json:"id"` Title string `json:"title"` NoReposts int `json:"no_reposts"` SourceIDs []int `json:"source_ids"` } `json:"items"` }
NewsfeedGetListsResponse struct.
type NewsfeedGetMentionsResponse ¶
type NewsfeedGetMentionsResponse struct { Count int `json:"count"` Items []object.WallWallpostToID `json:"items"` }
NewsfeedGetMentionsResponse struct.
type NewsfeedGetRecommendedResponse ¶
type NewsfeedGetRecommendedResponse struct { Items []object.NewsfeedNewsfeedItem `json:"items"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` NextOffset string `json:"next_offset"` NextFrom string `json:"next_from"` }
NewsfeedGetRecommendedResponse struct.
type NewsfeedGetResponse ¶
type NewsfeedGetResponse struct { Items []object.NewsfeedNewsfeedItem `json:"items"` object.ExtendedResponse NextFrom string `json:"next_from"` }
NewsfeedGetResponse struct.
type NewsfeedGetSuggestedSourcesResponse ¶
type NewsfeedGetSuggestedSourcesResponse struct { Count int `json:"count"` Items []object.GroupsGroup `json:"items"` // FIXME: GroupsGroup + UsersUser }
NewsfeedGetSuggestedSourcesResponse struct.
type NewsfeedIgnoreItemResponse ¶
type NewsfeedIgnoreItemResponse struct { Status bool `json:"status"` Message *string `json:"message"` }
NewsfeedIgnoreItemResponse struct.
type NewsfeedSearchExtendedResponse ¶
type NewsfeedSearchExtendedResponse struct { Items []object.WallWallpost `json:"items"` Count int `json:"count"` TotalCount int `json:"total_count"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` NextFrom string `json:"next_from"` }
NewsfeedSearchExtendedResponse struct.
type NewsfeedSearchResponse ¶
type NewsfeedSearchResponse struct { Items []object.WallWallpost `json:"items"` Count int `json:"count"` TotalCount int `json:"total_count"` NextFrom string `json:"next_from"` }
NewsfeedSearchResponse struct.
type NotesGetCommentsResponse ¶
type NotesGetCommentsResponse struct { Count int `json:"count"` Items []object.NotesNoteComment `json:"items"` }
NotesGetCommentsResponse struct.
type NotesGetResponse ¶
NotesGetResponse struct.
type NotificationsGetResponse ¶
type NotificationsGetResponse struct { Count int `json:"count"` Items []object.NotificationsNotification `json:"items"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` Photos []object.PhotosPhoto `json:"photos"` Videos []object.VideoVideo `json:"videos"` Apps []object.AppsApp `json:"apps"` LastViewed int `json:"last_viewed"` NextFrom string `json:"next_from"` TTL int `json:"ttl"` }
NotificationsGetResponse struct.
type NotificationsSendMessageResponse ¶
type NotificationsSendMessageResponse []struct { UserID int `json:"user_id"` Status object.BaseBoolInt `json:"status"` Error struct { Code int `json:"code"` Description string `json:"description"` } `json:"error"` }
NotificationsSendMessageResponse struct.
type OrdersChangeStateResponse ¶
type OrdersChangeStateResponse string // New state
OrdersChangeStateResponse struct.
type OrdersGetAmountResponse ¶
type OrdersGetAmountResponse []object.OrdersAmount
OrdersGetAmountResponse struct.
type OrdersGetByIDResponse ¶
type OrdersGetByIDResponse []object.OrdersOrder
OrdersGetByIDResponse struct.
type OrdersGetUserSubscriptionByIDResponse ¶
type OrdersGetUserSubscriptionByIDResponse object.OrdersSubscription
OrdersGetUserSubscriptionByIDResponse struct.
type OrdersGetUserSubscriptionsResponse ¶
type OrdersGetUserSubscriptionsResponse struct { Count int `json:"count"` // Total number Items []object.OrdersSubscription `json:"items"` }
OrdersGetUserSubscriptionsResponse struct.
type PagesGetHistoryResponse ¶
type PagesGetHistoryResponse []object.PagesWikipageHistory
PagesGetHistoryResponse struct.
type PagesGetTitlesResponse ¶
type PagesGetTitlesResponse []object.PagesWikipageFull
PagesGetTitlesResponse struct.
type PagesGetVersionResponse ¶
type PagesGetVersionResponse object.PagesWikipageFull
PagesGetVersionResponse struct.
type Params ¶
type Params map[string]interface{}
Params type.
func (Params) CaptchaKey ¶
CaptchaKey text input.
func (Params) CaptchaSID ¶
CaptchaSID received ID.
func (Params) Lang ¶
Lang - determines the language for the data to be displayed on. For example country and city names. If you use a non-cyrillic language, cyrillic symbols will be transliterated automatically. Numeric format from account.getInfo is supported as well.
p.Lang(object.LangRU)
See all language code in module object.
type PhotosCreateAlbumResponse ¶
type PhotosCreateAlbumResponse object.PhotosPhotoAlbumFull
PhotosCreateAlbumResponse struct.
type PhotosGetAlbumsResponse ¶
type PhotosGetAlbumsResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhotoAlbumFull `json:"items"` }
PhotosGetAlbumsResponse struct.
type PhotosGetAllCommentsResponse ¶
type PhotosGetAllCommentsResponse struct { Count int `json:"count"` // Total number Items []object.PhotosCommentXtrPid `json:"items"` }
PhotosGetAllCommentsResponse struct.
type PhotosGetAllExtendedResponse ¶
type PhotosGetAllExtendedResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhotoFullXtrRealOffset `json:"items"` More object.BaseBoolInt `json:"more"` // Information whether next page is presented }
PhotosGetAllExtendedResponse struct.
type PhotosGetAllResponse ¶
type PhotosGetAllResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhotoXtrRealOffset `json:"items"` More object.BaseBoolInt `json:"more"` // Information whether next page is presented }
PhotosGetAllResponse struct.
type PhotosGetByIDExtendedResponse ¶
type PhotosGetByIDExtendedResponse []object.PhotosPhotoFull
PhotosGetByIDExtendedResponse struct.
type PhotosGetByIDResponse ¶
type PhotosGetByIDResponse []object.PhotosPhoto
PhotosGetByIDResponse struct.
type PhotosGetChatUploadServerResponse ¶
type PhotosGetChatUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
PhotosGetChatUploadServerResponse struct.
type PhotosGetCommentsExtendedResponse ¶
type PhotosGetCommentsExtendedResponse struct { Count int `json:"count"` // Total number RealOffset int `json:"real_offset"` // Real offset of the comments Items []object.WallWallComment `json:"items"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` }
PhotosGetCommentsExtendedResponse struct.
type PhotosGetCommentsResponse ¶
type PhotosGetCommentsResponse struct { Count int `json:"count"` // Total number RealOffset int `json:"real_offset"` // Real offset of the comments Items []object.WallWallComment `json:"items"` }
PhotosGetCommentsResponse struct.
type PhotosGetExtendedResponse ¶
type PhotosGetExtendedResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhotoFull `json:"items"` }
PhotosGetExtendedResponse struct.
type PhotosGetMarketAlbumUploadServerResponse ¶
type PhotosGetMarketAlbumUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
PhotosGetMarketAlbumUploadServerResponse struct.
type PhotosGetMarketUploadServerResponse ¶
type PhotosGetMarketUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
PhotosGetMarketUploadServerResponse struct.
type PhotosGetMessagesUploadServerResponse ¶
type PhotosGetMessagesUploadServerResponse struct { AlbumID int `json:"album_id"` UploadURL string `json:"upload_url"` UserID int `json:"user_id,omitempty"` GroupID int `json:"group_id,omitempty"` }
PhotosGetMessagesUploadServerResponse struct.
type PhotosGetNewTagsResponse ¶
type PhotosGetNewTagsResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhotoXtrTagInfo `json:"items"` }
PhotosGetNewTagsResponse struct.
type PhotosGetOwnerCoverPhotoUploadServerResponse ¶
type PhotosGetOwnerCoverPhotoUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
PhotosGetOwnerCoverPhotoUploadServerResponse struct.
type PhotosGetOwnerPhotoUploadServerResponse ¶
type PhotosGetOwnerPhotoUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
PhotosGetOwnerPhotoUploadServerResponse struct.
type PhotosGetResponse ¶
type PhotosGetResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhoto `json:"items"` }
PhotosGetResponse struct.
type PhotosGetTagsResponse ¶
type PhotosGetTagsResponse []object.PhotosPhotoTag
PhotosGetTagsResponse struct.
type PhotosGetUploadServerResponse ¶
type PhotosGetUploadServerResponse object.PhotosPhotoUpload
PhotosGetUploadServerResponse struct.
type PhotosGetUserPhotosExtendedResponse ¶
type PhotosGetUserPhotosExtendedResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhotoFull `json:"items"` }
PhotosGetUserPhotosExtendedResponse struct.
type PhotosGetUserPhotosResponse ¶
type PhotosGetUserPhotosResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhoto `json:"items"` }
PhotosGetUserPhotosResponse struct.
type PhotosGetWallUploadServerResponse ¶
type PhotosGetWallUploadServerResponse object.PhotosPhotoUpload
PhotosGetWallUploadServerResponse struct.
type PhotosSaveMarketAlbumPhotoResponse ¶
type PhotosSaveMarketAlbumPhotoResponse []object.PhotosPhoto
PhotosSaveMarketAlbumPhotoResponse struct.
type PhotosSaveMarketPhotoResponse ¶
type PhotosSaveMarketPhotoResponse []object.PhotosPhoto
PhotosSaveMarketPhotoResponse struct.
type PhotosSaveMessagesPhotoResponse ¶
type PhotosSaveMessagesPhotoResponse []object.PhotosPhoto
PhotosSaveMessagesPhotoResponse struct.
type PhotosSaveOwnerCoverPhotoResponse ¶
type PhotosSaveOwnerCoverPhotoResponse struct {
Images []object.PhotosImage `json:"images"`
}
PhotosSaveOwnerCoverPhotoResponse struct.
type PhotosSaveOwnerPhotoResponse ¶
type PhotosSaveOwnerPhotoResponse struct { PhotoHash string `json:"photo_hash"` // BUG(VK): returns false // PhotoSrc string `json:"photo_src"` // PhotoSrcBig string `json:"photo_src_big"` // PhotoSrcSmall string `json:"photo_src_small"` Saved int `json:"saved"` PostID int `json:"post_id"` }
PhotosSaveOwnerPhotoResponse struct.
type PhotosSaveWallPhotoResponse ¶
type PhotosSaveWallPhotoResponse []object.PhotosPhoto
PhotosSaveWallPhotoResponse struct.
type PhotosSearchResponse ¶
type PhotosSearchResponse struct { Count int `json:"count"` // Total number Items []object.PhotosPhotoFull `json:"items"` }
PhotosSearchResponse struct.
type PodcastsGetCatalogExtendedResponse ¶
type PodcastsGetCatalogExtendedResponse struct { Items []object.PodcastsItem `json:"items"` object.ExtendedResponse }
PodcastsGetCatalogExtendedResponse struct.
type PodcastsGetCatalogResponse ¶
type PodcastsGetCatalogResponse struct {
Items []object.PodcastsItem `json:"items"`
}
PodcastsGetCatalogResponse struct.
type PodcastsGetCategoriesResponse ¶
type PodcastsGetCategoriesResponse []object.PodcastsCategory
PodcastsGetCategoriesResponse struct.
type PodcastsGetEpisodesResponse ¶
type PodcastsGetEpisodesResponse struct { Count int `json:"count"` Items []object.PodcastsEpisode `json:"items"` }
PodcastsGetEpisodesResponse struct.
type PodcastsGetFeedExtendedResponse ¶
type PodcastsGetFeedExtendedResponse struct { Items []object.PodcastsEpisode `json:"items"` NextFrom string `json:"next_from"` object.ExtendedResponse }
PodcastsGetFeedExtendedResponse struct.
type PodcastsGetFeedResponse ¶
type PodcastsGetFeedResponse struct { Items []object.PodcastsEpisode `json:"items"` NextFrom string `json:"next_from"` }
PodcastsGetFeedResponse struct.
type PodcastsGetStartPageExtendedResponse ¶
type PodcastsGetStartPageExtendedResponse struct { Order []string `json:"order"` InProgress []object.PodcastsEpisode `json:"in_progress"` Bookmarks []object.PodcastsEpisode `json:"bookmarks"` Articles []object.Article `json:"articles"` StaticHowTo []bool `json:"static_how_to"` FriendsLiked []object.PodcastsEpisode `json:"friends_liked"` Subscriptions []object.PodcastsEpisode `json:"subscriptions"` CategoriesList []object.PodcastsCategory `json:"categories_list"` RecommendedEpisodes []object.PodcastsEpisode `json:"recommended_episodes"` Catalog []struct { Category object.PodcastsCategory `json:"category"` Items []object.PodcastsItem `json:"items"` } `json:"catalog"` object.ExtendedResponse }
PodcastsGetStartPageExtendedResponse struct.
type PodcastsGetStartPageResponse ¶
type PodcastsGetStartPageResponse struct { Order []string `json:"order"` InProgress []object.PodcastsEpisode `json:"in_progress"` Bookmarks []object.PodcastsEpisode `json:"bookmarks"` Articles []object.Article `json:"articles"` StaticHowTo []bool `json:"static_how_to"` FriendsLiked []object.PodcastsEpisode `json:"friends_liked"` Subscriptions []object.PodcastsEpisode `json:"subscriptions"` CategoriesList []object.PodcastsCategory `json:"categories_list"` RecommendedEpisodes []object.PodcastsEpisode `json:"recommended_episodes"` Catalog []struct { Category object.PodcastsCategory `json:"category"` Items []object.PodcastsItem `json:"items"` } `json:"catalog"` }
PodcastsGetStartPageResponse struct.
type PollsGetBackgroundsResponse ¶
type PollsGetBackgroundsResponse []object.PollsBackground
PollsGetBackgroundsResponse struct.
type PollsGetPhotoUploadServerResponse ¶
type PollsGetPhotoUploadServerResponse struct {
UploadURL string `json:"upload_url"`
}
PollsGetPhotoUploadServerResponse struct.
type PollsGetVotersFieldsResponse ¶
type PollsGetVotersFieldsResponse []object.PollsVotersFields
PollsGetVotersFieldsResponse struct.
type PollsGetVotersResponse ¶
type PollsGetVotersResponse []object.PollsVoters
PollsGetVotersResponse struct.
type PollsSavePhotoResponse ¶
type PollsSavePhotoResponse object.PollsPhoto
PollsSavePhotoResponse struct.
type PrettyCardsCreateResponse ¶
type PrettyCardsCreateResponse struct { OwnerID int `json:"owner_id"` // Owner ID of created pretty card CardID string `json:"card_id"` // Card ID of created pretty card }
PrettyCardsCreateResponse struct.
type PrettyCardsDeleteResponse ¶
type PrettyCardsDeleteResponse struct { OwnerID int `json:"owner_id"` // Owner ID of created pretty card CardID string `json:"card_id"` // Card ID of created pretty card Error string `json:"error"` // Error reason if error happened }
PrettyCardsDeleteResponse struct.
type PrettyCardsEditResponse ¶
type PrettyCardsEditResponse struct { OwnerID int `json:"owner_id"` // Owner ID of created pretty card CardID string `json:"card_id"` // Card ID of created pretty card }
PrettyCardsEditResponse struct.
type PrettyCardsGetByIDResponse ¶
type PrettyCardsGetByIDResponse []object.PrettyCardsPrettyCard
PrettyCardsGetByIDResponse struct.
type PrettyCardsGetResponse ¶
type PrettyCardsGetResponse struct { Count int `json:"count"` // Total number Items []object.PrettyCardsPrettyCard `json:"items"` }
PrettyCardsGetResponse struct.
type Response ¶
type Response struct { Response object.RawMessage `json:"response"` Error Error `json:"error"` ExecuteErrors ExecuteErrors `json:"execute_errors"` }
Response struct.
type SearchGetHintsResponse ¶
type SearchGetHintsResponse struct { Count int `json:"count"` Items []object.SearchHint `json:"items"` }
SearchGetHintsResponse struct.
type SecureAddAppEventResponse ¶
type SecureAddAppEventResponse int // FIXME: not found documentation. https://github.com/VKCOM/vk-api-schema/issues/98
SecureAddAppEventResponse struct.
type SecureCheckTokenResponse ¶
type SecureCheckTokenResponse object.SecureTokenChecked
SecureCheckTokenResponse struct.
type SecureGetSMSHistoryResponse ¶
type SecureGetSMSHistoryResponse []object.SecureSmsNotification
SecureGetSMSHistoryResponse struct.
type SecureGetTransactionsHistoryResponse ¶
type SecureGetTransactionsHistoryResponse []object.SecureTransaction
SecureGetTransactionsHistoryResponse struct.
type SecureGetUserLevelResponse ¶
type SecureGetUserLevelResponse []object.SecureLevel
SecureGetUserLevelResponse struct.
type SecureGiveEventStickerResponse ¶
type SecureGiveEventStickerResponse []struct { UserID int `json:"user_id"` Status string `json:"status"` }
SecureGiveEventStickerResponse struct.
type SecureSendNotificationResponse ¶
type SecureSendNotificationResponse []int // User ID
SecureSendNotificationResponse struct.
type StatsGetPostReachResponse ¶
type StatsGetPostReachResponse []object.StatsWallpostStat
StatsGetPostReachResponse struct.
type StatusGetResponse ¶
type StatusGetResponse struct { Audio object.AudioAudio `json:"audio"` Text string `json:"text"` }
StatusGetResponse struct.
type StorageGetResponse ¶
type StorageGetResponse []object.BaseRequestParam
StorageGetResponse struct.
func (StorageGetResponse) ToMap ¶
func (s StorageGetResponse) ToMap() map[string]string
ToMap return map from StorageGetResponse.
type StoreGetFavoriteStickersResponse ¶
type StoreGetFavoriteStickersResponse struct { Count int `json:"count"` Items []object.BaseSticker `json:"items"` }
StoreGetFavoriteStickersResponse struct.
type StoriesGetBannedExtendedResponse ¶
type StoriesGetBannedExtendedResponse struct { Count int `json:"count"` Items []int `json:"items"` object.ExtendedResponse }
StoriesGetBannedExtendedResponse struct.
type StoriesGetBannedResponse ¶
StoriesGetBannedResponse struct.
type StoriesGetByIDExtendedResponse ¶
type StoriesGetByIDExtendedResponse struct { Count int `json:"count"` Items []object.StoriesStory `json:"items"` object.ExtendedResponse }
StoriesGetByIDExtendedResponse struct.
type StoriesGetByIDResponse ¶
type StoriesGetByIDResponse struct { Count int `json:"count"` Items []object.StoriesStory `json:"items"` }
StoriesGetByIDResponse struct.
type StoriesGetExtendedResponse ¶
type StoriesGetExtendedResponse struct { Count int `json:"count"` Items []object.StoriesFeedItem `json:"items"` PromoData object.StoriesPromoBlock `json:"promo_data"` NeedUploadScreen object.BaseBoolInt `json:"need_upload_screen"` object.ExtendedResponse }
StoriesGetExtendedResponse struct.
type StoriesGetPhotoUploadServerResponse ¶
type StoriesGetPhotoUploadServerResponse struct { UploadURL string `json:"upload_url"` PeerIDs []int `json:"peer_ids"` UserIDs []int `json:"user_ids"` }
StoriesGetPhotoUploadServerResponse struct.
type StoriesGetRepliesExtendedResponse ¶
type StoriesGetRepliesExtendedResponse struct { Count int `json:"count"` Items []object.StoriesFeedItem `json:"items"` object.ExtendedResponse }
StoriesGetRepliesExtendedResponse struct.
type StoriesGetRepliesResponse ¶
type StoriesGetRepliesResponse struct { Count int `json:"count"` Items []object.StoriesFeedItem `json:"items"` }
StoriesGetRepliesResponse struct.
type StoriesGetResponse ¶
type StoriesGetResponse struct { Count int `json:"count"` Items []object.StoriesFeedItem `json:"items"` PromoData object.StoriesPromoBlock `json:"promo_data"` NeedUploadScreen object.BaseBoolInt `json:"need_upload_screen"` }
StoriesGetResponse struct.
type StoriesGetStatsResponse ¶
type StoriesGetStatsResponse object.StoriesStoryStats
StoriesGetStatsResponse struct.
type StoriesGetVideoUploadServerResponse ¶
type StoriesGetVideoUploadServerResponse struct { UploadURL string `json:"upload_url"` PeerIDs []int `json:"peer_ids"` UserIDs []int `json:"user_ids"` }
StoriesGetVideoUploadServerResponse struct.
type StoriesGetViewersResponse ¶
type StoriesGetViewersResponse struct { Count int `json:"count"` Items []object.StoriesViewer `json:"items"` }
StoriesGetViewersResponse struct.
type StoriesSaveResponse ¶
type StoriesSaveResponse struct { Count int `json:"count"` Items []object.StoriesStory `json:"items"` object.ExtendedResponse }
StoriesSaveResponse struct.
type StoriesSearchExtendedResponse ¶
type StoriesSearchExtendedResponse struct { Count int `json:"count"` Items []object.StoriesFeedItem `json:"items"` object.ExtendedResponse }
StoriesSearchExtendedResponse struct.
type StoriesSearchResponse ¶
type StoriesSearchResponse struct { Count int `json:"count"` Items []object.StoriesFeedItem `json:"items"` }
StoriesSearchResponse struct.
type StreamingGetServerURLResponse ¶
type StreamingGetServerURLResponse struct { Endpoint string `json:"endpoint"` Key string `json:"key"` }
StreamingGetServerURLResponse struct.
type StreamingGetSettingsResponse ¶
type StreamingGetSettingsResponse struct {
MonthlyLimit string `json:"monthly_limit"`
}
StreamingGetSettingsResponse struct.
type StreamingGetStatsResponse ¶
type StreamingGetStatsResponse []struct { EventType string `json:"event_type"` Stats []struct { Timestamp int `json:"timestamp"` Value int `json:"value"` } `json:"stats"` }
StreamingGetStatsResponse struct.
type StreamingGetStemResponse ¶
type StreamingGetStemResponse struct {
Stem string `json:"stem"`
}
StreamingGetStemResponse struct.
type UploadError ¶
type UploadError struct { Err string `json:"error"` Code int `json:"error_code"` Descr string `json:"error_descr"` IsLogged bool `json:"error_is_logged"` }
UploadError type.
func (UploadError) Error ¶
func (e UploadError) Error() string
Error returns the message of a UploadError.
type UploadStories ¶
UploadStories struct.
type UsersGetFollowersFieldsResponse ¶
type UsersGetFollowersFieldsResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
UsersGetFollowersFieldsResponse struct.
type UsersGetFollowersResponse ¶
UsersGetFollowersResponse struct.
type UsersGetResponse ¶
UsersGetResponse users.get response.
type UsersGetSubscriptionsResponse ¶
type UsersGetSubscriptionsResponse struct { Users struct { Count int `json:"count"` Items []int `json:"items"` } `json:"users"` Groups struct { Count int `json:"count"` Items []int `json:"items"` } `json:"groups"` }
UsersGetSubscriptionsResponse struct.
type UsersSearchResponse ¶
type UsersSearchResponse struct { Count int `json:"count"` Items []object.UsersUser `json:"items"` }
UsersSearchResponse struct.
type UtilsCheckLinkResponse ¶
type UtilsCheckLinkResponse object.UtilsLinkChecked
UtilsCheckLinkResponse struct.
type UtilsGetLastShortenedLinksResponse ¶
type UtilsGetLastShortenedLinksResponse struct { Count int `json:"count"` Items []object.UtilsLastShortenedLink `json:"items"` }
UtilsGetLastShortenedLinksResponse struct.
type UtilsGetLinkStatsExtendedResponse ¶
type UtilsGetLinkStatsExtendedResponse object.UtilsLinkStatsExtended
UtilsGetLinkStatsExtendedResponse struct.
type UtilsGetLinkStatsResponse ¶
type UtilsGetLinkStatsResponse object.UtilsLinkStats
UtilsGetLinkStatsResponse struct.
type UtilsGetShortLinkResponse ¶
type UtilsGetShortLinkResponse object.UtilsShortLink
UtilsGetShortLinkResponse struct.
type UtilsResolveScreenNameResponse ¶
type UtilsResolveScreenNameResponse object.UtilsDomainResolved
UtilsResolveScreenNameResponse struct.
func (*UtilsResolveScreenNameResponse) DecodeMsgpack ¶
func (resp *UtilsResolveScreenNameResponse) DecodeMsgpack(dec *msgpack.Decoder) error
DecodeMsgpack UtilsResolveScreenNameResponse.
BUG(VK): UtilsResolveScreenNameResponse return [].
func (*UtilsResolveScreenNameResponse) UnmarshalJSON ¶
func (resp *UtilsResolveScreenNameResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON UtilsResolveScreenNameResponse.
BUG(VK): UtilsResolveScreenNameResponse return [].
type VK ¶
type VK struct { MethodURL string Version string Client *http.Client Limit int UserAgent string Handler func(method string, params ...Params) (Response, error) // contains filtered or unexported fields }
VK struct.
func NewVK ¶
NewVK returns a new VK.
The VKSDK will use the http.DefaultClient. This means that if the http.DefaultClient is modified by other components of your application the modifications will be picked up by the SDK as well.
In some cases this might be intended, but it is a better practice to create a custom HTTP Client to share explicitly through your application. You can configure the VKSDK to use the custom HTTP Client by setting the VK.Client value.
This set limit 20 requests per second for one token.
func (*VK) AccountBan ¶
AccountBan account.ban.
func (*VK) AccountChangePassword ¶
func (vk *VK) AccountChangePassword(params Params) (response AccountChangePasswordResponse, err error)
AccountChangePassword changes a user password after access is successfully restored with the auth.restore method.
func (*VK) AccountGetActiveOffers ¶
func (vk *VK) AccountGetActiveOffers(params Params) (response AccountGetActiveOffersResponse, err error)
AccountGetActiveOffers returns a list of active ads (offers). If the user fulfill their conditions, he will be able to get the appropriate number of votes to his balance.
func (*VK) AccountGetAppPermissions ¶
AccountGetAppPermissions gets settings of the user in this application.
func (*VK) AccountGetBanned ¶
func (vk *VK) AccountGetBanned(params Params) (response AccountGetBannedResponse, err error)
AccountGetBanned returns a user's blacklist.
func (*VK) AccountGetCounters ¶
func (vk *VK) AccountGetCounters(params Params) (response AccountGetCountersResponse, err error)
AccountGetCounters returns non-null values of user counters.
func (*VK) AccountGetInfo ¶
func (vk *VK) AccountGetInfo(params Params) (response AccountGetInfoResponse, err error)
AccountGetInfo returns current account info.
func (*VK) AccountGetProfileInfo ¶
func (vk *VK) AccountGetProfileInfo(params Params) (response AccountGetProfileInfoResponse, err error)
AccountGetProfileInfo returns the current account info.
func (*VK) AccountGetPushSettings ¶
func (vk *VK) AccountGetPushSettings(params Params) (response AccountGetPushSettingsResponse, err error)
AccountGetPushSettings account.getPushSettings Gets settings of push notifications.
func (*VK) AccountRegisterDevice ¶
AccountRegisterDevice subscribes an iOS/Android/Windows/Mac based device to receive push notifications.
func (*VK) AccountSaveProfileInfo ¶
func (vk *VK) AccountSaveProfileInfo(params Params) (response AccountSaveProfileInfoResponse, err error)
AccountSaveProfileInfo edits current profile info.
func (*VK) AccountSetInfo ¶
AccountSetInfo allows to edit the current account info.
func (*VK) AccountSetNameInMenu
deprecated
AccountSetNameInMenu sets an application screen name (up to 17 characters), that is shown to the user in the left menu.
Deprecated: This method is deprecated and may be disabled soon, please avoid
func (*VK) AccountSetOffline ¶
AccountSetOffline marks a current user as offline.
func (*VK) AccountSetOnline ¶
AccountSetOnline marks the current user as online for 5 minutes.
func (*VK) AccountSetPushSettings ¶
AccountSetPushSettings change push settings.
func (*VK) AccountSetSilenceMode ¶
AccountSetSilenceMode mutes push notifications for the set period of time.
func (*VK) AccountUnban ¶
AccountUnban account.unban.
func (*VK) AccountUnregisterDevice ¶
AccountUnregisterDevice unsubscribes a device from push notifications.
func (*VK) AdsAddOfficeUsers ¶
func (vk *VK) AdsAddOfficeUsers(params Params) (response AdsAddOfficeUsersResponse, err error)
AdsAddOfficeUsers adds managers and/or supervisors to advertising account.
func (*VK) AdsCheckLink ¶
func (vk *VK) AdsCheckLink(params Params) (response AdsCheckLinkResponse, err error)
AdsCheckLink allows to check the ad link.
func (*VK) AdsCreateAds ¶
func (vk *VK) AdsCreateAds(params Params) (response AdsCreateAdsResponse, err error)
AdsCreateAds creates ads.
Please note! Maximum allowed number of ads created in one request is 5. Minimum size of ad audience is 50 people.
func (*VK) AdsCreateCampaigns ¶
func (vk *VK) AdsCreateCampaigns(params Params) (response AdsCreateCampaignsResponse, err error)
AdsCreateCampaigns creates advertising campaigns.
Please note! Allowed number of campaigns created in one request is 50.
func (*VK) AdsCreateClients ¶
func (vk *VK) AdsCreateClients(params Params) (response AdsCreateClientsResponse, err error)
AdsCreateClients creates clients of an advertising agency.
Available only for advertising agencies.
Please note! Allowed number of clients created in one request is 50.
func (*VK) AdsCreateLookalikeRequest ¶
func (vk *VK) AdsCreateLookalikeRequest(params Params) (response AdsCreateLookalikeRequestResponse, err error)
AdsCreateLookalikeRequest creates a request to find a similar audience.
func (*VK) AdsCreateTargetGroup ¶
func (vk *VK) AdsCreateTargetGroup(params Params) (response AdsCreateTargetGroupResponse, err error)
AdsCreateTargetGroup Creates a group to re-target ads for users who visited advertiser's site (viewed information about the product, registered, etc.).
When executed successfully this method returns user accounting code on advertiser's site. You shall add this code to the site page, so users registered in VK will be added to the created target group after they visit this page.
Use ads.importTargetContacts method to import existing user contacts to the group.
Please note! Maximum allowed number of groups for one advertising account is 100.
func (*VK) AdsCreateTargetPixel ¶
func (vk *VK) AdsCreateTargetPixel(params Params) (response AdsCreateTargetPixelResponse, err error)
AdsCreateTargetPixel Creates retargeting pixel.
Method returns pixel code for users accounting on the advertiser site. Authorized VK users who visited the page with pixel code on it will be added to retargeting audience with corresponding rules. You can also use Open API, ads.importTargetContacts method and loading from file.
Maximum pixels number per advertising account is 25.
func (*VK) AdsDeleteAds ¶
func (vk *VK) AdsDeleteAds(params Params) (response AdsDeleteAdsResponse, err error)
AdsDeleteAds archives ads.
Warning! Maximum allowed number of ads archived in one request is 100.
func (*VK) AdsDeleteCampaigns ¶
func (vk *VK) AdsDeleteCampaigns(params Params) (response AdsDeleteCampaignsResponse, err error)
AdsDeleteCampaigns archives advertising campaigns.
Warning! Maximum allowed number of campaigns archived in one request is 100.
func (*VK) AdsDeleteClients ¶
func (vk *VK) AdsDeleteClients(params Params) (response AdsDeleteClientsResponse, err error)
AdsDeleteClients archives clients of an advertising agency.
Available only for advertising agencies.
Please note! Maximum allowed number of clients edited in one request is 10.
func (*VK) AdsDeleteTargetGroup ¶
AdsDeleteTargetGroup deletes target group.
func (*VK) AdsDeleteTargetPixel ¶
AdsDeleteTargetPixel deletes target pixel.
func (*VK) AdsGetAccounts ¶
func (vk *VK) AdsGetAccounts(params Params) (response AdsGetAccountsResponse, err error)
AdsGetAccounts returns a list of advertising accounts.
func (*VK) AdsGetAds ¶
func (vk *VK) AdsGetAds(params Params) (response AdsGetAdsResponse, err error)
AdsGetAds returns a list of ads.
func (*VK) AdsGetAdsLayout ¶
func (vk *VK) AdsGetAdsLayout(params Params) (response AdsGetAdsLayoutResponse, err error)
AdsGetAdsLayout returns descriptions of ad layouts.
func (*VK) AdsGetMusicians ¶
func (vk *VK) AdsGetMusicians(params Params) (response AdsGetMusiciansResponse, err error)
AdsGetMusicians returns a list of musicians.
func (*VK) AdsGetTargetGroups ¶
func (vk *VK) AdsGetTargetGroups(params Params) (response AdsGetTargetGroupsResponse, err error)
AdsGetTargetGroups returns a list of target groups.
func (*VK) AdsRemoveTargetContacts ¶
AdsRemoveTargetContacts accepts the request to exclude the advertiser's contacts from the retargeting audience.
The maximum allowed number of contacts to be excluded by a single request is 1000.
Contacts are excluded within a few hours of the request.
func (*VK) AdsUpdateTargetGroup ¶
AdsUpdateTargetGroup edits target group.
func (*VK) AdsUpdateTargetPixel ¶
AdsUpdateTargetPixel edits target pixel.
func (*VK) AppWidgetsGetAppImageUploadServer ¶
func (vk *VK) AppWidgetsGetAppImageUploadServer(params Params) ( response AppWidgetsGetAppImageUploadServerResponse, err error, )
AppWidgetsGetAppImageUploadServer returns a URL for uploading a photo to the app collection for community app widgets.
https://dev.vk.com/method/appWidgets.getAppImageUploadServer
func (*VK) AppWidgetsGetAppImages ¶
func (vk *VK) AppWidgetsGetAppImages(params Params) (response AppWidgetsGetAppImagesResponse, err error)
AppWidgetsGetAppImages returns an app collection of images for community app widgets.
func (*VK) AppWidgetsGetGroupImageUploadServer ¶
func (vk *VK) AppWidgetsGetGroupImageUploadServer(params Params) ( response AppWidgetsGetGroupImageUploadServerResponse, err error, )
AppWidgetsGetGroupImageUploadServer returns a URL for uploading a photo to the community collection for community app widgets.
https://dev.vk.com/method/appWidgets.getGroupImageUploadServer
func (*VK) AppWidgetsGetGroupImages ¶
func (vk *VK) AppWidgetsGetGroupImages(params Params) (response AppWidgetsGetGroupImagesResponse, err error)
AppWidgetsGetGroupImages returns a community collection of images for community app widgets.
func (*VK) AppWidgetsGetImagesByID ¶
func (vk *VK) AppWidgetsGetImagesByID(params Params) (response object.AppWidgetsImage, err error)
AppWidgetsGetImagesByID returns an image for community app widgets by its ID.
func (*VK) AppWidgetsSaveAppImage ¶
func (vk *VK) AppWidgetsSaveAppImage(params Params) (response object.AppWidgetsImage, err error)
AppWidgetsSaveAppImage allows to save image into app collection for community app widgets.
func (*VK) AppWidgetsSaveGroupImage ¶
func (vk *VK) AppWidgetsSaveGroupImage(params Params) (response object.AppWidgetsImage, err error)
AppWidgetsSaveGroupImage allows to save image into community collection for community app widgets.
func (*VK) AppWidgetsUpdate ¶
AppWidgetsUpdate allows to update community app widget.
func (*VK) AppsAddUsersToTestingGroup ¶
AppsAddUsersToTestingGroup method.
func (*VK) AppsDeleteAppRequests ¶
AppsDeleteAppRequests deletes all request notifications from the current app.
func (*VK) AppsGet ¶
func (vk *VK) AppsGet(params Params) (response AppsGetResponse, err error)
AppsGet returns applications data.
func (*VK) AppsGetCatalog ¶
func (vk *VK) AppsGetCatalog(params Params) (response AppsGetCatalogResponse, err error)
AppsGetCatalog returns a list of applications (apps) available to users in the App Catalog.
func (*VK) AppsGetFriendsList ¶
func (vk *VK) AppsGetFriendsList(params Params) (response AppsGetFriendsListResponse, err error)
AppsGetFriendsList creates friends list for requests and invites in current app.
extended=0
func (*VK) AppsGetFriendsListExtended ¶
func (vk *VK) AppsGetFriendsListExtended(params Params) (response AppsGetFriendsListExtendedResponse, err error)
AppsGetFriendsListExtended creates friends list for requests and invites in current app.
extended=1
func (*VK) AppsGetLeaderboard ¶
func (vk *VK) AppsGetLeaderboard(params Params) (response AppsGetLeaderboardResponse, err error)
AppsGetLeaderboard returns players rating in the game.
extended=0
func (*VK) AppsGetLeaderboardExtended ¶
func (vk *VK) AppsGetLeaderboardExtended(params Params) (response AppsGetLeaderboardExtendedResponse, err error)
AppsGetLeaderboardExtended returns players rating in the game.
extended=1
func (*VK) AppsGetScopes ¶
func (vk *VK) AppsGetScopes(params Params) (response AppsGetScopesResponse, err error)
AppsGetScopes ...
TODO: write docs.
func (*VK) AppsGetTestingGroups ¶
func (vk *VK) AppsGetTestingGroups(params Params) (response AppsGetTestingGroupsResponse, err error)
AppsGetTestingGroups method.
func (*VK) AppsRemoveTestingGroup ¶
AppsRemoveTestingGroup method.
func (*VK) AppsRemoveUsersFromTestingGroups ¶
AppsRemoveUsersFromTestingGroups method.
func (*VK) AppsSendRequest ¶
AppsSendRequest sends a request to another user in an app that uses VK authorization.
func (*VK) AppsUpdateMetaForTestingGroup ¶
func (vk *VK) AppsUpdateMetaForTestingGroup(params Params) (response AppsUpdateMetaForTestingGroupResponse, err error)
AppsUpdateMetaForTestingGroup method.
func (*VK) AuthCheckPhone
deprecated
AuthCheckPhone checks a user's phone number for correctness.
https://dev.vk.com/method/auth.checkPhone
Deprecated: This method is deprecated and may be disabled soon, please avoid using it.
func (*VK) AuthExchangeSilentAuthToken ¶
func (vk *VK) AuthExchangeSilentAuthToken(params Params) (response AuthExchangeSilentAuthTokenResponse, err error)
AuthExchangeSilentAuthToken method.
https://platform.vk.com/?p=DocsDashboard&docs=tokens_access-token
func (*VK) AuthGetProfileInfoBySilentToken ¶
func (vk *VK) AuthGetProfileInfoBySilentToken(params Params) (response AuthGetProfileInfoBySilentTokenResponse, err error)
AuthGetProfileInfoBySilentToken method.
https://platform.vk.com/?p=DocsDashboard&docs=tokens_silent-token
func (*VK) AuthRestore ¶
func (vk *VK) AuthRestore(params Params) (response AuthRestoreResponse, err error)
AuthRestore allows to restore account access using a code received via SMS.
func (*VK) BoardAddTopic ¶
BoardAddTopic creates a new topic on a community's discussion board.
func (*VK) BoardCloseTopic ¶
BoardCloseTopic closes a topic on a community's discussion board so that comments cannot be posted.
func (*VK) BoardCreateComment ¶
BoardCreateComment adds a comment on a topic on a community's discussion board.
func (*VK) BoardDeleteComment ¶
BoardDeleteComment deletes a comment on a topic on a community's discussion board.
func (*VK) BoardDeleteTopic ¶
BoardDeleteTopic deletes a topic from a community's discussion board.
func (*VK) BoardEditComment ¶
BoardEditComment edits a comment on a topic on a community's discussion board.
func (*VK) BoardEditTopic ¶
BoardEditTopic edits the title of a topic on a community's discussion board.
func (*VK) BoardFixTopic ¶
BoardFixTopic pins a topic (fixes its place) to the top of a community's discussion board.
func (*VK) BoardGetComments ¶
func (vk *VK) BoardGetComments(params Params) (response BoardGetCommentsResponse, err error)
BoardGetComments returns a list of comments on a topic on a community's discussion board.
extended=0
func (*VK) BoardGetCommentsExtended ¶
func (vk *VK) BoardGetCommentsExtended(params Params) (response BoardGetCommentsExtendedResponse, err error)
BoardGetCommentsExtended returns a list of comments on a topic on a community's discussion board.
extended=1
func (*VK) BoardGetTopics ¶
func (vk *VK) BoardGetTopics(params Params) (response BoardGetTopicsResponse, err error)
BoardGetTopics returns a list of topics on a community's discussion board.
extended=0
func (*VK) BoardGetTopicsExtended ¶
func (vk *VK) BoardGetTopicsExtended(params Params) (response BoardGetTopicsExtendedResponse, err error)
BoardGetTopicsExtended returns a list of topics on a community's discussion board.
extended=1
func (*VK) BoardOpenTopic ¶
BoardOpenTopic re-opens a previously closed topic on a community's discussion board.
func (*VK) BoardRestoreComment ¶
BoardRestoreComment restores a comment deleted from a topic on a community's discussion board.
func (*VK) BoardUnfixTopic ¶
BoardUnfixTopic unpins a pinned topic from the top of a community's discussion board.
func (*VK) CallsForceFinish ¶
CallsForceFinish method.
func (*VK) CallsStart ¶
func (vk *VK) CallsStart(params Params) (response CallsStartResponse, err error)
CallsStart method.
func (*VK) CaptchaForce ¶
CaptchaForce api method.
func (*VK) DatabaseGetChairs ¶
func (vk *VK) DatabaseGetChairs(params Params) (response DatabaseGetChairsResponse, err error)
DatabaseGetChairs returns list of chairs on a specified faculty.
func (*VK) DatabaseGetCities ¶
func (vk *VK) DatabaseGetCities(params Params) (response DatabaseGetCitiesResponse, err error)
DatabaseGetCities returns a list of cities.
func (*VK) DatabaseGetCitiesByID ¶
func (vk *VK) DatabaseGetCitiesByID(params Params) (response DatabaseGetCitiesByIDResponse, err error)
DatabaseGetCitiesByID returns information about cities by their IDs.
func (*VK) DatabaseGetCountries ¶
func (vk *VK) DatabaseGetCountries(params Params) (response DatabaseGetCountriesResponse, err error)
DatabaseGetCountries returns a list of countries.
func (*VK) DatabaseGetCountriesByID ¶
func (vk *VK) DatabaseGetCountriesByID(params Params) (response DatabaseGetCountriesByIDResponse, err error)
DatabaseGetCountriesByID returns information about countries by their IDs.
func (*VK) DatabaseGetFaculties ¶
func (vk *VK) DatabaseGetFaculties(params Params) (response DatabaseGetFacultiesResponse, err error)
DatabaseGetFaculties returns a list of faculties (i.e., university departments).
func (*VK) DatabaseGetMetroStations ¶
func (vk *VK) DatabaseGetMetroStations(params Params) (response DatabaseGetMetroStationsResponse, err error)
DatabaseGetMetroStations returns the list of metro stations.
func (*VK) DatabaseGetMetroStationsByID ¶
func (vk *VK) DatabaseGetMetroStationsByID(params Params) (response DatabaseGetMetroStationsByIDResponse, err error)
DatabaseGetMetroStationsByID returns information about one or several metro stations by their identifiers.
func (*VK) DatabaseGetRegions ¶
func (vk *VK) DatabaseGetRegions(params Params) (response DatabaseGetRegionsResponse, err error)
DatabaseGetRegions returns a list of regions.
func (*VK) DatabaseGetSchoolClasses ¶
func (vk *VK) DatabaseGetSchoolClasses(params Params) (response DatabaseGetSchoolClassesResponse, err error)
DatabaseGetSchoolClasses returns a list of school classes specified for the country.
func (*VK) DatabaseGetSchools ¶
func (vk *VK) DatabaseGetSchools(params Params) (response DatabaseGetSchoolsResponse, err error)
DatabaseGetSchools returns a list of schools.
func (*VK) DatabaseGetUniversities ¶
func (vk *VK) DatabaseGetUniversities(params Params) (response DatabaseGetUniversitiesResponse, err error)
DatabaseGetUniversities returns a list of higher education institutions.
func (*VK) DefaultHandler ¶
DefaultHandler provides access to VK API methods.
func (*VK) DocsDelete ¶
DocsDelete deletes a user or community document.
func (*VK) DocsGet ¶
func (vk *VK) DocsGet(params Params) (response DocsGetResponse, err error)
DocsGet returns detailed information about user or community documents.
func (*VK) DocsGetByID ¶
func (vk *VK) DocsGetByID(params Params) (response DocsGetByIDResponse, err error)
DocsGetByID returns information about documents by their IDs.
func (*VK) DocsGetMessagesUploadServer ¶
func (vk *VK) DocsGetMessagesUploadServer(params Params) (response DocsGetMessagesUploadServerResponse, err error)
DocsGetMessagesUploadServer returns the server address for document upload.
func (*VK) DocsGetTypes ¶
func (vk *VK) DocsGetTypes(params Params) (response DocsGetTypesResponse, err error)
DocsGetTypes returns documents types available for current user.
func (*VK) DocsGetUploadServer ¶
func (vk *VK) DocsGetUploadServer(params Params) (response DocsGetUploadServerResponse, err error)
DocsGetUploadServer returns the server address for document upload.
func (*VK) DocsGetWallUploadServer ¶
func (vk *VK) DocsGetWallUploadServer(params Params) (response DocsGetWallUploadServerResponse, err error)
DocsGetWallUploadServer returns the server address for document upload onto a user's or community's wall.
func (*VK) DocsSave ¶
func (vk *VK) DocsSave(params Params) (response DocsSaveResponse, err error)
DocsSave saves a document after uploading it to a server.
func (*VK) DocsSearch ¶
func (vk *VK) DocsSearch(params Params) (response DocsSearchResponse, err error)
DocsSearch returns a list of documents matching the search criteria.
func (*VK) DonutGetFriends ¶
func (vk *VK) DonutGetFriends(params Params) (response DonutGetFriendsResponse, err error)
DonutGetFriends method.
func (*VK) DonutGetSubscription ¶
func (vk *VK) DonutGetSubscription(params Params) (response object.DonutDonatorSubscriptionInfo, err error)
DonutGetSubscription method.
func (*VK) DonutGetSubscriptions ¶
func (vk *VK) DonutGetSubscriptions(params Params) (response DonutGetSubscriptionsResponse, err error)
DonutGetSubscriptions method.
func (*VK) DonutIsDon ¶
DonutIsDon method.
func (*VK) DownloadedGamesGetPaidStatus ¶
func (vk *VK) DownloadedGamesGetPaidStatus(params Params) (response DownloadedGamesGetPaidStatusResponse, err error)
DownloadedGamesGetPaidStatus method.
func (*VK) EnableMessagePack ¶
func (vk *VK) EnableMessagePack()
EnableMessagePack enable using MessagePack instead of JSON.
THIS IS EXPERIMENTAL FUNCTION! Broken encoding returned in some methods.
func (*VK) EnableZstd ¶
func (vk *VK) EnableZstd()
EnableZstd enable using zstd instead of gzip.
This not use dict.
func (*VK) Execute ¶
Execute a universal method for calling a sequence of other methods while saving and filtering interim results.
func (*VK) ExecuteWithArgs ¶
ExecuteWithArgs a universal method for calling a sequence of other methods while saving and filtering interim results.
The Args map variable allows you to retrieve the parameters passed during the request and avoids code formatting.
return Args.code; // return parameter "code" return Args.v; // return parameter "v"
func (*VK) FaveAddArticle ¶
FaveAddArticle adds a link to user faves.
func (*VK) FaveAddLink ¶
FaveAddLink adds a link to user faves.
func (*VK) FaveAddPage ¶
FaveAddPage method.
func (*VK) FaveAddPost ¶
FaveAddPost method.
func (*VK) FaveAddProduct ¶
FaveAddProduct method.
func (*VK) FaveAddTag ¶
func (vk *VK) FaveAddTag(params Params) (response FaveAddTagResponse, err error)
FaveAddTag method.
func (*VK) FaveAddVideo ¶
FaveAddVideo method.
func (*VK) FaveEditTag ¶
FaveEditTag method.
func (*VK) FaveGet ¶
func (vk *VK) FaveGet(params Params) (response FaveGetResponse, err error)
FaveGet method.
extended=0
func (*VK) FaveGetExtended ¶
func (vk *VK) FaveGetExtended(params Params) (response FaveGetExtendedResponse, err error)
FaveGetExtended method.
extended=1
func (*VK) FaveGetPages ¶
func (vk *VK) FaveGetPages(params Params) (response FaveGetPagesResponse, err error)
FaveGetPages method.
func (*VK) FaveGetTags ¶
func (vk *VK) FaveGetTags(params Params) (response FaveGetTagsResponse, err error)
FaveGetTags method.