/* eslint-disable */ import * as Params from "./params.d"; import * as Responses from "./responses.d"; /** * The API account group */ export interface APIAccount { ban(params: Params.AccountBanParams): Promise; /** * Changes a user password after access is successfully restored with the [vk.com/dev/auth.restore|auth.restore] method. */ changePassword(params: Params.AccountChangePasswordParams): Promise; /** * Returns a list of active ads (offers) which executed by the user will bring him/her respective number of votes to his balance in the application. */ getActiveOffers(params: Params.AccountGetActiveOffersParams): Promise; /** * Gets settings of the user in this application. */ getAppPermissions(params: Params.AccountGetAppPermissionsParams): Promise; /** * Returns a user's blacklist. */ getBanned(params: Params.AccountGetBannedParams): Promise; /** * Returns non-null values of user counters. */ getCounters(params: Params.AccountGetCountersParams): Promise; /** * Returns current account info. */ getInfo(params: Params.AccountGetInfoParams): Promise; /** * Returns the current account info. */ getProfileInfo(params: Params.AccountGetProfileInfoParams): Promise; /** * Gets settings of push notifications. */ getPushSettings(params: Params.AccountGetPushSettingsParams): Promise; /** * Subscribes an iOS/Android/Windows Phone-based device to receive push notifications */ registerDevice(params: Params.AccountRegisterDeviceParams): Promise; /** * Edits current profile info. */ saveProfileInfo(params: Params.AccountSaveProfileInfoParams): Promise; /** * Allows to edit the current account info. */ setInfo(params: Params.AccountSetInfoParams): Promise; /** * Sets an application screen name (up to 17 characters), that is shown to the user in the left menu. */ setNameInMenu(params: Params.AccountSetNameInMenuParams): Promise; /** * Marks a current user as offline. */ setOffline(params: Params.AccountSetOfflineParams): Promise; /** * Marks the current user as online for 15 minutes. */ setOnline(params: Params.AccountSetOnlineParams): Promise; /** * Change push settings. */ setPushSettings(params: Params.AccountSetPushSettingsParams): Promise; /** * Mutes push notifications for the set period of time. */ setSilenceMode(params: Params.AccountSetSilenceModeParams): Promise; unban(params: Params.AccountUnbanParams): Promise; /** * Unsubscribes a device from push notifications. */ unregisterDevice(params: Params.AccountUnregisterDeviceParams): Promise; } /** * The API ads group */ export interface APIAds { /** * Adds managers and/or supervisors to advertising account. */ addOfficeUsers(params: Params.AdsAddOfficeUsersParams): Promise; /** * Allows to check the ad link. */ checkLink(params: Params.AdsCheckLinkParams): Promise; /** * Creates ads. */ createAds(params: Params.AdsCreateAdsParams): Promise; /** * Creates advertising campaigns. */ createCampaigns(params: Params.AdsCreateCampaignsParams): Promise; /** * Creates clients of an advertising agency. */ createClients(params: Params.AdsCreateClientsParams): Promise; /** * Creates a group to re-target ads for users who visited advertiser's site (viewed information about the product, registered, etc.). */ createTargetGroup(params: Params.AdsCreateTargetGroupParams): Promise; /** * Archives ads. */ deleteAds(params: Params.AdsDeleteAdsParams): Promise; /** * Archives advertising campaigns. */ deleteCampaigns(params: Params.AdsDeleteCampaignsParams): Promise; /** * Archives clients of an advertising agency. */ deleteClients(params: Params.AdsDeleteClientsParams): Promise; /** * Deletes a retarget group. */ deleteTargetGroup(params: Params.AdsDeleteTargetGroupParams): Promise; /** * Returns a list of advertising accounts. */ getAccounts(params: Params.AdsGetAccountsParams): Promise; /** * Returns number of ads. */ getAds(params: Params.AdsGetAdsParams): Promise; /** * Returns descriptions of ad layouts. */ getAdsLayout(params: Params.AdsGetAdsLayoutParams): Promise; /** * Returns ad targeting parameters. */ getAdsTargeting(params: Params.AdsGetAdsTargetingParams): Promise; /** * Returns current budget of the advertising account. */ getBudget(params: Params.AdsGetBudgetParams): Promise; /** * Returns a list of campaigns in an advertising account. */ getCampaigns(params: Params.AdsGetCampaignsParams): Promise; /** * Returns a list of possible ad categories. */ getCategories(params: Params.AdsGetCategoriesParams): Promise; /** * Returns a list of advertising agency's clients. */ getClients(params: Params.AdsGetClientsParams): Promise; /** * Returns demographics for ads or campaigns. */ getDemographics(params: Params.AdsGetDemographicsParams): Promise; /** * Returns information about current state of a counter — number of remaining runs of methods and time to the next counter nulling in seconds. */ getFloodStats(params: Params.AdsGetFloodStatsParams): Promise; /** * Returns a list of managers and supervisors of advertising account. */ getOfficeUsers(params: Params.AdsGetOfficeUsersParams): Promise; /** * Returns detailed statistics of promoted posts reach from campaigns and ads. */ getPostsReach(params: Params.AdsGetPostsReachParams): Promise; /** * Returns a reason of ad rejection for pre-moderation. */ getRejectionReason(params: Params.AdsGetRejectionReasonParams): Promise; /** * Returns statistics of performance indicators for ads, campaigns, clients or the whole account. */ getStatistics(params: Params.AdsGetStatisticsParams): Promise; /** * Returns a set of auto-suggestions for various targeting parameters. */ getSuggestions(params: Params.AdsGetSuggestionsParams): Promise; /** * Returns a list of target groups. */ getTargetGroups(params: Params.AdsGetTargetGroupsParams): Promise; /** * Returns the size of targeting audience, and also recommended values for CPC and CPM. */ getTargetingStats(params: Params.AdsGetTargetingStatsParams): Promise; /** * Returns URL to upload an ad photo to. */ getUploadURL(params: Params.AdsGetUploadURLParams): Promise; /** * Returns URL to upload an ad video to. */ getVideoUploadURL(params: Params.AdsGetVideoUploadURLParams): Promise; /** * Imports a list of advertiser's contacts to count VK registered users against the target group. */ importTargetContacts(params: Params.AdsImportTargetContactsParams): Promise; /** * Removes managers and/or supervisors from advertising account. */ removeOfficeUsers(params: Params.AdsRemoveOfficeUsersParams): Promise; /** * Edits ads. */ updateAds(params: Params.AdsUpdateAdsParams): Promise; /** * Edits advertising campaigns. */ updateCampaigns(params: Params.AdsUpdateCampaignsParams): Promise; /** * Edits clients of an advertising agency. */ updateClients(params: Params.AdsUpdateClientsParams): Promise; /** * Edits a retarget group. */ updateTargetGroup(params: Params.AdsUpdateTargetGroupParams): Promise; } /** * The API apps group */ export interface APIApps { /** * Deletes all request notifications from the current app. */ deleteAppRequests(params: Params.AppsDeleteAppRequestsParams): Promise; /** * Returns applications data. */ get(params: Params.AppsGetParams): Promise; /** * Returns a list of applications (apps) available to users in the App Catalog. */ getCatalog(params: Params.AppsGetCatalogParams): Promise; /** * Creates friends list for requests and invites in current app. */ getFriendsList(params: Params.AppsGetFriendsListParams): Promise; /** * Returns players rating in the game. */ getLeaderboard(params: Params.AppsGetLeaderboardParams): Promise; /** * Returns scopes for auth */ getScopes(params: Params.AppsGetScopesParams): Promise; /** * Returns user score in app */ getScore(params: Params.AppsGetScoreParams): Promise; /** * Sends a request to another user in an app that uses VK authorization. */ sendRequest(params: Params.AppsSendRequestParams): Promise; } /** * The API auth group */ export interface APIAuth { /** * Checks a user's phone number for correctness. */ checkPhone(params: Params.AuthCheckPhoneParams): Promise; /** * Allows to restore account access using a code received via SMS. " This method is only available for apps with [vk.com/dev/auth_direct|Direct authorization] access. " */ restore(params: Params.AuthRestoreParams): Promise; } /** * The API board group */ export interface APIBoard { /** * Creates a new topic on a community's discussion board. */ addTopic(params: Params.BoardAddTopicParams): Promise; /** * Closes a topic on a community's discussion board so that comments cannot be posted. */ closeTopic(params: Params.BoardCloseTopicParams): Promise; /** * Adds a comment on a topic on a community's discussion board. */ createComment(params: Params.BoardCreateCommentParams): Promise; /** * Deletes a comment on a topic on a community's discussion board. */ deleteComment(params: Params.BoardDeleteCommentParams): Promise; /** * Deletes a topic from a community's discussion board. */ deleteTopic(params: Params.BoardDeleteTopicParams): Promise; /** * Edits a comment on a topic on a community's discussion board. */ editComment(params: Params.BoardEditCommentParams): Promise; /** * Edits the title of a topic on a community's discussion board. */ editTopic(params: Params.BoardEditTopicParams): Promise; /** * Pins a topic (fixes its place) to the top of a community's discussion board. */ fixTopic(params: Params.BoardFixTopicParams): Promise; /** * Returns a list of comments on a topic on a community's discussion board. */ getComments(params: Params.BoardGetCommentsParams): Promise; /** * Returns a list of topics on a community's discussion board. */ getTopics(params: Params.BoardGetTopicsParams): Promise; /** * Re-opens a previously closed topic on a community's discussion board. */ openTopic(params: Params.BoardOpenTopicParams): Promise; /** * Restores a comment deleted from a topic on a community's discussion board. */ restoreComment(params: Params.BoardRestoreCommentParams): Promise; /** * Unpins a pinned topic from the top of a community's discussion board. */ unfixTopic(params: Params.BoardUnfixTopicParams): Promise; } /** * The API database group */ export interface APIDatabase { /** * Returns list of chairs on a specified faculty. */ getChairs(params: Params.DatabaseGetChairsParams): Promise; /** * Returns a list of cities. */ getCities(params: Params.DatabaseGetCitiesParams): Promise; /** * Returns information about cities by their IDs. */ getCitiesById(params: Params.DatabaseGetCitiesByIdParams): Promise; /** * Returns a list of countries. */ getCountries(params: Params.DatabaseGetCountriesParams): Promise; /** * Returns information about countries by their IDs. */ getCountriesById(params: Params.DatabaseGetCountriesByIdParams): Promise; /** * Returns a list of faculties (i.e., university departments). */ getFaculties(params: Params.DatabaseGetFacultiesParams): Promise; /** * Get metro stations by city */ getMetroStations(params: Params.DatabaseGetMetroStationsParams): Promise; /** * Get metro station by his id */ getMetroStationsById(params: Params.DatabaseGetMetroStationsByIdParams): Promise; /** * Returns a list of regions. */ getRegions(params: Params.DatabaseGetRegionsParams): Promise; /** * Returns a list of school classes specified for the country. */ getSchoolClasses(params: Params.DatabaseGetSchoolClassesParams): Promise; /** * Returns a list of schools. */ getSchools(params: Params.DatabaseGetSchoolsParams): Promise; /** * Returns a list of higher education institutions. */ getUniversities(params: Params.DatabaseGetUniversitiesParams): Promise; } /** * The API docs group */ export interface APIDocs { /** * Copies a document to a user's or community's document list. */ add(params: Params.DocsAddParams): Promise; /** * Deletes a user or community document. */ delete(params: Params.DocsDeleteParams): Promise; /** * Edits a document. */ edit(params: Params.DocsEditParams): Promise; /** * Returns detailed information about user or community documents. */ get(params: Params.DocsGetParams): Promise; /** * Returns information about documents by their IDs. */ getById(params: Params.DocsGetByIdParams): Promise; /** * Returns the server address for document upload. */ getMessagesUploadServer(params: Params.DocsGetMessagesUploadServerParams): Promise; /** * Returns documents types available for current user. */ getTypes(params: Params.DocsGetTypesParams): Promise; /** * Returns the server address for document upload. */ getUploadServer(params: Params.DocsGetUploadServerParams): Promise; /** * Returns the server address for document upload onto a user's or community's wall. */ getWallUploadServer(params: Params.DocsGetWallUploadServerParams): Promise; /** * Saves a document after [vk.com/dev/upload_files_2|uploading it to a server]. */ save(params: Params.DocsSaveParams): Promise; /** * Returns a list of documents matching the search criteria. */ search(params: Params.DocsSearchParams): Promise; } /** * The API fave group */ export interface APIFave { /** * Adds a community to user faves. */ addGroup(params: Params.FaveAddGroupParams): Promise; /** * Adds a link to user faves. */ addLink(params: Params.FaveAddLinkParams): Promise; /** * Adds a profile to user faves. */ addUser(params: Params.FaveAddUserParams): Promise; /** * Returns a list of links that the current user has bookmarked. */ getLinks(params: Params.FaveGetLinksParams): Promise; /** * Returns market items bookmarked by current user. */ getMarketItems(params: Params.FaveGetMarketItemsParams): Promise; /** * Returns a list of photos that the current user has liked. */ getPhotos(params: Params.FaveGetPhotosParams): Promise; /** * Returns a list of wall posts that the current user has liked. */ getPosts(params: Params.FaveGetPostsParams): Promise; /** * Returns a list of users whom the current user has bookmarked. */ getUsers(params: Params.FaveGetUsersParams): Promise; /** * Returns a list of videos that the current user has liked. */ getVideos(params: Params.FaveGetVideosParams): Promise; /** * Removes a community from user faves. */ removeGroup(params: Params.FaveRemoveGroupParams): Promise; /** * Removes link from the user's faves. */ removeLink(params: Params.FaveRemoveLinkParams): Promise; /** * Removes a profile from user faves. */ removeUser(params: Params.FaveRemoveUserParams): Promise; } /** * The API friends group */ export interface APIFriends { /** * Approves or creates a friend request. */ add(params: Params.FriendsAddParams): Promise; /** * Creates a new friend list for the current user. */ addList(params: Params.FriendsAddListParams): Promise; /** * Checks the current user's friendship status with other specified users. */ areFriends(params: Params.FriendsAreFriendsParams): Promise; /** * Declines a friend request or deletes a user from the current user's friend list. */ delete(params: Params.FriendsDeleteParams): Promise; /** * Marks all incoming friend requests as viewed. */ deleteAllRequests(params: Params.FriendsDeleteAllRequestsParams): Promise; /** * Deletes a friend list of the current user. */ deleteList(params: Params.FriendsDeleteListParams): Promise; /** * Edits the friend lists of the selected user. */ edit(params: Params.FriendsEditParams): Promise; /** * Edits a friend list of the current user. */ editList(params: Params.FriendsEditListParams): Promise; /** * Returns a list of user IDs or detailed information about a user's friends. */ get(params: Params.FriendsGetParams): Promise; /** * Returns a list of IDs of the current user's friends who installed the application. */ getAppUsers(params: Params.FriendsGetAppUsersParams): Promise; /** * Returns a list of the current user's friends whose phone numbers, validated or specified in a profile, are in a given list. */ getByPhones(params: Params.FriendsGetByPhonesParams): Promise; /** * Returns a list of the user's friend lists. */ getLists(params: Params.FriendsGetListsParams): Promise; /** * Returns a list of user IDs of the mutual friends of two users. */ getMutual(params: Params.FriendsGetMutualParams): Promise; /** * Returns a list of user IDs of a user's friends who are online. */ getOnline(params: Params.FriendsGetOnlineParams): Promise; /** * Returns a list of user IDs of the current user's recently added friends. */ getRecent(params: Params.FriendsGetRecentParams): Promise; /** * Returns information about the current user's incoming and outgoing friend requests. */ getRequests(params: Params.FriendsGetRequestsParams): Promise; /** * Returns a list of profiles of users whom the current user may know. */ getSuggestions(params: Params.FriendsGetSuggestionsParams): Promise; /** * Returns a list of friends matching the search criteria. */ search(params: Params.FriendsSearchParams): Promise; } /** * The API gifts group */ export interface APIGifts { /** * Returns a list of user gifts. */ get(params: Params.GiftsGetParams): Promise; } /** * The API groups group */ export interface APIGroups { addAddress(params: Params.GroupsAddAddressParams): Promise; /** * Allows to add a link to the community. */ addLink(params: Params.GroupsAddLinkParams): Promise; /** * Allows to approve join request to the community. */ approveRequest(params: Params.GroupsApproveRequestParams): Promise; ban(params: Params.GroupsBanParams): Promise; /** * Creates a new community. */ create(params: Params.GroupsCreateParams): Promise; deleteCallbackServer(params: Params.GroupsDeleteCallbackServerParams): Promise; /** * Allows to delete a link from the community. */ deleteLink(params: Params.GroupsDeleteLinkParams): Promise; disableOnline(params: Params.GroupsDisableOnlineParams): Promise; /** * Edits a community. */ edit(params: Params.GroupsEditParams): Promise; editAddress(params: Params.GroupsEditAddressParams): Promise; editCallbackServer(params: Params.GroupsEditCallbackServerParams): Promise; /** * Allows to edit a link in the community. */ editLink(params: Params.GroupsEditLinkParams): Promise; /** * Allows to add, remove or edit the community manager. */ editManager(params: Params.GroupsEditManagerParams): Promise; enableOnline(params: Params.GroupsEnableOnlineParams): Promise; /** * Returns a list of the communities to which a user belongs. */ get(params: Params.GroupsGetParams): Promise; /** * Returns a list of community addresses. */ getAddresses(params: Params.GroupsGetAddressesParams): Promise; /** * Returns a list of users on a community blacklist. */ getBanned(params: Params.GroupsGetBannedParams): Promise; /** * Returns information about communities by their IDs. */ getById(params: Params.GroupsGetByIdParams): Promise; /** * Returns Callback API confirmation code for the community. */ getCallbackConfirmationCode(params: Params.GroupsGetCallbackConfirmationCodeParams): Promise; /** * Returns [vk.com/dev/callback_api|Callback API] notifications settings. */ getCallbackSettings(params: Params.GroupsGetCallbackSettingsParams): Promise; /** * Returns communities list for a catalog category. */ getCatalog(params: Params.GroupsGetCatalogParams): Promise; /** * Returns categories list for communities catalog */ getCatalogInfo(params: Params.GroupsGetCatalogInfoParams): Promise; /** * Returns invited users list of a community */ getInvitedUsers(params: Params.GroupsGetInvitedUsersParams): Promise; /** * Returns a list of invitations to join communities and events. */ getInvites(params: Params.GroupsGetInvitesParams): Promise; /** * Returns the data needed to query a Long Poll server for events */ getLongPollServer(params: Params.GroupsGetLongPollServerParams): Promise; /** * Returns Long Poll notification settings */ getLongPollSettings(params: Params.GroupsGetLongPollSettingsParams): Promise; /** * Returns a list of community members. */ getMembers(params: Params.GroupsGetMembersParams): Promise; /** * Returns a list of requests to the community. */ getRequests(params: Params.GroupsGetRequestsParams): Promise; /** * Returns community settings. */ getSettings(params: Params.GroupsGetSettingsParams): Promise; /** * Allows to invite friends to the community. */ invite(params: Params.GroupsInviteParams): Promise; /** * Returns information specifying whether a user is a member of a community. */ isMember(params: Params.GroupsIsMemberParams): Promise; /** * With this method you can join the group or public page, and also confirm your participation in an event. */ join(params: Params.GroupsJoinParams): Promise; /** * With this method you can leave a group, public page, or event. */ leave(params: Params.GroupsLeaveParams): Promise; /** * Removes a user from the community. */ removeUser(params: Params.GroupsRemoveUserParams): Promise; /** * Allows to reorder links in the community. */ reorderLink(params: Params.GroupsReorderLinkParams): Promise; /** * Returns a list of communities matching the search criteria. */ search(params: Params.GroupsSearchParams): Promise; /** * Allow to set notifications settings for group. */ setCallbackSettings(params: Params.GroupsSetCallbackSettingsParams): Promise; /** * Sets Long Poll notification settings */ setLongPollSettings(params: Params.GroupsSetLongPollSettingsParams): Promise; unban(params: Params.GroupsUnbanParams): Promise; } /** * The API leads group */ export interface APILeads { /** * Checks if the user can start the lead. */ checkUser(params: Params.LeadsCheckUserParams): Promise; /** * Completes the lead started by user. */ complete(params: Params.LeadsCompleteParams): Promise; /** * Returns lead stats data. */ getStats(params: Params.LeadsGetStatsParams): Promise; /** * Returns a list of last user actions for the offer. */ getUsers(params: Params.LeadsGetUsersParams): Promise; /** * Counts the metric event. */ metricHit(params: Params.LeadsMetricHitParams): Promise; /** * Creates new session for the user passing the offer. */ start(params: Params.LeadsStartParams): Promise; } /** * The API likes group */ export interface APILikes { /** * Adds the specified object to the 'Likes' list of the current user. */ add(params: Params.LikesAddParams): Promise; /** * Deletes the specified object from the 'Likes' list of the current user. */ delete(params: Params.LikesDeleteParams): Promise; /** * Returns a list of IDs of users who added the specified object to their 'Likes' list. */ getList(params: Params.LikesGetListParams): Promise; /** * Checks for the object in the 'Likes' list of the specified user. */ isLiked(params: Params.LikesIsLikedParams): Promise; } /** * The API market group */ export interface APIMarket { /** * Ads a new item to the market. */ add(params: Params.MarketAddParams): Promise; /** * Creates new collection of items */ addAlbum(params: Params.MarketAddAlbumParams): Promise; /** * Adds an item to one or multiple collections. */ addToAlbum(params: Params.MarketAddToAlbumParams): Promise; /** * Creates a new comment for an item. */ createComment(params: Params.MarketCreateCommentParams): Promise; /** * Deletes an item. */ delete(params: Params.MarketDeleteParams): Promise; /** * Deletes a collection of items. */ deleteAlbum(params: Params.MarketDeleteAlbumParams): Promise; /** * Deletes an item's comment */ deleteComment(params: Params.MarketDeleteCommentParams): Promise; /** * Edits an item. */ edit(params: Params.MarketEditParams): Promise; /** * Edits a collection of items */ editAlbum(params: Params.MarketEditAlbumParams): Promise; /** * Chages item comment's text */ editComment(params: Params.MarketEditCommentParams): Promise; /** * Returns items list for a community. */ get(params: Params.MarketGetParams): Promise; /** * Returns items album's data */ getAlbumById(params: Params.MarketGetAlbumByIdParams): Promise; /** * Returns community's collections list. */ getAlbums(params: Params.MarketGetAlbumsParams): Promise; /** * Returns information about market items by their ids. */ getById(params: Params.MarketGetByIdParams): Promise; /** * Returns a list of market categories. */ getCategories(params: Params.MarketGetCategoriesParams): Promise; /** * Returns comments list for an item. */ getComments(params: Params.MarketGetCommentsParams): Promise; /** * Removes an item from one or multiple collections. */ removeFromAlbum(params: Params.MarketRemoveFromAlbumParams): Promise; /** * Reorders the collections list. */ reorderAlbums(params: Params.MarketReorderAlbumsParams): Promise; /** * Changes item place in a collection. */ reorderItems(params: Params.MarketReorderItemsParams): Promise; /** * Sends a complaint to the item. */ report(params: Params.MarketReportParams): Promise; /** * Sends a complaint to the item's comment. */ reportComment(params: Params.MarketReportCommentParams): Promise; /** * Restores recently deleted item */ restore(params: Params.MarketRestoreParams): Promise; /** * Restores a recently deleted comment */ restoreComment(params: Params.MarketRestoreCommentParams): Promise; /** * Searches market items in a community's catalog */ search(params: Params.MarketSearchParams): Promise; } /** * The API messages group */ export interface APIMessages { /** * Adds a new user to a chat. */ addChatUser(params: Params.MessagesAddChatUserParams): Promise; /** * Allows sending messages from community to the current user. */ allowMessagesFromGroup(params: Params.MessagesAllowMessagesFromGroupParams): Promise; /** * Creates a chat with several participants. */ createChat(params: Params.MessagesCreateChatParams): Promise; /** * Deletes one or more messages. */ delete(params: Params.MessagesDeleteParams): Promise; /** * Deletes a chat's cover picture. */ deleteChatPhoto(params: Params.MessagesDeleteChatPhotoParams): Promise; /** * Deletes all private messages in a conversation. */ deleteConversation(params: Params.MessagesDeleteConversationParams): Promise; /** * Denies sending message from community to the current user. */ denyMessagesFromGroup(params: Params.MessagesDenyMessagesFromGroupParams): Promise; /** * Edits the message. */ edit(params: Params.MessagesEditParams): Promise; /** * Edits the title of a chat. */ editChat(params: Params.MessagesEditChatParams): Promise; /** * Returns messages by their IDs within the conversation. */ getByConversationMessageId(params: Params.MessagesGetByConversationMessageIdParams): Promise; /** * Returns messages by their IDs. */ getById(params: Params.MessagesGetByIdParams): Promise; getChatPreview(params: Params.MessagesGetChatPreviewParams): Promise; /** * Returns a list of IDs of users participating in a chat. */ getConversationMembers(params: Params.MessagesGetConversationMembersParams): Promise; /** * Returns a list of the current user's conversations. */ getConversations(params: Params.MessagesGetConversationsParams): Promise; /** * Returns conversations by their IDs */ getConversationsById(params: Params.MessagesGetConversationsByIdParams): Promise; /** * Returns message history for the specified user or group chat. */ getHistory(params: Params.MessagesGetHistoryParams): Promise; /** * Returns media files from the dialog or group chat. */ getHistoryAttachments(params: Params.MessagesGetHistoryAttachmentsParams): Promise; getInviteLink(params: Params.MessagesGetInviteLinkParams): Promise; /** * Returns a user's current status and date of last activity. */ getLastActivity(params: Params.MessagesGetLastActivityParams): Promise; /** * Returns updates in user's private messages. */ getLongPollHistory(params: Params.MessagesGetLongPollHistoryParams): Promise; /** * Returns data required for connection to a Long Poll server. */ getLongPollServer(params: Params.MessagesGetLongPollServerParams): Promise; /** * Returns information whether sending messages from the community to current user is allowed. */ isMessagesFromGroupAllowed(params: Params.MessagesIsMessagesFromGroupAllowedParams): Promise; joinChatByInviteLink(params: Params.MessagesJoinChatByInviteLinkParams): Promise; /** * Marks and unmarks conversations as unanswered. */ markAsAnsweredConversation(params: Params.MessagesMarkAsAnsweredConversationParams): Promise; /** * Marks and unmarks messages as important (starred). */ markAsImportant(params: Params.MessagesMarkAsImportantParams): Promise; /** * Marks and unmarks conversations as important. */ markAsImportantConversation(params: Params.MessagesMarkAsImportantConversationParams): Promise; /** * Marks messages as read. */ markAsRead(params: Params.MessagesMarkAsReadParams): Promise; /** * Pin a message. */ pin(params: Params.MessagesPinParams): Promise; /** * 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. */ removeChatUser(params: Params.MessagesRemoveChatUserParams): Promise; /** * Restores a deleted message. */ restore(params: Params.MessagesRestoreParams): Promise; /** * Returns a list of the current user's private messages that match search criteria. */ search(params: Params.MessagesSearchParams): Promise; /** * Returns a list of the current user's conversations that match search criteria. */ searchConversations(params: Params.MessagesSearchConversationsParams): Promise; /** * Sends a message. */ send(params: Params.MessagesSendParams): Promise; /** * Changes the status of a user as typing in a conversation. */ setActivity(params: Params.MessagesSetActivityParams): Promise; /** * Sets a previously-uploaded picture as the cover picture of a chat. */ setChatPhoto(params: Params.MessagesSetChatPhotoParams): Promise; unpin(params: Params.MessagesUnpinParams): Promise; } /** * The API newsfeed group */ export interface APINewsfeed { /** * Prevents news from specified users and communities from appearing in the current user's newsfeed. */ addBan(params: Params.NewsfeedAddBanParams): Promise; /** * Allows news from previously banned users and communities to be shown in the current user's newsfeed. */ deleteBan(params: Params.NewsfeedDeleteBanParams): Promise; deleteList(params: Params.NewsfeedDeleteListParams): Promise; /** * Returns data required to show newsfeed for the current user. */ get(params: Params.NewsfeedGetParams): Promise; /** * Returns a list of users and communities banned from the current user's newsfeed. */ getBanned(params: Params.NewsfeedGetBannedParams): Promise; /** * Returns a list of comments in the current user's newsfeed. */ getComments(params: Params.NewsfeedGetCommentsParams): Promise; /** * Returns a list of newsfeeds followed by the current user. */ getLists(params: Params.NewsfeedGetListsParams): Promise; /** * Returns a list of posts on user walls in which the current user is mentioned. */ getMentions(params: Params.NewsfeedGetMentionsParams): Promise; /** * , Returns a list of newsfeeds recommended to the current user. */ getRecommended(params: Params.NewsfeedGetRecommendedParams): Promise; /** * Returns communities and users that current user is suggested to follow. */ getSuggestedSources(params: Params.NewsfeedGetSuggestedSourcesParams): Promise; /** * Hides an item from the newsfeed. */ ignoreItem(params: Params.NewsfeedIgnoreItemParams): Promise; /** * Creates and edits user newsfeed lists */ saveList(params: Params.NewsfeedSaveListParams): Promise; /** * Returns search results by statuses. */ search(params: Params.NewsfeedSearchParams): Promise; /** * Returns a hidden item to the newsfeed. */ unignoreItem(params: Params.NewsfeedUnignoreItemParams): Promise; /** * Unsubscribes the current user from specified newsfeeds. */ unsubscribe(params: Params.NewsfeedUnsubscribeParams): Promise; } /** * The API notes group */ export interface APINotes { /** * Creates a new note for the current user. */ add(params: Params.NotesAddParams): Promise; /** * Adds a new comment on a note. */ createComment(params: Params.NotesCreateCommentParams): Promise; /** * Deletes a note of the current user. */ delete(params: Params.NotesDeleteParams): Promise; /** * Deletes a comment on a note. */ deleteComment(params: Params.NotesDeleteCommentParams): Promise; /** * Edits a note of the current user. */ edit(params: Params.NotesEditParams): Promise; /** * Edits a comment on a note. */ editComment(params: Params.NotesEditCommentParams): Promise; /** * Returns a list of notes created by a user. */ get(params: Params.NotesGetParams): Promise; /** * Returns a note by its ID. */ getById(params: Params.NotesGetByIdParams): Promise; /** * Returns a list of comments on a note. */ getComments(params: Params.NotesGetCommentsParams): Promise; /** * Restores a deleted comment on a note. */ restoreComment(params: Params.NotesRestoreCommentParams): Promise; } /** * The API notifications group */ export interface APINotifications { /** * Returns a list of notifications about other users' feedback to the current user's wall posts. */ get(params: Params.NotificationsGetParams): Promise; /** * Resets the counter of new notifications about other users' feedback to the current user's wall posts. */ markAsViewed(params: Params.NotificationsMarkAsViewedParams): Promise; } /** * The API orders group */ export interface APIOrders { cancelSubscription(params: Params.OrdersCancelSubscriptionParams): Promise; /** * Changes order status. */ changeState(params: Params.OrdersChangeStateParams): Promise; /** * Returns a list of orders. */ get(params: Params.OrdersGetParams): Promise; getAmount(params: Params.OrdersGetAmountParams): Promise; /** * Returns information about orders by their IDs. */ getById(params: Params.OrdersGetByIdParams): Promise; getUserSubscriptionById(params: Params.OrdersGetUserSubscriptionByIdParams): Promise; getUserSubscriptions(params: Params.OrdersGetUserSubscriptionsParams): Promise; updateSubscription(params: Params.OrdersUpdateSubscriptionParams): Promise; } /** * The API pages group */ export interface APIPages { /** * Allows to clear the cache of particular 'external' pages which may be attached to VK posts. */ clearCache(params: Params.PagesClearCacheParams): Promise; /** * Returns information about a wiki page. */ get(params: Params.PagesGetParams): Promise; /** * Returns a list of all previous versions of a wiki page. */ getHistory(params: Params.PagesGetHistoryParams): Promise; /** * Returns a list of wiki pages in a group. */ getTitles(params: Params.PagesGetTitlesParams): Promise; /** * Returns the text of one of the previous versions of a wiki page. */ getVersion(params: Params.PagesGetVersionParams): Promise; /** * Returns HTML representation of the wiki markup. */ parseWiki(params: Params.PagesParseWikiParams): Promise; /** * Saves the text of a wiki page. */ save(params: Params.PagesSaveParams): Promise; /** * Saves modified read and edit access settings for a wiki page. */ saveAccess(params: Params.PagesSaveAccessParams): Promise; } /** * The API photos group */ export interface APIPhotos { /** * Confirms a tag on a photo. */ confirmTag(params: Params.PhotosConfirmTagParams): Promise; /** * Allows to copy a photo to the "Saved photos" album */ copy(params: Params.PhotosCopyParams): Promise; /** * Creates an empty photo album. */ createAlbum(params: Params.PhotosCreateAlbumParams): Promise; /** * Adds a new comment on the photo. */ createComment(params: Params.PhotosCreateCommentParams): Promise; /** * Deletes a photo. */ delete(params: Params.PhotosDeleteParams): Promise; /** * Deletes a photo album belonging to the current user. */ deleteAlbum(params: Params.PhotosDeleteAlbumParams): Promise; /** * Deletes a comment on the photo. */ deleteComment(params: Params.PhotosDeleteCommentParams): Promise; /** * Edits the caption of a photo. */ edit(params: Params.PhotosEditParams): Promise; /** * Edits information about a photo album. */ editAlbum(params: Params.PhotosEditAlbumParams): Promise; /** * Edits a comment on a photo. */ editComment(params: Params.PhotosEditCommentParams): Promise; /** * Returns a list of a user's or community's photos. */ get(params: Params.PhotosGetParams): Promise; /** * Returns a list of a user's or community's photo albums. */ getAlbums(params: Params.PhotosGetAlbumsParams): Promise; /** * Returns the number of photo albums belonging to a user or community. */ getAlbumsCount(params: Params.PhotosGetAlbumsCountParams): Promise; /** * Returns a list of photos belonging to a user or community, in reverse chronological order. */ getAll(params: Params.PhotosGetAllParams): Promise; /** * Returns a list of comments on a specific photo album or all albums of the user sorted in reverse chronological order. */ getAllComments(params: Params.PhotosGetAllCommentsParams): Promise; /** * Returns information about photos by their IDs. */ getById(params: Params.PhotosGetByIdParams): Promise; /** * Returns an upload link for chat cover pictures. */ getChatUploadServer(params: Params.PhotosGetChatUploadServerParams): Promise; /** * Returns a list of comments on a photo. */ getComments(params: Params.PhotosGetCommentsParams): Promise; /** * Returns the server address for market album photo upload. */ getMarketAlbumUploadServer(params: Params.PhotosGetMarketAlbumUploadServerParams): Promise; /** * Returns the server address for market photo upload. */ getMarketUploadServer(params: Params.PhotosGetMarketUploadServerParams): Promise; /** * Returns the server address for photo upload in a private message for a user. */ getMessagesUploadServer(params: Params.PhotosGetMessagesUploadServerParams): Promise; /** * Returns a list of photos with tags that have not been viewed. */ getNewTags(params: Params.PhotosGetNewTagsParams): Promise; /** * Returns the server address for owner cover upload. */ getOwnerCoverPhotoUploadServer(params: Params.PhotosGetOwnerCoverPhotoUploadServerParams): Promise; /** * Returns an upload server address for a profile or community photo. */ getOwnerPhotoUploadServer(params: Params.PhotosGetOwnerPhotoUploadServerParams): Promise; /** * Returns a list of tags on a photo. */ getTags(params: Params.PhotosGetTagsParams): Promise; /** * Returns the server address for photo upload. */ getUploadServer(params: Params.PhotosGetUploadServerParams): Promise; /** * Returns a list of photos in which a user is tagged. */ getUserPhotos(params: Params.PhotosGetUserPhotosParams): Promise; /** * Returns the server address for photo upload onto a user's wall. */ getWallUploadServer(params: Params.PhotosGetWallUploadServerParams): Promise; /** * Makes a photo into an album cover. */ makeCover(params: Params.PhotosMakeCoverParams): Promise; /** * Moves a photo from one album to another. */ move(params: Params.PhotosMoveParams): Promise; /** * Adds a tag on the photo. */ putTag(params: Params.PhotosPutTagParams): Promise; /** * Removes a tag from a photo. */ removeTag(params: Params.PhotosRemoveTagParams): Promise; /** * Reorders the album in the list of user albums. */ reorderAlbums(params: Params.PhotosReorderAlbumsParams): Promise; /** * Reorders the photo in the list of photos of the user album. */ reorderPhotos(params: Params.PhotosReorderPhotosParams): Promise; /** * Reports (submits a complaint about) a photo. */ report(params: Params.PhotosReportParams): Promise; /** * Reports (submits a complaint about) a comment on a photo. */ reportComment(params: Params.PhotosReportCommentParams): Promise; /** * Restores a deleted photo. */ restore(params: Params.PhotosRestoreParams): Promise; /** * Restores a deleted comment on a photo. */ restoreComment(params: Params.PhotosRestoreCommentParams): Promise; /** * Saves photos after successful uploading. */ save(params: Params.PhotosSaveParams): Promise; /** * Saves market album photos after successful uploading. */ saveMarketAlbumPhoto(params: Params.PhotosSaveMarketAlbumPhotoParams): Promise; /** * Saves market photos after successful uploading. */ saveMarketPhoto(params: Params.PhotosSaveMarketPhotoParams): Promise; /** * Saves a photo after being successfully uploaded. URL obtained with [vk.com/dev/photos.getMessagesUploadServer|photos.getMessagesUploadServer] method. */ saveMessagesPhoto(params: Params.PhotosSaveMessagesPhotoParams): Promise; /** * Saves cover photo after successful uploading. */ saveOwnerCoverPhoto(params: Params.PhotosSaveOwnerCoverPhotoParams): Promise; /** * Saves a profile or community photo. Upload URL can be got with the [vk.com/dev/photos.getOwnerPhotoUploadServer|photos.getOwnerPhotoUploadServer] method. */ saveOwnerPhoto(params: Params.PhotosSaveOwnerPhotoParams): Promise; /** * Saves a photo to a user's or community's wall after being uploaded. */ saveWallPhoto(params: Params.PhotosSaveWallPhotoParams): Promise; /** * Returns a list of photos. */ search(params: Params.PhotosSearchParams): Promise; } /** * The API polls group */ export interface APIPolls { /** * Adds the current user's vote to the selected answer in the poll. */ addVote(params: Params.PollsAddVoteParams): Promise; /** * Creates polls that can be attached to the users' or communities' posts. */ create(params: Params.PollsCreateParams): Promise; /** * Deletes the current user's vote from the selected answer in the poll. */ deleteVote(params: Params.PollsDeleteVoteParams): Promise; /** * Edits created polls */ edit(params: Params.PollsEditParams): Promise; /** * Returns detailed information about a poll by its ID. */ getById(params: Params.PollsGetByIdParams): Promise; /** * Returns a list of IDs of users who selected specific answers in the poll. */ getVoters(params: Params.PollsGetVotersParams): Promise; } /** * The API prettyCards group */ export interface APIPrettyCards { create(params: Params.PrettyCardsCreateParams): Promise; delete(params: Params.PrettyCardsDeleteParams): Promise; edit(params: Params.PrettyCardsEditParams): Promise; get(params: Params.PrettyCardsGetParams): Promise; getById(params: Params.PrettyCardsGetByIdParams): Promise; getUploadURL(params: Params.PrettyCardsGetUploadURLParams): Promise; } /** * The API search group */ export interface APISearch { /** * Allows the programmer to do a quick search for any substring. */ getHints(params: Params.SearchGetHintsParams): Promise; } /** * The API secure group */ export interface APISecure { /** * Adds user activity information to an application */ addAppEvent(params: Params.SecureAddAppEventParams): Promise; /** * Checks the user authentication in 'IFrame' and 'Flash' apps using the 'access_token' parameter. */ checkToken(params: Params.SecureCheckTokenParams): Promise; /** * Returns payment balance of the application in hundredth of a vote. */ getAppBalance(params: Params.SecureGetAppBalanceParams): Promise; /** * Shows a list of SMS notifications sent by the application using [vk.com/dev/secure.sendSMSNotification|secure.sendSMSNotification] method. */ getSMSHistory(params: Params.SecureGetSMSHistoryParams): Promise; /** * Shows history of votes transaction between users and the application. */ getTransactionsHistory(params: Params.SecureGetTransactionsHistoryParams): Promise; /** * Returns one of the previously set game levels of one or more users in the application. */ getUserLevel(params: Params.SecureGetUserLevelParams): Promise; /** * Sends notification to the user. */ sendNotification(params: Params.SecureSendNotificationParams): Promise; /** * Sends 'SMS' notification to a user's mobile device. */ sendSMSNotification(params: Params.SecureSendSMSNotificationParams): Promise; /** * Sets a counter which is shown to the user in bold in the left menu. */ setCounter(params: Params.SecureSetCounterParams): Promise; } /** * The API stats group */ export interface APIStats { /** * Returns statistics of a community or an application. */ get(params: Params.StatsGetParams): Promise; /** * Returns stats for a wall post. */ getPostReach(params: Params.StatsGetPostReachParams): Promise; trackVisitor(params: Params.StatsTrackVisitorParams): Promise; } /** * The API status group */ export interface APIStatus { /** * Returns data required to show the status of a user or community. */ get(params: Params.StatusGetParams): Promise; /** * Sets a new status for the current user. */ set(params: Params.StatusSetParams): Promise; } /** * The API storage group */ export interface APIStorage { /** * Returns a value of variable with the name set by key parameter. */ get(params: Params.StorageGetParams): Promise; /** * Returns the names of all variables. */ getKeys(params: Params.StorageGetKeysParams): Promise; /** * Saves a value of variable with the name set by 'key' parameter. */ set(params: Params.StorageSetParams): Promise; } /** * The API stories group */ export interface APIStories { /** * Allows to hide stories from chosen sources from current user's feed. */ banOwner(params: Params.StoriesBanOwnerParams): Promise; /** * Allows to delete story. */ delete(params: Params.StoriesDeleteParams): Promise; /** * Returns stories available for current user. */ get(params: Params.StoriesGetParams): Promise; /** * Returns list of sources hidden from current user's feed. */ getBanned(params: Params.StoriesGetBannedParams): Promise; /** * Returns story by its ID. */ getById(params: Params.StoriesGetByIdParams): Promise; /** * Returns URL for uploading a story with photo. */ getPhotoUploadServer(params: Params.StoriesGetPhotoUploadServerParams): Promise; /** * Returns replies to the story. */ getReplies(params: Params.StoriesGetRepliesParams): Promise; /** * Returns stories available for current user. */ getStats(params: Params.StoriesGetStatsParams): Promise; /** * Allows to receive URL for uploading story with video. */ getVideoUploadServer(params: Params.StoriesGetVideoUploadServerParams): Promise; /** * Returns a list of story viewers. */ getViewers(params: Params.StoriesGetViewersParams): Promise; /** * Hides all replies in the last 24 hours from the user to current user's stories. */ hideAllReplies(params: Params.StoriesHideAllRepliesParams): Promise; /** * Hides the reply to the current user's story. */ hideReply(params: Params.StoriesHideReplyParams): Promise; /** * Allows to show stories from hidden sources in current user's feed. */ unbanOwner(params: Params.StoriesUnbanOwnerParams): Promise; } /** * The API streaming group */ export interface APIStreaming { /** * Allows to receive data for the connection to Streaming API. */ getServerUrl(params: Params.StreamingGetServerUrlParams): Promise; setSettings(params: Params.StreamingSetSettingsParams): Promise; } /** * The API users group */ export interface APIUsers { /** * Returns detailed information on users. */ get(params: Params.UsersGetParams): Promise; /** * Returns a list of IDs of followers of the user in question, sorted by date added, most recent first. */ getFollowers(params: Params.UsersGetFollowersParams): Promise; /** * Returns a list of IDs of users and communities followed by the user. */ getSubscriptions(params: Params.UsersGetSubscriptionsParams): Promise; /** * Returns information whether a user installed the application. */ isAppUser(params: Params.UsersIsAppUserParams): Promise; /** * Reports (submits a complain about) a user. */ report(params: Params.UsersReportParams): Promise; /** * Returns a list of users matching the search criteria. */ search(params: Params.UsersSearchParams): Promise; } /** * The API utils group */ export interface APIUtils { /** * Checks whether a link is blocked in VK. */ checkLink(params: Params.UtilsCheckLinkParams): Promise; /** * Deletes shortened link from user's list. */ deleteFromLastShortened(params: Params.UtilsDeleteFromLastShortenedParams): Promise; /** * Returns a list of user's shortened links. */ getLastShortenedLinks(params: Params.UtilsGetLastShortenedLinksParams): Promise; /** * Returns stats data for shortened link. */ getLinkStats(params: Params.UtilsGetLinkStatsParams): Promise; /** * Returns the current time of the VK server. */ getServerTime(params: Params.UtilsGetServerTimeParams): Promise; /** * Allows to receive a link shortened via vk.cc. */ getShortLink(params: Params.UtilsGetShortLinkParams): Promise; /** * Detects a type of object (e.g., user, community, application) and its ID by screen name. */ resolveScreenName(params: Params.UtilsResolveScreenNameParams): Promise; } /** * The API video group */ export interface APIVideo { /** * Adds a video to a user or community page. */ add(params: Params.VideoAddParams): Promise; /** * Creates an empty album for videos. */ addAlbum(params: Params.VideoAddAlbumParams): Promise; addToAlbum(params: Params.VideoAddToAlbumParams): Promise; /** * Adds a new comment on a video. */ createComment(params: Params.VideoCreateCommentParams): Promise; /** * Deletes a video from a user or community page. */ delete(params: Params.VideoDeleteParams): Promise; /** * Deletes a video album. */ deleteAlbum(params: Params.VideoDeleteAlbumParams): Promise; /** * Deletes a comment on a video. */ deleteComment(params: Params.VideoDeleteCommentParams): Promise; /** * Edits information about a video on a user or community page. */ edit(params: Params.VideoEditParams): Promise; /** * Edits the title of a video album. */ editAlbum(params: Params.VideoEditAlbumParams): Promise; /** * Edits the text of a comment on a video. */ editComment(params: Params.VideoEditCommentParams): Promise; /** * Returns detailed information about videos. */ get(params: Params.VideoGetParams): Promise; /** * Returns video album info */ getAlbumById(params: Params.VideoGetAlbumByIdParams): Promise; /** * Returns a list of video albums owned by a user or community. */ getAlbums(params: Params.VideoGetAlbumsParams): Promise; getAlbumsByVideo(params: Params.VideoGetAlbumsByVideoParams): Promise; /** * Returns a list of comments on a video. */ getComments(params: Params.VideoGetCommentsParams): Promise; removeFromAlbum(params: Params.VideoRemoveFromAlbumParams): Promise; /** * Reorders the album in the list of user video albums. */ reorderAlbums(params: Params.VideoReorderAlbumsParams): Promise; /** * Reorders the video in the video album. */ reorderVideos(params: Params.VideoReorderVideosParams): Promise; /** * Reports (submits a complaint about) a video. */ report(params: Params.VideoReportParams): Promise; /** * Reports (submits a complaint about) a comment on a video. */ reportComment(params: Params.VideoReportCommentParams): Promise; /** * Restores a previously deleted video. */ restore(params: Params.VideoRestoreParams): Promise; /** * Restores a previously deleted comment on a video. */ restoreComment(params: Params.VideoRestoreCommentParams): Promise; /** * Returns a server address (required for upload) and video data. */ save(params: Params.VideoSaveParams): Promise; /** * Returns a list of videos under the set search criterion. */ search(params: Params.VideoSearchParams): Promise; } /** * The API wall group */ export interface APIWall { closeComments(params: Params.WallCloseCommentsParams): Promise; /** * Adds a comment to a post on a user wall or community wall. */ createComment(params: Params.WallCreateCommentParams): Promise; /** * Deletes a post from a user wall or community wall. */ delete(params: Params.WallDeleteParams): Promise; /** * Deletes a comment on a post on a user wall or community wall. */ deleteComment(params: Params.WallDeleteCommentParams): Promise; /** * Edits a post on a user wall or community wall. */ edit(params: Params.WallEditParams): Promise; /** * Allows to edit hidden post. */ editAdsStealth(params: Params.WallEditAdsStealthParams): Promise; /** * Edits a comment on a user wall or community wall. */ editComment(params: Params.WallEditCommentParams): Promise; /** * Returns a list of posts on a user wall or community wall. */ get(params: Params.WallGetParams): Promise; /** * Returns a list of posts from user or community walls by their IDs. */ getById(params: Params.WallGetByIdParams): Promise; /** * Returns a list of comments on a post on a user wall or community wall. */ getComments(params: Params.WallGetCommentsParams): Promise; /** * Returns information about reposts of a post on user wall or community wall. */ getReposts(params: Params.WallGetRepostsParams): Promise; openComments(params: Params.WallOpenCommentsParams): Promise; /** * Pins the post on wall. */ pin(params: Params.WallPinParams): Promise; /** * Adds a new post on a user wall or community wall. Can also be used to publish suggested or scheduled posts. */ post(params: Params.WallPostParams): Promise; /** * 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". */ postAdsStealth(params: Params.WallPostAdsStealthParams): Promise; /** * Reports (submits a complaint about) a comment on a post on a user wall or community wall. */ reportComment(params: Params.WallReportCommentParams): Promise; /** * Reports (submits a complaint about) a post on a user wall or community wall. */ reportPost(params: Params.WallReportPostParams): Promise; /** * Reposts (copies) an object to a user wall or community wall. */ repost(params: Params.WallRepostParams): Promise; /** * Restores a post deleted from a user wall or community wall. */ restore(params: Params.WallRestoreParams): Promise; /** * Restores a comment deleted from a user wall or community wall. */ restoreComment(params: Params.WallRestoreCommentParams): Promise; /** * Allows to search posts on user or community walls. */ search(params: Params.WallSearchParams): Promise; /** * Unpins the post on wall. */ unpin(params: Params.WallUnpinParams): Promise; } /** * The API widgets group */ export interface APIWidgets { /** * Gets a list of comments for the page added through the [vk.com/dev/Comments|Comments widget]. */ getComments(params: Params.WidgetsGetCommentsParams): Promise; /** * Gets a list of application/site pages where the [vk.com/dev/Comments|Comments widget] or [vk.com/dev/Like|Like widget] is installed. */ getPages(params: Params.WidgetsGetPagesParams): Promise; } export class APIMethods { /** * The API account group */ account: APIAccount; /** * The API ads group */ ads: APIAds; /** * The API apps group */ apps: APIApps; /** * The API auth group */ auth: APIAuth; /** * The API board group */ board: APIBoard; /** * The API database group */ database: APIDatabase; /** * The API docs group */ docs: APIDocs; /** * The API fave group */ fave: APIFave; /** * The API friends group */ friends: APIFriends; /** * The API gifts group */ gifts: APIGifts; /** * The API groups group */ groups: APIGroups; /** * The API leads group */ leads: APILeads; /** * The API likes group */ likes: APILikes; /** * The API market group */ market: APIMarket; /** * The API messages group */ messages: APIMessages; /** * The API newsfeed group */ newsfeed: APINewsfeed; /** * The API notes group */ notes: APINotes; /** * The API notifications group */ notifications: APINotifications; /** * The API orders group */ orders: APIOrders; /** * The API pages group */ pages: APIPages; /** * The API photos group */ photos: APIPhotos; /** * The API polls group */ polls: APIPolls; /** * The API prettyCards group */ prettyCards: APIPrettyCards; /** * The API search group */ search: APISearch; /** * The API secure group */ secure: APISecure; /** * The API stats group */ stats: APIStats; /** * The API status group */ status: APIStatus; /** * The API storage group */ storage: APIStorage; /** * The API stories group */ stories: APIStories; /** * The API streaming group */ streaming: APIStreaming; /** * The API users group */ users: APIUsers; /** * The API utils group */ utils: APIUtils; /** * The API video group */ video: APIVideo; /** * The API wall group */ wall: APIWall; /** * The API widgets group */ widgets: APIWidgets; }