modulepackage
0.0.0-20190204162326-81f90eb179b2
Repository: https://github.com/gdvfox/vkbot-go.git
Documentation: pkg.go.dev
# README
VkBot-Go
This package provides you bindings for the VK API
Install & Import
Install
go get -u github.com/GDVFox/vkbot-go
Import
import "github.com/GDVFox/vkbot-go"
Example
Simple request to VK API
Bot gets information about user id304508916
package main
import (
"log"
"net/http"
"net/url"
vkAPI "github.com/GDVFox/vkbot-go"
)
func main() {
bot, _ := vkAPI.NewVkBot("AccessToken", "5.92", &http.Client{})
resp, err := bot.Request("users.get", url.Values{
"user_ids": []string{"304508916"},
"fields": []string{"status"},
})
if err != nil {
log.Panic(err)
}
log.Println(string(resp.Response))
}
Simple use of Callback API
Bot gets events of group id1337
package main
import (
"log"
"net/http"
vkAPI "github.com/GDVFox/vkbot-go"
)
func main() {
bot, _ := vkAPI.NewVkBot("AccessToken", "5.92", &http.Client{})
bot.SetConfirmation(vkAPI.NewConfirmation("/", 1337, "ConfirmString"))
events := bot.ListenForEvents()
go http.ListenAndServe(":8080", nil)
log.Println("start listen :8080")
for event := range events {
log.Printf("[%s] %s from group: %d", event.Type, string(event.Object), event.GroupID)
}
}
# Functions
NewConfirmation creates new conformation struct
pattern contains endpoint for server events groupID contains group_id(to compare with a key from a query) confStr contains string that the server must return for confirmation.
NewVkBot creates a new VkBot and you can pass a http.Client.
NewVkBotWithAuth creates a new VkBot with login/pass authorization and you can pass a http.Client.
# Constants
AuthAPIurl is the url template for user authorization(for Sprintf).
ConfirmationType value of "type" field of JSON struct with confirmation from VK server.
OkString a string that is sent in response to each request from the Callback APU.
VkAPIurl is the url template for all API methods(for Sprintf).
# Structs
AccountAccountCounters type from VK API Schema(account_account_counters).
AccountInfo type from VK API Schema(account_info).
AccountLookupResult type from VK API Schema(account_lookup_result).
AccountNameRequest type from VK API Schema(account_name_request).
AccountOffer type from VK API Schema(account_offer).
AccountOtherContact type from VK API Schema(account_other_contact).
AccountPushConversations type from VK API Schema(account_push_conversations).
AccountPushConversationsItem type from VK API Schema(account_push_conversations_item).
AccountPushParams type from VK API Schema(account_push_params).
AccountPushSettings type from VK API Schema(account_push_settings).
AccountUserSettings type from VK API Schema(account_user_settings).
AccountUserXtrContact type from VK API Schema(account_user_xtr_contact).
AdsAccesses type from VK API Schema(ads_accesses).
AdsAccount type from VK API Schema(ads_account).
AdsAd type from VK API Schema(ads_ad).
AdsAdLayout type from VK API Schema(ads_ad_layout).
AdsCampaign type from VK API Schema(ads_campaign).
AdsCategory type from VK API Schema(ads_category).
AdsClient type from VK API Schema(ads_client).
AdsCriteria type from VK API Schema(ads_criteria).
AdsDemoStats type from VK API Schema(ads_demo_stats).
AdsDemostatsFormat type from VK API Schema(ads_demostats_format).
AdsFloodStats type from VK API Schema(ads_flood_stats).
AdsLinkStatus type from VK API Schema(ads_link_status).
AdsParagraphs type from VK API Schema(ads_paragraphs).
AdsPostStats type from VK API Schema(ads_post_stats).
AdsRejectReason type from VK API Schema(ads_reject_reason).
AdsRules type from VK API Schema(ads_rules).
AdsStats type from VK API Schema(ads_stats).
AdsStatsAge type from VK API Schema(ads_stats_age).
AdsStatsCities type from VK API Schema(ads_stats_cities).
AdsStatsFormat type from VK API Schema(ads_stats_format).
AdsStatsSex type from VK API Schema(ads_stats_sex).
AdsStatsSexAge type from VK API Schema(ads_stats_sex_age).
AdsTargetGroup type from VK API Schema(ads_target_group).
AdsTargSettings type from VK API Schema(ads_targ_settings).
AdsTargStats type from VK API Schema(ads_targ_stats).
AdsTargSuggestions type from VK API Schema(ads_targ_suggestions).
AdsTargSuggestionsCities type from VK API Schema(ads_targ_suggestions_cities).
AdsTargSuggestionsRegions type from VK API Schema(ads_targ_suggestions_regions).
AdsTargSuggestionsSchools type from VK API Schema(ads_targ_suggestions_schools).
AdsUsers type from VK API Schema(ads_users).
AppsApp type from VK API Schema(apps_app).
AppsLeaderboard type from VK API Schema(apps_leaderboard).
AudioAudio type from VK API Schema(audio_audio).
AudioAudioFull type from VK API Schema(audio_audio_full).
AudioAudioUploadResponse type from VK API Schema(audio_audio_upload_response).
AudioLyrics type from VK API Schema(audio_lyrics).
BaseCity type from VK API Schema(base_city).
BaseCommentsInfo type from VK API Schema(base_comments_info).
BaseCountry type from VK API Schema(base_country).
BaseError type from VK API Schema(base_error).
BaseGeo type from VK API Schema(base_geo).
BaseGeoCoordinates type from VK API Schema(base_geo_coordinates).
BaseImage type from VK API Schema(base_image).
BaseLikes type from VK API Schema(base_likes).
BaseLikesInfo type from VK API Schema(base_likes_info).
BaseLink type from VK API Schema(base_link).
BaseLinkApplication type from VK API Schema(base_link_application).
BaseLinkApplicationStore type from VK API Schema(base_link_application_store).
BaseLinkButton type from VK API Schema(base_link_button).
BaseLinkButtonAction type from VK API Schema(base_link_button_action).
BaseLinkProduct type from VK API Schema(base_link_product).
BaseLinkRating type from VK API Schema(base_link_rating).
BaseObject type from VK API Schema(base_object).
BaseObjectCount type from VK API Schema(base_object_count).
BaseObjectWithName type from VK API Schema(base_object_with_name).
BasePlace type from VK API Schema(base_place).
BaseRepostsInfo type from VK API Schema(base_reposts_info).
BaseRequestParam type from VK API Schema(base_request_param).
BaseSticker type from VK API Schema(base_sticker).
BaseUploadServer type from VK API Schema(base_upload_server).
BaseUserID type from VK API Schema(base_user_id).
BoardPostDeleteEvent deleting a comment in a discussion.
BoardPostNewEvent create a comment in a discussion.
BoardTopic type from VK API Schema(board_topic).
BoardTopicComment type from VK API Schema(board_topic_comment).
BoardTopicPoll type from VK API Schema(board_topic_poll).
Confirmation contains group and string for Vk conformation request.
DatabaseCity type from VK API Schema(database_city).
DatabaseFaculty type from VK API Schema(database_faculty).
DatabaseRegion type from VK API Schema(database_region).
DatabaseSchool type from VK API Schema(database_school).
DatabaseUniversity type from VK API Schema(database_university).
DocsDoc type from VK API Schema(docs_doc).
DocsDocPreview type from VK API Schema(docs_doc_preview).
DocsDocPreviewPhoto type from VK API Schema(docs_doc_preview_photo).
DocsDocPreviewVideo type from VK API Schema(docs_doc_preview_video).
DocsDocTypes type from VK API Schema(docs_doc_types).
DocsDocUploadResponse type from VK API Schema(docs_doc_upload_response).
Event represents an event coming from the VK server.
FaveFavesLink type from VK API Schema(fave_faves_link).
FriendsFriendsList type from VK API Schema(friends_friends_list).
FriendsFriendStatus type from VK API Schema(friends_friend_status).
FriendsMutualFriend type from VK API Schema(friends_mutual_friend).
FriendsRequests type from VK API Schema(friends_requests).
FriendsRequestsMutual type from VK API Schema(friends_requests_mutual).
FriendsRequestsXtrMessage type from VK API Schema(friends_requests_xtr_message).
FriendsUserXtrLists type from VK API Schema(friends_user_xtr_lists).
FriendsUserXtrPhone type from VK API Schema(friends_user_xtr_phone).
GiftsGift type from VK API Schema(gifts_gift).
GiftsLayout type from VK API Schema(gifts_layout).
GroupChangePhotoEvent changing the main photo.
GroupChangeSettingsEvent change the settings of the community.
GroupJoinEvent adding a member or applying to join a community.
GroupLeaveEvent remove a member from a community.
GroupOfficersEditEvent editing the list of managers.
GroupsBanInfo type from VK API Schema(groups_ban_info).
GroupsCallbackSettings type from VK API Schema(groups_callback_settings).
GroupsContactsItem type from VK API Schema(groups_contacts_item).
GroupsCountersGroup type from VK API Schema(groups_counters_group).
GroupsCover type from VK API Schema(groups_cover).
GroupsGroup type from VK API Schema(groups_group).
GroupsGroupBanInfo type from VK API Schema(groups_group_ban_info).
GroupsGroupCategory type from VK API Schema(groups_group_category).
GroupsGroupCategoryFull type from VK API Schema(groups_group_category_full).
GroupsGroupCategoryType type from VK API Schema(groups_group_category_type).
GroupsGroupFull type from VK API Schema(groups_group_full).
GroupsGroupLink type from VK API Schema(groups_group_link).
GroupsGroupPublicCategoryList type from VK API Schema(groups_group_public_category_list).
GroupsGroupsArray type from VK API Schema(groups_groups_array).
GroupsGroupSettings type from VK API Schema(groups_group_settings).
GroupsGroupXtrInvitedBy type from VK API Schema(groups_group_xtr_invited_by).
GroupsLinksItem type from VK API Schema(groups_links_item).
GroupsLongPollEvents type from VK API Schema(groups_long_poll_events).
GroupsLongPollServer type from VK API Schema(groups_long_poll_server).
GroupsLongPollSettings type from VK API Schema(groups_long_poll_settings).
GroupsMarketInfo type from VK API Schema(groups_market_info).
GroupsMemberRole type from VK API Schema(groups_member_role).
GroupsMemberStatus type from VK API Schema(groups_member_status).
GroupsMemberStatusFull type from VK API Schema(groups_member_status_full).
GroupsOnlineStatus type from VK API Schema(groups_online_status).
GroupsOwnerXtrBanInfo type from VK API Schema(groups_owner_xtr_ban_info).
GroupsSubjectItem type from VK API Schema(groups_subject_item).
GroupsTokenPermissions type from VK API Schema(groups_token_permissions).
GroupsTokenPermissionSetting type from VK API Schema(groups_token_permission_setting).
GroupsUserXtrRole type from VK API Schema(groups_user_xtr_role).
LeadsChecked type from VK API Schema(leads_checked).
LeadsComplete type from VK API Schema(leads_complete).
LeadsEntry type from VK API Schema(leads_entry).
LeadsLead type from VK API Schema(leads_lead).
LeadsLeadDays type from VK API Schema(leads_lead_days).
LeadsStart type from VK API Schema(leads_start).
MarketCommentDeleteEvent delete a product comment.
MarketCommentNewEvent new comment to item.
MarketCurrency type from VK API Schema(market_currency).
MarketMarketAlbum type from VK API Schema(market_market_album).
MarketMarketCategory type from VK API Schema(market_market_category).
MarketMarketItem type from VK API Schema(market_market_item).
MarketMarketItemFull type from VK API Schema(market_market_item_full).
MarketPrice type from VK API Schema(market_price).
MarketSection type from VK API Schema(market_section).
MessageAllowEvent subscribe to messages from the community.
MessageDenyEvent new ban messages from the community.
MessagesAddChatUserParams params for messages.addChatUser method
https://vk.com/dev/messages.addChatUser.
MessagesAllowMessagesFromGroupParams params for messages.allowMessagesFromGroup method
https://vk.com/dev/messages.allowMessagesFromGroup.
MessagesChat type from VK API Schema(messages_chat).
MessagesChatFull type from VK API Schema(messages_chat_full).
MessagesChatPushSettings type from VK API Schema(messages_chat_push_settings).
MessagesChatSettingsPhoto type from VK API Schema(messages_chat_settings_photo).
MessagesConversationWithMessage type from VK API Schema(messages_conversation_with_message).
MessagesCreateChatParams params for messages.createChat method
https://vk.com/dev/messages.createChat.
MessagesDeleteChatPhotoParams params for messages.deleteChatPhoto method
https://vk.com/dev/messages.deleteChatPhoto.
MessagesDeleteConversationParams params for messages.deleteConversation method
https://vk.com/dev/messages.deleteConversation.
MessagesDeleteParams params for messages.delete method
https://vk.com/dev/messages.delete.
MessagesDenyMessagesFromGroupParams params for messages.denyMessagesFromGroup method
https://vk.com/dev/messages.denyMessagesFromGroup.
MessagesDialog type from VK API Schema(messages_dialog).
MessagesEditChatParams params for messages.editChat method
https://vk.com/dev/messages.editChat.
MessagesEditParams params for messages.edit method
https://vk.com/dev/messages.edit.
MessagesGetByConversationMessageIdParams params for messages.getByConversationMessageId method
https://vk.com/dev/messages.getByConversationMessageId.
MessagesGetByIdParams params for messages.getById method
https://vk.com/dev/messages.getById.
MessagesGetConversationMembersParams params for messages.getConversationMembers method
https://vk.com/dev/messages.getConversationMembers.
MessagesGetConversationsByIdParams params for messages.getConversationsById method
https://vk.com/dev/messages.getConversationsById.
MessagesGetConversationsParams params for messages.getConversations method
https://vk.com/dev/messages.getConversations.
MessagesGetHistoryAttachmentsParams params for messages.getHistoryAttachments method
https://vk.com/dev/messages.getHistoryAttachments.
MessagesGetHistoryParams params for messages.getHistory method
https://vk.com/dev/messages.getHistory.
MessagesGetLastActivityParams params for messages.getLastActivity method
https://vk.com/dev/messages.getLastActivity.
MessagesGetLongPollHistoryParams params for messages.getLongPollHistory method
https://vk.com/dev/messages.getLongPollHistory.
MessagesGetLongPollServerParams params for messages.getLongPollServer method
https://vk.com/dev/messages.getLongPollServer.
MessagesHistoryAttachment type from VK API Schema(messages_history_attachment).
MessagesHistoryMessageAttachment type from VK API Schema(messages_history_message_attachment).
MessagesIsMessagesFromGroupAllowedParams params for messages.isMessagesFromGroupAllowed method
https://vk.com/dev/messages.isMessagesFromGroupAllowed.
MessagesKeyboard type from VK API Schema(messages_keyboard).
MessagesKeyboardButton type from VK API Schema(messages_keyboard_button).
MessagesKeyboardButtonAction type from VK API Schema(messages_keyboard_button_action).
MessagesLastActivity type from VK API Schema(messages_last_activity).
MessagesLongpollMessages type from VK API Schema(messages_longpoll_messages).
MessagesLongpollParams type from VK API Schema(messages_longpoll_params).
MessagesMarkAsAnsweredConversationParams params for messages.markAsAnsweredConversation method
https://vk.com/dev/messages.markAsAnsweredConversation.
MessagesMarkAsImportantConversationParams params for messages.markAsImportantConversation method
https://vk.com/dev/messages.markAsImportantConversation.
MessagesMarkAsImportantParams params for messages.markAsImportant method
https://vk.com/dev/messages.markAsImportant.
MessagesMarkAsReadParams params for messages.markAsRead method
https://vk.com/dev/messages.markAsRead.
MessagesMessage type from VK API Schema(messages_message).
MessagesMessageAction type from VK API Schema(messages_message_action).
MessagesMessageAttachment type from VK API Schema(messages_message_attachment).
MessagesPinnedMessage type from VK API Schema(messages_pinned_message).
MessagesRemoveChatUserParams params for messages.removeChatUser method
https://vk.com/dev/messages.removeChatUser.
MessagesRestoreParams params for messages.restore method
https://vk.com/dev/messages.restore.
MessagesSearchConversationsParams params for messages.searchConversations method
https://vk.com/dev/messages.searchConversations.
MessagesSearchParams params for messages.search method
https://vk.com/dev/messages.search.
MessagesSendParams params for messages.send method
https://vk.com/dev/messages.send.
MessagesSetActivityParams params for messages.setActivity method
https://vk.com/dev/messages.setActivity.
MessagesSetChatPhotoParams params for messages.setChatPhoto method
https://vk.com/dev/messages.setChatPhoto.
MessagesUserXtrInvitedBy type from VK API Schema(messages_user_xtr_invited_by).
NewsfeedItemAudio type from VK API Schema(newsfeed_item_audio).
NewsfeedItemAudioAudio type from VK API Schema(newsfeed_item_audio_audio).
NewsfeedItemFriend type from VK API Schema(newsfeed_item_friend).
NewsfeedItemFriendFriends type from VK API Schema(newsfeed_item_friend_friends).
NewsfeedItemNote type from VK API Schema(newsfeed_item_note).
NewsfeedItemNoteNotes type from VK API Schema(newsfeed_item_note_notes).
NewsfeedItemPhoto type from VK API Schema(newsfeed_item_photo).
NewsfeedItemPhotoPhotos type from VK API Schema(newsfeed_item_photo_photos).
NewsfeedItemPhotoTag type from VK API Schema(newsfeed_item_photo_tag).
NewsfeedItemPhotoTagPhotoTags type from VK API Schema(newsfeed_item_photo_tag_photo_tags).
NewsfeedItemTopic type from VK API Schema(newsfeed_item_topic).
NewsfeedItemVideo type from VK API Schema(newsfeed_item_video).
NewsfeedItemVideoVideo type from VK API Schema(newsfeed_item_video_video).
NewsfeedItemWallpost type from VK API Schema(newsfeed_item_wallpost).
NewsfeedList type from VK API Schema(newsfeed_list).
NewsfeedListFull type from VK API Schema(newsfeed_list_full).
NewsfeedNewsfeedItem type from VK API Schema(newsfeed_newsfeed_item).
NewsfeedNewsfeedNote type from VK API Schema(newsfeed_newsfeed_note).
NewsfeedNewsfeedPhoto type from VK API Schema(newsfeed_newsfeed_photo).
NotesNote type from VK API Schema(notes_note).
NotesNoteComment type from VK API Schema(notes_note_comment).
NotificationsFeedback type from VK API Schema(notifications_feedback).
NotificationsNotification type from VK API Schema(notifications_notification).
NotificationsNotificationParent type from VK API Schema(notifications_notification_parent).
NotificationsNotificationsComment type from VK API Schema(notifications_notifications_comment).
NotificationsReply type from VK API Schema(notifications_reply).
OauthError type from VK API Schema(oauth_error).
OrdersAmount type from VK API Schema(orders_amount).
OrdersAmountItem type from VK API Schema(orders_amount_item).
OrdersOrder type from VK API Schema(orders_order).
PagesWikipage type from VK API Schema(pages_wikipage).
PagesWikipageFull type from VK API Schema(pages_wikipage_full).
PagesWikipageVersion type from VK API Schema(pages_wikipage_version).
PhotoCommentDeleteEvent delete a comment for a photo.
PhotoCommentNewEvent add a comment to a photo.
PhotosCommentXtrPid type from VK API Schema(photos_comment_xtr_pid).
PhotosImage type from VK API Schema(photos_image).
PhotosMarketAlbumUploadResponse type from VK API Schema(photos_market_album_upload_response).
PhotosMarketUploadResponse type from VK API Schema(photos_market_upload_response).
PhotosMessageUploadResponse type from VK API Schema(photos_message_upload_response).
PhotosOwnerUploadResponse type from VK API Schema(photos_owner_upload_response).
PhotosPhoto type from VK API Schema(photos_photo).
PhotosPhotoAlbum type from VK API Schema(photos_photo_album).
PhotosPhotoAlbumFull type from VK API Schema(photos_photo_album_full).
PhotosPhotoFull type from VK API Schema(photos_photo_full).
PhotosPhotoFullXtrRealOffset type from VK API Schema(photos_photo_full_xtr_real_offset).
PhotosPhotoSizes type from VK API Schema(photos_photo_sizes).
PhotosPhotoTag type from VK API Schema(photos_photo_tag).
PhotosPhotoUpload type from VK API Schema(photos_photo_upload).
PhotosPhotoUploadResponse type from VK API Schema(photos_photo_upload_response).
PhotosPhotoXtrRealOffset type from VK API Schema(photos_photo_xtr_real_offset).
PhotosPhotoXtrTagInfo type from VK API Schema(photos_photo_xtr_tag_info).
PhotosWallUploadResponse type from VK API Schema(photos_wall_upload_response).
PlacesCheckin type from VK API Schema(places_checkin).
PlacesPlaceFull type from VK API Schema(places_place_full).
PlacesPlaceMin type from VK API Schema(places_place_min).
PlacesTypes type from VK API Schema(places_types).
PollsAnswer type from VK API Schema(polls_answer).
PollsPoll type from VK API Schema(polls_poll).
PollsVoters type from VK API Schema(polls_voters).
PollsVotersUsers type from VK API Schema(polls_voters_users).
PollVoteNewEvent adding a voice to a public poll.
SearchHint type from VK API Schema(search_hint).
SecureLevel type from VK API Schema(secure_level).
SecureSmsNotification type from VK API Schema(secure_sms_notification).
SecureTokenChecked type from VK API Schema(secure_token_checked).
SecureTransaction type from VK API Schema(secure_transaction).
StatsActivity type from VK API Schema(stats_activity).
StatsCity type from VK API Schema(stats_city).
StatsCountry type from VK API Schema(stats_country).
StatsPeriod type from VK API Schema(stats_period).
StatsReach type from VK API Schema(stats_reach).
StatsSexAge type from VK API Schema(stats_sex_age).
StatsViews type from VK API Schema(stats_views).
StatsWallpostStat type from VK API Schema(stats_wallpost_stat).
StatusStatus type from VK API Schema(status_status).
StoriesReplies type from VK API Schema(stories_replies).
StoriesStory type from VK API Schema(stories_story).
StoriesStoryLink type from VK API Schema(stories_story_link).
StoriesStoryStats type from VK API Schema(stories_story_stats).
StoriesStoryStatsStat type from VK API Schema(stories_story_stats_stat).
StoriesStoryVideo type from VK API Schema(stories_story_video).
UserBlockEvent adding a user to the blacklist.
UsersCareer type from VK API Schema(users_career).
UsersCropPhoto type from VK API Schema(users_crop_photo).
UsersCropPhotoCrop type from VK API Schema(users_crop_photo_crop).
UsersCropPhotoRect type from VK API Schema(users_crop_photo_rect).
UsersExports type from VK API Schema(users_exports).
UsersGetFollowersParams params for users.getFollowers method
https://vk.com/dev/users.getFollowers.
UsersGetNearbyParams params for users.getNearby method
https://vk.com/dev/users.getNearby.
UsersGetParams params for users.get method
https://vk.com/dev/users.get.
UsersGetSubscriptionsParams params for users.getSubscriptions method
https://vk.com/dev/users.getSubscriptions.
UsersIsAppUserParams params for users.isAppUser method
https://vk.com/dev/users.isAppUser.
UsersLastSeen type from VK API Schema(users_last_seen).
UsersMilitary type from VK API Schema(users_military).
UsersOccupation type from VK API Schema(users_occupation).
UsersPersonal type from VK API Schema(users_personal).
UsersRelative type from VK API Schema(users_relative).
UsersReportParams params for users.report method
https://vk.com/dev/users.report.
UsersSchool type from VK API Schema(users_school).
UsersSearchParams params for users.search method
https://vk.com/dev/users.search.
UsersUniversity type from VK API Schema(users_university).
UsersUser type from VK API Schema(users_user).
UsersUserBroadcast type from VK API Schema(users_user_broadcast).
UsersUserCounters type from VK API Schema(users_user_counters).
UsersUserFull type from VK API Schema(users_user_full).
UsersUserFullXtrType type from VK API Schema(users_user_full_xtr_type).
UsersUserLim type from VK API Schema(users_user_lim).
UsersUserMin type from VK API Schema(users_user_min).
UsersUsersArray type from VK API Schema(users_users_array).
UsersUserXtrCounters type from VK API Schema(users_user_xtr_counters).
UsersUserXtrType type from VK API Schema(users_user_xtr_type).
UserUnblockEvent remove a user from the blacklist.
UtilsDomainResolved type from VK API Schema(utils_domain_resolved).
UtilsLastShortenedLink type from VK API Schema(utils_last_shortened_link).
UtilsLinkChecked type from VK API Schema(utils_link_checked).
UtilsLinkStats type from VK API Schema(utils_link_stats).
UtilsLinkStatsExtended type from VK API Schema(utils_link_stats_extended).
UtilsShortLink type from VK API Schema(utils_short_link).
UtilsStats type from VK API Schema(utils_stats).
UtilsStatsCity type from VK API Schema(utils_stats_city).
UtilsStatsCountry type from VK API Schema(utils_stats_country).
UtilsStatsExtended type from VK API Schema(utils_stats_extended).
UtilsStatsSexAge type from VK API Schema(utils_stats_sex_age).
VideoCatBlock type from VK API Schema(video_cat_block).
VideoCatElement type from VK API Schema(video_cat_element).
VideoCommentDeleteEvent delete a comment for a video.
VideoCommentNewEvent add a comment to a video.
VideoSaveResult type from VK API Schema(video_save_result).
VideoUploadResponse type from VK API Schema(video_upload_response).
VideoVideo type from VK API Schema(video_video).
VideoVideoAlbum type from VK API Schema(video_video_album).
VideoVideoAlbumFull type from VK API Schema(video_video_album_full).
VideoVideoFiles type from VK API Schema(video_video_files).
VideoVideoFull type from VK API Schema(video_video_full).
VideoVideoTag type from VK API Schema(video_video_tag).
VideoVideoTagInfo type from VK API Schema(video_video_tag_info).
VkBot interacts with the VK API.
VkError is a error in response of VK API.
VkPayTransactionEvent payment via VK Pay.
VkResponse is a raw response from the VK API.
WallAppPost type from VK API Schema(wall_app_post).
WallAttachedNote type from VK API Schema(wall_attached_note).
WallCommentAttachment type from VK API Schema(wall_comment_attachment).
WallGraffiti type from VK API Schema(wall_graffiti).
WallPostedPhoto type from VK API Schema(wall_posted_photo).
WallPostNewEvent writing on the wall.
WallPostSource type from VK API Schema(wall_post_source).
WallReplyDeleteEvent deleting a comment on the wall.
WallReplyNewEvent adding a comment on the wall.
WallViews type from VK API Schema(wall_views).
WallWallComment type from VK API Schema(wall_wall_comment).
WallWallpost type from VK API Schema(wall_wallpost).
WallWallpostAttached type from VK API Schema(wall_wallpost_attached).
WallWallpostAttachment type from VK API Schema(wall_wallpost_attachment).
WallWallpostFull type from VK API Schema(wall_wallpost_full).
WallWallpostToID type from VK API Schema(wall_wallpost_to_id).
WidgetsCommentMedia type from VK API Schema(widgets_comment_media).
WidgetsCommentReplies type from VK API Schema(widgets_comment_replies).
WidgetsCommentRepliesItem type from VK API Schema(widgets_comment_replies_item).
WidgetsWidgetComment type from VK API Schema(widgets_widget_comment).
WidgetsWidgetLikes type from VK API Schema(widgets_widget_likes).
WidgetsWidgetPage type from VK API Schema(widgets_widget_page).
# Interfaces
APIParameters describes API method parameters with validate method.
# Type aliases
AccountNameRequestStatus type from VK API Schema(account_name_request_status).
AccountOnoffOptions type from VK API Schema(account_onoff_options).
AccountPushParamsMode type from VK API Schema(account_push_params_mode).
AccountPushParamsSettings type from VK API Schema(account_push_params_settings).
AdsAccessRole type from VK API Schema(ads_access_role).
AdsAccountType type from VK API Schema(ads_account_type).
AdsAdApproved type from VK API Schema(ads_ad_approved).
AdsAdCostType type from VK API Schema(ads_ad_cost_type).
AdsAdLayoutCostType type from VK API Schema(ads_ad_layout_cost_type).
AdsAdStatus type from VK API Schema(ads_ad_status).
AdsCampaignStatus type from VK API Schema(ads_campaign_status).
AdsCampaignType type from VK API Schema(ads_campaign_type).
AdsCriteriaSex type from VK API Schema(ads_criteria_sex).
AdsObjectType type from VK API Schema(ads_object_type).
AdsStatsSexValue type from VK API Schema(ads_stats_sex_value).
AdsTargSuggestionsSchoolsType type from VK API Schema(ads_targ_suggestions_schools_type).
AppsAppLeaderboardType type from VK API Schema(apps_app_leaderboard_type).
AppsAppType type from VK API Schema(apps_app_type).
AudioNewEvent adding audio.
BaseBoolInt type from VK API Schema(base_bool_int).
BaseLinkButtonActionType type from VK API Schema(base_link_button_action_type).
BaseOkResponse type from VK API Schema(base_ok_response).
BasePropertyExists type from VK API Schema(base_property_exists).
BaseSex type from VK API Schema(base_sex).
BoardDefaultOrder type from VK API Schema(board_default_order).
BoardPostEditEvent editing a comment.
BoardPostRestoreEvent restoring a comment.
FriendsFriendStatusStatus type from VK API Schema(friends_friend_status_status).
GiftsGiftPrivacy type from VK API Schema(gifts_gift_privacy).
GroupsBanInfoReason type from VK API Schema(groups_ban_info_reason).
GroupsGroupAdminLevel type from VK API Schema(groups_group_admin_level).
GroupsGroupFullAgeLimits type from VK API Schema(groups_group_full_age_limits).
GroupsGroupFullMainSection type from VK API Schema(groups_group_full_main_section).
GroupsGroupFullMemberStatus type from VK API Schema(groups_group_full_member_status).
GroupsGroupIsClosed type from VK API Schema(groups_group_is_closed).
GroupsGroupType type from VK API Schema(groups_group_type).
GroupsGroupXtrInvitedByAdminLevel type from VK API Schema(groups_group_xtr_invited_by_admin_level).
GroupsGroupXtrInvitedByType type from VK API Schema(groups_group_xtr_invited_by_type).
GroupsMemberRoleStatus type from VK API Schema(groups_member_role_status).
GroupsOnlineStatusType type from VK API Schema(groups_online_status_type).
GroupsOwnerXtrBanInfoType type from VK API Schema(groups_owner_xtr_ban_info_type).
GroupsRoleOptions type from VK API Schema(groups_role_options).
LeadsCheckedResult type from VK API Schema(leads_checked_result).
MarketCommentEditEvent editing a product comment.
MarketCommentRestoreEvent restore review to the product.
MarketMarketItemAvailability type from VK API Schema(market_market_item_availability).
MessageEditEvent to edit the message.
MessageNewEvent incoming message.
MessageReplyEvent new outgoing message.
MessagesChatSettingsState type from VK API Schema(messages_chat_settings_state).
MessagesHistoryMessageAttachmentType type from VK API Schema(messages_history_message_attachment_type).
MessagesMessageActionStatus type from VK API Schema(messages_message_action_status).
MessagesMessageAttachmentType type from VK API Schema(messages_message_attachment_type).
NewsfeedItemWallpostType type from VK API Schema(newsfeed_item_wallpost_type).
NewsfeedNewsfeedItemType type from VK API Schema(newsfeed_newsfeed_item_type).
PagesPrivacySettings type from VK API Schema(pages_privacy_settings).
PhotoCommentEditEvent editing a photo comment.
PhotoCommentRestoreEvent restore a comment to a photo.
PhotoNewEvent adding a photo.
PhotosImageType type from VK API Schema(photos_image_type).
PhotosPhotoSizesType type from VK API Schema(photos_photo_sizes_type).
SearchHintSection type from VK API Schema(search_hint_section).
SearchHintType type from VK API Schema(search_hint_type).
StoriesStoryStatsState type from VK API Schema(stories_story_stats_state).
StoriesStoryType type from VK API Schema(stories_story_type).
UsersUserType type from VK API Schema(users_user_type).
UtilsDomainResolvedType type from VK API Schema(utils_domain_resolved_type).
UtilsLinkCheckedStatus type from VK API Schema(utils_link_checked_status).
VideoCatBlockView type from VK API Schema(video_cat_block_view).
VideoCatElementType type from VK API Schema(video_cat_element_type).
VideoCommentEditEvent editing a video comment.
VideoCommentRestoreEvent restore a comment to a video.
VideoNewEvent adding a video.
WallCommentAttachmentType type from VK API Schema(wall_comment_attachment_type).
WallPostSourceType type from VK API Schema(wall_post_source_type).
WallPostType type from VK API Schema(wall_post_type).
WallReplyEditEvent editing a comment on the wall.
WallReplyRestoreEvent restoring a comment on the wall.
WallRepostEvent repost entries from the community.
WallWallpostAttachmentType type from VK API Schema(wall_wallpost_attachment_type).
WidgetsCommentMediaType type from VK API Schema(widgets_comment_media_type).