@airgram-dev/vue
Version:
## License
421 lines (420 loc) • 40.8 kB
TypeScript
import { BaseTdObject, ApiResponse, UpdateContext } from '@airgram-dev/core';
import * as api from '@airgram-dev/core/types/api';
import Vue from 'vue';
import { AirgramDollar } from './AirgramDollar';
import { AirgramProvider } from './AirgramProvider';
import './vue';
export { StoreState } from '@airgram-dev/store';
export interface ApiHandlers {
acceptCall?: (context: ApiResponse<api.AcceptCallParams, api.OkUnion>) => any;
acceptTermsOfService?: (context: ApiResponse<api.AcceptTermsOfServiceParams, api.OkUnion>) => any;
addChatMember?: (context: ApiResponse<api.AddChatMemberParams, api.OkUnion>) => any;
addChatMembers?: (context: ApiResponse<api.AddChatMembersParams, api.OkUnion>) => any;
addCustomServerLanguagePack?: (context: ApiResponse<api.AddCustomServerLanguagePackParams, api.OkUnion>) => any;
addFavoriteSticker?: (context: ApiResponse<api.AddFavoriteStickerParams, api.OkUnion>) => any;
addLocalMessage?: (context: ApiResponse<api.AddLocalMessageParams, api.MessageUnion>) => any;
addLogMessage?: (context: ApiResponse<api.AddLogMessageParams, api.OkUnion>) => any;
addNetworkStatistics?: (context: ApiResponse<api.AddNetworkStatisticsParams, api.OkUnion>) => any;
addProxy?: (context: ApiResponse<api.AddProxyParams, api.ProxyUnion>) => any;
addRecentSticker?: (context: ApiResponse<api.AddRecentStickerParams, api.StickersUnion>) => any;
addRecentlyFoundChat?: (context: ApiResponse<api.AddRecentlyFoundChatParams, api.OkUnion>) => any;
addSavedAnimation?: (context: ApiResponse<api.AddSavedAnimationParams, api.OkUnion>) => any;
addStickerToSet?: (context: ApiResponse<api.AddStickerToSetParams, api.StickerSetUnion>) => any;
answerCallbackQuery?: (context: ApiResponse<api.AnswerCallbackQueryParams, api.OkUnion>) => any;
answerCustomQuery?: (context: ApiResponse<api.AnswerCustomQueryParams, api.OkUnion>) => any;
answerInlineQuery?: (context: ApiResponse<api.AnswerInlineQueryParams, api.OkUnion>) => any;
answerPreCheckoutQuery?: (context: ApiResponse<api.AnswerPreCheckoutQueryParams, api.OkUnion>) => any;
answerShippingQuery?: (context: ApiResponse<api.AnswerShippingQueryParams, api.OkUnion>) => any;
blockUser?: (context: ApiResponse<api.BlockUserParams, api.OkUnion>) => any;
cancelDownloadFile?: (context: ApiResponse<api.CancelDownloadFileParams, api.OkUnion>) => any;
cancelUploadFile?: (context: ApiResponse<api.CancelUploadFileParams, api.OkUnion>) => any;
changeChatReportSpamState?: (context: ApiResponse<api.ChangeChatReportSpamStateParams, api.OkUnion>) => any;
changeImportedContacts?: (context: ApiResponse<api.ChangeImportedContactsParams, api.ImportedContactsUnion>) => any;
changePhoneNumber?: (context: ApiResponse<api.ChangePhoneNumberParams, api.AuthenticationCodeInfoUnion>) => any;
changeStickerSet?: (context: ApiResponse<api.ChangeStickerSetParams, api.OkUnion>) => any;
checkAuthenticationBotToken?: (context: ApiResponse<api.CheckAuthenticationBotTokenParams, api.OkUnion>) => any;
checkAuthenticationCode?: (context: ApiResponse<api.CheckAuthenticationCodeParams, api.OkUnion>) => any;
checkAuthenticationPassword?: (context: ApiResponse<api.CheckAuthenticationPasswordParams, api.OkUnion>) => any;
checkChangePhoneNumberCode?: (context: ApiResponse<api.CheckChangePhoneNumberCodeParams, api.OkUnion>) => any;
checkChatInviteLink?: (context: ApiResponse<api.CheckChatInviteLinkParams, api.ChatInviteLinkInfoUnion>) => any;
checkChatUsername?: (context: ApiResponse<api.CheckChatUsernameParams, api.CheckChatUsernameResultUnion>) => any;
checkDatabaseEncryptionKey?: (context: ApiResponse<api.CheckDatabaseEncryptionKeyParams, api.OkUnion>) => any;
checkEmailAddressVerificationCode?: (context: ApiResponse<api.CheckEmailAddressVerificationCodeParams, api.OkUnion>) => any;
checkPhoneNumberConfirmationCode?: (context: ApiResponse<api.CheckPhoneNumberConfirmationCodeParams, api.OkUnion>) => any;
checkPhoneNumberVerificationCode?: (context: ApiResponse<api.CheckPhoneNumberVerificationCodeParams, api.OkUnion>) => any;
checkRecoveryEmailAddressCode?: (context: ApiResponse<api.CheckRecoveryEmailAddressCodeParams, api.PasswordStateUnion>) => any;
cleanFileName?: (context: ApiResponse<api.CleanFileNameParams, api.TextUnion>) => any;
clearAllDraftMessages?: (context: ApiResponse<api.ClearAllDraftMessagesParams, api.OkUnion>) => any;
clearImportedContacts?: (context: ApiResponse<never, api.OkUnion>) => any;
clearRecentStickers?: (context: ApiResponse<api.ClearRecentStickersParams, api.OkUnion>) => any;
clearRecentlyFoundChats?: (context: ApiResponse<never, api.OkUnion>) => any;
close?: (context: ApiResponse<never, api.OkUnion>) => any;
closeChat?: (context: ApiResponse<api.CloseChatParams, api.OkUnion>) => any;
closeSecretChat?: (context: ApiResponse<api.CloseSecretChatParams, api.OkUnion>) => any;
createBasicGroupChat?: (context: ApiResponse<api.CreateBasicGroupChatParams, api.ChatUnion>) => any;
createCall?: (context: ApiResponse<api.CreateCallParams, api.CallIdUnion>) => any;
createNewBasicGroupChat?: (context: ApiResponse<api.CreateNewBasicGroupChatParams, api.ChatUnion>) => any;
createNewSecretChat?: (context: ApiResponse<api.CreateNewSecretChatParams, api.ChatUnion>) => any;
createNewStickerSet?: (context: ApiResponse<api.CreateNewStickerSetParams, api.StickerSetUnion>) => any;
createNewSupergroupChat?: (context: ApiResponse<api.CreateNewSupergroupChatParams, api.ChatUnion>) => any;
createPrivateChat?: (context: ApiResponse<api.CreatePrivateChatParams, api.ChatUnion>) => any;
createSecretChat?: (context: ApiResponse<api.CreateSecretChatParams, api.ChatUnion>) => any;
createSupergroupChat?: (context: ApiResponse<api.CreateSupergroupChatParams, api.ChatUnion>) => any;
createTemporaryPassword?: (context: ApiResponse<api.CreateTemporaryPasswordParams, api.TemporaryPasswordStateUnion>) => any;
deleteAccount?: (context: ApiResponse<api.DeleteAccountParams, api.OkUnion>) => any;
deleteChatHistory?: (context: ApiResponse<api.DeleteChatHistoryParams, api.OkUnion>) => any;
deleteChatMessagesFromUser?: (context: ApiResponse<api.DeleteChatMessagesFromUserParams, api.OkUnion>) => any;
deleteChatReplyMarkup?: (context: ApiResponse<api.DeleteChatReplyMarkupParams, api.OkUnion>) => any;
deleteFile?: (context: ApiResponse<api.DeleteFileParams, api.OkUnion>) => any;
deleteLanguagePack?: (context: ApiResponse<api.DeleteLanguagePackParams, api.OkUnion>) => any;
deleteMessages?: (context: ApiResponse<api.DeleteMessagesParams, api.OkUnion>) => any;
deletePassportElement?: (context: ApiResponse<api.DeletePassportElementParams, api.OkUnion>) => any;
deleteProfilePhoto?: (context: ApiResponse<api.DeleteProfilePhotoParams, api.OkUnion>) => any;
deleteSavedCredentials?: (context: ApiResponse<never, api.OkUnion>) => any;
deleteSavedOrderInfo?: (context: ApiResponse<never, api.OkUnion>) => any;
deleteSupergroup?: (context: ApiResponse<api.DeleteSupergroupParams, api.OkUnion>) => any;
destroy?: (context: ApiResponse<never, api.OkUnion>) => any;
disableProxy?: (context: ApiResponse<never, api.OkUnion>) => any;
discardCall?: (context: ApiResponse<api.DiscardCallParams, api.OkUnion>) => any;
disconnectAllWebsites?: (context: ApiResponse<never, api.OkUnion>) => any;
disconnectWebsite?: (context: ApiResponse<api.DisconnectWebsiteParams, api.OkUnion>) => any;
downloadFile?: (context: ApiResponse<api.DownloadFileParams, api.FileUnion>) => any;
editCustomLanguagePackInfo?: (context: ApiResponse<api.EditCustomLanguagePackInfoParams, api.OkUnion>) => any;
editInlineMessageCaption?: (context: ApiResponse<api.EditInlineMessageCaptionParams, api.OkUnion>) => any;
editInlineMessageLiveLocation?: (context: ApiResponse<api.EditInlineMessageLiveLocationParams, api.OkUnion>) => any;
editInlineMessageMedia?: (context: ApiResponse<api.EditInlineMessageMediaParams, api.OkUnion>) => any;
editInlineMessageReplyMarkup?: (context: ApiResponse<api.EditInlineMessageReplyMarkupParams, api.OkUnion>) => any;
editInlineMessageText?: (context: ApiResponse<api.EditInlineMessageTextParams, api.OkUnion>) => any;
editMessageCaption?: (context: ApiResponse<api.EditMessageCaptionParams, api.MessageUnion>) => any;
editMessageLiveLocation?: (context: ApiResponse<api.EditMessageLiveLocationParams, api.MessageUnion>) => any;
editMessageMedia?: (context: ApiResponse<api.EditMessageMediaParams, api.MessageUnion>) => any;
editMessageReplyMarkup?: (context: ApiResponse<api.EditMessageReplyMarkupParams, api.MessageUnion>) => any;
editMessageText?: (context: ApiResponse<api.EditMessageTextParams, api.MessageUnion>) => any;
editProxy?: (context: ApiResponse<api.EditProxyParams, api.ProxyUnion>) => any;
enableProxy?: (context: ApiResponse<api.EnableProxyParams, api.OkUnion>) => any;
finishFileGeneration?: (context: ApiResponse<api.FinishFileGenerationParams, api.OkUnion>) => any;
forwardMessages?: (context: ApiResponse<api.ForwardMessagesParams, api.MessagesUnion>) => any;
generateChatInviteLink?: (context: ApiResponse<api.GenerateChatInviteLinkParams, api.ChatInviteLinkUnion>) => any;
getAccountTtl?: (context: ApiResponse<never, api.AccountTtlUnion>) => any;
getActiveLiveLocationMessages?: (context: ApiResponse<never, api.MessagesUnion>) => any;
getActiveSessions?: (context: ApiResponse<never, api.SessionsUnion>) => any;
getAllPassportElements?: (context: ApiResponse<api.GetAllPassportElementsParams, api.PassportElementsUnion>) => any;
getApplicationConfig?: (context: ApiResponse<never, api.JsonValueUnion>) => any;
getArchivedStickerSets?: (context: ApiResponse<api.GetArchivedStickerSetsParams, api.StickerSetsUnion>) => any;
getAttachedStickerSets?: (context: ApiResponse<api.GetAttachedStickerSetsParams, api.StickerSetsUnion>) => any;
getAuthorizationState?: (context: ApiResponse<never, api.AuthorizationStateUnion>) => any;
getAutoDownloadSettingsPresets?: (context: ApiResponse<never, api.AutoDownloadSettingsPresetsUnion>) => any;
getBackgroundUrl?: (context: ApiResponse<api.GetBackgroundUrlParams, api.HttpUrlUnion>) => any;
getBackgrounds?: (context: ApiResponse<api.GetBackgroundsParams, api.BackgroundsUnion>) => any;
getBasicGroup?: (context: ApiResponse<api.GetBasicGroupParams, api.BasicGroupUnion>) => any;
getBasicGroupFullInfo?: (context: ApiResponse<api.GetBasicGroupFullInfoParams, api.BasicGroupFullInfoUnion>) => any;
getBlockedUsers?: (context: ApiResponse<api.GetBlockedUsersParams, api.UsersUnion>) => any;
getCallbackQueryAnswer?: (context: ApiResponse<api.GetCallbackQueryAnswerParams, api.CallbackQueryAnswerUnion>) => any;
getChat?: (context: ApiResponse<api.GetChatParams, api.ChatUnion>) => any;
getChatAdministrators?: (context: ApiResponse<api.GetChatAdministratorsParams, api.UsersUnion>) => any;
getChatEventLog?: (context: ApiResponse<api.GetChatEventLogParams, api.ChatEventsUnion>) => any;
getChatHistory?: (context: ApiResponse<api.GetChatHistoryParams, api.MessagesUnion>) => any;
getChatMember?: (context: ApiResponse<api.GetChatMemberParams, api.ChatMemberUnion>) => any;
getChatMessageByDate?: (context: ApiResponse<api.GetChatMessageByDateParams, api.MessageUnion>) => any;
getChatMessageCount?: (context: ApiResponse<api.GetChatMessageCountParams, api.CountUnion>) => any;
getChatNotificationSettingsExceptions?: (context: ApiResponse<api.GetChatNotificationSettingsExceptionsParams, api.ChatsUnion>) => any;
getChatPinnedMessage?: (context: ApiResponse<api.GetChatPinnedMessageParams, api.MessageUnion>) => any;
getChatReportSpamState?: (context: ApiResponse<api.GetChatReportSpamStateParams, api.ChatReportSpamStateUnion>) => any;
getChatStatisticsUrl?: (context: ApiResponse<api.GetChatStatisticsUrlParams, api.HttpUrlUnion>) => any;
getChats?: (context: ApiResponse<api.GetChatsParams, api.ChatsUnion>) => any;
getConnectedWebsites?: (context: ApiResponse<never, api.ConnectedWebsitesUnion>) => any;
getContacts?: (context: ApiResponse<never, api.UsersUnion>) => any;
getCountryCode?: (context: ApiResponse<never, api.TextUnion>) => any;
getCreatedPublicChats?: (context: ApiResponse<never, api.ChatsUnion>) => any;
getCurrentState?: (context: ApiResponse<never, api.UpdatesUnion>) => any;
getDatabaseStatistics?: (context: ApiResponse<never, api.DatabaseStatisticsUnion>) => any;
getDeepLinkInfo?: (context: ApiResponse<api.GetDeepLinkInfoParams, api.DeepLinkInfoUnion>) => any;
getEmojiSuggestionsUrl?: (context: ApiResponse<api.GetEmojiSuggestionsUrlParams, api.HttpUrlUnion>) => any;
getFavoriteStickers?: (context: ApiResponse<never, api.StickersUnion>) => any;
getFile?: (context: ApiResponse<api.GetFileParams, api.FileUnion>) => any;
getFileDownloadedPrefixSize?: (context: ApiResponse<api.GetFileDownloadedPrefixSizeParams, api.CountUnion>) => any;
getFileExtension?: (context: ApiResponse<api.GetFileExtensionParams, api.TextUnion>) => any;
getFileMimeType?: (context: ApiResponse<api.GetFileMimeTypeParams, api.TextUnion>) => any;
getGameHighScores?: (context: ApiResponse<api.GetGameHighScoresParams, api.GameHighScoresUnion>) => any;
getGroupsInCommon?: (context: ApiResponse<api.GetGroupsInCommonParams, api.ChatsUnion>) => any;
getImportedContactCount?: (context: ApiResponse<never, api.CountUnion>) => any;
getInlineGameHighScores?: (context: ApiResponse<api.GetInlineGameHighScoresParams, api.GameHighScoresUnion>) => any;
getInlineQueryResults?: (context: ApiResponse<api.GetInlineQueryResultsParams, api.InlineQueryResultsUnion>) => any;
getInstalledStickerSets?: (context: ApiResponse<api.GetInstalledStickerSetsParams, api.StickerSetsUnion>) => any;
getInviteText?: (context: ApiResponse<never, api.TextUnion>) => any;
getJsonString?: (context: ApiResponse<api.GetJsonStringParams, api.TextUnion>) => any;
getJsonValue?: (context: ApiResponse<api.GetJsonValueParams, api.JsonValueUnion>) => any;
getLanguagePackInfo?: (context: ApiResponse<api.GetLanguagePackInfoParams, api.LanguagePackInfoUnion>) => any;
getLanguagePackString?: (context: ApiResponse<api.GetLanguagePackStringParams, api.LanguagePackStringValueUnion>) => any;
getLanguagePackStrings?: (context: ApiResponse<api.GetLanguagePackStringsParams, api.LanguagePackStringsUnion>) => any;
getLocalizationTargetInfo?: (context: ApiResponse<api.GetLocalizationTargetInfoParams, api.LocalizationTargetInfoUnion>) => any;
getLogStream?: (context: ApiResponse<never, api.LogStreamUnion>) => any;
getLogTagVerbosityLevel?: (context: ApiResponse<api.GetLogTagVerbosityLevelParams, api.LogVerbosityLevelUnion>) => any;
getLogTags?: (context: ApiResponse<never, api.LogTagsUnion>) => any;
getLogVerbosityLevel?: (context: ApiResponse<never, api.LogVerbosityLevelUnion>) => any;
getMapThumbnailFile?: (context: ApiResponse<api.GetMapThumbnailFileParams, api.FileUnion>) => any;
getMe?: (context: ApiResponse<never, api.UserUnion>) => any;
getMessage?: (context: ApiResponse<api.GetMessageParams, api.MessageUnion>) => any;
getMessageLink?: (context: ApiResponse<api.GetMessageLinkParams, api.HttpUrlUnion>) => any;
getMessageLinkInfo?: (context: ApiResponse<api.GetMessageLinkInfoParams, api.MessageLinkInfoUnion>) => any;
getMessageLocally?: (context: ApiResponse<api.GetMessageLocallyParams, api.MessageUnion>) => any;
getMessages?: (context: ApiResponse<api.GetMessagesParams, api.MessagesUnion>) => any;
getNetworkStatistics?: (context: ApiResponse<api.GetNetworkStatisticsParams, api.NetworkStatisticsUnion>) => any;
getOption?: (context: ApiResponse<api.GetOptionParams, api.OptionValueUnion>) => any;
getPassportAuthorizationForm?: (context: ApiResponse<api.GetPassportAuthorizationFormParams, api.PassportAuthorizationFormUnion>) => any;
getPassportAuthorizationFormAvailableElements?: (context: ApiResponse<api.GetPassportAuthorizationFormAvailableElementsParams, api.PassportElementsWithErrorsUnion>) => any;
getPassportElement?: (context: ApiResponse<api.GetPassportElementParams, api.PassportElementUnion>) => any;
getPasswordState?: (context: ApiResponse<never, api.PasswordStateUnion>) => any;
getPaymentForm?: (context: ApiResponse<api.GetPaymentFormParams, api.PaymentFormUnion>) => any;
getPaymentReceipt?: (context: ApiResponse<api.GetPaymentReceiptParams, api.PaymentReceiptUnion>) => any;
getPreferredCountryLanguage?: (context: ApiResponse<api.GetPreferredCountryLanguageParams, api.TextUnion>) => any;
getProxies?: (context: ApiResponse<never, api.ProxiesUnion>) => any;
getProxyLink?: (context: ApiResponse<api.GetProxyLinkParams, api.TextUnion>) => any;
getPublicMessageLink?: (context: ApiResponse<api.GetPublicMessageLinkParams, api.PublicMessageLinkUnion>) => any;
getPushReceiverId?: (context: ApiResponse<api.GetPushReceiverIdParams, api.PushReceiverIdUnion>) => any;
getRecentInlineBots?: (context: ApiResponse<never, api.UsersUnion>) => any;
getRecentStickers?: (context: ApiResponse<api.GetRecentStickersParams, api.StickersUnion>) => any;
getRecentlyVisitedTMeUrls?: (context: ApiResponse<api.GetRecentlyVisitedTMeUrlsParams, api.TMeUrlsUnion>) => any;
getRecoveryEmailAddress?: (context: ApiResponse<api.GetRecoveryEmailAddressParams, api.RecoveryEmailAddressUnion>) => any;
getRemoteFile?: (context: ApiResponse<api.GetRemoteFileParams, api.FileUnion>) => any;
getRepliedMessage?: (context: ApiResponse<api.GetRepliedMessageParams, api.MessageUnion>) => any;
getSavedAnimations?: (context: ApiResponse<never, api.AnimationsUnion>) => any;
getSavedOrderInfo?: (context: ApiResponse<never, api.OrderInfoUnion>) => any;
getScopeNotificationSettings?: (context: ApiResponse<api.GetScopeNotificationSettingsParams, api.ScopeNotificationSettingsUnion>) => any;
getSecretChat?: (context: ApiResponse<api.GetSecretChatParams, api.SecretChatUnion>) => any;
getStickerEmojis?: (context: ApiResponse<api.GetStickerEmojisParams, api.EmojisUnion>) => any;
getStickerSet?: (context: ApiResponse<api.GetStickerSetParams, api.StickerSetUnion>) => any;
getStickers?: (context: ApiResponse<api.GetStickersParams, api.StickersUnion>) => any;
getStorageStatistics?: (context: ApiResponse<api.GetStorageStatisticsParams, api.StorageStatisticsUnion>) => any;
getStorageStatisticsFast?: (context: ApiResponse<never, api.StorageStatisticsFastUnion>) => any;
getSupergroup?: (context: ApiResponse<api.GetSupergroupParams, api.SupergroupUnion>) => any;
getSupergroupFullInfo?: (context: ApiResponse<api.GetSupergroupFullInfoParams, api.SupergroupFullInfoUnion>) => any;
getSupergroupMembers?: (context: ApiResponse<api.GetSupergroupMembersParams, api.ChatMembersUnion>) => any;
getSupportUser?: (context: ApiResponse<never, api.UserUnion>) => any;
getTemporaryPasswordState?: (context: ApiResponse<never, api.TemporaryPasswordStateUnion>) => any;
getTextEntities?: (context: ApiResponse<api.GetTextEntitiesParams, api.TextEntitiesUnion>) => any;
getTopChats?: (context: ApiResponse<api.GetTopChatsParams, api.ChatsUnion>) => any;
getTrendingStickerSets?: (context: ApiResponse<never, api.StickerSetsUnion>) => any;
getUser?: (context: ApiResponse<api.GetUserParams, api.UserUnion>) => any;
getUserFullInfo?: (context: ApiResponse<api.GetUserFullInfoParams, api.UserFullInfoUnion>) => any;
getUserPrivacySettingRules?: (context: ApiResponse<api.GetUserPrivacySettingRulesParams, api.UserPrivacySettingRulesUnion>) => any;
getUserProfilePhotos?: (context: ApiResponse<api.GetUserProfilePhotosParams, api.UserProfilePhotosUnion>) => any;
getWebPageInstantView?: (context: ApiResponse<api.GetWebPageInstantViewParams, api.WebPageInstantViewUnion>) => any;
getWebPagePreview?: (context: ApiResponse<api.GetWebPagePreviewParams, api.WebPageUnion>) => any;
importContacts?: (context: ApiResponse<api.ImportContactsParams, api.ImportedContactsUnion>) => any;
joinChat?: (context: ApiResponse<api.JoinChatParams, api.OkUnion>) => any;
joinChatByInviteLink?: (context: ApiResponse<api.JoinChatByInviteLinkParams, api.ChatUnion>) => any;
leaveChat?: (context: ApiResponse<api.LeaveChatParams, api.OkUnion>) => any;
logOut?: (context: ApiResponse<never, api.OkUnion>) => any;
openChat?: (context: ApiResponse<api.OpenChatParams, api.OkUnion>) => any;
openMessageContent?: (context: ApiResponse<api.OpenMessageContentParams, api.OkUnion>) => any;
optimizeStorage?: (context: ApiResponse<api.OptimizeStorageParams, api.StorageStatisticsUnion>) => any;
parseTextEntities?: (context: ApiResponse<api.ParseTextEntitiesParams, api.FormattedTextUnion>) => any;
pinChatMessage?: (context: ApiResponse<api.PinChatMessageParams, api.OkUnion>) => any;
pingProxy?: (context: ApiResponse<api.PingProxyParams, api.SecondsUnion>) => any;
processPushNotification?: (context: ApiResponse<api.ProcessPushNotificationParams, api.OkUnion>) => any;
readAllChatMentions?: (context: ApiResponse<api.ReadAllChatMentionsParams, api.OkUnion>) => any;
readFilePart?: (context: ApiResponse<api.ReadFilePartParams, api.FilePartUnion>) => any;
recoverAuthenticationPassword?: (context: ApiResponse<api.RecoverAuthenticationPasswordParams, api.OkUnion>) => any;
recoverPassword?: (context: ApiResponse<api.RecoverPasswordParams, api.PasswordStateUnion>) => any;
registerDevice?: (context: ApiResponse<api.RegisterDeviceParams, api.PushReceiverIdUnion>) => any;
registerUser?: (context: ApiResponse<api.RegisterUserParams, api.OkUnion>) => any;
removeBackground?: (context: ApiResponse<api.RemoveBackgroundParams, api.OkUnion>) => any;
removeContacts?: (context: ApiResponse<api.RemoveContactsParams, api.OkUnion>) => any;
removeFavoriteSticker?: (context: ApiResponse<api.RemoveFavoriteStickerParams, api.OkUnion>) => any;
removeNotification?: (context: ApiResponse<api.RemoveNotificationParams, api.OkUnion>) => any;
removeNotificationGroup?: (context: ApiResponse<api.RemoveNotificationGroupParams, api.OkUnion>) => any;
removeProxy?: (context: ApiResponse<api.RemoveProxyParams, api.OkUnion>) => any;
removeRecentHashtag?: (context: ApiResponse<api.RemoveRecentHashtagParams, api.OkUnion>) => any;
removeRecentSticker?: (context: ApiResponse<api.RemoveRecentStickerParams, api.OkUnion>) => any;
removeRecentlyFoundChat?: (context: ApiResponse<api.RemoveRecentlyFoundChatParams, api.OkUnion>) => any;
removeSavedAnimation?: (context: ApiResponse<api.RemoveSavedAnimationParams, api.OkUnion>) => any;
removeStickerFromSet?: (context: ApiResponse<api.RemoveStickerFromSetParams, api.OkUnion>) => any;
removeTopChat?: (context: ApiResponse<api.RemoveTopChatParams, api.OkUnion>) => any;
reorderInstalledStickerSets?: (context: ApiResponse<api.ReorderInstalledStickerSetsParams, api.OkUnion>) => any;
reportChat?: (context: ApiResponse<api.ReportChatParams, api.OkUnion>) => any;
reportSupergroupSpam?: (context: ApiResponse<api.ReportSupergroupSpamParams, api.OkUnion>) => any;
requestAuthenticationPasswordRecovery?: (context: ApiResponse<never, api.OkUnion>) => any;
requestPasswordRecovery?: (context: ApiResponse<never, api.EmailAddressAuthenticationCodeInfoUnion>) => any;
resendAuthenticationCode?: (context: ApiResponse<never, api.OkUnion>) => any;
resendChangePhoneNumberCode?: (context: ApiResponse<never, api.AuthenticationCodeInfoUnion>) => any;
resendEmailAddressVerificationCode?: (context: ApiResponse<never, api.EmailAddressAuthenticationCodeInfoUnion>) => any;
resendMessages?: (context: ApiResponse<api.ResendMessagesParams, api.MessagesUnion>) => any;
resendPhoneNumberConfirmationCode?: (context: ApiResponse<never, api.AuthenticationCodeInfoUnion>) => any;
resendPhoneNumberVerificationCode?: (context: ApiResponse<never, api.AuthenticationCodeInfoUnion>) => any;
resendRecoveryEmailAddressCode?: (context: ApiResponse<never, api.PasswordStateUnion>) => any;
resetAllNotificationSettings?: (context: ApiResponse<never, api.OkUnion>) => any;
resetBackgrounds?: (context: ApiResponse<never, api.OkUnion>) => any;
resetNetworkStatistics?: (context: ApiResponse<never, api.OkUnion>) => any;
saveApplicationLogEvent?: (context: ApiResponse<api.SaveApplicationLogEventParams, api.OkUnion>) => any;
searchBackground?: (context: ApiResponse<api.SearchBackgroundParams, api.BackgroundUnion>) => any;
searchCallMessages?: (context: ApiResponse<api.SearchCallMessagesParams, api.MessagesUnion>) => any;
searchChatMembers?: (context: ApiResponse<api.SearchChatMembersParams, api.ChatMembersUnion>) => any;
searchChatMessages?: (context: ApiResponse<api.SearchChatMessagesParams, api.MessagesUnion>) => any;
searchChatRecentLocationMessages?: (context: ApiResponse<api.SearchChatRecentLocationMessagesParams, api.MessagesUnion>) => any;
searchChats?: (context: ApiResponse<api.SearchChatsParams, api.ChatsUnion>) => any;
searchChatsOnServer?: (context: ApiResponse<api.SearchChatsOnServerParams, api.ChatsUnion>) => any;
searchContacts?: (context: ApiResponse<api.SearchContactsParams, api.UsersUnion>) => any;
searchEmojis?: (context: ApiResponse<api.SearchEmojisParams, api.EmojisUnion>) => any;
searchHashtags?: (context: ApiResponse<api.SearchHashtagsParams, api.HashtagsUnion>) => any;
searchInstalledStickerSets?: (context: ApiResponse<api.SearchInstalledStickerSetsParams, api.StickerSetsUnion>) => any;
searchMessages?: (context: ApiResponse<api.SearchMessagesParams, api.MessagesUnion>) => any;
searchPublicChat?: (context: ApiResponse<api.SearchPublicChatParams, api.ChatUnion>) => any;
searchPublicChats?: (context: ApiResponse<api.SearchPublicChatsParams, api.ChatsUnion>) => any;
searchSecretMessages?: (context: ApiResponse<api.SearchSecretMessagesParams, api.FoundMessagesUnion>) => any;
searchStickerSet?: (context: ApiResponse<api.SearchStickerSetParams, api.StickerSetUnion>) => any;
searchStickerSets?: (context: ApiResponse<api.SearchStickerSetsParams, api.StickerSetsUnion>) => any;
searchStickers?: (context: ApiResponse<api.SearchStickersParams, api.StickersUnion>) => any;
sendBotStartMessage?: (context: ApiResponse<api.SendBotStartMessageParams, api.MessageUnion>) => any;
sendCallDebugInformation?: (context: ApiResponse<api.SendCallDebugInformationParams, api.OkUnion>) => any;
sendCallRating?: (context: ApiResponse<api.SendCallRatingParams, api.OkUnion>) => any;
sendChatAction?: (context: ApiResponse<api.SendChatActionParams, api.OkUnion>) => any;
sendChatScreenshotTakenNotification?: (context: ApiResponse<api.SendChatScreenshotTakenNotificationParams, api.OkUnion>) => any;
sendChatSetTtlMessage?: (context: ApiResponse<api.SendChatSetTtlMessageParams, api.MessageUnion>) => any;
sendCustomRequest?: (context: ApiResponse<api.SendCustomRequestParams, api.CustomRequestResultUnion>) => any;
sendEmailAddressVerificationCode?: (context: ApiResponse<api.SendEmailAddressVerificationCodeParams, api.EmailAddressAuthenticationCodeInfoUnion>) => any;
sendInlineQueryResultMessage?: (context: ApiResponse<api.SendInlineQueryResultMessageParams, api.MessageUnion>) => any;
sendMessage?: (context: ApiResponse<api.SendMessageParams, api.MessageUnion>) => any;
sendMessageAlbum?: (context: ApiResponse<api.SendMessageAlbumParams, api.MessagesUnion>) => any;
sendPassportAuthorizationForm?: (context: ApiResponse<api.SendPassportAuthorizationFormParams, api.OkUnion>) => any;
sendPaymentForm?: (context: ApiResponse<api.SendPaymentFormParams, api.PaymentResultUnion>) => any;
sendPhoneNumberConfirmationCode?: (context: ApiResponse<api.SendPhoneNumberConfirmationCodeParams, api.AuthenticationCodeInfoUnion>) => any;
sendPhoneNumberVerificationCode?: (context: ApiResponse<api.SendPhoneNumberVerificationCodeParams, api.AuthenticationCodeInfoUnion>) => any;
setAccountTtl?: (context: ApiResponse<api.SetAccountTtlParams, api.OkUnion>) => any;
setAlarm?: (context: ApiResponse<api.SetAlarmParams, api.OkUnion>) => any;
setAuthenticationPhoneNumber?: (context: ApiResponse<api.SetAuthenticationPhoneNumberParams, api.OkUnion>) => any;
setAutoDownloadSettings?: (context: ApiResponse<api.SetAutoDownloadSettingsParams, api.OkUnion>) => any;
setBackground?: (context: ApiResponse<api.SetBackgroundParams, api.BackgroundUnion>) => any;
setBio?: (context: ApiResponse<api.SetBioParams, api.OkUnion>) => any;
setBotUpdatesStatus?: (context: ApiResponse<api.SetBotUpdatesStatusParams, api.OkUnion>) => any;
setChatClientData?: (context: ApiResponse<api.SetChatClientDataParams, api.OkUnion>) => any;
setChatDescription?: (context: ApiResponse<api.SetChatDescriptionParams, api.OkUnion>) => any;
setChatDraftMessage?: (context: ApiResponse<api.SetChatDraftMessageParams, api.OkUnion>) => any;
setChatMemberStatus?: (context: ApiResponse<api.SetChatMemberStatusParams, api.OkUnion>) => any;
setChatNotificationSettings?: (context: ApiResponse<api.SetChatNotificationSettingsParams, api.OkUnion>) => any;
setChatPermissions?: (context: ApiResponse<api.SetChatPermissionsParams, api.OkUnion>) => any;
setChatPhoto?: (context: ApiResponse<api.SetChatPhotoParams, api.OkUnion>) => any;
setChatTitle?: (context: ApiResponse<api.SetChatTitleParams, api.OkUnion>) => any;
setCustomLanguagePack?: (context: ApiResponse<api.SetCustomLanguagePackParams, api.OkUnion>) => any;
setCustomLanguagePackString?: (context: ApiResponse<api.SetCustomLanguagePackStringParams, api.OkUnion>) => any;
setDatabaseEncryptionKey?: (context: ApiResponse<api.SetDatabaseEncryptionKeyParams, api.OkUnion>) => any;
setFileGenerationProgress?: (context: ApiResponse<api.SetFileGenerationProgressParams, api.OkUnion>) => any;
setGameScore?: (context: ApiResponse<api.SetGameScoreParams, api.MessageUnion>) => any;
setInlineGameScore?: (context: ApiResponse<api.SetInlineGameScoreParams, api.OkUnion>) => any;
setLogStream?: (context: ApiResponse<api.SetLogStreamParams, api.OkUnion>) => any;
setLogTagVerbosityLevel?: (context: ApiResponse<api.SetLogTagVerbosityLevelParams, api.OkUnion>) => any;
setLogVerbosityLevel?: (context: ApiResponse<api.SetLogVerbosityLevelParams, api.OkUnion>) => any;
setName?: (context: ApiResponse<api.SetNameParams, api.OkUnion>) => any;
setNetworkType?: (context: ApiResponse<api.SetNetworkTypeParams, api.OkUnion>) => any;
setOption?: (context: ApiResponse<api.SetOptionParams, api.OkUnion>) => any;
setPassportElement?: (context: ApiResponse<api.SetPassportElementParams, api.PassportElementUnion>) => any;
setPassportElementErrors?: (context: ApiResponse<api.SetPassportElementErrorsParams, api.OkUnion>) => any;
setPassword?: (context: ApiResponse<api.SetPasswordParams, api.PasswordStateUnion>) => any;
setPinnedChats?: (context: ApiResponse<api.SetPinnedChatsParams, api.OkUnion>) => any;
setPollAnswer?: (context: ApiResponse<api.SetPollAnswerParams, api.OkUnion>) => any;
setProfilePhoto?: (context: ApiResponse<api.SetProfilePhotoParams, api.OkUnion>) => any;
setRecoveryEmailAddress?: (context: ApiResponse<api.SetRecoveryEmailAddressParams, api.PasswordStateUnion>) => any;
setScopeNotificationSettings?: (context: ApiResponse<api.SetScopeNotificationSettingsParams, api.OkUnion>) => any;
setStickerPositionInSet?: (context: ApiResponse<api.SetStickerPositionInSetParams, api.OkUnion>) => any;
setSupergroupStickerSet?: (context: ApiResponse<api.SetSupergroupStickerSetParams, api.OkUnion>) => any;
setSupergroupUsername?: (context: ApiResponse<api.SetSupergroupUsernameParams, api.OkUnion>) => any;
setTdlibParameters?: (context: ApiResponse<api.SetTdlibParametersParams, api.OkUnion>) => any;
setUserPrivacySettingRules?: (context: ApiResponse<api.SetUserPrivacySettingRulesParams, api.OkUnion>) => any;
setUsername?: (context: ApiResponse<api.SetUsernameParams, api.OkUnion>) => any;
stopPoll?: (context: ApiResponse<api.StopPollParams, api.OkUnion>) => any;
synchronizeLanguagePack?: (context: ApiResponse<api.SynchronizeLanguagePackParams, api.OkUnion>) => any;
terminateAllOtherSessions?: (context: ApiResponse<never, api.OkUnion>) => any;
terminateSession?: (context: ApiResponse<api.TerminateSessionParams, api.OkUnion>) => any;
toggleChatDefaultDisableNotification?: (context: ApiResponse<api.ToggleChatDefaultDisableNotificationParams, api.OkUnion>) => any;
toggleChatIsMarkedAsUnread?: (context: ApiResponse<api.ToggleChatIsMarkedAsUnreadParams, api.OkUnion>) => any;
toggleChatIsPinned?: (context: ApiResponse<api.ToggleChatIsPinnedParams, api.OkUnion>) => any;
toggleSupergroupIsAllHistoryAvailable?: (context: ApiResponse<api.ToggleSupergroupIsAllHistoryAvailableParams, api.OkUnion>) => any;
toggleSupergroupSignMessages?: (context: ApiResponse<api.ToggleSupergroupSignMessagesParams, api.OkUnion>) => any;
unblockUser?: (context: ApiResponse<api.UnblockUserParams, api.OkUnion>) => any;
unpinChatMessage?: (context: ApiResponse<api.UnpinChatMessageParams, api.OkUnion>) => any;
upgradeBasicGroupChatToSupergroupChat?: (context: ApiResponse<api.UpgradeBasicGroupChatToSupergroupChatParams, api.ChatUnion>) => any;
uploadFile?: (context: ApiResponse<api.UploadFileParams, api.FileUnion>) => any;
uploadStickerFile?: (context: ApiResponse<api.UploadStickerFileParams, api.FileUnion>) => any;
validateOrderInfo?: (context: ApiResponse<api.ValidateOrderInfoParams, api.ValidatedOrderInfoUnion>) => any;
viewMessages?: (context: ApiResponse<api.ViewMessagesParams, api.OkUnion>) => any;
viewTrendingStickerSets?: (context: ApiResponse<api.ViewTrendingStickerSetsParams, api.OkUnion>) => any;
writeGeneratedFilePart?: (context: ApiResponse<api.WriteGeneratedFilePartParams, api.OkUnion>) => any;
}
export interface UpdateHandlers {
updateAuthorizationState?: (context: UpdateContext<api.UpdateAuthorizationState>) => any;
updateNewMessage?: (context: UpdateContext<api.UpdateNewMessage>) => any;
updateMessageSendAcknowledged?: (context: UpdateContext<api.UpdateMessageSendAcknowledged>) => any;
updateMessageSendSucceeded?: (context: UpdateContext<api.UpdateMessageSendSucceeded>) => any;
updateMessageSendFailed?: (context: UpdateContext<api.UpdateMessageSendFailed>) => any;
updateMessageContent?: (context: UpdateContext<api.UpdateMessageContent>) => any;
updateMessageEdited?: (context: UpdateContext<api.UpdateMessageEdited>) => any;
updateMessageViews?: (context: UpdateContext<api.UpdateMessageViews>) => any;
updateMessageContentOpened?: (context: UpdateContext<api.UpdateMessageContentOpened>) => any;
updateMessageMentionRead?: (context: UpdateContext<api.UpdateMessageMentionRead>) => any;
updateNewChat?: (context: UpdateContext<api.UpdateNewChat>) => any;
updateChatTitle?: (context: UpdateContext<api.UpdateChatTitle>) => any;
updateChatPhoto?: (context: UpdateContext<api.UpdateChatPhoto>) => any;
updateChatPermissions?: (context: UpdateContext<api.UpdateChatPermissions>) => any;
updateChatLastMessage?: (context: UpdateContext<api.UpdateChatLastMessage>) => any;
updateChatOrder?: (context: UpdateContext<api.UpdateChatOrder>) => any;
updateChatIsPinned?: (context: UpdateContext<api.UpdateChatIsPinned>) => any;
updateChatIsMarkedAsUnread?: (context: UpdateContext<api.UpdateChatIsMarkedAsUnread>) => any;
updateChatIsSponsored?: (context: UpdateContext<api.UpdateChatIsSponsored>) => any;
updateChatDefaultDisableNotification?: (context: UpdateContext<api.UpdateChatDefaultDisableNotification>) => any;
updateChatReadInbox?: (context: UpdateContext<api.UpdateChatReadInbox>) => any;
updateChatReadOutbox?: (context: UpdateContext<api.UpdateChatReadOutbox>) => any;
updateChatUnreadMentionCount?: (context: UpdateContext<api.UpdateChatUnreadMentionCount>) => any;
updateChatNotificationSettings?: (context: UpdateContext<api.UpdateChatNotificationSettings>) => any;
updateScopeNotificationSettings?: (context: UpdateContext<api.UpdateScopeNotificationSettings>) => any;
updateChatPinnedMessage?: (context: UpdateContext<api.UpdateChatPinnedMessage>) => any;
updateChatReplyMarkup?: (context: UpdateContext<api.UpdateChatReplyMarkup>) => any;
updateChatDraftMessage?: (context: UpdateContext<api.UpdateChatDraftMessage>) => any;
updateChatOnlineMemberCount?: (context: UpdateContext<api.UpdateChatOnlineMemberCount>) => any;
updateNotification?: (context: UpdateContext<api.UpdateNotification>) => any;
updateNotificationGroup?: (context: UpdateContext<api.UpdateNotificationGroup>) => any;
updateActiveNotifications?: (context: UpdateContext<api.UpdateActiveNotifications>) => any;
updateHavePendingNotifications?: (context: UpdateContext<api.UpdateHavePendingNotifications>) => any;
updateDeleteMessages?: (context: UpdateContext<api.UpdateDeleteMessages>) => any;
updateUserChatAction?: (context: UpdateContext<api.UpdateUserChatAction>) => any;
updateUserStatus?: (context: UpdateContext<api.UpdateUserStatus>) => any;
updateUser?: (context: UpdateContext<api.UpdateUser>) => any;
updateBasicGroup?: (context: UpdateContext<api.UpdateBasicGroup>) => any;
updateSupergroup?: (context: UpdateContext<api.UpdateSupergroup>) => any;
updateSecretChat?: (context: UpdateContext<api.UpdateSecretChat>) => any;
updateUserFullInfo?: (context: UpdateContext<api.UpdateUserFullInfo>) => any;
updateBasicGroupFullInfo?: (context: UpdateContext<api.UpdateBasicGroupFullInfo>) => any;
updateSupergroupFullInfo?: (context: UpdateContext<api.UpdateSupergroupFullInfo>) => any;
updateServiceNotification?: (context: UpdateContext<api.UpdateServiceNotification>) => any;
updateFile?: (context: UpdateContext<api.UpdateFile>) => any;
updateFileGenerationStart?: (context: UpdateContext<api.UpdateFileGenerationStart>) => any;
updateFileGenerationStop?: (context: UpdateContext<api.UpdateFileGenerationStop>) => any;
updateCall?: (context: UpdateContext<api.UpdateCall>) => any;
updateUserPrivacySettingRules?: (context: UpdateContext<api.UpdateUserPrivacySettingRules>) => any;
updateUnreadMessageCount?: (context: UpdateContext<api.UpdateUnreadMessageCount>) => any;
updateUnreadChatCount?: (context: UpdateContext<api.UpdateUnreadChatCount>) => any;
updateOption?: (context: UpdateContext<api.UpdateOption>) => any;
updateInstalledStickerSets?: (context: UpdateContext<api.UpdateInstalledStickerSets>) => any;
updateTrendingStickerSets?: (context: UpdateContext<api.UpdateTrendingStickerSets>) => any;
updateRecentStickers?: (context: UpdateContext<api.UpdateRecentStickers>) => any;
updateFavoriteStickers?: (context: UpdateContext<api.UpdateFavoriteStickers>) => any;
updateSavedAnimations?: (context: UpdateContext<api.UpdateSavedAnimations>) => any;
updateSelectedBackground?: (context: UpdateContext<api.UpdateSelectedBackground>) => any;
updateLanguagePackStrings?: (context: UpdateContext<api.UpdateLanguagePackStrings>) => any;
updateConnectionState?: (context: UpdateContext<api.UpdateConnectionState>) => any;
updateTermsOfService?: (context: UpdateContext<api.UpdateTermsOfService>) => any;
updateNewInlineQuery?: (context: UpdateContext<api.UpdateNewInlineQuery>) => any;
updateNewChosenInlineResult?: (context: UpdateContext<api.UpdateNewChosenInlineResult>) => any;
updateNewCallbackQuery?: (context: UpdateContext<api.UpdateNewCallbackQuery>) => any;
updateNewInlineCallbackQuery?: (context: UpdateContext<api.UpdateNewInlineCallbackQuery>) => any;
updateNewShippingQuery?: (context: UpdateContext<api.UpdateNewShippingQuery>) => any;
updateNewPreCheckoutQuery?: (context: UpdateContext<api.UpdateNewPreCheckoutQuery>) => any;
updateNewCustomEvent?: (context: UpdateContext<api.UpdateNewCustomEvent>) => any;
updateNewCustomQuery?: (context: UpdateContext<api.UpdateNewCustomQuery>) => any;
updatePoll?: (context: UpdateContext<api.UpdatePoll>) => any;
}
export declare type UpdateHandler<UpdateT extends BaseTdObject> = (context: UpdateContext<UpdateT>) => any;
export interface AirgramVue extends Vue {
$_airgramSubscriptions?: Array<() => void>;
$_airgramProvider: AirgramProvider;
$_airgramDollar?: AirgramDollar;
}