UNPKG

mt-node

Version:
612 lines (607 loc) 42.2 kB
import tdl from 'tdl'; import * as types from 'tdl/types/tdlib'; type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>> export type getAuthorizationState = Omit<types.getAuthorizationState, '_'>; export type setTdlibParameters = Omit<types.setTdlibParameters, '_'>; export type checkDatabaseEncryptionKey = Omit<types.checkDatabaseEncryptionKey, '_'>; export type setAuthenticationPhoneNumber = Omit<types.setAuthenticationPhoneNumber, '_'>; export type resendAuthenticationCode = Omit<types.resendAuthenticationCode, '_'>; export type checkAuthenticationCode = Omit<types.checkAuthenticationCode, '_'>; export type checkAuthenticationPassword = Omit<types.checkAuthenticationPassword, '_'>; export type requestAuthenticationPasswordRecovery = Omit<types.requestAuthenticationPasswordRecovery, '_'>; export type recoverAuthenticationPassword = Omit<types.recoverAuthenticationPassword, '_'>; export type checkAuthenticationBotToken = Omit<types.checkAuthenticationBotToken, '_'>; export type logOut = Omit<types.logOut, '_'>; export type close = Omit<types.close, '_'>; export type setDatabaseEncryptionKey = Omit<types.setDatabaseEncryptionKey, '_'>; export type getPasswordState = Omit<types.getPasswordState, '_'>; export type setPassword = Omit<types.setPassword, '_'>; export type getRecoveryEmailAddress = Omit<types.getRecoveryEmailAddress, '_'>; export type setRecoveryEmailAddress = Omit<types.setRecoveryEmailAddress, '_'>; export type requestPasswordRecovery = Omit<types.requestPasswordRecovery, '_'>; export type recoverPassword = Omit<types.recoverPassword, '_'>; export type createTemporaryPassword = Omit<types.createTemporaryPassword, '_'>; export type getTemporaryPasswordState = Omit<types.getTemporaryPasswordState, '_'>; export type processDcUpdate = Omit<types.processDcUpdate, '_'>; export type getMe = Omit<types.getMe, '_'>; export type getUser = Omit<types.getUser, '_'>; export type getUserFullInfo = Omit<types.getUserFullInfo, '_'>; export type getBasicGroup = Omit<types.getBasicGroup, '_'>; export type getBasicGroupFullInfo = Omit<types.getBasicGroupFullInfo, '_'>; export type getSupergroup = Omit<types.getSupergroup, '_'>; export type getSupergroupFullInfo = Omit<types.getSupergroupFullInfo, '_'>; export type getSecretChat = Omit<types.getSecretChat, '_'>; export type getChat = Omit<types.getChat, '_'>; export type getMessage = Omit<types.getMessage, '_'>; export type getRepliedMessage = Omit<types.getRepliedMessage, '_'>; export type getChatPinnedMessage = Omit<types.getChatPinnedMessage, '_'>; export type getMessages = Omit<types.getMessages, '_'>; export type getFile = Omit<types.getFile, '_'>; export type getRemoteFile = Omit<types.getRemoteFile, '_'>; export type getChats = Omit<types.getChats, '_'>; export type searchPublicChat = Omit<types.searchPublicChat, '_'>; export type searchPublicChats = Omit<types.searchPublicChats, '_'>; export type searchChats = Omit<types.searchChats, '_'>; export type searchChatsOnServer = Omit<types.searchChatsOnServer, '_'>; export type getTopChats = Omit<types.getTopChats, '_'>; export type removeTopChat = Omit<types.removeTopChat, '_'>; export type addRecentlyFoundChat = Omit<types.addRecentlyFoundChat, '_'>; export type removeRecentlyFoundChat = Omit<types.removeRecentlyFoundChat, '_'>; export type clearRecentlyFoundChats = Omit<types.clearRecentlyFoundChats, '_'>; export type checkChatUsername = Omit<types.checkChatUsername, '_'>; export type getCreatedPublicChats = Omit<types.getCreatedPublicChats, '_'>; export type getGroupsInCommon = Omit<types.getGroupsInCommon, '_'>; export type getChatHistory = Omit<types.getChatHistory, '_'>; export type deleteChatHistory = Omit<types.deleteChatHistory, '_'>; export type searchChatMessages = Omit<types.searchChatMessages, '_'>; export type searchMessages = Omit<types.searchMessages, '_'>; export type searchSecretMessages = Omit<types.searchSecretMessages, '_'>; export type searchCallMessages = Omit<types.searchCallMessages, '_'>; export type searchChatRecentLocationMessages = Omit<types.searchChatRecentLocationMessages, '_'>; export type getActiveLiveLocationMessages = Omit<types.getActiveLiveLocationMessages, '_'>; export type getChatMessageByDate = Omit<types.getChatMessageByDate, '_'>; export type getChatMessageCount = Omit<types.getChatMessageCount, '_'>; export type getPublicMessageLink = Omit<types.getPublicMessageLink, '_'>; export type sendMessage = Omit<types.sendMessage, '_'>; export type sendMessageAlbum = Omit<types.sendMessageAlbum, '_'>; export type sendBotStartMessage = Omit<types.sendBotStartMessage, '_'>; export type sendInlineQueryResultMessage = Omit<types.sendInlineQueryResultMessage, '_'>; export type forwardMessages = Omit<types.forwardMessages, '_'>; export type sendChatSetTtlMessage = Omit<types.sendChatSetTtlMessage, '_'>; export type sendChatScreenshotTakenNotification = Omit<types.sendChatScreenshotTakenNotification, '_'>; export type addLocalMessage = Omit<types.addLocalMessage, '_'>; export type deleteMessages = Omit<types.deleteMessages, '_'>; export type deleteChatMessagesFromUser = Omit<types.deleteChatMessagesFromUser, '_'>; export type editMessageText = Omit<types.editMessageText, '_'>; export type editMessageLiveLocation = Omit<types.editMessageLiveLocation, '_'>; export type editMessageMedia = Omit<types.editMessageMedia, '_'>; export type editMessageCaption = Omit<types.editMessageCaption, '_'>; export type editMessageReplyMarkup = Omit<types.editMessageReplyMarkup, '_'>; export type editInlineMessageText = Omit<types.editInlineMessageText, '_'>; export type editInlineMessageLiveLocation = Omit<types.editInlineMessageLiveLocation, '_'>; export type editInlineMessageMedia = Omit<types.editInlineMessageMedia, '_'>; export type editInlineMessageCaption = Omit<types.editInlineMessageCaption, '_'>; export type editInlineMessageReplyMarkup = Omit<types.editInlineMessageReplyMarkup, '_'>; export type getTextEntities = Omit<types.getTextEntities, '_'>; export type parseTextEntities = Omit<types.parseTextEntities, '_'>; export type getFileMimeType = Omit<types.getFileMimeType, '_'>; export type getFileExtension = Omit<types.getFileExtension, '_'>; export type cleanFileName = Omit<types.cleanFileName, '_'>; export type getLanguagePackString = Omit<types.getLanguagePackString, '_'>; export type getInlineQueryResults = Omit<types.getInlineQueryResults, '_'>; export type answerInlineQuery = Omit<types.answerInlineQuery, '_'>; export type getCallbackQueryAnswer = Omit<types.getCallbackQueryAnswer, '_'>; export type answerCallbackQuery = Omit<types.answerCallbackQuery, '_'>; export type answerShippingQuery = Omit<types.answerShippingQuery, '_'>; export type answerPreCheckoutQuery = Omit<types.answerPreCheckoutQuery, '_'>; export type setGameScore = Omit<types.setGameScore, '_'>; export type setInlineGameScore = Omit<types.setInlineGameScore, '_'>; export type getGameHighScores = Omit<types.getGameHighScores, '_'>; export type getInlineGameHighScores = Omit<types.getInlineGameHighScores, '_'>; export type deleteChatReplyMarkup = Omit<types.deleteChatReplyMarkup, '_'>; export type sendChatAction = Omit<types.sendChatAction, '_'>; export type openChat = Omit<types.openChat, '_'>; export type closeChat = Omit<types.closeChat, '_'>; export type viewMessages = Omit<types.viewMessages, '_'>; export type openMessageContent = Omit<types.openMessageContent, '_'>; export type readAllChatMentions = Omit<types.readAllChatMentions, '_'>; export type createPrivateChat = Omit<types.createPrivateChat, '_'>; export type createBasicGroupChat = Omit<types.createBasicGroupChat, '_'>; export type createSupergroupChat = Omit<types.createSupergroupChat, '_'>; export type createSecretChat = Omit<types.createSecretChat, '_'>; export type createNewBasicGroupChat = Omit<types.createNewBasicGroupChat, '_'>; export type createNewSupergroupChat = Omit<types.createNewSupergroupChat, '_'>; export type createNewSecretChat = Omit<types.createNewSecretChat, '_'>; export type upgradeBasicGroupChatToSupergroupChat = Omit<types.upgradeBasicGroupChatToSupergroupChat, '_'>; export type setChatTitle = Omit<types.setChatTitle, '_'>; export type setChatPhoto = Omit<types.setChatPhoto, '_'>; export type setChatDraftMessage = Omit<types.setChatDraftMessage, '_'>; export type setChatNotificationSettings = Omit<types.setChatNotificationSettings, '_'>; export type toggleChatIsPinned = Omit<types.toggleChatIsPinned, '_'>; export type toggleChatIsMarkedAsUnread = Omit<types.toggleChatIsMarkedAsUnread, '_'>; export type toggleChatDefaultDisableNotification = Omit<types.toggleChatDefaultDisableNotification, '_'>; export type setChatClientData = Omit<types.setChatClientData, '_'>; export type joinChat = Omit<types.joinChat, '_'>; export type leaveChat = Omit<types.leaveChat, '_'>; export type addChatMember = Omit<types.addChatMember, '_'>; export type addChatMembers = Omit<types.addChatMembers, '_'>; export type setChatMemberStatus = Omit<types.setChatMemberStatus, '_'>; export type getChatMember = Omit<types.getChatMember, '_'>; export type searchChatMembers = Omit<types.searchChatMembers, '_'>; export type getChatAdministrators = Omit<types.getChatAdministrators, '_'>; export type clearAllDraftMessages = Omit<types.clearAllDraftMessages, '_'>; export type getScopeNotificationSettings = Omit<types.getScopeNotificationSettings, '_'>; export type setScopeNotificationSettings = Omit<types.setScopeNotificationSettings, '_'>; export type resetAllNotificationSettings = Omit<types.resetAllNotificationSettings, '_'>; export type setPinnedChats = Omit<types.setPinnedChats, '_'>; export type downloadFile = Omit<types.downloadFile, '_'>; export type cancelDownloadFile = Omit<types.cancelDownloadFile, '_'>; export type uploadFile = Omit<types.uploadFile, '_'>; export type cancelUploadFile = Omit<types.cancelUploadFile, '_'>; export type setFileGenerationProgress = Omit<types.setFileGenerationProgress, '_'>; export type finishFileGeneration = Omit<types.finishFileGeneration, '_'>; export type deleteFile = Omit<types.deleteFile, '_'>; export type generateChatInviteLink = Omit<types.generateChatInviteLink, '_'>; export type checkChatInviteLink = Omit<types.checkChatInviteLink, '_'>; export type joinChatByInviteLink = Omit<types.joinChatByInviteLink, '_'>; export type createCall = Omit<types.createCall, '_'>; export type acceptCall = Omit<types.acceptCall, '_'>; export type discardCall = Omit<types.discardCall, '_'>; export type sendCallRating = Omit<types.sendCallRating, '_'>; export type sendCallDebugInformation = Omit<types.sendCallDebugInformation, '_'>; export type blockUser = Omit<types.blockUser, '_'>; export type unblockUser = Omit<types.unblockUser, '_'>; export type getBlockedUsers = Omit<types.getBlockedUsers, '_'>; export type importContacts = Omit<types.importContacts, '_'>; export type getContacts = Omit<types.getContacts, '_'>; export type searchContacts = Omit<types.searchContacts, '_'>; export type removeContacts = Omit<types.removeContacts, '_'>; export type getImportedContactCount = Omit<types.getImportedContactCount, '_'>; export type changeImportedContacts = Omit<types.changeImportedContacts, '_'>; export type clearImportedContacts = Omit<types.clearImportedContacts, '_'>; export type getUserProfilePhotos = Omit<types.getUserProfilePhotos, '_'>; export type getStickers = Omit<types.getStickers, '_'>; export type searchStickers = Omit<types.searchStickers, '_'>; export type getInstalledStickerSets = Omit<types.getInstalledStickerSets, '_'>; export type getArchivedStickerSets = Omit<types.getArchivedStickerSets, '_'>; export type getTrendingStickerSets = Omit<types.getTrendingStickerSets, '_'>; export type getAttachedStickerSets = Omit<types.getAttachedStickerSets, '_'>; export type getStickerSet = Omit<types.getStickerSet, '_'>; export type searchStickerSet = Omit<types.searchStickerSet, '_'>; export type searchInstalledStickerSets = Omit<types.searchInstalledStickerSets, '_'>; export type searchStickerSets = Omit<types.searchStickerSets, '_'>; export type changeStickerSet = Omit<types.changeStickerSet, '_'>; export type viewTrendingStickerSets = Omit<types.viewTrendingStickerSets, '_'>; export type reorderInstalledStickerSets = Omit<types.reorderInstalledStickerSets, '_'>; export type getRecentStickers = Omit<types.getRecentStickers, '_'>; export type addRecentSticker = Omit<types.addRecentSticker, '_'>; export type removeRecentSticker = Omit<types.removeRecentSticker, '_'>; export type clearRecentStickers = Omit<types.clearRecentStickers, '_'>; export type getFavoriteStickers = Omit<types.getFavoriteStickers, '_'>; export type addFavoriteSticker = Omit<types.addFavoriteSticker, '_'>; export type removeFavoriteSticker = Omit<types.removeFavoriteSticker, '_'>; export type getStickerEmojis = Omit<types.getStickerEmojis, '_'>; export type getSavedAnimations = Omit<types.getSavedAnimations, '_'>; export type addSavedAnimation = Omit<types.addSavedAnimation, '_'>; export type removeSavedAnimation = Omit<types.removeSavedAnimation, '_'>; export type getRecentInlineBots = Omit<types.getRecentInlineBots, '_'>; export type searchHashtags = Omit<types.searchHashtags, '_'>; export type removeRecentHashtag = Omit<types.removeRecentHashtag, '_'>; export type getWebPagePreview = Omit<types.getWebPagePreview, '_'>; export type getWebPageInstantView = Omit<types.getWebPageInstantView, '_'>; export type setProfilePhoto = Omit<types.setProfilePhoto, '_'>; export type deleteProfilePhoto = Omit<types.deleteProfilePhoto, '_'>; export type setName = Omit<types.setName, '_'>; export type setBio = Omit<types.setBio, '_'>; export type setUsername = Omit<types.setUsername, '_'>; export type changePhoneNumber = Omit<types.changePhoneNumber, '_'>; export type resendChangePhoneNumberCode = Omit<types.resendChangePhoneNumberCode, '_'>; export type checkChangePhoneNumberCode = Omit<types.checkChangePhoneNumberCode, '_'>; export type getActiveSessions = Omit<types.getActiveSessions, '_'>; export type terminateSession = Omit<types.terminateSession, '_'>; export type terminateAllOtherSessions = Omit<types.terminateAllOtherSessions, '_'>; export type getConnectedWebsites = Omit<types.getConnectedWebsites, '_'>; export type disconnectWebsite = Omit<types.disconnectWebsite, '_'>; export type disconnectAllWebsites = Omit<types.disconnectAllWebsites, '_'>; export type toggleBasicGroupAdministrators = Omit<types.toggleBasicGroupAdministrators, '_'>; export type setSupergroupUsername = Omit<types.setSupergroupUsername, '_'>; export type setSupergroupStickerSet = Omit<types.setSupergroupStickerSet, '_'>; export type toggleSupergroupInvites = Omit<types.toggleSupergroupInvites, '_'>; export type toggleSupergroupSignMessages = Omit<types.toggleSupergroupSignMessages, '_'>; export type toggleSupergroupIsAllHistoryAvailable = Omit<types.toggleSupergroupIsAllHistoryAvailable, '_'>; export type setSupergroupDescription = Omit<types.setSupergroupDescription, '_'>; export type pinSupergroupMessage = Omit<types.pinSupergroupMessage, '_'>; export type unpinSupergroupMessage = Omit<types.unpinSupergroupMessage, '_'>; export type reportSupergroupSpam = Omit<types.reportSupergroupSpam, '_'>; export type getSupergroupMembers = Omit<types.getSupergroupMembers, '_'>; export type deleteSupergroup = Omit<types.deleteSupergroup, '_'>; export type closeSecretChat = Omit<types.closeSecretChat, '_'>; export type getChatEventLog = Omit<types.getChatEventLog, '_'>; export type getPaymentForm = Omit<types.getPaymentForm, '_'>; export type validateOrderInfo = Omit<types.validateOrderInfo, '_'>; export type sendPaymentForm = Omit<types.sendPaymentForm, '_'>; export type getPaymentReceipt = Omit<types.getPaymentReceipt, '_'>; export type getSavedOrderInfo = Omit<types.getSavedOrderInfo, '_'>; export type deleteSavedOrderInfo = Omit<types.deleteSavedOrderInfo, '_'>; export type deleteSavedCredentials = Omit<types.deleteSavedCredentials, '_'>; export type getSupportUser = Omit<types.getSupportUser, '_'>; export type getWallpapers = Omit<types.getWallpapers, '_'>; export type getLocalizationTargetInfo = Omit<types.getLocalizationTargetInfo, '_'>; export type getLanguagePackStrings = Omit<types.getLanguagePackStrings, '_'>; export type setCustomLanguagePack = Omit<types.setCustomLanguagePack, '_'>; export type editCustomLanguagePackInfo = Omit<types.editCustomLanguagePackInfo, '_'>; export type setCustomLanguagePackString = Omit<types.setCustomLanguagePackString, '_'>; export type deleteLanguagePack = Omit<types.deleteLanguagePack, '_'>; export type registerDevice = Omit<types.registerDevice, '_'>; export type getRecentlyVisitedTMeUrls = Omit<types.getRecentlyVisitedTMeUrls, '_'>; export type setUserPrivacySettingRules = Omit<types.setUserPrivacySettingRules, '_'>; export type getUserPrivacySettingRules = Omit<types.getUserPrivacySettingRules, '_'>; export type getOption = Omit<types.getOption, '_'>; export type setOption = Omit<types.setOption, '_'>; export type setAccountTtl = Omit<types.setAccountTtl, '_'>; export type getAccountTtl = Omit<types.getAccountTtl, '_'>; export type deleteAccount = Omit<types.deleteAccount, '_'>; export type getChatReportSpamState = Omit<types.getChatReportSpamState, '_'>; export type changeChatReportSpamState = Omit<types.changeChatReportSpamState, '_'>; export type reportChat = Omit<types.reportChat, '_'>; export type getStorageStatistics = Omit<types.getStorageStatistics, '_'>; export type getStorageStatisticsFast = Omit<types.getStorageStatisticsFast, '_'>; export type optimizeStorage = Omit<types.optimizeStorage, '_'>; export type setNetworkType = Omit<types.setNetworkType, '_'>; export type getNetworkStatistics = Omit<types.getNetworkStatistics, '_'>; export type addNetworkStatistics = Omit<types.addNetworkStatistics, '_'>; export type resetNetworkStatistics = Omit<types.resetNetworkStatistics, '_'>; export type getPassportElement = Omit<types.getPassportElement, '_'>; export type getAllPassportElements = Omit<types.getAllPassportElements, '_'>; export type setPassportElement = Omit<types.setPassportElement, '_'>; export type deletePassportElement = Omit<types.deletePassportElement, '_'>; export type setPassportElementErrors = Omit<types.setPassportElementErrors, '_'>; export type getPreferredCountryLanguage = Omit<types.getPreferredCountryLanguage, '_'>; export type sendPhoneNumberVerificationCode = Omit<types.sendPhoneNumberVerificationCode, '_'>; export type resendPhoneNumberVerificationCode = Omit<types.resendPhoneNumberVerificationCode, '_'>; export type checkPhoneNumberVerificationCode = Omit<types.checkPhoneNumberVerificationCode, '_'>; export type sendEmailAddressVerificationCode = Omit<types.sendEmailAddressVerificationCode, '_'>; export type resendEmailAddressVerificationCode = Omit<types.resendEmailAddressVerificationCode, '_'>; export type checkEmailAddressVerificationCode = Omit<types.checkEmailAddressVerificationCode, '_'>; export type getPassportAuthorizationForm = Omit<types.getPassportAuthorizationForm, '_'>; export type sendPassportAuthorizationForm = Omit<types.sendPassportAuthorizationForm, '_'>; export type sendPhoneNumberConfirmationCode = Omit<types.sendPhoneNumberConfirmationCode, '_'>; export type resendPhoneNumberConfirmationCode = Omit<types.resendPhoneNumberConfirmationCode, '_'>; export type checkPhoneNumberConfirmationCode = Omit<types.checkPhoneNumberConfirmationCode, '_'>; export type setBotUpdatesStatus = Omit<types.setBotUpdatesStatus, '_'>; export type uploadStickerFile = Omit<types.uploadStickerFile, '_'>; export type createNewStickerSet = Omit<types.createNewStickerSet, '_'>; export type addStickerToSet = Omit<types.addStickerToSet, '_'>; export type setStickerPositionInSet = Omit<types.setStickerPositionInSet, '_'>; export type removeStickerFromSet = Omit<types.removeStickerFromSet, '_'>; export type getMapThumbnailFile = Omit<types.getMapThumbnailFile, '_'>; export type acceptTermsOfService = Omit<types.acceptTermsOfService, '_'>; export type sendCustomRequest = Omit<types.sendCustomRequest, '_'>; export type answerCustomQuery = Omit<types.answerCustomQuery, '_'>; export type setAlarm = Omit<types.setAlarm, '_'>; export type getCountryCode = Omit<types.getCountryCode, '_'>; export type getInviteText = Omit<types.getInviteText, '_'>; export type getDeepLinkInfo = Omit<types.getDeepLinkInfo, '_'>; export type addProxy = Omit<types.addProxy, '_'>; export type editProxy = Omit<types.editProxy, '_'>; export type enableProxy = Omit<types.enableProxy, '_'>; export type disableProxy = Omit<types.disableProxy, '_'>; export type removeProxy = Omit<types.removeProxy, '_'>; export type getProxies = Omit<types.getProxies, '_'>; export type getProxyLink = Omit<types.getProxyLink, '_'>; export type pingProxy = Omit<types.pingProxy, '_'>; export type testCallEmpty = Omit<types.testCallEmpty, '_'>; export type testCallString = Omit<types.testCallString, '_'>; export type testCallBytes = Omit<types.testCallBytes, '_'>; export type testCallVectorInt = Omit<types.testCallVectorInt, '_'>; export type testCallVectorIntObject = Omit<types.testCallVectorIntObject, '_'>; export type testCallVectorString = Omit<types.testCallVectorString, '_'>; export type testCallVectorStringObject = Omit<types.testCallVectorStringObject, '_'>; export type testSquareInt = Omit<types.testSquareInt, '_'>; export type testNetwork = Omit<types.testNetwork, '_'>; export type testGetDifference = Omit<types.testGetDifference, '_'>; export type testUseUpdate = Omit<types.testUseUpdate, '_'>; export type testUseError = Omit<types.testUseError, '_'>; export default class Client extends tdl { getAuthorizationState (params: getAuthorizationState): types.Invoke; setTdlibParameters (params: setTdlibParameters): types.Invoke; checkDatabaseEncryptionKey (params: checkDatabaseEncryptionKey): types.Invoke; setAuthenticationPhoneNumber (params: setAuthenticationPhoneNumber): types.Invoke; resendAuthenticationCode (params: resendAuthenticationCode): types.Invoke; checkAuthenticationCode (params: checkAuthenticationCode): types.Invoke; checkAuthenticationPassword (params: checkAuthenticationPassword): types.Invoke; requestAuthenticationPasswordRecovery (params: requestAuthenticationPasswordRecovery): types.Invoke; recoverAuthenticationPassword (params: recoverAuthenticationPassword): types.Invoke; checkAuthenticationBotToken (params: checkAuthenticationBotToken): types.Invoke; logOut (params: logOut): types.Invoke; close (params: close): types.Invoke; setDatabaseEncryptionKey (params: setDatabaseEncryptionKey): types.Invoke; getPasswordState (params: getPasswordState): types.Invoke; setPassword (params: setPassword): types.Invoke; getRecoveryEmailAddress (params: getRecoveryEmailAddress): types.Invoke; setRecoveryEmailAddress (params: setRecoveryEmailAddress): types.Invoke; requestPasswordRecovery (params: requestPasswordRecovery): types.Invoke; recoverPassword (params: recoverPassword): types.Invoke; createTemporaryPassword (params: createTemporaryPassword): types.Invoke; getTemporaryPasswordState (params: getTemporaryPasswordState): types.Invoke; processDcUpdate (params: processDcUpdate): types.Invoke; getMe (params: getMe): types.Invoke; getUser (params: getUser): types.Invoke; getUserFullInfo (params: getUserFullInfo): types.Invoke; getBasicGroup (params: getBasicGroup): types.Invoke; getBasicGroupFullInfo (params: getBasicGroupFullInfo): types.Invoke; getSupergroup (params: getSupergroup): types.Invoke; getSupergroupFullInfo (params: getSupergroupFullInfo): types.Invoke; getSecretChat (params: getSecretChat): types.Invoke; getChat (params: getChat): types.Invoke; getMessage (params: getMessage): types.Invoke; getRepliedMessage (params: getRepliedMessage): types.Invoke; getChatPinnedMessage (params: getChatPinnedMessage): types.Invoke; getMessages (params: getMessages): types.Invoke; getFile (params: getFile): types.Invoke; getRemoteFile (params: getRemoteFile): types.Invoke; getChats (params: getChats): types.Invoke; searchPublicChat (params: searchPublicChat): types.Invoke; searchPublicChats (params: searchPublicChats): types.Invoke; searchChats (params: searchChats): types.Invoke; searchChatsOnServer (params: searchChatsOnServer): types.Invoke; getTopChats (params: getTopChats): types.Invoke; removeTopChat (params: removeTopChat): types.Invoke; addRecentlyFoundChat (params: addRecentlyFoundChat): types.Invoke; removeRecentlyFoundChat (params: removeRecentlyFoundChat): types.Invoke; clearRecentlyFoundChats (params: clearRecentlyFoundChats): types.Invoke; checkChatUsername (params: checkChatUsername): types.Invoke; getCreatedPublicChats (params: getCreatedPublicChats): types.Invoke; getGroupsInCommon (params: getGroupsInCommon): types.Invoke; getChatHistory (params: getChatHistory): types.Invoke; deleteChatHistory (params: deleteChatHistory): types.Invoke; searchChatMessages (params: searchChatMessages): types.Invoke; searchMessages (params: searchMessages): types.Invoke; searchSecretMessages (params: searchSecretMessages): types.Invoke; searchCallMessages (params: searchCallMessages): types.Invoke; searchChatRecentLocationMessages (params: searchChatRecentLocationMessages): types.Invoke; getActiveLiveLocationMessages (params: getActiveLiveLocationMessages): types.Invoke; getChatMessageByDate (params: getChatMessageByDate): types.Invoke; getChatMessageCount (params: getChatMessageCount): types.Invoke; getPublicMessageLink (params: getPublicMessageLink): types.Invoke; sendMessage (params: sendMessage): types.Invoke; sendMessageAlbum (params: sendMessageAlbum): types.Invoke; sendBotStartMessage (params: sendBotStartMessage): types.Invoke; sendInlineQueryResultMessage (params: sendInlineQueryResultMessage): types.Invoke; forwardMessages (params: forwardMessages): types.Invoke; sendChatSetTtlMessage (params: sendChatSetTtlMessage): types.Invoke; sendChatScreenshotTakenNotification (params: sendChatScreenshotTakenNotification): types.Invoke; addLocalMessage (params: addLocalMessage): types.Invoke; deleteMessages (params: deleteMessages): types.Invoke; deleteChatMessagesFromUser (params: deleteChatMessagesFromUser): types.Invoke; editMessageText (params: editMessageText): types.Invoke; editMessageLiveLocation (params: editMessageLiveLocation): types.Invoke; editMessageMedia (params: editMessageMedia): types.Invoke; editMessageCaption (params: editMessageCaption): types.Invoke; editMessageReplyMarkup (params: editMessageReplyMarkup): types.Invoke; editInlineMessageText (params: editInlineMessageText): types.Invoke; editInlineMessageLiveLocation (params: editInlineMessageLiveLocation): types.Invoke; editInlineMessageMedia (params: editInlineMessageMedia): types.Invoke; editInlineMessageCaption (params: editInlineMessageCaption): types.Invoke; editInlineMessageReplyMarkup (params: editInlineMessageReplyMarkup): types.Invoke; getTextEntities (params: getTextEntities): types.Invoke; parseTextEntities (params: parseTextEntities): types.Invoke; getFileMimeType (params: getFileMimeType): types.Invoke; getFileExtension (params: getFileExtension): types.Invoke; cleanFileName (params: cleanFileName): types.Invoke; getLanguagePackString (params: getLanguagePackString): types.Invoke; getInlineQueryResults (params: getInlineQueryResults): types.Invoke; answerInlineQuery (params: answerInlineQuery): types.Invoke; getCallbackQueryAnswer (params: getCallbackQueryAnswer): types.Invoke; answerCallbackQuery (params: answerCallbackQuery): types.Invoke; answerShippingQuery (params: answerShippingQuery): types.Invoke; answerPreCheckoutQuery (params: answerPreCheckoutQuery): types.Invoke; setGameScore (params: setGameScore): types.Invoke; setInlineGameScore (params: setInlineGameScore): types.Invoke; getGameHighScores (params: getGameHighScores): types.Invoke; getInlineGameHighScores (params: getInlineGameHighScores): types.Invoke; deleteChatReplyMarkup (params: deleteChatReplyMarkup): types.Invoke; sendChatAction (params: sendChatAction): types.Invoke; openChat (params: openChat): types.Invoke; closeChat (params: closeChat): types.Invoke; viewMessages (params: viewMessages): types.Invoke; openMessageContent (params: openMessageContent): types.Invoke; readAllChatMentions (params: readAllChatMentions): types.Invoke; createPrivateChat (params: createPrivateChat): types.Invoke; createBasicGroupChat (params: createBasicGroupChat): types.Invoke; createSupergroupChat (params: createSupergroupChat): types.Invoke; createSecretChat (params: createSecretChat): types.Invoke; createNewBasicGroupChat (params: createNewBasicGroupChat): types.Invoke; createNewSupergroupChat (params: createNewSupergroupChat): types.Invoke; createNewSecretChat (params: createNewSecretChat): types.Invoke; upgradeBasicGroupChatToSupergroupChat (params: upgradeBasicGroupChatToSupergroupChat): types.Invoke; setChatTitle (params: setChatTitle): types.Invoke; setChatPhoto (params: setChatPhoto): types.Invoke; setChatDraftMessage (params: setChatDraftMessage): types.Invoke; setChatNotificationSettings (params: setChatNotificationSettings): types.Invoke; toggleChatIsPinned (params: toggleChatIsPinned): types.Invoke; toggleChatIsMarkedAsUnread (params: toggleChatIsMarkedAsUnread): types.Invoke; toggleChatDefaultDisableNotification (params: toggleChatDefaultDisableNotification): types.Invoke; setChatClientData (params: setChatClientData): types.Invoke; joinChat (params: joinChat): types.Invoke; leaveChat (params: leaveChat): types.Invoke; addChatMember (params: addChatMember): types.Invoke; addChatMembers (params: addChatMembers): types.Invoke; setChatMemberStatus (params: setChatMemberStatus): types.Invoke; getChatMember (params: getChatMember): types.Invoke; searchChatMembers (params: searchChatMembers): types.Invoke; getChatAdministrators (params: getChatAdministrators): types.Invoke; clearAllDraftMessages (params: clearAllDraftMessages): types.Invoke; getScopeNotificationSettings (params: getScopeNotificationSettings): types.Invoke; setScopeNotificationSettings (params: setScopeNotificationSettings): types.Invoke; resetAllNotificationSettings (params: resetAllNotificationSettings): types.Invoke; setPinnedChats (params: setPinnedChats): types.Invoke; downloadFile (params: downloadFile): types.Invoke; cancelDownloadFile (params: cancelDownloadFile): types.Invoke; uploadFile (params: uploadFile): types.Invoke; cancelUploadFile (params: cancelUploadFile): types.Invoke; setFileGenerationProgress (params: setFileGenerationProgress): types.Invoke; finishFileGeneration (params: finishFileGeneration): types.Invoke; deleteFile (params: deleteFile): types.Invoke; generateChatInviteLink (params: generateChatInviteLink): types.Invoke; checkChatInviteLink (params: checkChatInviteLink): types.Invoke; joinChatByInviteLink (params: joinChatByInviteLink): types.Invoke; createCall (params: createCall): types.Invoke; acceptCall (params: acceptCall): types.Invoke; discardCall (params: discardCall): types.Invoke; sendCallRating (params: sendCallRating): types.Invoke; sendCallDebugInformation (params: sendCallDebugInformation): types.Invoke; blockUser (params: blockUser): types.Invoke; unblockUser (params: unblockUser): types.Invoke; getBlockedUsers (params: getBlockedUsers): types.Invoke; importContacts (params: importContacts): types.Invoke; getContacts (params: getContacts): types.Invoke; searchContacts (params: searchContacts): types.Invoke; removeContacts (params: removeContacts): types.Invoke; getImportedContactCount (params: getImportedContactCount): types.Invoke; changeImportedContacts (params: changeImportedContacts): types.Invoke; clearImportedContacts (params: clearImportedContacts): types.Invoke; getUserProfilePhotos (params: getUserProfilePhotos): types.Invoke; getStickers (params: getStickers): types.Invoke; searchStickers (params: searchStickers): types.Invoke; getInstalledStickerSets (params: getInstalledStickerSets): types.Invoke; getArchivedStickerSets (params: getArchivedStickerSets): types.Invoke; getTrendingStickerSets (params: getTrendingStickerSets): types.Invoke; getAttachedStickerSets (params: getAttachedStickerSets): types.Invoke; getStickerSet (params: getStickerSet): types.Invoke; searchStickerSet (params: searchStickerSet): types.Invoke; searchInstalledStickerSets (params: searchInstalledStickerSets): types.Invoke; searchStickerSets (params: searchStickerSets): types.Invoke; changeStickerSet (params: changeStickerSet): types.Invoke; viewTrendingStickerSets (params: viewTrendingStickerSets): types.Invoke; reorderInstalledStickerSets (params: reorderInstalledStickerSets): types.Invoke; getRecentStickers (params: getRecentStickers): types.Invoke; addRecentSticker (params: addRecentSticker): types.Invoke; removeRecentSticker (params: removeRecentSticker): types.Invoke; clearRecentStickers (params: clearRecentStickers): types.Invoke; getFavoriteStickers (params: getFavoriteStickers): types.Invoke; addFavoriteSticker (params: addFavoriteSticker): types.Invoke; removeFavoriteSticker (params: removeFavoriteSticker): types.Invoke; getStickerEmojis (params: getStickerEmojis): types.Invoke; getSavedAnimations (params: getSavedAnimations): types.Invoke; addSavedAnimation (params: addSavedAnimation): types.Invoke; removeSavedAnimation (params: removeSavedAnimation): types.Invoke; getRecentInlineBots (params: getRecentInlineBots): types.Invoke; searchHashtags (params: searchHashtags): types.Invoke; removeRecentHashtag (params: removeRecentHashtag): types.Invoke; getWebPagePreview (params: getWebPagePreview): types.Invoke; getWebPageInstantView (params: getWebPageInstantView): types.Invoke; setProfilePhoto (params: setProfilePhoto): types.Invoke; deleteProfilePhoto (params: deleteProfilePhoto): types.Invoke; setName (params: setName): types.Invoke; setBio (params: setBio): types.Invoke; setUsername (params: setUsername): types.Invoke; changePhoneNumber (params: changePhoneNumber): types.Invoke; resendChangePhoneNumberCode (params: resendChangePhoneNumberCode): types.Invoke; checkChangePhoneNumberCode (params: checkChangePhoneNumberCode): types.Invoke; getActiveSessions (params: getActiveSessions): types.Invoke; terminateSession (params: terminateSession): types.Invoke; terminateAllOtherSessions (params: terminateAllOtherSessions): types.Invoke; getConnectedWebsites (params: getConnectedWebsites): types.Invoke; disconnectWebsite (params: disconnectWebsite): types.Invoke; disconnectAllWebsites (params: disconnectAllWebsites): types.Invoke; toggleBasicGroupAdministrators (params: toggleBasicGroupAdministrators): types.Invoke; setSupergroupUsername (params: setSupergroupUsername): types.Invoke; setSupergroupStickerSet (params: setSupergroupStickerSet): types.Invoke; toggleSupergroupInvites (params: toggleSupergroupInvites): types.Invoke; toggleSupergroupSignMessages (params: toggleSupergroupSignMessages): types.Invoke; toggleSupergroupIsAllHistoryAvailable (params: toggleSupergroupIsAllHistoryAvailable): types.Invoke; setSupergroupDescription (params: setSupergroupDescription): types.Invoke; pinSupergroupMessage (params: pinSupergroupMessage): types.Invoke; unpinSupergroupMessage (params: unpinSupergroupMessage): types.Invoke; reportSupergroupSpam (params: reportSupergroupSpam): types.Invoke; getSupergroupMembers (params: getSupergroupMembers): types.Invoke; deleteSupergroup (params: deleteSupergroup): types.Invoke; closeSecretChat (params: closeSecretChat): types.Invoke; getChatEventLog (params: getChatEventLog): types.Invoke; getPaymentForm (params: getPaymentForm): types.Invoke; validateOrderInfo (params: validateOrderInfo): types.Invoke; sendPaymentForm (params: sendPaymentForm): types.Invoke; getPaymentReceipt (params: getPaymentReceipt): types.Invoke; getSavedOrderInfo (params: getSavedOrderInfo): types.Invoke; deleteSavedOrderInfo (params: deleteSavedOrderInfo): types.Invoke; deleteSavedCredentials (params: deleteSavedCredentials): types.Invoke; getSupportUser (params: getSupportUser): types.Invoke; getWallpapers (params: getWallpapers): types.Invoke; getLocalizationTargetInfo (params: getLocalizationTargetInfo): types.Invoke; getLanguagePackStrings (params: getLanguagePackStrings): types.Invoke; setCustomLanguagePack (params: setCustomLanguagePack): types.Invoke; editCustomLanguagePackInfo (params: editCustomLanguagePackInfo): types.Invoke; setCustomLanguagePackString (params: setCustomLanguagePackString): types.Invoke; deleteLanguagePack (params: deleteLanguagePack): types.Invoke; registerDevice (params: registerDevice): types.Invoke; getRecentlyVisitedTMeUrls (params: getRecentlyVisitedTMeUrls): types.Invoke; setUserPrivacySettingRules (params: setUserPrivacySettingRules): types.Invoke; getUserPrivacySettingRules (params: getUserPrivacySettingRules): types.Invoke; getOption (params: getOption): types.Invoke; setOption (params: setOption): types.Invoke; setAccountTtl (params: setAccountTtl): types.Invoke; getAccountTtl (params: getAccountTtl): types.Invoke; deleteAccount (params: deleteAccount): types.Invoke; getChatReportSpamState (params: getChatReportSpamState): types.Invoke; changeChatReportSpamState (params: changeChatReportSpamState): types.Invoke; reportChat (params: reportChat): types.Invoke; getStorageStatistics (params: getStorageStatistics): types.Invoke; getStorageStatisticsFast (params: getStorageStatisticsFast): types.Invoke; optimizeStorage (params: optimizeStorage): types.Invoke; setNetworkType (params: setNetworkType): types.Invoke; getNetworkStatistics (params: getNetworkStatistics): types.Invoke; addNetworkStatistics (params: addNetworkStatistics): types.Invoke; resetNetworkStatistics (params: resetNetworkStatistics): types.Invoke; getPassportElement (params: getPassportElement): types.Invoke; getAllPassportElements (params: getAllPassportElements): types.Invoke; setPassportElement (params: setPassportElement): types.Invoke; deletePassportElement (params: deletePassportElement): types.Invoke; setPassportElementErrors (params: setPassportElementErrors): types.Invoke; getPreferredCountryLanguage (params: getPreferredCountryLanguage): types.Invoke; sendPhoneNumberVerificationCode (params: sendPhoneNumberVerificationCode): types.Invoke; resendPhoneNumberVerificationCode (params: resendPhoneNumberVerificationCode): types.Invoke; checkPhoneNumberVerificationCode (params: checkPhoneNumberVerificationCode): types.Invoke; sendEmailAddressVerificationCode (params: sendEmailAddressVerificationCode): types.Invoke; resendEmailAddressVerificationCode (params: resendEmailAddressVerificationCode): types.Invoke; checkEmailAddressVerificationCode (params: checkEmailAddressVerificationCode): types.Invoke; getPassportAuthorizationForm (params: getPassportAuthorizationForm): types.Invoke; sendPassportAuthorizationForm (params: sendPassportAuthorizationForm): types.Invoke; sendPhoneNumberConfirmationCode (params: sendPhoneNumberConfirmationCode): types.Invoke; resendPhoneNumberConfirmationCode (params: resendPhoneNumberConfirmationCode): types.Invoke; checkPhoneNumberConfirmationCode (params: checkPhoneNumberConfirmationCode): types.Invoke; setBotUpdatesStatus (params: setBotUpdatesStatus): types.Invoke; uploadStickerFile (params: uploadStickerFile): types.Invoke; createNewStickerSet (params: createNewStickerSet): types.Invoke; addStickerToSet (params: addStickerToSet): types.Invoke; setStickerPositionInSet (params: setStickerPositionInSet): types.Invoke; removeStickerFromSet (params: removeStickerFromSet): types.Invoke; getMapThumbnailFile (params: getMapThumbnailFile): types.Invoke; acceptTermsOfService (params: acceptTermsOfService): types.Invoke; sendCustomRequest (params: sendCustomRequest): types.Invoke; answerCustomQuery (params: answerCustomQuery): types.Invoke; setAlarm (params: setAlarm): types.Invoke; getCountryCode (params: getCountryCode): types.Invoke; getInviteText (params: getInviteText): types.Invoke; getDeepLinkInfo (params: getDeepLinkInfo): types.Invoke; addProxy (params: addProxy): types.Invoke; editProxy (params: editProxy): types.Invoke; enableProxy (params: enableProxy): types.Invoke; disableProxy (params: disableProxy): types.Invoke; removeProxy (params: removeProxy): types.Invoke; getProxies (params: getProxies): types.Invoke; getProxyLink (params: getProxyLink): types.Invoke; pingProxy (params: pingProxy): types.Invoke; testCallEmpty (params: testCallEmpty): types.Invoke; testCallString (params: testCallString): types.Invoke; testCallBytes (params: testCallBytes): types.Invoke; testCallVectorInt (params: testCallVectorInt): types.Invoke; testCallVectorIntObject (params: testCallVectorIntObject): types.Invoke; testCallVectorString (params: testCallVectorString): types.Invoke; testCallVectorStringObject (params: testCallVectorStringObject): types.Invoke; testSquareInt (params: testSquareInt): types.Invoke; testNetwork (params: testNetwork): types.Invoke; testGetDifference (params: testGetDifference): types.Invoke; testUseUpdate (params: testUseUpdate): types.Invoke; testUseError (params: testUseError): types.Invoke; }