tdlib-native
Version:
🚀 Telegram TDLib native nodejs wrapper
816 lines • 4.23 MB
TypeScript
export declare const typename = "_";
export type typename = typeof typename;
/** String of bytes in Base64 */
export type bytes = string;
/** String in Base64 or Uint8Array. Will be converted to Base64 */
export type bytes$Input = string | Uint8Array;
/** (float64) */
export type double = number;
/** Integer in range [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER], represented by: float64 */
export type int53 = number;
/** Integer in range [-2147483648, 2147483647] */
export type int32 = number;
/** String of digits. Use BigInt for handling this */
export type int64 = string;
/** String or BigInt. Will be converted to String */
export type int64$Input = string | bigint;
export type boolTrue = true;
export type boolFalse = false;
export type vector<T> = Array<T>;
export type vector$Input<T> = ReadonlyArray<T>;
export declare const $Methods: Readonly<{
readonly getAuthorizationState: "getAuthorizationState";
readonly setTdlibParameters: "setTdlibParameters";
readonly setAuthenticationPhoneNumber: "setAuthenticationPhoneNumber";
readonly checkAuthenticationPremiumPurchase: "checkAuthenticationPremiumPurchase";
readonly setAuthenticationPremiumPurchaseTransaction: "setAuthenticationPremiumPurchaseTransaction";
readonly setAuthenticationEmailAddress: "setAuthenticationEmailAddress";
readonly resendAuthenticationCode: "resendAuthenticationCode";
readonly checkAuthenticationEmailCode: "checkAuthenticationEmailCode";
readonly checkAuthenticationCode: "checkAuthenticationCode";
readonly requestQrCodeAuthentication: "requestQrCodeAuthentication";
readonly registerUser: "registerUser";
readonly resetAuthenticationEmailAddress: "resetAuthenticationEmailAddress";
readonly checkAuthenticationPassword: "checkAuthenticationPassword";
readonly requestAuthenticationPasswordRecovery: "requestAuthenticationPasswordRecovery";
readonly checkAuthenticationPasswordRecoveryCode: "checkAuthenticationPasswordRecoveryCode";
readonly recoverAuthenticationPassword: "recoverAuthenticationPassword";
readonly sendAuthenticationFirebaseSms: "sendAuthenticationFirebaseSms";
readonly reportAuthenticationCodeMissing: "reportAuthenticationCodeMissing";
readonly checkAuthenticationBotToken: "checkAuthenticationBotToken";
readonly logOut: "logOut";
readonly close: "close";
readonly destroy: "destroy";
readonly confirmQrCodeAuthentication: "confirmQrCodeAuthentication";
readonly getCurrentState: "getCurrentState";
readonly setDatabaseEncryptionKey: "setDatabaseEncryptionKey";
readonly getPasswordState: "getPasswordState";
readonly setPassword: "setPassword";
readonly setLoginEmailAddress: "setLoginEmailAddress";
readonly resendLoginEmailAddressCode: "resendLoginEmailAddressCode";
readonly checkLoginEmailAddressCode: "checkLoginEmailAddressCode";
readonly getRecoveryEmailAddress: "getRecoveryEmailAddress";
readonly setRecoveryEmailAddress: "setRecoveryEmailAddress";
readonly checkRecoveryEmailAddressCode: "checkRecoveryEmailAddressCode";
readonly resendRecoveryEmailAddressCode: "resendRecoveryEmailAddressCode";
readonly cancelRecoveryEmailAddressVerification: "cancelRecoveryEmailAddressVerification";
readonly requestPasswordRecovery: "requestPasswordRecovery";
readonly checkPasswordRecoveryCode: "checkPasswordRecoveryCode";
readonly recoverPassword: "recoverPassword";
readonly resetPassword: "resetPassword";
readonly cancelPasswordReset: "cancelPasswordReset";
readonly createTemporaryPassword: "createTemporaryPassword";
readonly getTemporaryPasswordState: "getTemporaryPasswordState";
readonly getMe: "getMe";
readonly getUser: "getUser";
readonly getUserFullInfo: "getUserFullInfo";
readonly getBasicGroup: "getBasicGroup";
readonly getBasicGroupFullInfo: "getBasicGroupFullInfo";
readonly getSupergroup: "getSupergroup";
readonly getSupergroupFullInfo: "getSupergroupFullInfo";
readonly getSecretChat: "getSecretChat";
readonly getChat: "getChat";
readonly getMessage: "getMessage";
readonly getMessageLocally: "getMessageLocally";
readonly getRepliedMessage: "getRepliedMessage";
readonly getChatPinnedMessage: "getChatPinnedMessage";
readonly getCallbackQueryMessage: "getCallbackQueryMessage";
readonly getMessages: "getMessages";
readonly getMessageProperties: "getMessageProperties";
readonly getMessageThread: "getMessageThread";
readonly getMessageReadDate: "getMessageReadDate";
readonly getMessageViewers: "getMessageViewers";
readonly getMessageAuthor: "getMessageAuthor";
readonly getFile: "getFile";
readonly getRemoteFile: "getRemoteFile";
readonly loadChats: "loadChats";
readonly getChats: "getChats";
readonly searchPublicChat: "searchPublicChat";
readonly searchPublicChats: "searchPublicChats";
readonly searchChats: "searchChats";
readonly searchChatsOnServer: "searchChatsOnServer";
readonly getRecommendedChats: "getRecommendedChats";
readonly getChatSimilarChats: "getChatSimilarChats";
readonly getChatSimilarChatCount: "getChatSimilarChatCount";
readonly openChatSimilarChat: "openChatSimilarChat";
readonly getBotSimilarBots: "getBotSimilarBots";
readonly getBotSimilarBotCount: "getBotSimilarBotCount";
readonly openBotSimilarBot: "openBotSimilarBot";
readonly getTopChats: "getTopChats";
readonly removeTopChat: "removeTopChat";
readonly searchRecentlyFoundChats: "searchRecentlyFoundChats";
readonly addRecentlyFoundChat: "addRecentlyFoundChat";
readonly removeRecentlyFoundChat: "removeRecentlyFoundChat";
readonly clearRecentlyFoundChats: "clearRecentlyFoundChats";
readonly getRecentlyOpenedChats: "getRecentlyOpenedChats";
readonly checkChatUsername: "checkChatUsername";
readonly getCreatedPublicChats: "getCreatedPublicChats";
readonly checkCreatedPublicChatsLimit: "checkCreatedPublicChatsLimit";
readonly getSuitableDiscussionChats: "getSuitableDiscussionChats";
readonly getInactiveSupergroupChats: "getInactiveSupergroupChats";
readonly getSuitablePersonalChats: "getSuitablePersonalChats";
readonly loadDirectMessagesChatTopics: "loadDirectMessagesChatTopics";
readonly getDirectMessagesChatTopic: "getDirectMessagesChatTopic";
readonly getDirectMessagesChatTopicHistory: "getDirectMessagesChatTopicHistory";
readonly getDirectMessagesChatTopicMessageByDate: "getDirectMessagesChatTopicMessageByDate";
readonly deleteDirectMessagesChatTopicHistory: "deleteDirectMessagesChatTopicHistory";
readonly deleteDirectMessagesChatTopicMessagesByDate: "deleteDirectMessagesChatTopicMessagesByDate";
readonly setDirectMessagesChatTopicIsMarkedAsUnread: "setDirectMessagesChatTopicIsMarkedAsUnread";
readonly setDirectMessagesChatTopicDraftMessage: "setDirectMessagesChatTopicDraftMessage";
readonly unpinAllDirectMessagesChatTopicMessages: "unpinAllDirectMessagesChatTopicMessages";
readonly readAllDirectMessagesChatTopicReactions: "readAllDirectMessagesChatTopicReactions";
readonly getDirectMessagesChatTopicRevenue: "getDirectMessagesChatTopicRevenue";
readonly toggleDirectMessagesChatTopicCanSendUnpaidMessages: "toggleDirectMessagesChatTopicCanSendUnpaidMessages";
readonly loadSavedMessagesTopics: "loadSavedMessagesTopics";
readonly getSavedMessagesTopicHistory: "getSavedMessagesTopicHistory";
readonly getSavedMessagesTopicMessageByDate: "getSavedMessagesTopicMessageByDate";
readonly deleteSavedMessagesTopicHistory: "deleteSavedMessagesTopicHistory";
readonly deleteSavedMessagesTopicMessagesByDate: "deleteSavedMessagesTopicMessagesByDate";
readonly toggleSavedMessagesTopicIsPinned: "toggleSavedMessagesTopicIsPinned";
readonly setPinnedSavedMessagesTopics: "setPinnedSavedMessagesTopics";
readonly getGroupsInCommon: "getGroupsInCommon";
readonly getChatHistory: "getChatHistory";
readonly getMessageThreadHistory: "getMessageThreadHistory";
readonly deleteChatHistory: "deleteChatHistory";
readonly deleteChat: "deleteChat";
readonly searchChatMessages: "searchChatMessages";
readonly searchMessages: "searchMessages";
readonly searchSecretMessages: "searchSecretMessages";
readonly searchSavedMessages: "searchSavedMessages";
readonly searchCallMessages: "searchCallMessages";
readonly searchOutgoingDocumentMessages: "searchOutgoingDocumentMessages";
readonly searchPublicMessagesByTag: "searchPublicMessagesByTag";
readonly searchPublicStoriesByTag: "searchPublicStoriesByTag";
readonly searchPublicStoriesByLocation: "searchPublicStoriesByLocation";
readonly searchPublicStoriesByVenue: "searchPublicStoriesByVenue";
readonly getSearchedForTags: "getSearchedForTags";
readonly removeSearchedForTag: "removeSearchedForTag";
readonly clearSearchedForTags: "clearSearchedForTags";
readonly deleteAllCallMessages: "deleteAllCallMessages";
readonly searchChatRecentLocationMessages: "searchChatRecentLocationMessages";
readonly getChatMessageByDate: "getChatMessageByDate";
readonly getChatSparseMessagePositions: "getChatSparseMessagePositions";
readonly getChatMessageCalendar: "getChatMessageCalendar";
readonly getChatMessageCount: "getChatMessageCount";
readonly getChatMessagePosition: "getChatMessagePosition";
readonly getChatScheduledMessages: "getChatScheduledMessages";
readonly getChatSponsoredMessages: "getChatSponsoredMessages";
readonly clickChatSponsoredMessage: "clickChatSponsoredMessage";
readonly reportChatSponsoredMessage: "reportChatSponsoredMessage";
readonly getSearchSponsoredChats: "getSearchSponsoredChats";
readonly viewSponsoredChat: "viewSponsoredChat";
readonly openSponsoredChat: "openSponsoredChat";
readonly reportSponsoredChat: "reportSponsoredChat";
readonly getVideoMessageAdvertisements: "getVideoMessageAdvertisements";
readonly viewVideoMessageAdvertisement: "viewVideoMessageAdvertisement";
readonly clickVideoMessageAdvertisement: "clickVideoMessageAdvertisement";
readonly reportVideoMessageAdvertisement: "reportVideoMessageAdvertisement";
readonly removeNotification: "removeNotification";
readonly removeNotificationGroup: "removeNotificationGroup";
readonly getMessageLink: "getMessageLink";
readonly getMessageEmbeddingCode: "getMessageEmbeddingCode";
readonly getMessageLinkInfo: "getMessageLinkInfo";
readonly translateText: "translateText";
readonly translateMessageText: "translateMessageText";
readonly recognizeSpeech: "recognizeSpeech";
readonly rateSpeechRecognition: "rateSpeechRecognition";
readonly getChatAvailableMessageSenders: "getChatAvailableMessageSenders";
readonly setChatMessageSender: "setChatMessageSender";
readonly sendMessage: "sendMessage";
readonly sendMessageAlbum: "sendMessageAlbum";
readonly sendBotStartMessage: "sendBotStartMessage";
readonly sendInlineQueryResultMessage: "sendInlineQueryResultMessage";
readonly forwardMessages: "forwardMessages";
readonly sendQuickReplyShortcutMessages: "sendQuickReplyShortcutMessages";
readonly resendMessages: "resendMessages";
readonly addLocalMessage: "addLocalMessage";
readonly deleteMessages: "deleteMessages";
readonly deleteChatMessagesBySender: "deleteChatMessagesBySender";
readonly deleteChatMessagesByDate: "deleteChatMessagesByDate";
readonly editMessageText: "editMessageText";
readonly editMessageLiveLocation: "editMessageLiveLocation";
readonly editMessageChecklist: "editMessageChecklist";
readonly editMessageMedia: "editMessageMedia";
readonly editMessageCaption: "editMessageCaption";
readonly editMessageReplyMarkup: "editMessageReplyMarkup";
readonly editInlineMessageText: "editInlineMessageText";
readonly editInlineMessageLiveLocation: "editInlineMessageLiveLocation";
readonly editInlineMessageMedia: "editInlineMessageMedia";
readonly editInlineMessageCaption: "editInlineMessageCaption";
readonly editInlineMessageReplyMarkup: "editInlineMessageReplyMarkup";
readonly editMessageSchedulingState: "editMessageSchedulingState";
readonly setMessageFactCheck: "setMessageFactCheck";
readonly sendBusinessMessage: "sendBusinessMessage";
readonly sendBusinessMessageAlbum: "sendBusinessMessageAlbum";
readonly editBusinessMessageText: "editBusinessMessageText";
readonly editBusinessMessageLiveLocation: "editBusinessMessageLiveLocation";
readonly editBusinessMessageChecklist: "editBusinessMessageChecklist";
readonly editBusinessMessageMedia: "editBusinessMessageMedia";
readonly editBusinessMessageCaption: "editBusinessMessageCaption";
readonly editBusinessMessageReplyMarkup: "editBusinessMessageReplyMarkup";
readonly stopBusinessPoll: "stopBusinessPoll";
readonly setBusinessMessageIsPinned: "setBusinessMessageIsPinned";
readonly readBusinessMessage: "readBusinessMessage";
readonly deleteBusinessMessages: "deleteBusinessMessages";
readonly editBusinessStory: "editBusinessStory";
readonly deleteBusinessStory: "deleteBusinessStory";
readonly setBusinessAccountName: "setBusinessAccountName";
readonly setBusinessAccountBio: "setBusinessAccountBio";
readonly setBusinessAccountProfilePhoto: "setBusinessAccountProfilePhoto";
readonly setBusinessAccountUsername: "setBusinessAccountUsername";
readonly setBusinessAccountGiftSettings: "setBusinessAccountGiftSettings";
readonly getBusinessAccountStarAmount: "getBusinessAccountStarAmount";
readonly transferBusinessAccountStars: "transferBusinessAccountStars";
readonly checkQuickReplyShortcutName: "checkQuickReplyShortcutName";
readonly loadQuickReplyShortcuts: "loadQuickReplyShortcuts";
readonly setQuickReplyShortcutName: "setQuickReplyShortcutName";
readonly deleteQuickReplyShortcut: "deleteQuickReplyShortcut";
readonly reorderQuickReplyShortcuts: "reorderQuickReplyShortcuts";
readonly loadQuickReplyShortcutMessages: "loadQuickReplyShortcutMessages";
readonly deleteQuickReplyShortcutMessages: "deleteQuickReplyShortcutMessages";
readonly addQuickReplyShortcutMessage: "addQuickReplyShortcutMessage";
readonly addQuickReplyShortcutInlineQueryResultMessage: "addQuickReplyShortcutInlineQueryResultMessage";
readonly addQuickReplyShortcutMessageAlbum: "addQuickReplyShortcutMessageAlbum";
readonly readdQuickReplyShortcutMessages: "readdQuickReplyShortcutMessages";
readonly editQuickReplyMessage: "editQuickReplyMessage";
readonly getForumTopicDefaultIcons: "getForumTopicDefaultIcons";
readonly createForumTopic: "createForumTopic";
readonly editForumTopic: "editForumTopic";
readonly getForumTopic: "getForumTopic";
readonly getForumTopicLink: "getForumTopicLink";
readonly getForumTopics: "getForumTopics";
readonly setForumTopicNotificationSettings: "setForumTopicNotificationSettings";
readonly toggleForumTopicIsClosed: "toggleForumTopicIsClosed";
readonly toggleGeneralForumTopicIsHidden: "toggleGeneralForumTopicIsHidden";
readonly toggleForumTopicIsPinned: "toggleForumTopicIsPinned";
readonly setPinnedForumTopics: "setPinnedForumTopics";
readonly deleteForumTopic: "deleteForumTopic";
readonly getEmojiReaction: "getEmojiReaction";
readonly getCustomEmojiReactionAnimations: "getCustomEmojiReactionAnimations";
readonly getMessageAvailableReactions: "getMessageAvailableReactions";
readonly clearRecentReactions: "clearRecentReactions";
readonly addMessageReaction: "addMessageReaction";
readonly removeMessageReaction: "removeMessageReaction";
readonly getChatAvailablePaidMessageReactionSenders: "getChatAvailablePaidMessageReactionSenders";
readonly addPendingPaidMessageReaction: "addPendingPaidMessageReaction";
readonly commitPendingPaidMessageReactions: "commitPendingPaidMessageReactions";
readonly removePendingPaidMessageReactions: "removePendingPaidMessageReactions";
readonly setPaidMessageReactionType: "setPaidMessageReactionType";
readonly setMessageReactions: "setMessageReactions";
readonly getMessageAddedReactions: "getMessageAddedReactions";
readonly setDefaultReactionType: "setDefaultReactionType";
readonly getSavedMessagesTags: "getSavedMessagesTags";
readonly setSavedMessagesTagLabel: "setSavedMessagesTagLabel";
readonly getMessageEffect: "getMessageEffect";
readonly searchQuote: "searchQuote";
readonly getTextEntities: "getTextEntities";
readonly parseTextEntities: "parseTextEntities";
readonly parseMarkdown: "parseMarkdown";
readonly getMarkdownText: "getMarkdownText";
readonly getCountryFlagEmoji: "getCountryFlagEmoji";
readonly getFileMimeType: "getFileMimeType";
readonly getFileExtension: "getFileExtension";
readonly cleanFileName: "cleanFileName";
readonly getLanguagePackString: "getLanguagePackString";
readonly getJsonValue: "getJsonValue";
readonly getJsonString: "getJsonString";
readonly getThemeParametersJsonString: "getThemeParametersJsonString";
readonly setPollAnswer: "setPollAnswer";
readonly getPollVoters: "getPollVoters";
readonly stopPoll: "stopPoll";
readonly addChecklistTasks: "addChecklistTasks";
readonly markChecklistTasksAsDone: "markChecklistTasksAsDone";
readonly hideSuggestedAction: "hideSuggestedAction";
readonly hideContactCloseBirthdays: "hideContactCloseBirthdays";
readonly getBusinessConnection: "getBusinessConnection";
readonly getLoginUrlInfo: "getLoginUrlInfo";
readonly getLoginUrl: "getLoginUrl";
readonly shareUsersWithBot: "shareUsersWithBot";
readonly shareChatWithBot: "shareChatWithBot";
readonly getInlineQueryResults: "getInlineQueryResults";
readonly answerInlineQuery: "answerInlineQuery";
readonly savePreparedInlineMessage: "savePreparedInlineMessage";
readonly getPreparedInlineMessage: "getPreparedInlineMessage";
readonly getGrossingWebAppBots: "getGrossingWebAppBots";
readonly searchWebApp: "searchWebApp";
readonly getWebAppPlaceholder: "getWebAppPlaceholder";
readonly getWebAppLinkUrl: "getWebAppLinkUrl";
readonly getMainWebApp: "getMainWebApp";
readonly getWebAppUrl: "getWebAppUrl";
readonly sendWebAppData: "sendWebAppData";
readonly openWebApp: "openWebApp";
readonly closeWebApp: "closeWebApp";
readonly answerWebAppQuery: "answerWebAppQuery";
readonly checkWebAppFileDownload: "checkWebAppFileDownload";
readonly getCallbackQueryAnswer: "getCallbackQueryAnswer";
readonly answerCallbackQuery: "answerCallbackQuery";
readonly answerShippingQuery: "answerShippingQuery";
readonly answerPreCheckoutQuery: "answerPreCheckoutQuery";
readonly setGameScore: "setGameScore";
readonly setInlineGameScore: "setInlineGameScore";
readonly getGameHighScores: "getGameHighScores";
readonly getInlineGameHighScores: "getInlineGameHighScores";
readonly deleteChatReplyMarkup: "deleteChatReplyMarkup";
readonly sendChatAction: "sendChatAction";
readonly openChat: "openChat";
readonly closeChat: "closeChat";
readonly viewMessages: "viewMessages";
readonly openMessageContent: "openMessageContent";
readonly clickAnimatedEmojiMessage: "clickAnimatedEmojiMessage";
readonly getInternalLink: "getInternalLink";
readonly getInternalLinkType: "getInternalLinkType";
readonly getExternalLinkInfo: "getExternalLinkInfo";
readonly getExternalLink: "getExternalLink";
readonly readAllChatMentions: "readAllChatMentions";
readonly readAllMessageThreadMentions: "readAllMessageThreadMentions";
readonly readAllChatReactions: "readAllChatReactions";
readonly readAllMessageThreadReactions: "readAllMessageThreadReactions";
readonly createPrivateChat: "createPrivateChat";
readonly createBasicGroupChat: "createBasicGroupChat";
readonly createSupergroupChat: "createSupergroupChat";
readonly createSecretChat: "createSecretChat";
readonly createNewBasicGroupChat: "createNewBasicGroupChat";
readonly createNewSupergroupChat: "createNewSupergroupChat";
readonly createNewSecretChat: "createNewSecretChat";
readonly upgradeBasicGroupChatToSupergroupChat: "upgradeBasicGroupChatToSupergroupChat";
readonly getChatListsToAddChat: "getChatListsToAddChat";
readonly addChatToList: "addChatToList";
readonly getChatFolder: "getChatFolder";
readonly createChatFolder: "createChatFolder";
readonly editChatFolder: "editChatFolder";
readonly deleteChatFolder: "deleteChatFolder";
readonly getChatFolderChatsToLeave: "getChatFolderChatsToLeave";
readonly getChatFolderChatCount: "getChatFolderChatCount";
readonly reorderChatFolders: "reorderChatFolders";
readonly toggleChatFolderTags: "toggleChatFolderTags";
readonly getRecommendedChatFolders: "getRecommendedChatFolders";
readonly getChatFolderDefaultIconName: "getChatFolderDefaultIconName";
readonly getChatsForChatFolderInviteLink: "getChatsForChatFolderInviteLink";
readonly createChatFolderInviteLink: "createChatFolderInviteLink";
readonly getChatFolderInviteLinks: "getChatFolderInviteLinks";
readonly editChatFolderInviteLink: "editChatFolderInviteLink";
readonly deleteChatFolderInviteLink: "deleteChatFolderInviteLink";
readonly checkChatFolderInviteLink: "checkChatFolderInviteLink";
readonly addChatFolderByInviteLink: "addChatFolderByInviteLink";
readonly getChatFolderNewChats: "getChatFolderNewChats";
readonly processChatFolderNewChats: "processChatFolderNewChats";
readonly getArchiveChatListSettings: "getArchiveChatListSettings";
readonly setArchiveChatListSettings: "setArchiveChatListSettings";
readonly setChatTitle: "setChatTitle";
readonly setChatPhoto: "setChatPhoto";
readonly setChatAccentColor: "setChatAccentColor";
readonly setChatProfileAccentColor: "setChatProfileAccentColor";
readonly setChatMessageAutoDeleteTime: "setChatMessageAutoDeleteTime";
readonly setChatEmojiStatus: "setChatEmojiStatus";
readonly setChatPermissions: "setChatPermissions";
readonly setChatBackground: "setChatBackground";
readonly deleteChatBackground: "deleteChatBackground";
readonly setChatTheme: "setChatTheme";
readonly setChatDraftMessage: "setChatDraftMessage";
readonly setChatNotificationSettings: "setChatNotificationSettings";
readonly toggleChatHasProtectedContent: "toggleChatHasProtectedContent";
readonly toggleChatViewAsTopics: "toggleChatViewAsTopics";
readonly toggleChatIsTranslatable: "toggleChatIsTranslatable";
readonly toggleChatIsMarkedAsUnread: "toggleChatIsMarkedAsUnread";
readonly toggleChatDefaultDisableNotification: "toggleChatDefaultDisableNotification";
readonly setChatAvailableReactions: "setChatAvailableReactions";
readonly setChatClientData: "setChatClientData";
readonly setChatDescription: "setChatDescription";
readonly setChatDiscussionGroup: "setChatDiscussionGroup";
readonly setChatDirectMessagesGroup: "setChatDirectMessagesGroup";
readonly setChatLocation: "setChatLocation";
readonly setChatSlowModeDelay: "setChatSlowModeDelay";
readonly pinChatMessage: "pinChatMessage";
readonly unpinChatMessage: "unpinChatMessage";
readonly unpinAllChatMessages: "unpinAllChatMessages";
readonly unpinAllMessageThreadMessages: "unpinAllMessageThreadMessages";
readonly joinChat: "joinChat";
readonly leaveChat: "leaveChat";
readonly addChatMember: "addChatMember";
readonly addChatMembers: "addChatMembers";
readonly setChatMemberStatus: "setChatMemberStatus";
readonly banChatMember: "banChatMember";
readonly canTransferOwnership: "canTransferOwnership";
readonly transferChatOwnership: "transferChatOwnership";
readonly getChatMember: "getChatMember";
readonly searchChatMembers: "searchChatMembers";
readonly getChatAdministrators: "getChatAdministrators";
readonly clearAllDraftMessages: "clearAllDraftMessages";
readonly getSavedNotificationSound: "getSavedNotificationSound";
readonly getSavedNotificationSounds: "getSavedNotificationSounds";
readonly addSavedNotificationSound: "addSavedNotificationSound";
readonly removeSavedNotificationSound: "removeSavedNotificationSound";
readonly getChatNotificationSettingsExceptions: "getChatNotificationSettingsExceptions";
readonly getScopeNotificationSettings: "getScopeNotificationSettings";
readonly setScopeNotificationSettings: "setScopeNotificationSettings";
readonly setReactionNotificationSettings: "setReactionNotificationSettings";
readonly resetAllNotificationSettings: "resetAllNotificationSettings";
readonly toggleChatIsPinned: "toggleChatIsPinned";
readonly setPinnedChats: "setPinnedChats";
readonly readChatList: "readChatList";
readonly getCurrentWeather: "getCurrentWeather";
readonly getStory: "getStory";
readonly getChatsToPostStories: "getChatsToPostStories";
readonly canPostStory: "canPostStory";
readonly postStory: "postStory";
readonly editStory: "editStory";
readonly editStoryCover: "editStoryCover";
readonly setStoryPrivacySettings: "setStoryPrivacySettings";
readonly toggleStoryIsPostedToChatPage: "toggleStoryIsPostedToChatPage";
readonly deleteStory: "deleteStory";
readonly getStoryNotificationSettingsExceptions: "getStoryNotificationSettingsExceptions";
readonly loadActiveStories: "loadActiveStories";
readonly setChatActiveStoriesList: "setChatActiveStoriesList";
readonly getChatActiveStories: "getChatActiveStories";
readonly getChatPostedToChatPageStories: "getChatPostedToChatPageStories";
readonly getChatArchivedStories: "getChatArchivedStories";
readonly setChatPinnedStories: "setChatPinnedStories";
readonly openStory: "openStory";
readonly closeStory: "closeStory";
readonly getStoryAvailableReactions: "getStoryAvailableReactions";
readonly setStoryReaction: "setStoryReaction";
readonly getStoryInteractions: "getStoryInteractions";
readonly getChatStoryInteractions: "getChatStoryInteractions";
readonly reportStory: "reportStory";
readonly activateStoryStealthMode: "activateStoryStealthMode";
readonly getStoryPublicForwards: "getStoryPublicForwards";
readonly getChatBoostLevelFeatures: "getChatBoostLevelFeatures";
readonly getChatBoostFeatures: "getChatBoostFeatures";
readonly getAvailableChatBoostSlots: "getAvailableChatBoostSlots";
readonly getChatBoostStatus: "getChatBoostStatus";
readonly boostChat: "boostChat";
readonly getChatBoostLink: "getChatBoostLink";
readonly getChatBoostLinkInfo: "getChatBoostLinkInfo";
readonly getChatBoosts: "getChatBoosts";
readonly getUserChatBoosts: "getUserChatBoosts";
readonly getAttachmentMenuBot: "getAttachmentMenuBot";
readonly toggleBotIsAddedToAttachmentMenu: "toggleBotIsAddedToAttachmentMenu";
readonly getThemedEmojiStatuses: "getThemedEmojiStatuses";
readonly getRecentEmojiStatuses: "getRecentEmojiStatuses";
readonly getUpgradedGiftEmojiStatuses: "getUpgradedGiftEmojiStatuses";
readonly getDefaultEmojiStatuses: "getDefaultEmojiStatuses";
readonly clearRecentEmojiStatuses: "clearRecentEmojiStatuses";
readonly getThemedChatEmojiStatuses: "getThemedChatEmojiStatuses";
readonly getDefaultChatEmojiStatuses: "getDefaultChatEmojiStatuses";
readonly getDisallowedChatEmojiStatuses: "getDisallowedChatEmojiStatuses";
readonly downloadFile: "downloadFile";
readonly getFileDownloadedPrefixSize: "getFileDownloadedPrefixSize";
readonly cancelDownloadFile: "cancelDownloadFile";
readonly getSuggestedFileName: "getSuggestedFileName";
readonly preliminaryUploadFile: "preliminaryUploadFile";
readonly cancelPreliminaryUploadFile: "cancelPreliminaryUploadFile";
readonly writeGeneratedFilePart: "writeGeneratedFilePart";
readonly setFileGenerationProgress: "setFileGenerationProgress";
readonly finishFileGeneration: "finishFileGeneration";
readonly readFilePart: "readFilePart";
readonly deleteFile: "deleteFile";
readonly addFileToDownloads: "addFileToDownloads";
readonly toggleDownloadIsPaused: "toggleDownloadIsPaused";
readonly toggleAllDownloadsArePaused: "toggleAllDownloadsArePaused";
readonly removeFileFromDownloads: "removeFileFromDownloads";
readonly removeAllFilesFromDownloads: "removeAllFilesFromDownloads";
readonly searchFileDownloads: "searchFileDownloads";
readonly setApplicationVerificationToken: "setApplicationVerificationToken";
readonly getMessageFileType: "getMessageFileType";
readonly getMessageImportConfirmationText: "getMessageImportConfirmationText";
readonly importMessages: "importMessages";
readonly replacePrimaryChatInviteLink: "replacePrimaryChatInviteLink";
readonly createChatInviteLink: "createChatInviteLink";
readonly createChatSubscriptionInviteLink: "createChatSubscriptionInviteLink";
readonly editChatInviteLink: "editChatInviteLink";
readonly editChatSubscriptionInviteLink: "editChatSubscriptionInviteLink";
readonly getChatInviteLink: "getChatInviteLink";
readonly getChatInviteLinkCounts: "getChatInviteLinkCounts";
readonly getChatInviteLinks: "getChatInviteLinks";
readonly getChatInviteLinkMembers: "getChatInviteLinkMembers";
readonly revokeChatInviteLink: "revokeChatInviteLink";
readonly deleteRevokedChatInviteLink: "deleteRevokedChatInviteLink";
readonly deleteAllRevokedChatInviteLinks: "deleteAllRevokedChatInviteLinks";
readonly checkChatInviteLink: "checkChatInviteLink";
readonly joinChatByInviteLink: "joinChatByInviteLink";
readonly getChatJoinRequests: "getChatJoinRequests";
readonly processChatJoinRequest: "processChatJoinRequest";
readonly processChatJoinRequests: "processChatJoinRequests";
readonly approveSuggestedPost: "approveSuggestedPost";
readonly declineSuggestedPost: "declineSuggestedPost";
readonly addOffer: "addOffer";
readonly createCall: "createCall";
readonly acceptCall: "acceptCall";
readonly sendCallSignalingData: "sendCallSignalingData";
readonly discardCall: "discardCall";
readonly sendCallRating: "sendCallRating";
readonly sendCallDebugInformation: "sendCallDebugInformation";
readonly sendCallLog: "sendCallLog";
readonly getVideoChatAvailableParticipants: "getVideoChatAvailableParticipants";
readonly setVideoChatDefaultParticipant: "setVideoChatDefaultParticipant";
readonly createVideoChat: "createVideoChat";
readonly createGroupCall: "createGroupCall";
readonly getVideoChatRtmpUrl: "getVideoChatRtmpUrl";
readonly replaceVideoChatRtmpUrl: "replaceVideoChatRtmpUrl";
readonly getGroupCall: "getGroupCall";
readonly startScheduledVideoChat: "startScheduledVideoChat";
readonly toggleVideoChatEnabledStartNotification: "toggleVideoChatEnabledStartNotification";
readonly joinGroupCall: "joinGroupCall";
readonly joinVideoChat: "joinVideoChat";
readonly startGroupCallScreenSharing: "startGroupCallScreenSharing";
readonly toggleGroupCallScreenSharingIsPaused: "toggleGroupCallScreenSharingIsPaused";
readonly endGroupCallScreenSharing: "endGroupCallScreenSharing";
readonly setVideoChatTitle: "setVideoChatTitle";
readonly toggleVideoChatMuteNewParticipants: "toggleVideoChatMuteNewParticipants";
readonly inviteGroupCallParticipant: "inviteGroupCallParticipant";
readonly declineGroupCallInvitation: "declineGroupCallInvitation";
readonly banGroupCallParticipants: "banGroupCallParticipants";
readonly inviteVideoChatParticipants: "inviteVideoChatParticipants";
readonly getVideoChatInviteLink: "getVideoChatInviteLink";
readonly revokeGroupCallInviteLink: "revokeGroupCallInviteLink";
readonly startGroupCallRecording: "startGroupCallRecording";
readonly endGroupCallRecording: "endGroupCallRecording";
readonly toggleGroupCallIsMyVideoPaused: "toggleGroupCallIsMyVideoPaused";
readonly toggleGroupCallIsMyVideoEnabled: "toggleGroupCallIsMyVideoEnabled";
readonly setGroupCallParticipantIsSpeaking: "setGroupCallParticipantIsSpeaking";
readonly toggleGroupCallParticipantIsMuted: "toggleGroupCallParticipantIsMuted";
readonly setGroupCallParticipantVolumeLevel: "setGroupCallParticipantVolumeLevel";
readonly toggleGroupCallParticipantIsHandRaised: "toggleGroupCallParticipantIsHandRaised";
readonly getGroupCallParticipants: "getGroupCallParticipants";
readonly loadGroupCallParticipants: "loadGroupCallParticipants";
readonly leaveGroupCall: "leaveGroupCall";
readonly endGroupCall: "endGroupCall";
readonly getVideoChatStreams: "getVideoChatStreams";
readonly getVideoChatStreamSegment: "getVideoChatStreamSegment";
readonly encryptGroupCallData: "encryptGroupCallData";
readonly decryptGroupCallData: "decryptGroupCallData";
readonly setMessageSenderBlockList: "setMessageSenderBlockList";
readonly blockMessageSenderFromReplies: "blockMessageSenderFromReplies";
readonly getBlockedMessageSenders: "getBlockedMessageSenders";
readonly addContact: "addContact";
readonly importContacts: "importContacts";
readonly getContacts: "getContacts";
readonly searchContacts: "searchContacts";
readonly removeContacts: "removeContacts";
readonly getImportedContactCount: "getImportedContactCount";
readonly changeImportedContacts: "changeImportedContacts";
readonly clearImportedContacts: "clearImportedContacts";
readonly setCloseFriends: "setCloseFriends";
readonly getCloseFriends: "getCloseFriends";
readonly setUserPersonalProfilePhoto: "setUserPersonalProfilePhoto";
readonly suggestUserProfilePhoto: "suggestUserProfilePhoto";
readonly toggleBotCanManageEmojiStatus: "toggleBotCanManageEmojiStatus";
readonly setUserEmojiStatus: "setUserEmojiStatus";
readonly searchUserByPhoneNumber: "searchUserByPhoneNumber";
readonly sharePhoneNumber: "sharePhoneNumber";
readonly getUserProfilePhotos: "getUserProfilePhotos";
readonly getStickerOutline: "getStickerOutline";
readonly getStickers: "getStickers";
readonly getAllStickerEmojis: "getAllStickerEmojis";
readonly searchStickers: "searchStickers";
readonly getGreetingStickers: "getGreetingStickers";
readonly getPremiumStickers: "getPremiumStickers";
readonly getInstalledStickerSets: "getInstalledStickerSets";
readonly getArchivedStickerSets: "getArchivedStickerSets";
readonly getTrendingStickerSets: "getTrendingStickerSets";
readonly getAttachedStickerSets: "getAttachedStickerSets";
readonly getStickerSet: "getStickerSet";
readonly getStickerSetName: "getStickerSetName";
readonly searchStickerSet: "searchStickerSet";
readonly searchInstalledStickerSets: "searchInstalledStickerSets";
readonly searchStickerSets: "searchStickerSets";
readonly changeStickerSet: "changeStickerSet";
readonly viewTrendingStickerSets: "viewTrendingStickerSets";
readonly reorderInstalledStickerSets: "reorderInstalledStickerSets";
readonly getRecentStickers: "getRecentStickers";
readonly addRecentSticker: "addRecentSticker";
readonly removeRecentSticker: "removeRecentSticker";
readonly clearRecentStickers: "clearRecentStickers";
readonly getFavoriteStickers: "getFavoriteStickers";
readonly addFavoriteSticker: "addFavoriteSticker";
readonly removeFavoriteSticker: "removeFavoriteSticker";
readonly getStickerEmojis: "getStickerEmojis";
readonly searchEmojis: "searchEmojis";
readonly getKeywordEmojis: "getKeywordEmojis";
readonly getEmojiCategories: "getEmojiCategories";
readonly getAnimatedEmoji: "getAnimatedEmoji";
readonly getEmojiSuggestionsUrl: "getEmojiSuggestionsUrl";
readonly getCustomEmojiStickers: "getCustomEmojiStickers";
readonly getDefaultChatPhotoCustomEmojiStickers: "getDefaultChatPhotoCustomEmojiStickers";
readonly getDefaultProfilePhotoCustomEmojiStickers: "getDefaultProfilePhotoCustomEmojiStickers";
readonly getDefaultBackgroundCustomEmojiStickers: "getDefaultBackgroundCustomEmojiStickers";
readonly getSavedAnimations: "getSavedAnimations";
readonly addSavedAnimation: "addSavedAnimation";
readonly removeSavedAnimation: "removeSavedAnimation";
readonly getRecentInlineBots: "getRecentInlineBots";
readonly getOwnedBots: "getOwnedBots";
readonly searchHashtags: "searchHashtags";
readonly removeRecentHashtag: "removeRecentHashtag";
readonly getLinkPreview: "getLinkPreview";
readonly getWebPageInstantView: "getWebPageInstantView";
readonly setProfilePhoto: "setProfilePhoto";
readonly deleteProfilePhoto: "deleteProfilePhoto";
readonly setAccentColor: "setAccentColor";
readonly setProfileAccentColor: "setProfileAccentColor";
readonly setName: "setName";
readonly setBio: "setBio";
readonly setUsername: "setUsername";
readonly toggleUsernameIsActive: "toggleUsernameIsActive";
readonly reorderActiveUsernames: "reorderActiveUsernames";
readonly setBirthdate: "setBirthdate";
readonly setPersonalChat: "setPersonalChat";
readonly setEmojiStatus: "setEmojiStatus";
readonly toggleHasSponsoredMessagesEnabled: "toggleHasSponsoredMessagesEnabled";
readonly setBusinessLocation: "setBusinessLocation";
readonly setBusinessOpeningHours: "setBusinessOpeningHours";
readonly setBusinessGreetingMessageSettings: "setBusinessGreetingMessageSettings";
readonly setBusinessAwayMessageSettings: "setBusinessAwayMessageSettings";
readonly setBusinessStartPage: "setBusinessStartPage";
readonly sendPhoneNumberCode: "sendPhoneNumberCode";
readonly sendPhoneNumberFirebaseSms: "sendPhoneNumberFirebaseSms";
readonly reportPhoneNumberCodeMissing: "reportPhoneNumberCodeMissing";
readonly resendPhoneNumberCode: "resendPhoneNumberCode";
readonly checkPhoneNumberCode: "checkPhoneNumberCode";
readonly getBusinessConnectedBot: "getBusinessConnectedBot";
readonly setBusinessConnectedBot: "setBusinessConnectedBot";
readonly deleteBusinessConnectedBot: "deleteBusinessConnectedBot";
readonly toggleBusinessConnectedBotChatIsPaused: "toggleBusinessConnectedBotChatIsPaused";
readonly removeBusinessConnectedBotFromChat: "removeBusinessConnectedBotFromChat";
readonly getBusinessChatLinks: "getBusinessChatLinks";
readonly createBusinessChatLink: "createBusinessChatLink";
readonly editBusinessChatLink: "editBusinessChatLink";
readonly deleteBusinessChatLink: "deleteBusinessChatLink";
readonly getBusinessChatLinkInfo: "getBusinessChatLinkInfo";
readonly getUserLink: "getUserLink";
readonly searchUserByToken: "searchUserByToken";
readonly setCommands: "setCommands";
readonly deleteCommands: "deleteCommands";
readonly getCommands: "getCommands";
readonly setMenuButton: "setMenuButton";
readonly getMenuButton: "getMenuButton";
readonly setDefaultGroupAdministratorRights: "setDefaultGroupAdministratorRights";
readonly setDefaultChannelAdministratorRights: "setDefaultChannelAdministratorRights";
readonly canBotSendMessages: "canBotSendMessages";
readonly allowBotToSendMessages: "allowBotToSendMessages";
readonly sendWebAppCustomRequest: "sendWebAppCustomRequest";
readonly getBotMediaPreviews: "getBotMediaPreviews";
readonly getBotMediaPreviewInfo: "getBotMediaPreviewInfo";
readonly addBotMediaPreview: "addBotMediaPreview";
readonly editBotMediaPreview: "editBotMediaPreview";
readonly reorderBotMediaPreviews: "reorderBotMediaPreviews";
readonly deleteBotMediaPreviews: "deleteBotMediaPreviews";
readonly setBotName: "setBotName";
readonly getBotName: "getBotName";
readonly setBotProfilePhoto: "setBotProfilePhoto";
readonly toggleBotUsernameIsActive: "toggleBotUsernameIsActive";
readonly reorderBotActiveUsernames: "reorderBotActiveUsernames";
readonly setBotInfoDescription: "setBotInfoDescription";
readonly getBotInfoDescription: "getBotInfoDescription";
readonly setBotInfoShortDescription: "setBotInfoShortDescription";
readonly getBotInfoShortDescription: "getBotInfoShortDescription";
readonly setMessageSenderBotVerification: "setMessageSenderBotVerification";
readonly removeMessageSenderBotVerification: "removeMessageSenderBotVerification";
readonly getActiveSessions: "getActiveSessions";
readonly terminateSession: "terminateSession";
readonly terminateAllOtherSessions: "terminateAllOtherSessions";
readonly confirmSession: "confirmSession";
readonly toggleSessionCanAcceptCalls: "toggleSessionCanAcceptCalls";
readonly toggleSessionCanAcceptSecretChats: "toggleSessionCanAcceptSecretChats";
readonly setInactiveSessionTtl: "setInactiveSessionTtl";
readonly getConnectedWebsites: "getConnectedWebsites";
readonly disconnectWebsite: "disconnectWebsite";
readonly disconnectAllWebsites: "disconnectAllWebsites";
readonly setSupergroupUsername: "setSupergroupUsername";
readonly toggleSupergroupUsernameIsActive: "toggleSupergroupUsernameIsActive";
readonly disableAllSupergroupUsernames: "disableAllSupergroupUsernames";
readonly reorderSupergroupActiveUsernames: "reorderSupergroupActiveUsernames";
readonly setSupergroupStickerSet: "setSupergroupStickerSet";
readonly setSupergroupCustomEmojiStickerSet: "setSupergroupCustomEmojiStickerSet";
readonly setSupergroupUnrestrictBoostCount: "setSupergroupUnrestrictBoostCount";
readonly toggleSupergroupSignMessages: "toggleSupergroupSignMessages";
readonly toggleSupergroupJoinToSendMessages: "toggleSupergroupJoinToSendMessages";
readonly toggleSupergroupJoinByRequest: "toggleSupergroupJoinByRequest";
readonly toggleSupergroupIsAllHistoryAvailable: "toggleSupergroupIsAllHistoryAvailable";
readonly toggleSupergroupCanHaveSponsoredMessages: "toggleSupergroupCanHaveSponsoredMessages";
readonly toggleSupergroupHasAutomaticTranslation: "toggleSupergroupHasAutomaticTranslation";
readonly toggleSupergroupHasHiddenMembers: "toggleSupergroupHasHiddenMembers";
readonly toggleSupergroupHasAggressiveAntiSpamEnabled: "toggleSupergroupHasAggressiveAntiSpamEnabled";
readonly toggleSupergroupIsForum: "toggleSupergroupIsForum";
readonly toggleSupergroupIsBroadcastGroup: "toggleSupergroupIsBroadcastGroup";
readonly reportSupergroupSpam: "reportSupergroupSpam";
readonly reportSupergroupAntiSpamFalsePositive: "reportSupergroupAntiSpamFalsePositive";
readonly getSupergroupMembers: "getSupergroupMembers";
readonly closeSecretChat: "closeSecretChat";
readonly getChatEventLog: "getChatEventLog";
readonly getTimeZones: "getTimeZones";
readonly getPaymentForm: "getPaymentForm";
readonly validateOrderInfo: "validateOrderInfo";
readonly sendPaymentForm: "sendPaymentForm";
readonly getPaymentReceipt: "getPaymentReceipt";
readonly getSavedOrderInfo: "getSavedOrderInfo";
readonly deleteSavedOrderInfo: "deleteSavedOrderInfo";
readonly deleteSavedCredentials: "deleteSavedCredentials";
readonly setGiftSettings: "setGiftSettings";
readonly getAvailableGifts: "getAvailableGifts";
readonly sendGift: "sendGift";
readonly sellGift: "sellGift";
readonly toggleGiftIsSaved: "toggleGiftIsSaved";
readonly setPinnedGifts: "setPinnedGifts";
readonly toggleChatGiftNotifications: "toggleChatGiftNotifications";
readonly getGiftUpgradePreview: "getGiftUpgradePreview";
readonly upgradeGift: "upgradeGift";
readonly transferGift: "transferGift";
readonly sendResoldGift: "sendResoldGift";
readonly getReceivedGifts: "getReceivedGifts";
readonly getReceivedGift: "getReceivedGift";
readonly getUpgradedGift: "getUpgradedGift";
readonly getUpgradedGiftWithdrawalUrl: "getUpgradedGiftWithdrawalUrl";
readonly setGiftResalePrice: "setGiftResalePrice";
readonly searchGiftsForResale: "searchGiftsForResale";
readonly createInvoiceLink: "createInvoiceLink";
readonly refundStarPayment: "refundStarPayment";
readonly getSupportUser: "getSupportUser";
readonly getBackgroundUrl: "getBackgroundUrl";
readonly searchBackground: "searchBackground";
readonly setDefaultBackground: "setDefaultBackground";
readonly deleteDefaultBackground: "deleteDefaultBackground";
readonly getInstalledBackgrounds: "getInstalledBackgrounds";
readonly removeInstalledBackground: "removeInstalledBackground";
readonly resetInstalledBackgrounds: "resetInstalledBackgrounds";
readonly getLocalizationTargetInfo: "getLocalizationTargetInfo";
readonly getLanguagePackInfo: "getLanguagePackInfo";
readonly getLanguagePackStrings: "getLanguagePackStrings";
readonly synchronizeLanguagePack: "synchronizeLanguagePack";
readonly addCustomServerLanguagePack: "addCustomServerLanguagePack";
readonly setCustomLanguagePack: "setCustomLanguagePack";
readonly editCustomLanguagePackInfo: "editCustomLanguagePackInfo";
readonly setCustomLanguagePackString: "setCustomLanguagePackString";
readonly deleteLanguagePack: "deleteLanguagePack";
readonly registerDevice: "registerDevice";
readonly processPushNotification: "processPushNotification";
readonly getPushReceiverId: "getPushReceiverId";
readonly getRecentlyVisitedTMeUrls: "getRecentlyVisitedTMeUrls";
readonly setUserPrivacySettingRules: "setUserPrivacySettingRules";
readonly getUserPrivacySettingRules: "getUserPrivacySettingRules";
readonly setReadDatePrivacySettings: "setReadDatePrivacySettings";
readonly getReadDatePrivacySettings: "getReadDatePrivacySettings";
readonly setNewChatPrivacySettings: "setNewChatPrivacySettings";
readonly getNewChatPrivacySettings: "getNewChatPrivacySettings";
readonly getPaidMessageRevenue: "getPaidMessageRevenue";
readonly allowUnpaidMessagesFromUser: "allowUnpaidMessagesFromUser";
readonly setChatPaidMessageStarCount: "setChatPaidMessageStarCount";
readonly canSendMessageToUser: "canSendMessageToUser";
readonly getOption: "getOption";
readonly setOption: "setOption";
readonly setAccountTtl: "setAccountTtl";
readonly getAccountTtl: "getAccountTtl";
readonly deleteAccount: "deleteAccount";
readonly setDefaultMessageAutoDeleteTime: "setDefaultMessageAutoDeleteTime";
readonly getDefaultMessageAutoDeleteTime: "getDefaultMessageAutoDeleteTime";
readonly removeChatActionBar: "removeChatActionBar";
readonly reportChat: "reportChat";
readonly reportChatPhoto: "reportChatPhoto";
readonly reportMessageReactions: "reportMessageReactions";
readonly getChatRevenueStatistics: "getChatRevenueStatistics";
readonly getChatRevenueWithdrawalUrl: "getChatRevenueWithdrawalUrl";
readonly getChatRevenueTransactions: "getChatRevenueTransactions";
readonly getTonTransactions: "getTonTransactions";
readonly getStarRevenueStatistics: "getStarRevenueStatistics";
readonly getStarWithdrawalUrl: "getStarWithdrawalUrl";
readonly getStarAdAccountUrl: "getStarAdAccountUrl";
readonly getChatStatistics: "getChatStatistics";
readonly getMessageStatistics: "getMessageStatistics";
readonly getMessagePublicForwards: "getMessagePublicForwards";
readonly getStoryStatistics: "getStoryStatistics";
readonly getStatisticalGraph: "getStatisticalGraph";
readonly getStorageStatistics: "getStorageStatistics";
readonly getStorageStatisticsFast: "getStorageStatisticsFast";
readonly getDatabaseStatistics: "getDatabaseStatistics";
readonly optimizeStorage: "optimizeStorage";
readonly setNetworkType: "setNetworkType";
readonly getNetworkStatistics: "getNetworkStatistics";
readonly addNetworkStatistics: "addNetworkStatistics";
readonly resetNetworkStatistics: "resetNetworkStatistics";
readonly getAutoDownloadSettingsPresets: "getAutoDownloadSettingsPresets";
readonly setAutoDownloadSettings: "setAutoDownloadSettings";
readonly getAutosaveSettings: "getAutosaveSettings";
readonly setAutosaveSettings: "setAutosaveSettings";
readonly clearAutosaveSettingsExceptions: "clearAutosaveSettingsExceptions";
readonly getBankCardInfo: "getBankCardInfo";
readonly getPassportElement: "getPassportElement";
readonly getAllPassportElements: "getAllPassportElements";
readonly setPassportElement: "setPassportElement";
readonly deletePassportElement: "deletePassportElement";
readonly setPassportElementErrors: "setPassportElementErrors";
readonly getPreferredCountryLanguage: "getPreferredCountryLanguage";
readonly sendEmailAddressVerificationCode: "sendEmailAddressVerificationCode";
readonly resendEmailAddressVerificationCode: "resendEmailAddressVerificationCode";
readonly checkEmailAddressVerificationCode: "checkEmailAddressVerificationCode";
readonly getPassportAuthorizationForm: "getPassportAuthorizationForm";
readonly getPassportAuthorizationFormAvailableElements: "getPassportAuthorizationFormAvailableElements";
readonly sendPassportAuthorizationForm: "sendPassportAuthorizationForm";
readonly setBotUpdatesStatus: "setBotUpdatesStatus";
readonly uploadStickerFile: "uploadStickerFile";
readonly getSuggestedStickerSetName: "getSuggestedStickerSetName";
readonly checkStickerSetName: "checkStickerSetName";
readonly createNewStickerSet: "createNewStickerSet";
readonly addStickerToSet: "addStickerToSet";
readonly replaceStickerInSet: "replaceStickerInSet";
readonly setStickerSetThumbnail: "setStickerSetThumbnail";
readonly setCustomEmojiStickerSetThumbnail: "setCustomEmojiStickerSetThumbnail";
readonly setStickerSetTitle: "setStick