Documentation ¶
Overview ¶
Package api implements VK API.
See more https://vk.com/dev/api_requests
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 AuthExchangeSilentAuthTokenResponse
- type AuthGetProfileInfoBySilentTokenResponse
- type AuthRestoreResponse
- type AuthSilentTokenError
- type BoardGetCommentsExtendedResponse
- type BoardGetCommentsResponse
- type BoardGetTopicsExtendedResponse
- type BoardGetTopicsResponse
- 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 NewsfeedGetBannedExtendedResponse
- type NewsfeedGetBannedResponse
- type NewsfeedGetCommentsResponse
- type NewsfeedGetListsResponse
- type NewsfeedGetMentionsResponse
- type NewsfeedGetRecommendedResponse
- type NewsfeedGetResponse
- type NewsfeedGetSuggestedSourcesResponse
- 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) 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) AppsSendRequest(params Params) (response int, 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) 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)
- 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) 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) 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 int, 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 int, 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 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://vk.com/dev/ads_limits
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://vk.com/dev/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://vk.com/dev/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 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 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 [][]interface{}
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://vk.com/dev/need_confirmation 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://vk.com/dev/need_validation 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://vk.com/dev/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://vk.com/dev/permissions 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://vk.com/dev/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://vk.com/dev/need_validation 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://vk.com/dev/need_confirmation 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://vk.com/dev/data_limits 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 // 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://vk.com/dev/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 int `json:"error_code"` Msg string `json:"error_msg"` }
ExecuteError struct.
TODO: v3 Code is ErrorType.
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 []object.GroupsGroup
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 { Count int `json:"count"` Items []object.MarketMarketCategory `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 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 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.StoriesPromoData `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.StoriesPromoData `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.
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.
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) 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) AppsSendRequest ¶
AppsSendRequest sends a request to another user in an app that uses VK authorization.
func (*VK) AuthCheckPhone
deprecated
AuthCheckPhone checks a user's phone number for correctness.
https://vk.com/dev/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) 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.
BUG(VK): database.getSchoolClasses bad return.
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.
func (*VK) FaveMarkSeen ¶
FaveMarkSeen method.
func (*VK) FaveRemoveArticle ¶
FaveRemoveArticle method.
func (*VK) FaveRemoveLink ¶
FaveRemoveLink removes link from the user's faves.
func (*VK) FaveRemovePage ¶
FaveRemovePage method.
func (*VK) FaveRemovePost ¶
FaveRemovePost method.
func (*VK) FaveRemoveProduct ¶
FaveRemoveProduct method.
func (*VK) FaveRemoveTag ¶
FaveRemoveTag method.
func (*VK) FaveRemoveVideo ¶
FaveRemoveVideo method.
func (*VK) FaveReorderTags ¶
FaveReorderTags method.
func (*VK) FaveSetPageTags ¶
FaveSetPageTags method.
func (*VK) FaveSetTags ¶
FaveSetTags method.
func (*VK) FaveTrackPageInteraction ¶
FaveTrackPageInteraction method.
func (*VK) FriendsAdd ¶
FriendsAdd approves or creates a friend request.
func (*VK) FriendsAddList ¶
func (vk *VK) FriendsAddList(params Params) (response FriendsAddListResponse, err error)
FriendsAddList creates a new friend list for the current user.
func (*VK) FriendsAreFriends ¶
func (vk *VK) FriendsAreFriends(params Params) (response FriendsAreFriendsResponse, err error)
FriendsAreFriends checks the current user's friendship status with other specified users.
func (*VK) FriendsDelete ¶
func (vk *VK) FriendsDelete(params Params) (response FriendsDeleteResponse, err error)
FriendsDelete declines a friend request or deletes a user from the current user's friend list.
func (*VK) FriendsDeleteAllRequests ¶
FriendsDeleteAllRequests marks all incoming friend requests as viewed.
func (*VK) FriendsDeleteList ¶
FriendsDeleteList deletes a friend list of the current user.
func (*VK) FriendsEdit ¶
FriendsEdit edits the friend lists of the selected user.
func (*VK) FriendsEditList ¶
FriendsEditList edits a friend list of the current user.
func (*VK) FriendsGet ¶
func (vk *VK) FriendsGet(params Params) (response FriendsGetResponse, err error)
FriendsGet returns a list of user IDs or detailed information about a user's friends.
func (*VK) FriendsGetAppUsers ¶
func (vk *VK) FriendsGetAppUsers(params Params) (response FriendsGetAppUsersResponse, err error)
FriendsGetAppUsers returns a list of IDs of the current user's friends who installed the application.
func (*VK) FriendsGetByPhones ¶
func (vk *VK) FriendsGetByPhones(params Params) (response FriendsGetByPhonesResponse, err error)
FriendsGetByPhones returns a list of the current user's friends whose phone numbers, validated or specified in a profile, are in a given list.
func (*VK) FriendsGetFields ¶
func (vk *VK) FriendsGetFields(params Params) (response FriendsGetFieldsResponse, err error)
FriendsGetFields returns a list of user IDs or detailed information about a user's friends.
func (*VK) FriendsGetLists ¶
func (vk *VK) FriendsGetLists(params Params) (response FriendsGetListsResponse, err error)
FriendsGetLists returns a list of the user's friend lists.
func (*VK) FriendsGetMutual ¶
func (vk *VK) FriendsGetMutual(params Params) (response FriendsGetMutualResponse, err error)
FriendsGetMutual returns a list of user IDs of the mutual friends of two users.
func (*VK) FriendsGetOnline ¶
FriendsGetOnline returns a list of user IDs of a user's friends who are online.
online_mobile=0
func (*VK) FriendsGetOnlineOnlineMobile ¶
func (vk *VK) FriendsGetOnlineOnlineMobile(params Params) (response FriendsGetOnlineOnlineMobileResponse, err error)
FriendsGetOnlineOnlineMobile returns a list of user IDs of a user's friends who are online.
online_mobile=1
func (*VK) FriendsGetRecent ¶
func (vk *VK) FriendsGetRecent(params Params) (response FriendsGetRecentResponse, err error)
FriendsGetRecent returns a list of user IDs of the current user's recently added friends.
func (*VK) FriendsGetRequests ¶
func (vk *VK) FriendsGetRequests(params Params) (response FriendsGetRequestsResponse, err error)
FriendsGetRequests returns information about the current user's incoming and outgoing friend requests.
func (*VK) FriendsGetRequestsExtended ¶
func (vk *VK) FriendsGetRequestsExtended(params Params) (response FriendsGetRequestsExtendedResponse, err error)
FriendsGetRequestsExtended returns information about the current user's incoming and outgoing friend requests.
func (*VK) FriendsGetRequestsNeedMutual ¶
func (vk *VK) FriendsGetRequestsNeedMutual(params Params) (response FriendsGetRequestsNeedMutualResponse, err error)
FriendsGetRequestsNeedMutual returns information about the current user's incoming and outgoing friend requests.
func (*VK) FriendsGetSuggestions ¶
func (vk *VK) FriendsGetSuggestions(params Params) (response FriendsGetSuggestionsResponse, err error)
FriendsGetSuggestions returns a list of profiles of users whom the current user may know.
func (*VK) FriendsSearch ¶
func (vk *VK) FriendsSearch(params Params) (response FriendsSearchResponse, err error)
FriendsSearch returns a list of friends matching the search criteria.
func (*VK) GiftsGet ¶
func (vk *VK) GiftsGet(params Params) (response GiftsGetResponse, err error)
GiftsGet returns a list of user gifts.
func (*VK) GiftsGetCatalog ¶
func (vk *VK) GiftsGetCatalog(params Params) (response GiftsGetCatalogResponse, err error)
GiftsGetCatalog returns catalog.
func (*VK) GroupsAddAddress ¶
func (vk *VK) GroupsAddAddress(params Params) (response GroupsAddAddressResponse, err error)
GroupsAddAddress groups.addAddress.
func (*VK) GroupsAddCallbackServer ¶
func (vk *VK) GroupsAddCallbackServer(params Params) (response GroupsAddCallbackServerResponse, err error)
GroupsAddCallbackServer callback API server to the community.
func (*VK) GroupsAddLink ¶
func (vk *VK) GroupsAddLink(params Params) (response GroupsAddLinkResponse, err error)
GroupsAddLink allows to add a link to the community.
func (*VK) GroupsApproveRequest ¶
GroupsApproveRequest allows to approve join request to the community.
func (*VK) GroupsCreate ¶
func (vk *VK) GroupsCreate(params Params) (response GroupsCreateResponse, err error)
GroupsCreate creates a new community.
func (*VK) GroupsDeleteAddress ¶
GroupsDeleteAddress groups.deleteAddress.
func (*VK) GroupsDeleteCallbackServer ¶
GroupsDeleteCallbackServer callback API server from the community.
func (*VK) GroupsDeleteLink ¶
GroupsDeleteLink allows to delete a link from the community.
func (*VK) GroupsDisableOnline ¶
GroupsDisableOnline disables "online" status in the community.
func (*VK) GroupsEdit ¶
GroupsEdit edits a community.
func (*VK) GroupsEditAddress ¶
func (vk *VK) GroupsEditAddress(params Params) (response GroupsEditAddressResponse, err error)
GroupsEditAddress groups.editAddress.
func (*VK) GroupsEditCallbackServer ¶
GroupsEditCallbackServer edits Callback API server in the community.
func (*VK) GroupsEditLink ¶
GroupsEditLink allows to edit a link in the community.
func (*VK) GroupsEditManager ¶
GroupsEditManager allows to add, remove or edit the community manager .
func (*VK) GroupsEnableOnline ¶
GroupsEnableOnline enables "online" status in the community.
func (*VK) GroupsGet ¶
func (vk *VK) GroupsGet(params Params) (response GroupsGetResponse, err error)
GroupsGet returns a list of the communities to which a user belongs.
extended=0
func (*VK) GroupsGetAddresses ¶
func (vk *VK) GroupsGetAddresses(params Params) (response GroupsGetAddressesResponse, err error)
GroupsGetAddresses groups.getAddresses.
func (*VK) GroupsGetBanned ¶
func (vk *VK) GroupsGetBanned(params Params) (response GroupsGetBannedResponse, err error)
GroupsGetBanned returns a list of users on a community blacklist.
func (*VK) GroupsGetByID ¶
func (vk *VK) GroupsGetByID(params Params) (response GroupsGetByIDResponse, err error)
GroupsGetByID returns information about communities by their IDs.
func (*VK) GroupsGetCallbackConfirmationCode ¶
func (vk *VK) GroupsGetCallbackConfirmationCode(params Params) ( response GroupsGetCallbackConfirmationCodeResponse, err error, )
GroupsGetCallbackConfirmationCode returns Callback API confirmation code for the community.
func (*VK) GroupsGetCallbackServers ¶
func (vk *VK) GroupsGetCallbackServers(params Params) (response GroupsGetCallbackServersResponse, err error)
GroupsGetCallbackServers receives a list of Callback API servers from the community.
func (*VK) GroupsGetCallbackSettings ¶
func (vk *VK) GroupsGetCallbackSettings(params Params) (response GroupsGetCallbackSettingsResponse, err error)
GroupsGetCallbackSettings returns Callback API notifications settings.
BUG(VK): MessageEdit always 0 https://vk.com/bugtracker?act=show&id=86762
func (*VK) GroupsGetCatalog ¶
func (vk *VK) GroupsGetCatalog(params Params) (response GroupsGetCatalogResponse, err error)
GroupsGetCatalog returns communities list for a catalog category.
func (*VK) GroupsGetCatalogInfo ¶
func (vk *VK) GroupsGetCatalogInfo(params Params) (response GroupsGetCatalogInfoResponse, err error)
GroupsGetCatalogInfo returns categories list for communities catalog.
extended=0
func (*VK) GroupsGetCatalogInfoExtended ¶
func (vk *VK) GroupsGetCatalogInfoExtended(params Params) (response GroupsGetCatalogInfoExtendedResponse, err error)
GroupsGetCatalogInfoExtended returns categories list for communities catalog.
extended=1
func (*VK) GroupsGetExtended ¶
func (vk *VK) GroupsGetExtended(params Params) (response GroupsGetExtendedResponse, err error)
GroupsGetExtended returns a list of the communities to which a user belongs.
extended=1
func (*VK) GroupsGetInvitedUsers ¶
func (vk *VK) GroupsGetInvitedUsers(params Params) (response GroupsGetInvitedUsersResponse, err error)
GroupsGetInvitedUsers returns invited users list of a community.
func (*VK) GroupsGetInvites ¶
func (vk *VK) GroupsGetInvites(params Params) (response GroupsGetInvitesResponse, err error)
GroupsGetInvites returns a list of invitations to join communities and events.
func (*VK) GroupsGetInvitesExtended ¶
func (vk *VK) GroupsGetInvitesExtended(params Params) (response GroupsGetInvitesExtendedResponse, err error)
GroupsGetInvitesExtended returns a list of invitations to join communities and events.
func (*VK) GroupsGetLongPollServer ¶
func (vk *VK) GroupsGetLongPollServer(params Params) (response GroupsGetLongPollServerResponse, err error)
GroupsGetLongPollServer returns data for Bots Long Poll API connection.
func (*VK) GroupsGetLongPollSettings ¶
func (vk *VK) GroupsGetLongPollSettings(params Params) (response GroupsGetLongPollSettingsResponse, err error)
GroupsGetLongPollSettings returns Bots Long Poll API settings.
func (*VK) GroupsGetMembers ¶
func (vk *VK) GroupsGetMembers(params Params) (response GroupsGetMembersResponse, err error)
GroupsGetMembers returns a list of community members.
func (*VK) GroupsGetMembersFields ¶
func (vk *VK) GroupsGetMembersFields(params Params) (response GroupsGetMembersFieldsResponse, err error)
GroupsGetMembersFields returns a list of community members.
func (*VK) GroupsGetMembersFilterManagers ¶
func (vk *VK) GroupsGetMembersFilterManagers(params Params) ( response GroupsGetMembersFilterManagersResponse, err error, )
GroupsGetMembersFilterManagers returns a list of community members.
filter=managers
func (*VK) GroupsGetOnlineStatus ¶
func (vk *VK) GroupsGetOnlineStatus(params Params) (response GroupsGetOnlineStatusResponse, err error)
GroupsGetOnlineStatus returns a community's online status.
func (*VK) GroupsGetRequests ¶
func (vk *VK) GroupsGetRequests(params Params) (response GroupsGetRequestsResponse, err error)
GroupsGetRequests returns a list of requests to the community.
func (*VK) GroupsGetRequestsFields ¶
func (vk *VK) GroupsGetRequestsFields(params Params) (response GroupsGetRequestsFieldsResponse, err error)
GroupsGetRequestsFields returns a list of requests to the community.
func (*VK) GroupsGetSettings ¶
func (vk *VK) GroupsGetSettings(params Params) (response GroupsGetSettingsResponse, err error)
GroupsGetSettings returns community settings.
func (*VK) GroupsGetTagList ¶
func (vk *VK) GroupsGetTagList(params Params) (response GroupsGetTagListResponse, err error)
GroupsGetTagList returns community tags list.
func (*VK) GroupsGetTokenPermissions ¶
func (vk *VK) GroupsGetTokenPermissions(params Params) (response GroupsGetTokenPermissionsResponse, err error)
GroupsGetTokenPermissions returns permissions scope for the community's access_token.
func (*VK) GroupsInvite ¶
GroupsInvite allows to invite friends to the community.
func (*VK) GroupsIsMember ¶
GroupsIsMember returns information specifying whether a user is a member of a community.
extended=0
func (*VK) GroupsIsMemberExtended ¶
func (vk *VK) GroupsIsMemberExtended(params Params) (response GroupsIsMemberExtendedResponse, err error)
GroupsIsMemberExtended returns information specifying whether a user is a member of a community.
extended=1
func (*VK) GroupsIsMemberUserIDs ¶
func (vk *VK) GroupsIsMemberUserIDs(params Params) (response GroupsIsMemberUserIDsResponse, err error)
GroupsIsMemberUserIDs returns information specifying whether a user is a member of a community.
extended=0 need user_ids
func (*VK) GroupsIsMemberUserIDsExtended ¶
func (vk *VK) GroupsIsMemberUserIDsExtended(params Params) (response GroupsIsMemberUserIDsExtendedResponse, err error)
GroupsIsMemberUserIDsExtended returns information specifying whether a user is a member of a community.
extended=1 need user_ids
func (*VK) GroupsJoin ¶
GroupsJoin with this method you can join the group or public page, and also confirm your participation in an event.
func (*VK) GroupsLeave ¶
GroupsLeave with this method you can leave a group, public page, or event.
func (*VK) GroupsRemoveUser ¶
GroupsRemoveUser removes a user from the community.
func (*VK) GroupsReorderLink ¶
GroupsReorderLink allows to reorder links in the community.
func (*VK) GroupsSearch ¶
func (vk *VK) GroupsSearch(params Params) (response GroupsSearchResponse, err error)
GroupsSearch returns a list of communities matching the search criteria.
func (*VK) GroupsSetCallbackSettings ¶
GroupsSetCallbackSettings allow to set notifications settings for Callback API.
func (*VK) GroupsSetLongPollSettings ¶
GroupsSetLongPollSettings allows to set Bots Long Poll API settings in the community.
func (*VK) GroupsSetSettings ¶
GroupsSetSettings sets community settings.
func (*VK) GroupsSetUserNote ¶
GroupsSetUserNote allows to create or edit a note about a user as part of the user's correspondence with the community.
func (*VK) GroupsTagAdd ¶
GroupsTagAdd allows to add a new tag to the community.
func (*VK) GroupsTagBind ¶
GroupsTagBind allows to "bind" and "unbind" community tags to conversations.
func (*VK) GroupsTagDelete ¶
GroupsTagDelete allows to remove a community tag
The remote tag will be automatically "unbind" from all conversations to which it was "bind" earlier.
func (*VK) GroupsTagUpdate ¶
GroupsTagUpdate allows to change an existing tag.
func (*VK) GroupsToggleMarket ¶
GroupsToggleMarket method.
func (*VK) GroupsUnban ¶
GroupsUnban groups.unban.
func (*VK) LeadFormsCreate ¶
func (vk *VK) LeadFormsCreate(params Params) (response LeadFormsCreateResponse, err error)
LeadFormsCreate leadForms.create.
func (*VK) LeadFormsDelete ¶
func (vk *VK) LeadFormsDelete(params Params) (response LeadFormsDeleteResponse, err error)
LeadFormsDelete leadForms.delete.
func (*VK) LeadFormsGet ¶
func (vk *VK) LeadFormsGet(params Params) (response LeadFormsGetResponse, err error)
LeadFormsGet leadForms.get.
func (*VK) LeadFormsGetLeads ¶
func (vk *VK) LeadFormsGetLeads(params Params) (response LeadFormsGetLeadsResponse, err error)
LeadFormsGetLeads leadForms.getLeads.
func (*VK) LeadFormsGetUploadURL ¶
LeadFormsGetUploadURL leadForms.getUploadURL.
func (*VK) LeadFormsList ¶
func (vk *VK) LeadFormsList(params Params) (response LeadFormsListResponse, err error)
LeadFormsList leadForms.list.
func (*VK) LeadFormsUpdate ¶
func (vk *VK) LeadFormsUpdate(params Params) (response LeadFormsUpdateResponse, err error)
LeadFormsUpdate leadForms.update.
func (*VK) LeadsCheckUser ¶
func (vk *VK) LeadsCheckUser(params Params) (response LeadsCheckUserResponse, err error)
LeadsCheckUser checks if the user can start the lead.
func (*VK) LeadsComplete ¶
func (vk *VK) LeadsComplete(params Params) (response LeadsCompleteResponse, err error)
LeadsComplete completes the lead started by user.
func (*VK) LeadsGetStats ¶
func (vk *VK) LeadsGetStats(params Params) (response LeadsGetStatsResponse, err error)
LeadsGetStats returns lead stats data.
func (*VK) LeadsGetUsers ¶
func (vk *VK) LeadsGetUsers(params Params) (response LeadsGetUsersResponse, err error)
LeadsGetUsers returns a list of last user actions for the offer.
func (*VK) LeadsMetricHit ¶
func (vk *VK) LeadsMetricHit(params Params) (response LeadsMetricHitResponse, err error)
LeadsMetricHit counts the metric event.
func (*VK) LeadsStart ¶
func (vk *VK) LeadsStart(params Params) (response LeadsStartResponse, err error)
LeadsStart creates new session for the user passing the offer.
func (*VK) LikesAdd ¶
func (vk *VK) LikesAdd(params Params) (response LikesAddResponse, err error)
LikesAdd adds the specified object to the Likes list of the current user.
func (*VK) LikesDelete ¶
func (vk *VK) LikesDelete(params Params) (response LikesDeleteResponse, err error)
LikesDelete deletes the specified object from the Likes list of the current user.
func (*VK) LikesGetList ¶
func (vk *VK) LikesGetList(params Params) (response LikesGetListResponse, err error)
LikesGetList likes.getList returns a list of IDs of users who added the specified object to their Likes list.
extended=0
func (*VK) LikesGetListExtended ¶
func (vk *VK) LikesGetListExtended(params Params) (response LikesGetListExtendedResponse, err error)
LikesGetListExtended likes.getList returns a list of IDs of users who added the specified object to their Likes list.
extended=1
func (*VK) LikesIsLiked ¶
func (vk *VK) LikesIsLiked(params Params) (response LikesIsLikedResponse, err error)
LikesIsLiked checks for the object in the Likes list of the specified user.
func (*VK) MarketAdd ¶
func (vk *VK) MarketAdd(params Params) (response MarketAddResponse, err error)
MarketAdd adds a new item to the market.
func (*VK) MarketAddAlbum ¶
func (vk *VK) MarketAddAlbum(params Params) (response MarketAddAlbumResponse, err error)
MarketAddAlbum creates new collection of items.
func (*VK) MarketAddToAlbum ¶
MarketAddToAlbum adds an item to one or multiple collections.
func (*VK) MarketCreateComment ¶
MarketCreateComment creates a new comment for an item.
func (*VK) MarketDelete ¶
MarketDelete deletes an item.
func (*VK) MarketDeleteAlbum ¶
MarketDeleteAlbum deletes a collection of items.
func (*VK) MarketDeleteComment ¶
MarketDeleteComment deletes an item's comment.
func (*VK) MarketEdit ¶
MarketEdit edits an item.
func (*VK) MarketEditAlbum ¶
MarketEditAlbum edits a collection of items.
func (*VK) MarketEditComment ¶
MarketEditComment changes item comment's text.
func (*VK) MarketEditOrder ¶
MarketEditOrder edits an order.
func (*VK) MarketGet ¶
func (vk *VK) MarketGet(params Params) (response MarketGetResponse, err error)
MarketGet returns items list for a community.
func (*VK) MarketGetAlbumByID ¶
func (vk *VK) MarketGetAlbumByID(params Params) (response MarketGetAlbumByIDResponse, err error)
MarketGetAlbumByID returns items album's data.
func (*VK) MarketGetAlbums ¶
func (vk *VK) MarketGetAlbums(params Params) (response MarketGetAlbumsResponse, err error)
MarketGetAlbums returns community's collections list.
func (*VK) MarketGetByID ¶
func (vk *VK) MarketGetByID(params Params) (response MarketGetByIDResponse, err error)
MarketGetByID returns information about market items by their iDs.
func (*VK) MarketGetCategories ¶
func (vk *VK) MarketGetCategories(params Params) (response MarketGetCategoriesResponse, err error)
MarketGetCategories returns a list of market categories.
func (*VK) MarketGetComments ¶
func (vk *VK) MarketGetComments(params Params) (response MarketGetCommentsResponse, err error)
MarketGetComments returns comments list for an item.
extended=0
func (*VK) MarketGetCommentsExtended ¶
func (vk *VK) MarketGetCommentsExtended(params Params) (response MarketGetCommentsExtendedResponse, err error)
MarketGetCommentsExtended returns comments list for an item.
extended=1
func (*VK) MarketGetGroupOrders ¶
func (vk *VK) MarketGetGroupOrders(params Params) (response MarketGetGroupOrdersResponse, err error)
MarketGetGroupOrders returns community's orders list.
func (*VK) MarketGetOrderByID ¶
func (vk *VK) MarketGetOrderByID(params Params) (response MarketGetOrderByIDResponse, err error)
MarketGetOrderByID returns order by id.
func (*VK) MarketGetOrderItems ¶
func (vk *VK) MarketGetOrderItems(params Params) (response MarketGetOrderItemsResponse, err error)
MarketGetOrderItems returns items of an order.
func (*VK) MarketRemoveFromAlbum ¶
MarketRemoveFromAlbum removes an item from one or multiple collections.
func (*VK) MarketReorderAlbums ¶
MarketReorderAlbums reorders the collections list.
func (*VK) MarketReorderItems ¶
MarketReorderItems changes item place in a collection.
func (*VK) MarketReport ¶
MarketReport sends a complaint to the item.
func (*VK) MarketReportComment ¶
MarketReportComment sends a complaint to the item's comment.
func (*VK) MarketRestore ¶
MarketRestore restores recently deleted item.
func (*VK) MarketRestoreComment ¶
MarketRestoreComment restores a recently deleted comment.
func (*VK) MarketSearch ¶
func (vk *VK) MarketSearch(params Params) (response MarketSearchResponse, err error)
MarketSearch searches market items in a community's catalog.
func (*VK) MarketSearchItems ¶
func (vk *VK) MarketSearchItems(params Params) (response MarketSearchItemsResponse, err error)
MarketSearchItems method.
func (*VK) MarusiaCreateAudio ¶
func (vk *VK) MarusiaCreateAudio(params Params) (response MarusiaCreateAudioResponse, err error)
MarusiaCreateAudio method.
func (*VK) MarusiaDeleteAudio ¶
MarusiaDeleteAudio delete audio.
func (*VK) MarusiaDeletePicture ¶
MarusiaDeletePicture delete picture.
func (*VK) MarusiaGetAudioUploadLink ¶
func (vk *VK) MarusiaGetAudioUploadLink(params Params) (response MarusiaGetAudioUploadLinkResponse, err error)
MarusiaGetAudioUploadLink method.
func (*VK) MarusiaGetAudios ¶
func (vk *VK) MarusiaGetAudios(params Params) (response MarusiaGetAudiosResponse, err error)
MarusiaGetAudios method.
func (*VK) MarusiaGetPictureUploadLink ¶
func (vk *VK) MarusiaGetPictureUploadLink(params Params) (response MarusiaGetPictureUploadLinkResponse, err error)
MarusiaGetPictureUploadLink method.
func (*VK) MarusiaGetPictures ¶
func (vk *VK) MarusiaGetPictures(params Params) (response MarusiaGetPicturesResponse, err error)
MarusiaGetPictures method.
func (*VK) MarusiaSavePicture ¶
func (vk *VK) MarusiaSavePicture(params Params) (response MarusiaSavePictureResponse, err error)
MarusiaSavePicture method.
func (*VK) MessagesAddChatUser ¶
MessagesAddChatUser adds a new user to a chat.
func (*VK) MessagesAllowMessagesFromGroup ¶
MessagesAllowMessagesFromGroup allows sending messages from community to the current user.
func (*VK) MessagesCreateChat ¶
MessagesCreateChat creates a chat with several participants.
func (*VK) MessagesDelete ¶
func (vk *VK) MessagesDelete(params Params) (response MessagesDeleteResponse, err error)
MessagesDelete deletes one or more messages.
func (*VK) MessagesDeleteChatPhoto ¶
func (vk *VK) MessagesDeleteChatPhoto(params Params) (response MessagesDeleteChatPhotoResponse, err error)
MessagesDeleteChatPhoto deletes a chat's cover picture.
func (*VK) MessagesDeleteConversation ¶
func (vk *VK) MessagesDeleteConversation(params Params) (response MessagesDeleteConversationResponse, err error)
MessagesDeleteConversation deletes private messages in a conversation.
func (*VK) MessagesDenyMessagesFromGroup ¶
MessagesDenyMessagesFromGroup denies sending message from community to the current user.
func (*VK) MessagesEdit ¶
MessagesEdit edits the message.
func (*VK) MessagesEditChat ¶
MessagesEditChat edits the title of a chat.
func (*VK) MessagesGetByConversationMessageID ¶
func (vk *VK) MessagesGetByConversationMessageID(params Params) ( response MessagesGetByConversationMessageIDResponse, err error, )
MessagesGetByConversationMessageID messages.getByConversationMessageId.
func (*VK) MessagesGetByID ¶
func (vk *VK) MessagesGetByID(params Params) (response MessagesGetByIDResponse, err error)
MessagesGetByID returns messages by their IDs.
extended=0
func (*VK) MessagesGetByIDExtended ¶
func (vk *VK) MessagesGetByIDExtended(params Params) (response MessagesGetByIDExtendedResponse, err error)
MessagesGetByIDExtended returns messages by their IDs.
extended=1
func (*VK) MessagesGetChat ¶
func (vk *VK) MessagesGetChat(params Params) (response MessagesGetChatResponse, err error)
MessagesGetChat returns information about a chat.
func (*VK) MessagesGetChatChatIDs ¶
func (vk *VK) MessagesGetChatChatIDs(params Params) (response MessagesGetChatChatIDsResponse, err error)
MessagesGetChatChatIDs returns information about a chat.
func (*VK) MessagesGetChatPreview ¶
func (vk *VK) MessagesGetChatPreview(params Params) (response MessagesGetChatPreviewResponse, err error)
MessagesGetChatPreview allows to receive chat preview by the invitation link.
func (*VK) MessagesGetConversationMembers ¶
func (vk *VK) MessagesGetConversationMembers(params Params) ( response MessagesGetConversationMembersResponse, err error, )
MessagesGetConversationMembers returns a list of IDs of users participating in a conversation.
func (*VK) MessagesGetConversations ¶
func (vk *VK) MessagesGetConversations(params Params) (response MessagesGetConversationsResponse, err error)
MessagesGetConversations returns a list of conversations.
func (*VK) MessagesGetConversationsByID ¶
func (vk *VK) MessagesGetConversationsByID(params Params) (response MessagesGetConversationsByIDResponse, err error)
MessagesGetConversationsByID returns conversations by their IDs.
extended=0
func (*VK) MessagesGetConversationsByIDExtended ¶
func (vk *VK) MessagesGetConversationsByIDExtended(params Params) ( response MessagesGetConversationsByIDExtendedResponse, err error, )
MessagesGetConversationsByIDExtended returns conversations by their IDs.
extended=1
func (*VK) MessagesGetHistory ¶
func (vk *VK) MessagesGetHistory(params Params) (response MessagesGetHistoryResponse, err error)
MessagesGetHistory returns message history for the specified user or group chat.
func (*VK) MessagesGetHistoryAttachments ¶
func (vk *VK) MessagesGetHistoryAttachments(params Params) (response MessagesGetHistoryAttachmentsResponse, err error)
MessagesGetHistoryAttachments returns media files from the dialog or group chat.
func (*VK) MessagesGetImportantMessages ¶
func (vk *VK) MessagesGetImportantMessages(params Params) (response MessagesGetImportantMessagesResponse, err error)
MessagesGetImportantMessages messages.getImportantMessages.
func (*VK) MessagesGetIntentUsers ¶
func (vk *VK) MessagesGetIntentUsers(params Params) (response MessagesGetIntentUsersResponse, err error)
MessagesGetIntentUsers method.
func (*VK) MessagesGetInviteLink ¶
func (vk *VK) MessagesGetInviteLink(params Params) (response MessagesGetInviteLinkResponse, err error)
MessagesGetInviteLink receives a link to invite a user to the chat.
func (*VK) MessagesGetLastActivity ¶
func (vk *VK) MessagesGetLastActivity(params Params) (response MessagesGetLastActivityResponse, err error)
MessagesGetLastActivity returns a user's current status and date of last activity.
func (*VK) MessagesGetLongPollHistory ¶
func (vk *VK) MessagesGetLongPollHistory(params Params) (response MessagesGetLongPollHistoryResponse, err error)
MessagesGetLongPollHistory returns updates in user's private messages.
func (*VK) MessagesGetLongPollServer ¶
func (vk *VK) MessagesGetLongPollServer(params Params) (response MessagesGetLongPollServerResponse, err error)
MessagesGetLongPollServer returns data required for connection to a Long Poll server.
func (*VK) MessagesIsMessagesFromGroupAllowed ¶
func (vk *VK) MessagesIsMessagesFromGroupAllowed(params Params) ( response MessagesIsMessagesFromGroupAllowedResponse, err error, )
MessagesIsMessagesFromGroupAllowed returns information whether sending messages from the community to current user is allowed.
func (*VK) MessagesJoinChatByInviteLink ¶
func (vk *VK) MessagesJoinChatByInviteLink(params Params) (response MessagesJoinChatByInviteLinkResponse, err error)
MessagesJoinChatByInviteLink allows to enter the chat by the invitation link.
func (*VK) MessagesMarkAsAnsweredConversation ¶
MessagesMarkAsAnsweredConversation messages.markAsAnsweredConversation.
func (*VK) MessagesMarkAsImportant ¶
func (vk *VK) MessagesMarkAsImportant(params Params) (response MessagesMarkAsImportantResponse, err error)
MessagesMarkAsImportant marks and un marks messages as important (starred).
func (*VK) MessagesMarkAsImportantConversation ¶
MessagesMarkAsImportantConversation messages.markAsImportantConversation.
func (*VK) MessagesMarkAsRead ¶
MessagesMarkAsRead marks messages as read.
func (*VK) MessagesPin ¶
func (vk *VK) MessagesPin(params Params) (response MessagesPinResponse, err error)
MessagesPin messages.pin.
func (*VK) MessagesRemoveChatUser ¶
MessagesRemoveChatUser allows the current user to leave a chat or, if the current user started the chat, allows the user to remove another user from the chat.
func (*VK) MessagesRestore ¶
MessagesRestore restores a deleted message.
func (*VK) MessagesSearch ¶
func (vk *VK) MessagesSearch(params Params) (response MessagesSearchResponse, err error)
MessagesSearch returns a list of the current user's private messages that match search criteria.
func (*VK) MessagesSearchConversations ¶
func (vk *VK) MessagesSearchConversations(params Params) (response MessagesSearchConversationsResponse, err error)
MessagesSearchConversations returns a list of conversations that match search criteria.
func (*VK) MessagesSend ¶
MessagesSend sends a message.
For user_ids or peer_ids parameters, use MessagesSendUserIDs.
func (*VK) MessagesSendMessageEventAnswer ¶
MessagesSendMessageEventAnswer method.
func (*VK) MessagesSendPeerIDs ¶
func (vk *VK) MessagesSendPeerIDs(params Params) (response MessagesSendUserIDsResponse, err error)
MessagesSendPeerIDs sends a message.
need peer_ids;
func (*VK) MessagesSendSticker ¶
MessagesSendSticker sends a message.
func (*VK) MessagesSendUserIDs
deprecated
func (vk *VK) MessagesSendUserIDs(params Params) (response MessagesSendUserIDsResponse, err error)
MessagesSendUserIDs sends a message.
need user_ids or peer_ids;
https://vk.com/dev/messages.send
Deprecated: user_ids outdated, use MessagesSendPeerIDs.
func (*VK) MessagesSetActivity ¶
MessagesSetActivity changes the status of a user as typing in a conversation.
func (*VK) MessagesSetChatPhoto ¶
func (vk *VK) MessagesSetChatPhoto(params Params) (response MessagesSetChatPhotoResponse, err error)
MessagesSetChatPhoto sets a previously-uploaded picture as the cover picture of a chat.
func (*VK) MessagesUnpin ¶
MessagesUnpin messages.unpin.
func (*VK) NewsfeedAddBan ¶
NewsfeedAddBan prevents news from specified users and communities from appearing in the current user's newsfeed.
func (*VK) NewsfeedDeleteBan ¶
NewsfeedDeleteBan allows news from previously banned users and communities to be shown in the current user's newsfeed.
func (*VK) NewsfeedDeleteList ¶
NewsfeedDeleteList the method allows you to delete a custom news list.
func (*VK) NewsfeedGet ¶
func (vk *VK) NewsfeedGet(params Params) (response NewsfeedGetResponse, err error)
NewsfeedGet returns data required to show newsfeed for the current user.
func (*VK) NewsfeedGetBanned ¶
func (vk *VK) NewsfeedGetBanned(params Params) (response NewsfeedGetBannedResponse, err error)
NewsfeedGetBanned returns a list of users and communities banned from the current user's newsfeed.
extended=0
func (*VK) NewsfeedGetBannedExtended ¶
func (vk *VK) NewsfeedGetBannedExtended(params Params) (response NewsfeedGetBannedExtendedResponse, err error)
NewsfeedGetBannedExtended returns a list of users and communities banned from the current user's newsfeed.
extended=1
func (*VK) NewsfeedGetComments ¶
func (vk *VK) NewsfeedGetComments(params Params) (response NewsfeedGetCommentsResponse, err error)
NewsfeedGetComments returns a list of comments in the current user's newsfeed.
func (*VK) NewsfeedGetLists ¶
func (vk *VK) NewsfeedGetLists(params Params) (response NewsfeedGetListsResponse, err error)
NewsfeedGetLists returns a list of newsfeeds followed by the current user.
func (*VK) NewsfeedGetMentions ¶
func (vk *VK) NewsfeedGetMentions(params Params) (response NewsfeedGetMentionsResponse, err error)
NewsfeedGetMentions returns a list of posts on user walls in which the current user is mentioned.
func (*VK) NewsfeedGetRecommended ¶
func (vk *VK) NewsfeedGetRecommended(params Params) (response NewsfeedGetRecommendedResponse, err error)
NewsfeedGetRecommended returns a list of newsfeeds recommended to the current user.
func (*VK) NewsfeedGetSuggestedSources ¶
func (vk *VK) NewsfeedGetSuggestedSources(params Params) (response NewsfeedGetSuggestedSourcesResponse, err error)
NewsfeedGetSuggestedSources returns communities and users that current user is suggested to follow.
func (*VK) NewsfeedIgnoreItem ¶
NewsfeedIgnoreItem hides an item from the newsfeed.
func (*VK) NewsfeedSaveList ¶
NewsfeedSaveList creates and edits user newsfeed lists.
func (*VK) NewsfeedSearch ¶
func (vk *VK) NewsfeedSearch(params Params) (response NewsfeedSearchResponse, err error)
NewsfeedSearch returns search results by statuses.
extended=0
func (*VK) NewsfeedSearchExtended ¶
func (vk *VK) NewsfeedSearchExtended(params Params) (response NewsfeedSearchExtendedResponse, err error)
NewsfeedSearchExtended returns search results by statuses.
extended=1
func (*VK) NewsfeedUnignoreItem ¶
NewsfeedUnignoreItem returns a hidden item to the newsfeed.
func (*VK) NewsfeedUnsubscribe ¶
NewsfeedUnsubscribe unsubscribes the current user from specified newsfeeds.
func (*VK) NotesCreateComment ¶
NotesCreateComment adds a new comment on a note.
func (*VK) NotesDelete ¶
NotesDelete deletes a note of the current user.
func (*VK) NotesDeleteComment ¶
NotesDeleteComment deletes a comment on a note.
func (*VK) NotesEditComment ¶
NotesEditComment edits a comment on a note.
func (*VK) NotesGet ¶
func (vk *VK) NotesGet(params Params) (response NotesGetResponse, err error)
NotesGet returns a list of notes created by a user.
func (*VK) NotesGetByID ¶
func (vk *VK) NotesGetByID(params Params) (response NotesGetByIDResponse, err error)
NotesGetByID returns a note by its ID.
func (*VK) NotesGetComments ¶
func (vk *VK) NotesGetComments(params Params) (response NotesGetCommentsResponse, err error)
NotesGetComments returns a list of comments on a note.
func (*VK) NotesRestoreComment ¶
NotesRestoreComment restores a deleted comment on a note.
func (*VK) NotificationsGet ¶
func (vk *VK) NotificationsGet(params Params) (response NotificationsGetResponse, err error)
NotificationsGet returns a list of notifications about other users' feedback to the current user's wall posts.
func (*VK) NotificationsMarkAsViewed ¶
NotificationsMarkAsViewed resets the counter of new notifications about other users' feedback to the current user's wall posts.
func (*VK) NotificationsSendMessage ¶
func (vk *VK) NotificationsSendMessage(params Params) (response NotificationsSendMessageResponse, err error)
NotificationsSendMessage sends notification to the VK Apps user.
func (*VK) OrdersCancelSubscription ¶
OrdersCancelSubscription allows to cancel subscription.
func (*VK) OrdersChangeState ¶
func (vk *VK) OrdersChangeState(params Params) (response OrdersChangeStateResponse, err error)
OrdersChangeState changes order status.
func (*VK) OrdersGet ¶
func (vk *VK) OrdersGet(params Params) (response OrdersGetResponse, err error)
OrdersGet returns a list of orders.
func (*VK) OrdersGetAmount ¶
func (vk *VK) OrdersGetAmount(params Params) (response OrdersGetAmountResponse, err error)
OrdersGetAmount returns the cost of votes in the user's consent.
func (*VK) OrdersGetByID ¶
func (vk *VK) OrdersGetByID(params Params) (response OrdersGetByIDResponse, err error)
OrdersGetByID returns information about orders by their IDs.
func (*VK) OrdersGetUserSubscriptionByID ¶
func (vk *VK) OrdersGetUserSubscriptionByID(params Params) (response OrdersGetUserSubscriptionByIDResponse, err error)
OrdersGetUserSubscriptionByID allows to get subscription by its ID.
func (*VK) OrdersGetUserSubscriptions ¶
func (vk *VK) OrdersGetUserSubscriptions(params Params) (response OrdersGetUserSubscriptionsResponse, err error)
OrdersGetUserSubscriptions allows to get user's active subscriptions.
func (*VK) OrdersUpdateSubscription ¶
OrdersUpdateSubscription allows to update subscription price.
func (*VK) PagesClearCache ¶
PagesClearCache allows to clear the cache of particular external pages which may be attached to VK posts.
func (*VK) PagesGet ¶
func (vk *VK) PagesGet(params Params) (response PagesGetResponse, err error)
PagesGet returns information about a wiki page.
func (*VK) PagesGetHistory ¶
func (vk *VK) PagesGetHistory(params Params) (response PagesGetHistoryResponse, err error)
PagesGetHistory returns a list of all previous versions of a wiki page.
func (*VK) PagesGetTitles ¶
func (vk *VK) PagesGetTitles(params Params) (response PagesGetTitlesResponse, err error)
PagesGetTitles returns a list of wiki pages in a group.
func (*VK) PagesGetVersion ¶
func (vk *VK) PagesGetVersion(params Params) (response PagesGetVersionResponse, err error)
PagesGetVersion returns the text of one of the previous versions of a wiki page.
func (*VK) PagesParseWiki ¶
PagesParseWiki returns HTML representation of the wiki markup.
func (*VK) PagesSaveAccess ¶
PagesSaveAccess saves modified read and edit access settings for a wiki page.
func (*VK) PhotosConfirmTag ¶
PhotosConfirmTag confirms a tag on a photo.
func (*VK) PhotosCopy ¶
PhotosCopy allows to copy a photo to the "Saved photos" album.
func (*VK) PhotosCreateAlbum ¶
func (vk *VK) PhotosCreateAlbum(params Params) (response PhotosCreateAlbumResponse, err error)
PhotosCreateAlbum creates an empty photo album.
func (*VK) PhotosCreateComment ¶
PhotosCreateComment adds a new comment on the photo.
func (*VK) PhotosDelete ¶
PhotosDelete deletes a photo.
func (*VK) PhotosDeleteAlbum ¶
PhotosDeleteAlbum deletes a photo album belonging to the current user.
func (*VK) PhotosDeleteComment ¶
PhotosDeleteComment deletes a comment on the photo.
func (*VK) PhotosEdit ¶
PhotosEdit edits the caption of a photo.
func (*VK) PhotosEditAlbum ¶
PhotosEditAlbum edits information about a photo album.
func (*VK) PhotosEditComment ¶
PhotosEditComment edits a comment on a photo.
func (*VK) PhotosGet ¶
func (vk *VK) PhotosGet(params Params) (response PhotosGetResponse, err error)
PhotosGet returns a list of a user's or community's photos.
extended=0
func (*VK) PhotosGetAlbums ¶
func (vk *VK) PhotosGetAlbums(params Params) (response PhotosGetAlbumsResponse, err error)
PhotosGetAlbums returns a list of a user's or community's photo albums.
func (*VK) PhotosGetAlbumsCount ¶
PhotosGetAlbumsCount returns the number of photo albums belonging to a user or community.
func (*VK) PhotosGetAll ¶
func (vk *VK) PhotosGetAll(params Params) (response PhotosGetAllResponse, err error)
PhotosGetAll returns a list of photos belonging to a user or community, in reverse chronological order.
extended=0
func (*VK) PhotosGetAllComments ¶
func (vk *VK) PhotosGetAllComments(params Params) (response PhotosGetAllCommentsResponse, err error)
PhotosGetAllComments returns a list of comments on a specific photo album or all albums of the user sorted in reverse chronological order.
func (*VK) PhotosGetAllExtended ¶
func (vk *VK) PhotosGetAllExtended(params Params) (response PhotosGetAllExtendedResponse, err error)
PhotosGetAllExtended returns a list of photos belonging to a user or community, in reverse chronological order.
extended=1
func (*VK) PhotosGetByID ¶
func (vk *VK) PhotosGetByID(params Params) (response PhotosGetByIDResponse, err error)
PhotosGetByID returns information about photos by their IDs.
extended=0
func (*VK) PhotosGetByIDExtended ¶
func (vk *VK) PhotosGetByIDExtended(params Params) (response PhotosGetByIDExtendedResponse, err error)
PhotosGetByIDExtended returns information about photos by their IDs.
extended=1
func (*VK) PhotosGetChatUploadServer ¶
func (vk *VK) PhotosGetChatUploadServer(params Params) (response PhotosGetChatUploadServerResponse, err error)
PhotosGetChatUploadServer returns an upload link for chat cover pictures.
func (*VK) PhotosGetComments ¶
func (vk *VK) PhotosGetComments(params Params) (response PhotosGetCommentsResponse, err error)
PhotosGetComments returns a list of comments on a photo.
extended=0
func (*VK) PhotosGetCommentsExtended ¶
func (vk *VK) PhotosGetCommentsExtended(params Params) (response PhotosGetCommentsExtendedResponse, err error)
PhotosGetCommentsExtended returns a list of comments on a photo.
extended=1
func (*VK) PhotosGetExtended ¶
func (vk *VK) PhotosGetExtended(params Params) (response PhotosGetExtendedResponse, err error)
PhotosGetExtended returns a list of a user's or community's photos.
extended=1
func (*VK) PhotosGetMarketAlbumUploadServer ¶
func (vk *VK) PhotosGetMarketAlbumUploadServer(params Params) ( response PhotosGetMarketAlbumUploadServerResponse, err error, )
PhotosGetMarketAlbumUploadServer returns the server address for market album photo upload.
func (*VK) PhotosGetMarketUploadServer ¶
func (vk *VK) PhotosGetMarketUploadServer(params Params) (response PhotosGetMarketUploadServerResponse, err error)
PhotosGetMarketUploadServer returns the server address for market photo upload.
func (*VK) PhotosGetMessagesUploadServer ¶
func (vk *VK) PhotosGetMessagesUploadServer(params Params) (response PhotosGetMessagesUploadServerResponse, err error)
PhotosGetMessagesUploadServer returns the server address for photo upload onto a messages.
func (*VK) PhotosGetNewTags ¶
func (vk *VK) PhotosGetNewTags(params Params) (response PhotosGetNewTagsResponse, err error)
PhotosGetNewTags returns a list of photos with tags that have not been viewed.
func (*VK) PhotosGetOwnerCoverPhotoUploadServer ¶
func (vk *VK) PhotosGetOwnerCoverPhotoUploadServer(params Params) ( response PhotosGetOwnerCoverPhotoUploadServerResponse, err error, )
PhotosGetOwnerCoverPhotoUploadServer receives server address for uploading community cover.
func (*VK) PhotosGetOwnerPhotoUploadServer ¶
func (vk *VK) PhotosGetOwnerPhotoUploadServer(params Params) ( response PhotosGetOwnerPhotoUploadServerResponse, err error, )
PhotosGetOwnerPhotoUploadServer returns an upload server address for a profile or community photo.
func (*VK) PhotosGetTags ¶
func (vk *VK) PhotosGetTags(params Params) (response PhotosGetTagsResponse, err error)
PhotosGetTags returns a list of tags on a photo.
func (*VK) PhotosGetUploadServer ¶
func (vk *VK) PhotosGetUploadServer(params Params) (response PhotosGetUploadServerResponse, err error)
PhotosGetUploadServer returns the server address for photo upload.
func (*VK) PhotosGetUserPhotos ¶
func (vk *VK) PhotosGetUserPhotos(params Params) (response PhotosGetUserPhotosResponse, err error)
PhotosGetUserPhotos returns a list of photos in which a user is tagged.
extended=0
func (*VK) PhotosGetUserPhotosExtended ¶
func (vk *VK) PhotosGetUserPhotosExtended(params Params) (response PhotosGetUserPhotosExtendedResponse, err error)
PhotosGetUserPhotosExtended returns a list of photos in which a user is tagged.
extended=1
func (*VK) PhotosGetWallUploadServer ¶
func (vk *VK) PhotosGetWallUploadServer(params Params) (response PhotosGetWallUploadServerResponse, err error)
PhotosGetWallUploadServer returns the server address for photo upload onto a user's wall.
func (*VK) PhotosMakeCover ¶
PhotosMakeCover makes a photo into an album cover.
func (*VK) PhotosMove ¶
PhotosMove a photo from one album to another.
func (*VK) PhotosPutTag ¶
PhotosPutTag adds a tag on the photo.
func (*VK) PhotosRemoveTag ¶
PhotosRemoveTag removes a tag from a photo.
func (*VK) PhotosReorderAlbums ¶
PhotosReorderAlbums reorders the album in the list of user albums.
func (*VK) PhotosReorderPhotos ¶
PhotosReorderPhotos reorders the photo in the list of photos of the user album.
func (*VK) PhotosReport ¶
PhotosReport reports (submits a complaint about) a photo.
func (*VK) PhotosReportComment ¶
PhotosReportComment reports (submits a complaint about) a comment on a photo.
func (*VK) PhotosRestore ¶
PhotosRestore restores a deleted photo.
func (*VK) PhotosRestoreComment ¶
PhotosRestoreComment restores a deleted comment on a photo.
func (*VK) PhotosSave ¶
func (vk *VK) PhotosSave(params Params) (response PhotosSaveResponse, err error)
PhotosSave saves photos after successful uploading.
func (*VK) PhotosSaveMarketAlbumPhoto ¶
func (vk *VK) PhotosSaveMarketAlbumPhoto(params Params) (response PhotosSaveMarketAlbumPhotoResponse, err error)
PhotosSaveMarketAlbumPhoto photo Saves market album photos after successful uploading.
func (*VK) PhotosSaveMarketPhoto ¶
func (vk *VK) PhotosSaveMarketPhoto(params Params) (response PhotosSaveMarketPhotoResponse, err error)
PhotosSaveMarketPhoto saves market photos after successful uploading.
func (*VK) PhotosSaveMessagesPhoto ¶
func (vk *VK) PhotosSaveMessagesPhoto(params Params) (response PhotosSaveMessagesPhotoResponse, err error)
PhotosSaveMessagesPhoto saves a photo after being successfully.
func (*VK) PhotosSaveOwnerCoverPhoto ¶
func (vk *VK) PhotosSaveOwnerCoverPhoto(params Params) (response PhotosSaveOwnerCoverPhotoResponse, err error)
PhotosSaveOwnerCoverPhoto saves cover photo after successful uploading.
func (*VK) PhotosSaveOwnerPhoto ¶
func (vk *VK) PhotosSaveOwnerPhoto(params Params) (response PhotosSaveOwnerPhotoResponse, err error)
PhotosSaveOwnerPhoto saves a profile or community photo.
func (*VK) PhotosSaveWallPhoto ¶
func (vk *VK) PhotosSaveWallPhoto(params Params) (response PhotosSaveWallPhotoResponse, err error)
PhotosSaveWallPhoto saves a photo to a user's or community's wall after being uploaded.
func (*VK) PhotosSearch ¶
func (vk *VK) PhotosSearch(params Params) (response PhotosSearchResponse, err error)
PhotosSearch returns a list of photos.
func (*VK) PodcastsGetCatalog ¶
func (vk *VK) PodcastsGetCatalog(params Params) (response PodcastsGetCatalogResponse, err error)
PodcastsGetCatalog method.
extended=0
func (*VK) PodcastsGetCatalogExtended ¶
func (vk *VK) PodcastsGetCatalogExtended(params Params) (response PodcastsGetCatalogExtendedResponse, err error)
PodcastsGetCatalogExtended method.
extended=1
func (*VK) PodcastsGetCategories ¶
func (vk *VK) PodcastsGetCategories(params Params) (response PodcastsGetCategoriesResponse, err error)
PodcastsGetCategories method.
func (*VK) PodcastsGetEpisodes ¶
func (vk *VK) PodcastsGetEpisodes(params Params) (response PodcastsGetEpisodesResponse, err error)
PodcastsGetEpisodes method.
func (*VK) PodcastsGetFeed ¶
func (vk *VK) PodcastsGetFeed(params Params) (response PodcastsGetFeedResponse, err error)
PodcastsGetFeed method.
extended=0
func (*VK) PodcastsGetFeedExtended ¶
func (vk *VK) PodcastsGetFeedExtended(params Params) (response PodcastsGetFeedExtendedResponse, err error)
PodcastsGetFeedExtended method.
extended=1
func (*VK) PodcastsGetStartPage ¶
func (vk *VK) PodcastsGetStartPage(params Params) (response PodcastsGetStartPageResponse, err error)
PodcastsGetStartPage method.
extended=0
func (*VK) PodcastsGetStartPageExtended ¶
func (vk *VK) PodcastsGetStartPageExtended(params Params) (response PodcastsGetStartPageExtendedResponse, err error)
PodcastsGetStartPageExtended method.
extended=1
func (*VK) PodcastsMarkAsListened ¶
PodcastsMarkAsListened method.
func (*VK) PodcastsSubscribe ¶
PodcastsSubscribe method.
func (*VK) PodcastsUnsubscribe ¶
PodcastsUnsubscribe method.
func (*VK) PollsAddVote ¶
PollsAddVote adds the current user's vote to the selected answer in the poll.
func (*VK) PollsCreate ¶
func (vk *VK) PollsCreate(params Params) (response PollsCreateResponse, err error)
PollsCreate creates polls that can be attached to the users' or communities' posts.
func (*VK) PollsDeleteVote ¶
PollsDeleteVote deletes the current user's vote from the selected answer in the poll.
func (*VK) PollsGetBackgrounds ¶
func (vk *VK) PollsGetBackgrounds(params Params) (response PollsGetBackgroundsResponse, err error)
PollsGetBackgrounds return default backgrounds for polls.
func (*VK) PollsGetByID ¶
func (vk *VK) PollsGetByID(params Params) (response PollsGetByIDResponse, err error)
PollsGetByID returns detailed information about a poll by its ID.
func (*VK) PollsGetPhotoUploadServer ¶
func (vk *VK) PollsGetPhotoUploadServer(params Params) (response PollsGetPhotoUploadServerResponse, err error)
PollsGetPhotoUploadServer returns a URL for uploading a photo to a poll.
func (*VK) PollsGetVoters ¶
func (vk *VK) PollsGetVoters(params Params) (response PollsGetVotersResponse, err error)
PollsGetVoters returns a list of IDs of users who selected specific answers in the poll.
func (*VK) PollsGetVotersFields ¶
func (vk *VK) PollsGetVotersFields(params Params) (response PollsGetVotersFieldsResponse, err error)
PollsGetVotersFields returns a list of IDs of users who selected specific answers in the poll.
func (*VK) PollsSavePhoto ¶
func (vk *VK) PollsSavePhoto(params Params) (response PollsSavePhotoResponse, err error)
PollsSavePhoto allows to save poll's uploaded photo.
func (*VK) PrettyCardsCreate ¶
func (vk *VK) PrettyCardsCreate(params Params) (response PrettyCardsCreateResponse, err error)
PrettyCardsCreate method.
func (*VK) PrettyCardsDelete ¶
func (vk *VK) PrettyCardsDelete(params Params) (response PrettyCardsDeleteResponse, err error)
PrettyCardsDelete method.
func (*VK) PrettyCardsEdit ¶
func (vk *VK) PrettyCardsEdit(params Params) (response PrettyCardsEditResponse, err error)
PrettyCardsEdit method.
func (*VK) PrettyCardsGet ¶
func (vk *VK) PrettyCardsGet(params Params) (response PrettyCardsGetResponse, err error)
PrettyCardsGet method.
func (*VK) PrettyCardsGetByID ¶
func (vk *VK) PrettyCardsGetByID(params Params) (response PrettyCardsGetByIDResponse, err error)
PrettyCardsGetByID method.
func (*VK) PrettyCardsGetUploadURL ¶
PrettyCardsGetUploadURL method.
func (*VK) RequestUnmarshal ¶
RequestUnmarshal provides access to VK API methods.
func (*VK) SearchGetHints ¶
func (vk *VK) SearchGetHints(params Params) (response SearchGetHintsResponse, err error)
SearchGetHints allows the programmer to do a quick search for any substring.
func (*VK) SecureAddAppEvent ¶
func (vk *VK) SecureAddAppEvent(params Params) (response SecureAddAppEventResponse, err error)
SecureAddAppEvent adds user activity information to an application.
func (*VK) SecureCheckToken ¶
func (vk *VK) SecureCheckToken(params Params) (response SecureCheckTokenResponse, err error)
SecureCheckToken checks the user authentication in IFrame and Flash apps using the access_token parameter.
func (*VK) SecureGetAppBalance ¶
SecureGetAppBalance returns payment balance of the application in hundredth of a vote.
func (*VK) SecureGetSMSHistory ¶
func (vk *VK) SecureGetSMSHistory(params Params) (response SecureGetSMSHistoryResponse, err error)
SecureGetSMSHistory shows a list of SMS notifications sent by the application using secure.sendSMSNotification method.
func (*VK) SecureGetTransactionsHistory ¶
func (vk *VK) SecureGetTransactionsHistory(params Params) (response SecureGetTransactionsHistoryResponse, err error)
SecureGetTransactionsHistory shows history of votes transaction between users and the application.
func (*VK) SecureGetUserLevel ¶
func (vk *VK) SecureGetUserLevel(params Params) (response SecureGetUserLevelResponse, err error)
SecureGetUserLevel returns one of the previously set game levels of one or more users in the application.
func (*VK) SecureGiveEventSticker ¶
func (vk *VK) SecureGiveEventSticker(params Params) (response SecureGiveEventStickerResponse, err error)
SecureGiveEventSticker method.
func (*VK) SecureSendNotification ¶
func (vk *VK) SecureSendNotification(params Params) (response SecureSendNotificationResponse, err error)
SecureSendNotification sends notification to the user.
func (*VK) SecureSendSMSNotification ¶
SecureSendSMSNotification sends SMS notification to a user's mobile device.
func (*VK) SecureSetCounter ¶
SecureSetCounter sets a counter which is shown to the user in bold in the left menu.
func (*VK) StatsGet ¶
func (vk *VK) StatsGet(params Params) (response StatsGetResponse, err error)
StatsGet returns statistics of a community or an application.
func (*VK) StatsGetPostReach ¶
func (vk *VK) StatsGetPostReach(params Params) (response StatsGetPostReachResponse, err error)
StatsGetPostReach returns stats for a wall post.
func (*VK) StatsTrackVisitor ¶
StatsTrackVisitor adds current session's data in the application statistics.
func (*VK) StatusGet ¶
func (vk *VK) StatusGet(params Params) (response StatusGetResponse, err error)
StatusGet returns data required to show the status of a user or community.
func (*VK) StorageGet ¶
func (vk *VK) StorageGet(params Params) (response StorageGetResponse, err error)
StorageGet returns a value of variable with the name set by key parameter.
StorageGet always return array!
func (*VK) StorageGetKeys ¶
func (vk *VK) StorageGetKeys(params Params) (response StorageGetKeysResponse, err error)
StorageGetKeys returns the names of all variables.
func (*VK) StorageSet ¶
StorageSet saves a value of variable with the name set by key parameter.
func (*VK) StoreAddStickersToFavorite ¶
StoreAddStickersToFavorite add stickers to favorite.
func (*VK) StoreGetFavoriteStickers ¶
func (vk *VK) StoreGetFavoriteStickers(params Params) (response StoreGetFavoriteStickersResponse, err error)
StoreGetFavoriteStickers return favorite stickers.
func (*VK) StoreRemoveStickersFromFavorite ¶
StoreRemoveStickersFromFavorite remove stickers from favorite.
func (*VK) StoriesBanOwner ¶
StoriesBanOwner allows to hide stories from chosen sources from current user's feed.
func (*VK) StoriesDelete ¶
StoriesDelete allows to delete story.
func (*VK) StoriesGet ¶
func (vk *VK) StoriesGet(params Params) (response StoriesGetResponse, err error)
StoriesGet returns stories available for current user.
extended=0
func (*VK) StoriesGetBanned ¶
func (vk *VK) StoriesGetBanned(params Params) (response StoriesGetBannedResponse, err error)
StoriesGetBanned returns list of sources hidden from current user's feed.
extended=0
func (*VK) StoriesGetBannedExtended ¶
func (vk *VK) StoriesGetBannedExtended(params Params) (response StoriesGetBannedExtendedResponse, err error)
StoriesGetBannedExtended returns list of sources hidden from current user's feed.
extended=1
func (*VK) StoriesGetByID ¶
func (vk *VK) StoriesGetByID(params Params) (response StoriesGetByIDResponse, err error)
StoriesGetByID returns story by its ID.
extended=0
func (*VK) StoriesGetByIDExtended ¶
func (vk *VK) StoriesGetByIDExtended(params Params) (response StoriesGetByIDExtendedResponse, err error)
StoriesGetByIDExtended returns story by its ID.
extended=1
func (*VK) StoriesGetExtended ¶
func (vk *VK) StoriesGetExtended(params Params) (response StoriesGetExtendedResponse, err error)
StoriesGetExtended returns stories available for current user.
extended=1
func (*VK) StoriesGetPhotoUploadServer ¶
func (vk *VK) StoriesGetPhotoUploadServer(params Params) (response StoriesGetPhotoUploadServerResponse, err error)
StoriesGetPhotoUploadServer returns URL for uploading a story with photo.
func (*VK) StoriesGetReplies ¶
func (vk *VK) StoriesGetReplies(params Params) (response StoriesGetRepliesResponse, err error)
StoriesGetReplies returns replies to the story.
extended=0
func (*VK) StoriesGetRepliesExtended ¶
func (vk *VK) StoriesGetRepliesExtended(params Params) (response StoriesGetRepliesExtendedResponse, err error)
StoriesGetRepliesExtended returns replies to the story.
extended=1
func (*VK) StoriesGetStats ¶
func (vk *VK) StoriesGetStats(params Params) (response StoriesGetStatsResponse, err error)
StoriesGetStats return statistics data for the story.
func (*VK) StoriesGetVideoUploadServer ¶
func (vk *VK) StoriesGetVideoUploadServer(params Params) (response StoriesGetVideoUploadServerResponse, err error)
StoriesGetVideoUploadServer allows to receive URL for uploading story with video.
func (*VK) StoriesGetViewers ¶
func (vk *VK) StoriesGetViewers(params Params) (response StoriesGetViewersResponse, err error)
StoriesGetViewers returns a list of story viewers.
extended=0
func (*VK) StoriesHideAllReplies ¶
StoriesHideAllReplies hides all replies in the last 24 hours from the user to current user's stories.
func (*VK) StoriesHideReply ¶
StoriesHideReply hides the reply to the current user's story.
func (*VK) StoriesSave ¶
func (vk *VK) StoriesSave(params Params) (response StoriesSaveResponse, err error)
StoriesSave method.
func (*VK) StoriesSearch ¶
func (vk *VK) StoriesSearch(params Params) (response StoriesSearchResponse, err error)
StoriesSearch returns search results for stories.
extended=0
func (*VK) StoriesSearchExtended ¶
func (vk *VK) StoriesSearchExtended(params Params) (response StoriesSearchExtendedResponse, err error)
StoriesSearchExtended returns search results for stories.
extended=1
func (*VK) StoriesSendInteraction ¶
StoriesSendInteraction sends feedback to the story.
Available for applications with type VK Mini Apps. The default method is not available to applications.
func (*VK) StoriesUnbanOwner ¶
StoriesUnbanOwner allows to show stories from hidden sources in current user's feed.
func (*VK) StreamingGetServerURL ¶
func (vk *VK) StreamingGetServerURL(params Params) (response StreamingGetServerURLResponse, err error)
StreamingGetServerURL allows to receive data for the connection to Streaming API.
func (*VK) StreamingGetSettings ¶
func (vk *VK) StreamingGetSettings(params Params) (response StreamingGetSettingsResponse, err error)
StreamingGetSettings allows to receive monthly tier for Streaming API.
func (*VK) StreamingGetStats ¶
func (vk *VK) StreamingGetStats(params Params) (response StreamingGetStatsResponse, err error)
StreamingGetStats allows to receive statistics for prepared and received events in Streaming API.
func (*VK) StreamingGetStem ¶
func (vk *VK) StreamingGetStem(params Params) (response StreamingGetStemResponse, err error)
StreamingGetStem allows to receive the stem of the word.
func (*VK) StreamingSetSettings ¶
StreamingSetSettings allows to set monthly tier for Streaming API.
func (*VK) UploadAppImage ¶
func (vk *VK) UploadAppImage(imageType string, file io.Reader) (response object.AppWidgetsImage, err error)
UploadAppImage uploading a Image into App collection for community app widgets.
func (*VK) UploadChatPhoto ¶
func (vk *VK) UploadChatPhoto(chatID int, file io.Reader) (response MessagesSetChatPhotoResponse, err error)
UploadChatPhoto uploading a Main Photo to a Group Chat without crop.
Supported formats: JPG, PNG, GIF.
Limits: size not less than 200x200px, width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadChatPhotoCrop ¶
func (vk *VK) UploadChatPhotoCrop(chatID, cropX, cropY, cropWidth int, file io.Reader) ( response MessagesSetChatPhotoResponse, err error, )
UploadChatPhotoCrop uploading a Main Photo to a Group Chat with crop.
Supported formats: JPG, PNG, GIF.
Limits: size not less than 200x200px, width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadDoc ¶
UploadDoc uploading Documents.
Supported formats: any formats excepting mp3 and executable files.
Limits: file size up to 200 MB.
func (*VK) UploadFile ¶
func (vk *VK) UploadFile(url string, file io.Reader, fieldname, filename string) (bodyContent []byte, err error)
UploadFile uploading file.
func (*VK) UploadGroupDoc ¶
func (vk *VK) UploadGroupDoc(groupID int, title, tags string, file io.Reader) (response DocsSaveResponse, err error)
UploadGroupDoc uploading Documents into Community.
Supported formats: any formats excepting mp3 and executable files.
Limits: file size up to 200 MB.
func (*VK) UploadGroupImage ¶
func (vk *VK) UploadGroupImage(imageType string, file io.Reader) (response object.AppWidgetsImage, err error)
UploadGroupImage uploading a Image into Community collection for community app widgets.
func (*VK) UploadGroupWallDoc ¶
func (vk *VK) UploadGroupWallDoc(groupID int, title, tags string, file io.Reader) ( response DocsSaveResponse, err error, )
UploadGroupWallDoc uploading Documents on Group Wall.
Supported formats: any formats excepting mp3 and executable files.
Limits: file size up to 200 MB.
func (*VK) UploadGroupWallPhoto ¶
func (vk *VK) UploadGroupWallPhoto(groupID int, file io.Reader) (response PhotosSaveWallPhotoResponse, err error)
UploadGroupWallPhoto uploading Photos on Group Wall.
Supported formats: JPG, PNG, GIF.
Limits: width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadLeadFormsPhoto ¶
UploadLeadFormsPhoto uploading a Pretty Card Photo.
Supported formats: JPG, PNG, GIF.
func (*VK) UploadMarketAlbumPhoto ¶
func (vk *VK) UploadMarketAlbumPhoto(groupID int, file io.Reader) ( response PhotosSaveMarketAlbumPhotoResponse, err error, )
UploadMarketAlbumPhoto uploading a Main Photo to a Group Chat.
Supported formats: JPG, PNG, GIF.
Limits: size not less than 1280x720px, width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadMarketPhoto ¶
func (vk *VK) UploadMarketPhoto(groupID int, mainPhoto bool, file io.Reader) ( response PhotosSaveMarketPhotoResponse, err error, )
UploadMarketPhoto uploading a Market Item Photo without crop.
Supported formats: JPG, PNG, GIF.
Limits: size not less than 400x400px, width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadMarketPhotoCrop ¶
func (vk *VK) UploadMarketPhotoCrop(groupID, cropX, cropY, cropWidth int, file io.Reader) ( response PhotosSaveMarketPhotoResponse, err error, )
UploadMarketPhotoCrop uploading a Market Item Photo with crop.
Supported formats: JPG, PNG, GIF.
Limits: size not less than 400x400px, width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadMarusiaAudio ¶
func (vk *VK) UploadMarusiaAudio(file io.Reader) (response MarusiaCreateAudioResponse, err error)
UploadMarusiaAudio uploading audio.
func (*VK) UploadMarusiaPicture ¶
func (vk *VK) UploadMarusiaPicture(file io.Reader) (response MarusiaSavePictureResponse, err error)
UploadMarusiaPicture uploading picture.
Limits: height not more than 600 px, aspect ratio of at least 2:1.
func (*VK) UploadMessagesDoc ¶
func (vk *VK) UploadMessagesDoc(peerID int, typeDoc, title, tags string, file io.Reader) ( response DocsSaveResponse, err error, )
UploadMessagesDoc uploading Documents into a Private Message.
Supported formats: any formats excepting mp3 and executable files.
Limits: file size up to 200 MB.
func (*VK) UploadMessagesPhoto ¶
func (vk *VK) UploadMessagesPhoto(peerID int, file io.Reader) (response PhotosSaveMessagesPhotoResponse, err error)
UploadMessagesPhoto uploading Photos into a Private Message.
Supported formats: JPG, PNG, GIF.
Limits: width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadOwnerCoverPhoto ¶
func (vk *VK) UploadOwnerCoverPhoto(groupID, cropX, cropY, cropX2, cropY2 int, file io.Reader) ( response PhotosSaveOwnerCoverPhotoResponse, err error, )
UploadOwnerCoverPhoto uploading a Main Photo to a Group Chat.
Supported formats: JPG, PNG, GIF.
Limits: minimum photo size 795x200px, width+height not more than 14000px, file size up to 50 MB. Recommended size: 1590x400px.
func (*VK) UploadOwnerPhoto ¶
func (vk *VK) UploadOwnerPhoto(ownerID int, squareCrop string, file io.Reader) ( response PhotosSaveOwnerPhotoResponse, err error, )
UploadOwnerPhoto uploading Photos into User Profile or Community To upload a photo to a community send its negative id in the owner_id parameter.
Following parameters can be sent in addition: squareCrop in x,y,w (no quotes) format where x and y are the coordinates of the preview upper-right corner and w is square side length. That will create a square preview for a photo.
Supported formats: JPG, PNG, GIF.
Limits: size not less than 200x200px, aspect ratio from 0.25 to 3, width+height not more than 14000 px, file size up to 50 Mb.
func (*VK) UploadOwnerPollsPhoto ¶
func (vk *VK) UploadOwnerPollsPhoto(ownerID int, file io.Reader) (response PollsSavePhotoResponse, err error)
UploadOwnerPollsPhoto uploading a Poll Photo.
Supported formats: JPG, PNG, GIF.
Limits: minimum photo size 795x200px, width+height not more than 14000px, file size up to 50 MB. Recommended size: 1590x400px.
func (*VK) UploadPhoto ¶
UploadPhoto uploading Photos into User Album.
Supported formats: JPG, PNG, GIF.
Limits: width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadPhotoGroup ¶
func (vk *VK) UploadPhotoGroup(groupID, albumID int, file io.Reader) (response PhotosSaveResponse, err error)
UploadPhotoGroup uploading Photos into Group Album.
Supported formats: JPG, PNG, GIF.
Limits: width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UploadPollsPhoto ¶
func (vk *VK) UploadPollsPhoto(file io.Reader) (response PollsSavePhotoResponse, err error)
UploadPollsPhoto uploading a Poll Photo.
Supported formats: JPG, PNG, GIF.
Limits: minimum photo size 795x200px, width+height not more than 14000px, file size up to 50 MB. Recommended size: 1590x400px.
func (*VK) UploadPrettyCardsPhoto ¶
UploadPrettyCardsPhoto uploading a Pretty Card Photo.
Supported formats: JPG, PNG, GIF.
func (*VK) UploadStoriesPhoto ¶
func (vk *VK) UploadStoriesPhoto(params Params, file io.Reader) (response StoriesSaveResponse, err error)
UploadStoriesPhoto uploading Story.
Supported formats: JPG, PNG, GIF. Limits: sum of with and height no more than 14000px, file size no more than 10 MB. Video format: h264 video, aac audio, maximum 720х1280, 30fps.
func (*VK) UploadStoriesVideo ¶
func (vk *VK) UploadStoriesVideo(params Params, file io.Reader) (response StoriesSaveResponse, err error)
UploadStoriesVideo uploading Story.
Video format: h264 video, aac audio, maximum 720х1280, 30fps.
func (*VK) UploadUserPhoto ¶
func (vk *VK) UploadUserPhoto(file io.Reader) (response PhotosSaveOwnerPhotoResponse, err error)
UploadUserPhoto uploading Photos into User Profile.
Supported formats: JPG, PNG, GIF.
Limits: size not less than 200x200px, aspect ratio from 0.25 to 3, width+height not more than 14000 px, file size up to 50 Mb.
func (*VK) UploadVideo ¶
UploadVideo uploading Video Files.
Supported formats: AVI, MP4, 3GP, MPEG, MOV, FLV, WMV.
func (*VK) UploadWallDoc ¶
func (vk *VK) UploadWallDoc(title, tags string, file io.Reader) (response DocsSaveResponse, err error)
UploadWallDoc uploading Documents on Wall.
Supported formats: any formats excepting mp3 and executable files.
Limits: file size up to 200 MB.
func (*VK) UploadWallPhoto ¶
func (vk *VK) UploadWallPhoto(file io.Reader) (response PhotosSaveWallPhotoResponse, err error)
UploadWallPhoto uploading Photos on User Wall.
Supported formats: JPG, PNG, GIF.
Limits: width+height not more than 14000 px, file size up to 50 Mb, aspect ratio of at least 1:20.
func (*VK) UsersGet ¶
func (vk *VK) UsersGet(params Params) (response UsersGetResponse, err error)
UsersGet returns detailed information on users.
func (*VK) UsersGetFollowers ¶
func (vk *VK) UsersGetFollowers(params Params) (response UsersGetFollowersResponse, err error)
UsersGetFollowers returns a list of IDs of followers of the user in question, sorted by date added, most recent first.
fields="";
func (*VK) UsersGetFollowersFields ¶
func (vk *VK) UsersGetFollowersFields(params Params) (response UsersGetFollowersFieldsResponse, err error)
UsersGetFollowersFields returns a list of IDs of followers of the user in question, sorted by date added, most recent first.
fields not empty.
func (*VK) UsersGetSubscriptions ¶
func (vk *VK) UsersGetSubscriptions(params Params) (response UsersGetSubscriptionsResponse, err error)
UsersGetSubscriptions returns a list of IDs of users and public pages followed by the user.
extended=0
https://vk.com/dev/users.getSubscriptions
BUG(SevereCloud): UsersGetSubscriptions bad response with extended=1.
func (*VK) UsersReport ¶
UsersReport reports (submits a complain about) a user.
func (*VK) UsersSearch ¶
func (vk *VK) UsersSearch(params Params) (response UsersSearchResponse, err error)
UsersSearch returns a list of users matching the search criteria.
func (*VK) UtilsCheckLink ¶
func (vk *VK) UtilsCheckLink(params Params) (response UtilsCheckLinkResponse, err error)
UtilsCheckLink checks whether a link is blocked in VK.
func (*VK) UtilsDeleteFromLastShortened ¶
UtilsDeleteFromLastShortened deletes shortened link from user's list.
func (*VK) UtilsGetLastShortenedLinks ¶
func (vk *VK) UtilsGetLastShortenedLinks(params Params) (response UtilsGetLastShortenedLinksResponse, err error)
UtilsGetLastShortenedLinks returns a list of user's shortened links.
func (*VK) UtilsGetLinkStats ¶
func (vk *VK) UtilsGetLinkStats(params Params) (response UtilsGetLinkStatsResponse, err error)
UtilsGetLinkStats returns stats data for shortened link.
extended=0
func (*VK) UtilsGetLinkStatsExtended ¶
func (vk *VK) UtilsGetLinkStatsExtended(params Params) (response UtilsGetLinkStatsExtendedResponse, err error)
UtilsGetLinkStatsExtended returns stats data for shortened link.
extended=1
func (*VK) UtilsGetServerTime ¶
UtilsGetServerTime returns the current time of the VK server.
func (*VK) UtilsGetShortLink ¶
func (vk *VK) UtilsGetShortLink(params Params) (response UtilsGetShortLinkResponse, err error)
UtilsGetShortLink allows to receive a link shortened via vk.cc.
func (*VK) UtilsResolveScreenName ¶
func (vk *VK) UtilsResolveScreenName(params Params) (response UtilsResolveScreenNameResponse, err error)
UtilsResolveScreenName detects a type of object (e.g., user, community, application) and its ID by screen name.
func (*VK) VideoAddAlbum ¶
func (vk *VK) VideoAddAlbum(params Params) (response VideoAddAlbumResponse, err error)
VideoAddAlbum creates an empty album for videos.
func (*VK) VideoAddToAlbum ¶
VideoAddToAlbum allows you to add a video to the album.
func (*VK) VideoCreateComment ¶
VideoCreateComment adds a new comment on a video.
func (*VK) VideoDelete ¶
VideoDelete deletes a video from a user or community page.
func (*VK) VideoDeleteAlbum ¶
VideoDeleteAlbum deletes a video album.
func (*VK) VideoDeleteComment ¶
VideoDeleteComment deletes a comment on a video.
func (*VK) VideoEditAlbum ¶
VideoEditAlbum edits the title of a video album.
func (*VK) VideoEditComment ¶
VideoEditComment edits the text of a comment on a video.
func (*VK) VideoGet ¶
func (vk *VK) VideoGet(params Params) (response VideoGetResponse, err error)
VideoGet returns detailed information about videos.
extended=0
func (*VK) VideoGetAlbumByID ¶
func (vk *VK) VideoGetAlbumByID(params Params) (response VideoGetAlbumByIDResponse, err error)
VideoGetAlbumByID returns video album info.
func (*VK) VideoGetAlbums ¶
func (vk *VK) VideoGetAlbums(params Params) (response VideoGetAlbumsResponse, err error)
VideoGetAlbums returns a list of video albums owned by a user or community.
extended=0
func (*VK) VideoGetAlbumsByVideo ¶
func (vk *VK) VideoGetAlbumsByVideo(params Params) (response VideoGetAlbumsByVideoResponse, err error)
VideoGetAlbumsByVideo returns a list of albums in which the video is located.
extended=0
func (*VK) VideoGetAlbumsByVideoExtended ¶
func (vk *VK) VideoGetAlbumsByVideoExtended(params Params) (response VideoGetAlbumsByVideoExtendedResponse, err error)
VideoGetAlbumsByVideoExtended returns a list of albums in which the video is located.
extended=1
func (*VK) VideoGetAlbumsExtended ¶
func (vk *VK) VideoGetAlbumsExtended(params Params) (response VideoGetAlbumsExtendedResponse, err error)
VideoGetAlbumsExtended returns a list of video albums owned by a user or community.
extended=1
func (*VK) VideoGetComments ¶
func (vk *VK) VideoGetComments(params Params) (response VideoGetCommentsResponse, err error)
VideoGetComments returns a list of comments on a video.
extended=0
func (*VK) VideoGetCommentsExtended ¶
func (vk *VK) VideoGetCommentsExtended(params Params) (response VideoGetCommentsExtendedResponse, err error)
VideoGetCommentsExtended returns a list of comments on a video.
extended=1
func (*VK) VideoGetExtended ¶
func (vk *VK) VideoGetExtended(params Params) (response VideoGetExtendedResponse, err error)
VideoGetExtended returns detailed information about videos.
extended=1
func (*VK) VideoLiveGetCategories ¶
func (vk *VK) VideoLiveGetCategories(params Params) (response VideoLiveGetCategoriesResponse, err error)
VideoLiveGetCategories method.
func (*VK) VideoRemoveFromAlbum ¶
VideoRemoveFromAlbum allows you to remove the video from the album.
func (*VK) VideoReorderAlbums ¶
VideoReorderAlbums reorders the album in the list of user video albums.
func (*VK) VideoReorderVideos ¶
VideoReorderVideos reorders the video in the video album.
func (*VK) VideoReport ¶
VideoReport reports (submits a complaint about) a video.
func (*VK) VideoReportComment ¶
VideoReportComment reports (submits a complaint about) a comment on a video.
func (*VK) VideoRestore ¶
VideoRestore restores a previously deleted video.
func (*VK) VideoRestoreComment ¶
VideoRestoreComment restores a previously deleted comment on a video.
func (*VK) VideoSave ¶
func (vk *VK) VideoSave(params Params) (response VideoSaveResponse, err error)
VideoSave returns a server address (required for upload) and video data.
func (*VK) VideoSearch ¶
func (vk *VK) VideoSearch(params Params) (response VideoSearchResponse, err error)
VideoSearch returns a list of videos under the set search criterion.
extended=0
func (*VK) VideoSearchExtended ¶
func (vk *VK) VideoSearchExtended(params Params) (response VideoSearchExtendedResponse, err error)
VideoSearchExtended returns a list of videos under the set search criterion.
extended=1
func (*VK) VideoStartStreaming ¶
func (vk *VK) VideoStartStreaming(params Params) (response VideoStartStreamingResponse, err error)
VideoStartStreaming method.
func (*VK) VideoStopStreaming ¶
func (vk *VK) VideoStopStreaming(params Params) (response VideoStopStreamingResponse, err error)
VideoStopStreaming method.
func (*VK) WallCheckCopyrightLink ¶
WallCheckCopyrightLink method.
func (*VK) WallCloseComments ¶
WallCloseComments turn off post commenting.
func (*VK) WallCreateComment ¶
func (vk *VK) WallCreateComment(params Params) (response WallCreateCommentResponse, err error)
WallCreateComment adds a comment to a post on a user wall or community wall.
func (*VK) WallDelete ¶
WallDelete deletes a post from a user wall or community wall.
func (*VK) WallDeleteComment ¶
WallDeleteComment deletes a comment on a post on a user wall or community wall.
func (*VK) WallEdit ¶
func (vk *VK) WallEdit(params Params) (response WallEditResponse, err error)
WallEdit edits a post on a user wall or community wall.
func (*VK) WallEditAdsStealth ¶
WallEditAdsStealth allows to edit hidden post.
func (*VK) WallEditComment ¶
WallEditComment edits a comment on a user wall or community wall.
func (*VK) WallGet ¶
func (vk *VK) WallGet(params Params) (response WallGetResponse, err error)
WallGet returns a list of posts on a user wall or community wall.
extended=0
func (*VK) WallGetByID ¶
func (vk *VK) WallGetByID(params Params) (response WallGetByIDResponse, err error)
WallGetByID returns a list of posts from user or community walls by their IDs.
extended=0
func (*VK) WallGetByIDExtended ¶
func (vk *VK) WallGetByIDExtended(params Params) (response WallGetByIDExtendedResponse, err error)
WallGetByIDExtended returns a list of posts from user or community walls by their IDs.
extended=1
func (*VK) WallGetComment ¶
func (vk *VK) WallGetComment(params Params) (response WallGetCommentResponse, err error)
WallGetComment allows to obtain wall comment info.
extended=0
func (*VK) WallGetCommentExtended ¶
func (vk *VK) WallGetCommentExtended(params Params) (response WallGetCommentExtendedResponse, err error)
WallGetCommentExtended allows to obtain wall comment info.
extended=1
func (*VK) WallGetComments ¶
func (vk *VK) WallGetComments(params Params) (response WallGetCommentsResponse, err error)
WallGetComments returns a list of comments on a post on a user wall or community wall.
extended=0
func (*VK) WallGetCommentsExtended ¶
func (vk *VK) WallGetCommentsExtended(params Params) (response WallGetCommentsExtendedResponse, err error)
WallGetCommentsExtended returns a list of comments on a post on a user wall or community wall.
extended=1
func (*VK) WallGetExtended ¶
func (vk *VK) WallGetExtended(params Params) (response WallGetExtendedResponse, err error)
WallGetExtended returns a list of posts on a user wall or community wall.
extended=1
func (*VK) WallGetReposts ¶
func (vk *VK) WallGetReposts(params Params) (response WallGetRepostsResponse, err error)
WallGetReposts returns information about reposts of a post on user wall or community wall.
func (*VK) WallOpenComments ¶
WallOpenComments includes posting comments.
func (*VK) WallPost ¶
func (vk *VK) WallPost(params Params) (response WallPostResponse, err error)
WallPost adds a new post on a user wall or community wall.Can also be used to publish suggested or scheduled posts.
func (*VK) WallPostAdsStealth ¶
func (vk *VK) WallPostAdsStealth(params Params) (response WallPostAdsStealthResponse, err error)
WallPostAdsStealth allows to create hidden post which will not be shown on the community's wall and can be used for creating an ad with type "Community post".
func (*VK) WallReportComment ¶
WallReportComment reports (submits a complaint about) a comment on a post on a user wall or community wall.
func (*VK) WallReportPost ¶
WallReportPost reports (submits a complaint about) a post on a user wall or community wall.
func (*VK) WallRepost ¶
func (vk *VK) WallRepost(params Params) (response WallRepostResponse, err error)
WallRepost reposts ( copies) an object to a user wall or community wall.
func (*VK) WallRestore ¶
WallRestore restores a post deleted from a user wall or community wall.
func (*VK) WallRestoreComment ¶
WallRestoreComment restores a comment deleted from a user wall or community wall.
func (*VK) WallSearch ¶
func (vk *VK) WallSearch(params Params) (response WallSearchResponse, err error)
WallSearch allows to search posts on user or community walls.
extended=0
func (*VK) WallSearchExtended ¶
func (vk *VK) WallSearchExtended(params Params) (response WallSearchExtendedResponse, err error)
WallSearchExtended allows to search posts on user or community walls.
extended=1
func (*VK) WidgetsGetComments ¶
func (vk *VK) WidgetsGetComments(params Params) (response WidgetsGetCommentsResponse, err error)
WidgetsGetComments gets a list of comments for the page added through the Comments widget.
func (*VK) WidgetsGetPages ¶
func (vk *VK) WidgetsGetPages(params Params) (response WidgetsGetPagesResponse, err error)
WidgetsGetPages gets a list of application/site pages where the Comments widget or Like widget is installed.
type VideoAddAlbumResponse ¶
type VideoAddAlbumResponse struct {
AlbumID int `json:"album_id"`
}
VideoAddAlbumResponse struct.
type VideoGetAlbumByIDResponse ¶
type VideoGetAlbumByIDResponse object.VideoVideoAlbumFull
VideoGetAlbumByIDResponse struct.
type VideoGetAlbumsByVideoExtendedResponse ¶
type VideoGetAlbumsByVideoExtendedResponse struct { Count int `json:"count"` Items []object.VideoVideoAlbumFull `json:"items"` }
VideoGetAlbumsByVideoExtendedResponse struct.
type VideoGetAlbumsByVideoResponse ¶
type VideoGetAlbumsByVideoResponse []int
VideoGetAlbumsByVideoResponse struct.
type VideoGetAlbumsExtendedResponse ¶
type VideoGetAlbumsExtendedResponse struct { Count int `json:"count"` Items []object.VideoVideoAlbumFull `json:"items"` }
VideoGetAlbumsExtendedResponse struct.
type VideoGetAlbumsResponse ¶
type VideoGetAlbumsResponse struct { Count int `json:"count"` Items []object.VideoVideoAlbum `json:"items"` }
VideoGetAlbumsResponse struct.
type VideoGetCommentsExtendedResponse ¶
type VideoGetCommentsExtendedResponse struct { Count int `json:"count"` Items []object.WallWallComment `json:"items"` object.ExtendedResponse }
VideoGetCommentsExtendedResponse struct.
type VideoGetCommentsResponse ¶
type VideoGetCommentsResponse struct { Count int `json:"count"` Items []object.WallWallComment `json:"items"` }
VideoGetCommentsResponse struct.
type VideoGetExtendedResponse ¶
type VideoGetExtendedResponse struct { Count int `json:"count"` Items []object.VideoVideo `json:"items"` object.ExtendedResponse }
VideoGetExtendedResponse struct.
type VideoGetResponse ¶
type VideoGetResponse struct { Count int `json:"count"` Items []object.VideoVideo `json:"items"` }
VideoGetResponse struct.
type VideoLiveGetCategoriesResponse ¶
type VideoLiveGetCategoriesResponse []object.VideoLiveCategory
VideoLiveGetCategoriesResponse struct.
type VideoSearchExtendedResponse ¶
type VideoSearchExtendedResponse struct { Count int `json:"count"` Items []object.VideoVideo `json:"items"` object.ExtendedResponse }
VideoSearchExtendedResponse struct.
type VideoSearchResponse ¶
type VideoSearchResponse struct { Count int `json:"count"` Items []object.VideoVideo `json:"items"` }
VideoSearchResponse struct.
type VideoStartStreamingResponse ¶
VideoStartStreamingResponse struct.
type VideoStopStreamingResponse ¶
type VideoStopStreamingResponse struct {
UniqueViewers int `json:"unique_viewers"`
}
VideoStopStreamingResponse struct.
type WallCreateCommentResponse ¶
type WallCreateCommentResponse struct { CommentID int `json:"comment_id"` ParentsStack []int `json:"parents_stack"` }
WallCreateCommentResponse struct.
type WallEditResponse ¶
type WallEditResponse struct {
PostID int `json:"post_id"`
}
WallEditResponse struct.
type WallGetByIDExtendedResponse ¶
type WallGetByIDExtendedResponse struct { Items []object.WallWallpost `json:"items"` object.ExtendedResponse }
WallGetByIDExtendedResponse struct.
type WallGetByIDResponse ¶
type WallGetByIDResponse []object.WallWallpost
WallGetByIDResponse struct.
type WallGetCommentExtendedResponse ¶
type WallGetCommentExtendedResponse struct { Count int `json:"count"` Items []object.WallWallComment `json:"items"` CanPost object.BaseBoolInt `json:"can_post"` ShowReplyButton object.BaseBoolInt `json:"show_reply_button"` GroupsCanPost object.BaseBoolInt `json:"groups_can_post"` CurrentLevelCount int `json:"current_level_count"` Profiles []object.UsersUser `json:"profiles"` Groups []object.GroupsGroup `json:"groups"` }
WallGetCommentExtendedResponse struct.
type WallGetCommentResponse ¶
type WallGetCommentResponse struct { Items []object.WallWallComment `json:"items"` CanPost object.BaseBoolInt `json:"can_post"` ShowReplyButton object.BaseBoolInt `json:"show_reply_button"` GroupsCanPost object.BaseBoolInt `json:"groups_can_post"` CurrentLevelCount int `json:"current_level_count"` }
WallGetCommentResponse struct.
type WallGetCommentsExtendedResponse ¶
type WallGetCommentsExtendedResponse struct { CanPost object.BaseBoolInt `json:"can_post"` ShowReplyButton object.BaseBoolInt `json:"show_reply_button"` GroupsCanPost object.BaseBoolInt `json:"groups_can_post"` CurrentLevelCount int `json:"current_level_count"` Count int `json:"count"` Items []object.WallWallComment `json:"items"` object.ExtendedResponse }
WallGetCommentsExtendedResponse struct.
type WallGetCommentsResponse ¶
type WallGetCommentsResponse struct { CanPost object.BaseBoolInt `json:"can_post"` ShowReplyButton object.BaseBoolInt `json:"show_reply_button"` GroupsCanPost object.BaseBoolInt `json:"groups_can_post"` CurrentLevelCount int `json:"current_level_count"` Count int `json:"count"` Items []object.WallWallComment `json:"items"` }
WallGetCommentsResponse struct.
type WallGetExtendedResponse ¶
type WallGetExtendedResponse struct { Count int `json:"count"` Items []object.WallWallpost `json:"items"` object.ExtendedResponse }
WallGetExtendedResponse struct.
type WallGetRepostsResponse ¶
type WallGetRepostsResponse struct { Items []object.WallWallpost `json:"items"` object.ExtendedResponse }
WallGetRepostsResponse struct.
type WallGetResponse ¶
type WallGetResponse struct { Count int `json:"count"` Items []object.WallWallpost `json:"items"` }
WallGetResponse struct.
type WallPostAdsStealthResponse ¶
type WallPostAdsStealthResponse struct {
PostID int `json:"post_id"`
}
WallPostAdsStealthResponse struct.
type WallPostResponse ¶
type WallPostResponse struct {
PostID int `json:"post_id"`
}
WallPostResponse struct.
type WallRepostResponse ¶
type WallRepostResponse struct { Success int `json:"success"` PostID int `json:"post_id"` RepostsCount int `json:"reposts_count"` LikesCount int `json:"likes_count"` WallRepostCount int `json:"wall_repost_count"` MailRepostCount int `json:"mail_repost_count"` }
WallRepostResponse struct.
type WallSearchExtendedResponse ¶
type WallSearchExtendedResponse struct { Count int `json:"count"` Items []object.WallWallpost `json:"items"` object.ExtendedResponse }
WallSearchExtendedResponse struct.
type WallSearchResponse ¶
type WallSearchResponse struct { Count int `json:"count"` Items []object.WallWallpost `json:"items"` }
WallSearchResponse struct.
type WidgetsGetCommentsResponse ¶
type WidgetsGetCommentsResponse struct { Count int `json:"count"` Posts []object.WidgetsWidgetComment `json:"posts"` }
WidgetsGetCommentsResponse struct.
type WidgetsGetPagesResponse ¶
type WidgetsGetPagesResponse struct { Count int `json:"count"` Pages []object.WidgetsWidgetPage `json:"pages"` }
WidgetsGetPagesResponse struct.
Notes ¶
Bugs ¶
default_order int https://vk.com/bug136682
default_order int https://vk.com/bug136682
database.getSchoolClasses bad return.
MessageEdit always 0 https://vk.com/bugtracker?act=show&id=86762
returns false PhotoSrc string `json:"photo_src"` PhotoSrcBig string `json:"photo_src_big"` PhotoSrcSmall string `json:"photo_src_small"`
UsersGetSubscriptions bad response with extended=1.
UtilsResolveScreenNameResponse return [].
UtilsResolveScreenNameResponse return [].
Source Files ¶
- account.go
- ads.go
- api.go
- apps.go
- appwidgets.go
- auth.go
- board.go
- captcha.go
- database.go
- docs.go
- donut.go
- downloadedGames.go
- errors.go
- execute.go
- fave.go
- friends.go
- gifts.go
- groups.go
- leadforms.go
- leads.go
- likes.go
- market.go
- marusia.go
- messages.go
- newsfeed.go
- notes.go
- notifications.go
- orders.go
- pages.go
- photos.go
- podcasts.go
- polls.go
- prettycards.go
- search.go
- secure.go
- stats.go
- status.go
- storage.go
- store.go
- stories.go
- streaming.go
- upload.go
- users.go
- utils.go
- video.go
- wall.go
- widgets.go