UNPKG

tdlib-native

Version:

🚀 Telegram TDLib native nodejs wrapper

1,032 lines (1,015 loc) • 4.21 MB
/* istanbul ignore file */ export 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 const $Methods = Object.freeze({ getAuthorizationState: "getAuthorizationState", setTdlibParameters: "setTdlibParameters", setAuthenticationPhoneNumber: "setAuthenticationPhoneNumber", checkAuthenticationPremiumPurchase: "checkAuthenticationPremiumPurchase", setAuthenticationPremiumPurchaseTransaction: "setAuthenticationPremiumPurchaseTransaction", setAuthenticationEmailAddress: "setAuthenticationEmailAddress", resendAuthenticationCode: "resendAuthenticationCode", checkAuthenticationEmailCode: "checkAuthenticationEmailCode", checkAuthenticationCode: "checkAuthenticationCode", requestQrCodeAuthentication: "requestQrCodeAuthentication", registerUser: "registerUser", resetAuthenticationEmailAddress: "resetAuthenticationEmailAddress", checkAuthenticationPassword: "checkAuthenticationPassword", requestAuthenticationPasswordRecovery: "requestAuthenticationPasswordRecovery", checkAuthenticationPasswordRecoveryCode: "checkAuthenticationPasswordRecoveryCode", recoverAuthenticationPassword: "recoverAuthenticationPassword", sendAuthenticationFirebaseSms: "sendAuthenticationFirebaseSms", reportAuthenticationCodeMissing: "reportAuthenticationCodeMissing", checkAuthenticationBotToken: "checkAuthenticationBotToken", logOut: "logOut", close: "close", destroy: "destroy", confirmQrCodeAuthentication: "confirmQrCodeAuthentication", getCurrentState: "getCurrentState", setDatabaseEncryptionKey: "setDatabaseEncryptionKey", getPasswordState: "getPasswordState", setPassword: "setPassword", setLoginEmailAddress: "setLoginEmailAddress", resendLoginEmailAddressCode: "resendLoginEmailAddressCode", checkLoginEmailAddressCode: "checkLoginEmailAddressCode", getRecoveryEmailAddress: "getRecoveryEmailAddress", setRecoveryEmailAddress: "setRecoveryEmailAddress", checkRecoveryEmailAddressCode: "checkRecoveryEmailAddressCode", resendRecoveryEmailAddressCode: "resendRecoveryEmailAddressCode", cancelRecoveryEmailAddressVerification: "cancelRecoveryEmailAddressVerification", requestPasswordRecovery: "requestPasswordRecovery", checkPasswordRecoveryCode: "checkPasswordRecoveryCode", recoverPassword: "recoverPassword", resetPassword: "resetPassword", cancelPasswordReset: "cancelPasswordReset", createTemporaryPassword: "createTemporaryPassword", getTemporaryPasswordState: "getTemporaryPasswordState", getMe: "getMe", getUser: "getUser", getUserFullInfo: "getUserFullInfo", getBasicGroup: "getBasicGroup", getBasicGroupFullInfo: "getBasicGroupFullInfo", getSupergroup: "getSupergroup", getSupergroupFullInfo: "getSupergroupFullInfo", getSecretChat: "getSecretChat", getChat: "getChat", getMessage: "getMessage", getMessageLocally: "getMessageLocally", getRepliedMessage: "getRepliedMessage", getChatPinnedMessage: "getChatPinnedMessage", getCallbackQueryMessage: "getCallbackQueryMessage", getMessages: "getMessages", getMessageProperties: "getMessageProperties", getMessageThread: "getMessageThread", getMessageReadDate: "getMessageReadDate", getMessageViewers: "getMessageViewers", getMessageAuthor: "getMessageAuthor", getFile: "getFile", getRemoteFile: "getRemoteFile", loadChats: "loadChats", getChats: "getChats", searchPublicChat: "searchPublicChat", searchPublicChats: "searchPublicChats", searchChats: "searchChats", searchChatsOnServer: "searchChatsOnServer", getRecommendedChats: "getRecommendedChats", getChatSimilarChats: "getChatSimilarChats", getChatSimilarChatCount: "getChatSimilarChatCount", openChatSimilarChat: "openChatSimilarChat", getBotSimilarBots: "getBotSimilarBots", getBotSimilarBotCount: "getBotSimilarBotCount", openBotSimilarBot: "openBotSimilarBot", getTopChats: "getTopChats", removeTopChat: "removeTopChat", searchRecentlyFoundChats: "searchRecentlyFoundChats", addRecentlyFoundChat: "addRecentlyFoundChat", removeRecentlyFoundChat: "removeRecentlyFoundChat", clearRecentlyFoundChats: "clearRecentlyFoundChats", getRecentlyOpenedChats: "getRecentlyOpenedChats", checkChatUsername: "checkChatUsername", getCreatedPublicChats: "getCreatedPublicChats", checkCreatedPublicChatsLimit: "checkCreatedPublicChatsLimit", getSuitableDiscussionChats: "getSuitableDiscussionChats", getInactiveSupergroupChats: "getInactiveSupergroupChats", getSuitablePersonalChats: "getSuitablePersonalChats", loadDirectMessagesChatTopics: "loadDirectMessagesChatTopics", getDirectMessagesChatTopic: "getDirectMessagesChatTopic", getDirectMessagesChatTopicHistory: "getDirectMessagesChatTopicHistory", getDirectMessagesChatTopicMessageByDate: "getDirectMessagesChatTopicMessageByDate", deleteDirectMessagesChatTopicHistory: "deleteDirectMessagesChatTopicHistory", deleteDirectMessagesChatTopicMessagesByDate: "deleteDirectMessagesChatTopicMessagesByDate", setDirectMessagesChatTopicIsMarkedAsUnread: "setDirectMessagesChatTopicIsMarkedAsUnread", setDirectMessagesChatTopicDraftMessage: "setDirectMessagesChatTopicDraftMessage", unpinAllDirectMessagesChatTopicMessages: "unpinAllDirectMessagesChatTopicMessages", readAllDirectMessagesChatTopicReactions: "readAllDirectMessagesChatTopicReactions", getDirectMessagesChatTopicRevenue: "getDirectMessagesChatTopicRevenue", toggleDirectMessagesChatTopicCanSendUnpaidMessages: "toggleDirectMessagesChatTopicCanSendUnpaidMessages", loadSavedMessagesTopics: "loadSavedMessagesTopics", getSavedMessagesTopicHistory: "getSavedMessagesTopicHistory", getSavedMessagesTopicMessageByDate: "getSavedMessagesTopicMessageByDate", deleteSavedMessagesTopicHistory: "deleteSavedMessagesTopicHistory", deleteSavedMessagesTopicMessagesByDate: "deleteSavedMessagesTopicMessagesByDate", toggleSavedMessagesTopicIsPinned: "toggleSavedMessagesTopicIsPinned", setPinnedSavedMessagesTopics: "setPinnedSavedMessagesTopics", getGroupsInCommon: "getGroupsInCommon", getChatHistory: "getChatHistory", getMessageThreadHistory: "getMessageThreadHistory", deleteChatHistory: "deleteChatHistory", deleteChat: "deleteChat", searchChatMessages: "searchChatMessages", searchMessages: "searchMessages", searchSecretMessages: "searchSecretMessages", searchSavedMessages: "searchSavedMessages", searchCallMessages: "searchCallMessages", searchOutgoingDocumentMessages: "searchOutgoingDocumentMessages", searchPublicMessagesByTag: "searchPublicMessagesByTag", searchPublicStoriesByTag: "searchPublicStoriesByTag", searchPublicStoriesByLocation: "searchPublicStoriesByLocation", searchPublicStoriesByVenue: "searchPublicStoriesByVenue", getSearchedForTags: "getSearchedForTags", removeSearchedForTag: "removeSearchedForTag", clearSearchedForTags: "clearSearchedForTags", deleteAllCallMessages: "deleteAllCallMessages", searchChatRecentLocationMessages: "searchChatRecentLocationMessages", getChatMessageByDate: "getChatMessageByDate", getChatSparseMessagePositions: "getChatSparseMessagePositions", getChatMessageCalendar: "getChatMessageCalendar", getChatMessageCount: "getChatMessageCount", getChatMessagePosition: "getChatMessagePosition", getChatScheduledMessages: "getChatScheduledMessages", getChatSponsoredMessages: "getChatSponsoredMessages", clickChatSponsoredMessage: "clickChatSponsoredMessage", reportChatSponsoredMessage: "reportChatSponsoredMessage", getSearchSponsoredChats: "getSearchSponsoredChats", viewSponsoredChat: "viewSponsoredChat", openSponsoredChat: "openSponsoredChat", reportSponsoredChat: "reportSponsoredChat", getVideoMessageAdvertisements: "getVideoMessageAdvertisements", viewVideoMessageAdvertisement: "viewVideoMessageAdvertisement", clickVideoMessageAdvertisement: "clickVideoMessageAdvertisement", reportVideoMessageAdvertisement: "reportVideoMessageAdvertisement", removeNotification: "removeNotification", removeNotificationGroup: "removeNotificationGroup", getMessageLink: "getMessageLink", getMessageEmbeddingCode: "getMessageEmbeddingCode", getMessageLinkInfo: "getMessageLinkInfo", translateText: "translateText", translateMessageText: "translateMessageText", recognizeSpeech: "recognizeSpeech", rateSpeechRecognition: "rateSpeechRecognition", getChatAvailableMessageSenders: "getChatAvailableMessageSenders", setChatMessageSender: "setChatMessageSender", sendMessage: "sendMessage", sendMessageAlbum: "sendMessageAlbum", sendBotStartMessage: "sendBotStartMessage", sendInlineQueryResultMessage: "sendInlineQueryResultMessage", forwardMessages: "forwardMessages", sendQuickReplyShortcutMessages: "sendQuickReplyShortcutMessages", resendMessages: "resendMessages", addLocalMessage: "addLocalMessage", deleteMessages: "deleteMessages", deleteChatMessagesBySender: "deleteChatMessagesBySender", deleteChatMessagesByDate: "deleteChatMessagesByDate", editMessageText: "editMessageText", editMessageLiveLocation: "editMessageLiveLocation", editMessageChecklist: "editMessageChecklist", editMessageMedia: "editMessageMedia", editMessageCaption: "editMessageCaption", editMessageReplyMarkup: "editMessageReplyMarkup", editInlineMessageText: "editInlineMessageText", editInlineMessageLiveLocation: "editInlineMessageLiveLocation", editInlineMessageMedia: "editInlineMessageMedia", editInlineMessageCaption: "editInlineMessageCaption", editInlineMessageReplyMarkup: "editInlineMessageReplyMarkup", editMessageSchedulingState: "editMessageSchedulingState", setMessageFactCheck: "setMessageFactCheck", sendBusinessMessage: "sendBusinessMessage", sendBusinessMessageAlbum: "sendBusinessMessageAlbum", editBusinessMessageText: "editBusinessMessageText", editBusinessMessageLiveLocation: "editBusinessMessageLiveLocation", editBusinessMessageChecklist: "editBusinessMessageChecklist", editBusinessMessageMedia: "editBusinessMessageMedia", editBusinessMessageCaption: "editBusinessMessageCaption", editBusinessMessageReplyMarkup: "editBusinessMessageReplyMarkup", stopBusinessPoll: "stopBusinessPoll", setBusinessMessageIsPinned: "setBusinessMessageIsPinned", readBusinessMessage: "readBusinessMessage", deleteBusinessMessages: "deleteBusinessMessages", editBusinessStory: "editBusinessStory", deleteBusinessStory: "deleteBusinessStory", setBusinessAccountName: "setBusinessAccountName", setBusinessAccountBio: "setBusinessAccountBio", setBusinessAccountProfilePhoto: "setBusinessAccountProfilePhoto", setBusinessAccountUsername: "setBusinessAccountUsername", setBusinessAccountGiftSettings: "setBusinessAccountGiftSettings", getBusinessAccountStarAmount: "getBusinessAccountStarAmount", transferBusinessAccountStars: "transferBusinessAccountStars", checkQuickReplyShortcutName: "checkQuickReplyShortcutName", loadQuickReplyShortcuts: "loadQuickReplyShortcuts", setQuickReplyShortcutName: "setQuickReplyShortcutName", deleteQuickReplyShortcut: "deleteQuickReplyShortcut", reorderQuickReplyShortcuts: "reorderQuickReplyShortcuts", loadQuickReplyShortcutMessages: "loadQuickReplyShortcutMessages", deleteQuickReplyShortcutMessages: "deleteQuickReplyShortcutMessages", addQuickReplyShortcutMessage: "addQuickReplyShortcutMessage", addQuickReplyShortcutInlineQueryResultMessage: "addQuickReplyShortcutInlineQueryResultMessage", addQuickReplyShortcutMessageAlbum: "addQuickReplyShortcutMessageAlbum", readdQuickReplyShortcutMessages: "readdQuickReplyShortcutMessages", editQuickReplyMessage: "editQuickReplyMessage", getForumTopicDefaultIcons: "getForumTopicDefaultIcons", createForumTopic: "createForumTopic", editForumTopic: "editForumTopic", getForumTopic: "getForumTopic", getForumTopicLink: "getForumTopicLink", getForumTopics: "getForumTopics", setForumTopicNotificationSettings: "setForumTopicNotificationSettings", toggleForumTopicIsClosed: "toggleForumTopicIsClosed", toggleGeneralForumTopicIsHidden: "toggleGeneralForumTopicIsHidden", toggleForumTopicIsPinned: "toggleForumTopicIsPinned", setPinnedForumTopics: "setPinnedForumTopics", deleteForumTopic: "deleteForumTopic", getEmojiReaction: "getEmojiReaction", getCustomEmojiReactionAnimations: "getCustomEmojiReactionAnimations", getMessageAvailableReactions: "getMessageAvailableReactions", clearRecentReactions: "clearRecentReactions", addMessageReaction: "addMessageReaction", removeMessageReaction: "removeMessageReaction", getChatAvailablePaidMessageReactionSenders: "getChatAvailablePaidMessageReactionSenders", addPendingPaidMessageReaction: "addPendingPaidMessageReaction", commitPendingPaidMessageReactions: "commitPendingPaidMessageReactions", removePendingPaidMessageReactions: "removePendingPaidMessageReactions", setPaidMessageReactionType: "setPaidMessageReactionType", setMessageReactions: "setMessageReactions", getMessageAddedReactions: "getMessageAddedReactions", setDefaultReactionType: "setDefaultReactionType", getSavedMessagesTags: "getSavedMessagesTags", setSavedMessagesTagLabel: "setSavedMessagesTagLabel", getMessageEffect: "getMessageEffect", searchQuote: "searchQuote", getTextEntities: "getTextEntities", parseTextEntities: "parseTextEntities", parseMarkdown: "parseMarkdown", getMarkdownText: "getMarkdownText", getCountryFlagEmoji: "getCountryFlagEmoji", getFileMimeType: "getFileMimeType", getFileExtension: "getFileExtension", cleanFileName: "cleanFileName", getLanguagePackString: "getLanguagePackString", getJsonValue: "getJsonValue", getJsonString: "getJsonString", getThemeParametersJsonString: "getThemeParametersJsonString", setPollAnswer: "setPollAnswer", getPollVoters: "getPollVoters", stopPoll: "stopPoll", addChecklistTasks: "addChecklistTasks", markChecklistTasksAsDone: "markChecklistTasksAsDone", hideSuggestedAction: "hideSuggestedAction", hideContactCloseBirthdays: "hideContactCloseBirthdays", getBusinessConnection: "getBusinessConnection", getLoginUrlInfo: "getLoginUrlInfo", getLoginUrl: "getLoginUrl", shareUsersWithBot: "shareUsersWithBot", shareChatWithBot: "shareChatWithBot", getInlineQueryResults: "getInlineQueryResults", answerInlineQuery: "answerInlineQuery", savePreparedInlineMessage: "savePreparedInlineMessage", getPreparedInlineMessage: "getPreparedInlineMessage", getGrossingWebAppBots: "getGrossingWebAppBots", searchWebApp: "searchWebApp", getWebAppPlaceholder: "getWebAppPlaceholder", getWebAppLinkUrl: "getWebAppLinkUrl", getMainWebApp: "getMainWebApp", getWebAppUrl: "getWebAppUrl", sendWebAppData: "sendWebAppData", openWebApp: "openWebApp", closeWebApp: "closeWebApp", answerWebAppQuery: "answerWebAppQuery", checkWebAppFileDownload: "checkWebAppFileDownload", getCallbackQueryAnswer: "getCallbackQueryAnswer", answerCallbackQuery: "answerCallbackQuery", answerShippingQuery: "answerShippingQuery", answerPreCheckoutQuery: "answerPreCheckoutQuery", setGameScore: "setGameScore", setInlineGameScore: "setInlineGameScore", getGameHighScores: "getGameHighScores", getInlineGameHighScores: "getInlineGameHighScores", deleteChatReplyMarkup: "deleteChatReplyMarkup", sendChatAction: "sendChatAction", openChat: "openChat", closeChat: "closeChat", viewMessages: "viewMessages", openMessageContent: "openMessageContent", clickAnimatedEmojiMessage: "clickAnimatedEmojiMessage", getInternalLink: "getInternalLink", getInternalLinkType: "getInternalLinkType", getExternalLinkInfo: "getExternalLinkInfo", getExternalLink: "getExternalLink", readAllChatMentions: "readAllChatMentions", readAllMessageThreadMentions: "readAllMessageThreadMentions", readAllChatReactions: "readAllChatReactions", readAllMessageThreadReactions: "readAllMessageThreadReactions", createPrivateChat: "createPrivateChat", createBasicGroupChat: "createBasicGroupChat", createSupergroupChat: "createSupergroupChat", createSecretChat: "createSecretChat", createNewBasicGroupChat: "createNewBasicGroupChat", createNewSupergroupChat: "createNewSupergroupChat", createNewSecretChat: "createNewSecretChat", upgradeBasicGroupChatToSupergroupChat: "upgradeBasicGroupChatToSupergroupChat", getChatListsToAddChat: "getChatListsToAddChat", addChatToList: "addChatToList", getChatFolder: "getChatFolder", createChatFolder: "createChatFolder", editChatFolder: "editChatFolder", deleteChatFolder: "deleteChatFolder", getChatFolderChatsToLeave: "getChatFolderChatsToLeave", getChatFolderChatCount: "getChatFolderChatCount", reorderChatFolders: "reorderChatFolders", toggleChatFolderTags: "toggleChatFolderTags", getRecommendedChatFolders: "getRecommendedChatFolders", getChatFolderDefaultIconName: "getChatFolderDefaultIconName", getChatsForChatFolderInviteLink: "getChatsForChatFolderInviteLink", createChatFolderInviteLink: "createChatFolderInviteLink", getChatFolderInviteLinks: "getChatFolderInviteLinks", editChatFolderInviteLink: "editChatFolderInviteLink", deleteChatFolderInviteLink: "deleteChatFolderInviteLink", checkChatFolderInviteLink: "checkChatFolderInviteLink", addChatFolderByInviteLink: "addChatFolderByInviteLink", getChatFolderNewChats: "getChatFolderNewChats", processChatFolderNewChats: "processChatFolderNewChats", getArchiveChatListSettings: "getArchiveChatListSettings", setArchiveChatListSettings: "setArchiveChatListSettings", setChatTitle: "setChatTitle", setChatPhoto: "setChatPhoto", setChatAccentColor: "setChatAccentColor", setChatProfileAccentColor: "setChatProfileAccentColor", setChatMessageAutoDeleteTime: "setChatMessageAutoDeleteTime", setChatEmojiStatus: "setChatEmojiStatus", setChatPermissions: "setChatPermissions", setChatBackground: "setChatBackground", deleteChatBackground: "deleteChatBackground", setChatTheme: "setChatTheme", setChatDraftMessage: "setChatDraftMessage", setChatNotificationSettings: "setChatNotificationSettings", toggleChatHasProtectedContent: "toggleChatHasProtectedContent", toggleChatViewAsTopics: "toggleChatViewAsTopics", toggleChatIsTranslatable: "toggleChatIsTranslatable", toggleChatIsMarkedAsUnread: "toggleChatIsMarkedAsUnread", toggleChatDefaultDisableNotification: "toggleChatDefaultDisableNotification", setChatAvailableReactions: "setChatAvailableReactions", setChatClientData: "setChatClientData", setChatDescription: "setChatDescription", setChatDiscussionGroup: "setChatDiscussionGroup", setChatDirectMessagesGroup: "setChatDirectMessagesGroup", setChatLocation: "setChatLocation", setChatSlowModeDelay: "setChatSlowModeDelay", pinChatMessage: "pinChatMessage", unpinChatMessage: "unpinChatMessage", unpinAllChatMessages: "unpinAllChatMessages", unpinAllMessageThreadMessages: "unpinAllMessageThreadMessages", joinChat: "joinChat", leaveChat: "leaveChat", addChatMember: "addChatMember", addChatMembers: "addChatMembers", setChatMemberStatus: "setChatMemberStatus", banChatMember: "banChatMember", canTransferOwnership: "canTransferOwnership", transferChatOwnership: "transferChatOwnership", getChatMember: "getChatMember", searchChatMembers: "searchChatMembers", getChatAdministrators: "getChatAdministrators", clearAllDraftMessages: "clearAllDraftMessages", getSavedNotificationSound: "getSavedNotificationSound", getSavedNotificationSounds: "getSavedNotificationSounds", addSavedNotificationSound: "addSavedNotificationSound", removeSavedNotificationSound: "removeSavedNotificationSound", getChatNotificationSettingsExceptions: "getChatNotificationSettingsExceptions", getScopeNotificationSettings: "getScopeNotificationSettings", setScopeNotificationSettings: "setScopeNotificationSettings", setReactionNotificationSettings: "setReactionNotificationSettings", resetAllNotificationSettings: "resetAllNotificationSettings", toggleChatIsPinned: "toggleChatIsPinned", setPinnedChats: "setPinnedChats", readChatList: "readChatList", getCurrentWeather: "getCurrentWeather", getStory: "getStory", getChatsToPostStories: "getChatsToPostStories", canPostStory: "canPostStory", postStory: "postStory", editStory: "editStory", editStoryCover: "editStoryCover", setStoryPrivacySettings: "setStoryPrivacySettings", toggleStoryIsPostedToChatPage: "toggleStoryIsPostedToChatPage", deleteStory: "deleteStory", getStoryNotificationSettingsExceptions: "getStoryNotificationSettingsExceptions", loadActiveStories: "loadActiveStories", setChatActiveStoriesList: "setChatActiveStoriesList", getChatActiveStories: "getChatActiveStories", getChatPostedToChatPageStories: "getChatPostedToChatPageStories", getChatArchivedStories: "getChatArchivedStories", setChatPinnedStories: "setChatPinnedStories", openStory: "openStory", closeStory: "closeStory", getStoryAvailableReactions: "getStoryAvailableReactions", setStoryReaction: "setStoryReaction", getStoryInteractions: "getStoryInteractions", getChatStoryInteractions: "getChatStoryInteractions", reportStory: "reportStory", activateStoryStealthMode: "activateStoryStealthMode", getStoryPublicForwards: "getStoryPublicForwards", getChatBoostLevelFeatures: "getChatBoostLevelFeatures", getChatBoostFeatures: "getChatBoostFeatures", getAvailableChatBoostSlots: "getAvailableChatBoostSlots", getChatBoostStatus: "getChatBoostStatus", boostChat: "boostChat", getChatBoostLink: "getChatBoostLink", getChatBoostLinkInfo: "getChatBoostLinkInfo", getChatBoosts: "getChatBoosts", getUserChatBoosts: "getUserChatBoosts", getAttachmentMenuBot: "getAttachmentMenuBot", toggleBotIsAddedToAttachmentMenu: "toggleBotIsAddedToAttachmentMenu", getThemedEmojiStatuses: "getThemedEmojiStatuses", getRecentEmojiStatuses: "getRecentEmojiStatuses", getUpgradedGiftEmojiStatuses: "getUpgradedGiftEmojiStatuses", getDefaultEmojiStatuses: "getDefaultEmojiStatuses", clearRecentEmojiStatuses: "clearRecentEmojiStatuses", getThemedChatEmojiStatuses: "getThemedChatEmojiStatuses", getDefaultChatEmojiStatuses: "getDefaultChatEmojiStatuses", getDisallowedChatEmojiStatuses: "getDisallowedChatEmojiStatuses", downloadFile: "downloadFile", getFileDownloadedPrefixSize: "getFileDownloadedPrefixSize", cancelDownloadFile: "cancelDownloadFile", getSuggestedFileName: "getSuggestedFileName", preliminaryUploadFile: "preliminaryUploadFile", cancelPreliminaryUploadFile: "cancelPreliminaryUploadFile", writeGeneratedFilePart: "writeGeneratedFilePart", setFileGenerationProgress: "setFileGenerationProgress", finishFileGeneration: "finishFileGeneration", readFilePart: "readFilePart", deleteFile: "deleteFile", addFileToDownloads: "addFileToDownloads", toggleDownloadIsPaused: "toggleDownloadIsPaused", toggleAllDownloadsArePaused: "toggleAllDownloadsArePaused", removeFileFromDownloads: "removeFileFromDownloads", removeAllFilesFromDownloads: "removeAllFilesFromDownloads", searchFileDownloads: "searchFileDownloads", setApplicationVerificationToken: "setApplicationVerificationToken", getMessageFileType: "getMessageFileType", getMessageImportConfirmationText: "getMessageImportConfirmationText", importMessages: "importMessages", replacePrimaryChatInviteLink: "replacePrimaryChatInviteLink", createChatInviteLink: "createChatInviteLink", createChatSubscriptionInviteLink: "createChatSubscriptionInviteLink", editChatInviteLink: "editChatInviteLink", editChatSubscriptionInviteLink: "editChatSubscriptionInviteLink", getChatInviteLink: "getChatInviteLink", getChatInviteLinkCounts: "getChatInviteLinkCounts", getChatInviteLinks: "getChatInviteLinks", getChatInviteLinkMembers: "getChatInviteLinkMembers", revokeChatInviteLink: "revokeChatInviteLink", deleteRevokedChatInviteLink: "deleteRevokedChatInviteLink", deleteAllRevokedChatInviteLinks: "deleteAllRevokedChatInviteLinks", checkChatInviteLink: "checkChatInviteLink", joinChatByInviteLink: "joinChatByInviteLink", getChatJoinRequests: "getChatJoinRequests", processChatJoinRequest: "processChatJoinRequest", processChatJoinRequests: "processChatJoinRequests", approveSuggestedPost: "approveSuggestedPost", declineSuggestedPost: "declineSuggestedPost", addOffer: "addOffer", createCall: "createCall", acceptCall: "acceptCall", sendCallSignalingData: "sendCallSignalingData", discardCall: "discardCall", sendCallRating: "sendCallRating", sendCallDebugInformation: "sendCallDebugInformation", sendCallLog: "sendCallLog", getVideoChatAvailableParticipants: "getVideoChatAvailableParticipants", setVideoChatDefaultParticipant: "setVideoChatDefaultParticipant", createVideoChat: "createVideoChat", createGroupCall: "createGroupCall", getVideoChatRtmpUrl: "getVideoChatRtmpUrl", replaceVideoChatRtmpUrl: "replaceVideoChatRtmpUrl", getGroupCall: "getGroupCall", startScheduledVideoChat: "startScheduledVideoChat", toggleVideoChatEnabledStartNotification: "toggleVideoChatEnabledStartNotification", joinGroupCall: "joinGroupCall", joinVideoChat: "joinVideoChat", startGroupCallScreenSharing: "startGroupCallScreenSharing", toggleGroupCallScreenSharingIsPaused: "toggleGroupCallScreenSharingIsPaused", endGroupCallScreenSharing: "endGroupCallScreenSharing", setVideoChatTitle: "setVideoChatTitle", toggleVideoChatMuteNewParticipants: "toggleVideoChatMuteNewParticipants", inviteGroupCallParticipant: "inviteGroupCallParticipant", declineGroupCallInvitation: "declineGroupCallInvitation", banGroupCallParticipants: "banGroupCallParticipants", inviteVideoChatParticipants: "inviteVideoChatParticipants", getVideoChatInviteLink: "getVideoChatInviteLink", revokeGroupCallInviteLink: "revokeGroupCallInviteLink", startGroupCallRecording: "startGroupCallRecording", endGroupCallRecording: "endGroupCallRecording", toggleGroupCallIsMyVideoPaused: "toggleGroupCallIsMyVideoPaused", toggleGroupCallIsMyVideoEnabled: "toggleGroupCallIsMyVideoEnabled", setGroupCallParticipantIsSpeaking: "setGroupCallParticipantIsSpeaking", toggleGroupCallParticipantIsMuted: "toggleGroupCallParticipantIsMuted", setGroupCallParticipantVolumeLevel: "setGroupCallParticipantVolumeLevel", toggleGroupCallParticipantIsHandRaised: "toggleGroupCallParticipantIsHandRaised", getGroupCallParticipants: "getGroupCallParticipants", loadGroupCallParticipants: "loadGroupCallParticipants", leaveGroupCall: "leaveGroupCall", endGroupCall: "endGroupCall", getVideoChatStreams: "getVideoChatStreams", getVideoChatStreamSegment: "getVideoChatStreamSegment", encryptGroupCallData: "encryptGroupCallData", decryptGroupCallData: "decryptGroupCallData", setMessageSenderBlockList: "setMessageSenderBlockList", blockMessageSenderFromReplies: "blockMessageSenderFromReplies", getBlockedMessageSenders: "getBlockedMessageSenders", addContact: "addContact", importContacts: "importContacts", getContacts: "getContacts", searchContacts: "searchContacts", removeContacts: "removeContacts", getImportedContactCount: "getImportedContactCount", changeImportedContacts: "changeImportedContacts", clearImportedContacts: "clearImportedContacts", setCloseFriends: "setCloseFriends", getCloseFriends: "getCloseFriends", setUserPersonalProfilePhoto: "setUserPersonalProfilePhoto", suggestUserProfilePhoto: "suggestUserProfilePhoto", toggleBotCanManageEmojiStatus: "toggleBotCanManageEmojiStatus", setUserEmojiStatus: "setUserEmojiStatus", searchUserByPhoneNumber: "searchUserByPhoneNumber", sharePhoneNumber: "sharePhoneNumber", getUserProfilePhotos: "getUserProfilePhotos", getStickerOutline: "getStickerOutline", getStickers: "getStickers", getAllStickerEmojis: "getAllStickerEmojis", searchStickers: "searchStickers", getGreetingStickers: "getGreetingStickers", getPremiumStickers: "getPremiumStickers", getInstalledStickerSets: "getInstalledStickerSets", getArchivedStickerSets: "getArchivedStickerSets", getTrendingStickerSets: "getTrendingStickerSets", getAttachedStickerSets: "getAttachedStickerSets", getStickerSet: "getStickerSet", getStickerSetName: "getStickerSetName", searchStickerSet: "searchStickerSet", searchInstalledStickerSets: "searchInstalledStickerSets", searchStickerSets: "searchStickerSets", changeStickerSet: "changeStickerSet", viewTrendingStickerSets: "viewTrendingStickerSets", reorderInstalledStickerSets: "reorderInstalledStickerSets", getRecentStickers: "getRecentStickers", addRecentSticker: "addRecentSticker", removeRecentSticker: "removeRecentSticker", clearRecentStickers: "clearRecentStickers", getFavoriteStickers: "getFavoriteStickers", addFavoriteSticker: "addFavoriteSticker", removeFavoriteSticker: "removeFavoriteSticker", getStickerEmojis: "getStickerEmojis", searchEmojis: "searchEmojis", getKeywordEmojis: "getKeywordEmojis", getEmojiCategories: "getEmojiCategories", getAnimatedEmoji: "getAnimatedEmoji", getEmojiSuggestionsUrl: "getEmojiSuggestionsUrl", getCustomEmojiStickers: "getCustomEmojiStickers", getDefaultChatPhotoCustomEmojiStickers: "getDefaultChatPhotoCustomEmojiStickers", getDefaultProfilePhotoCustomEmojiStickers: "getDefaultProfilePhotoCustomEmojiStickers", getDefaultBackgroundCustomEmojiStickers: "getDefaultBackgroundCustomEmojiStickers", getSavedAnimations: "getSavedAnimations", addSavedAnimation: "addSavedAnimation", removeSavedAnimation: "removeSavedAnimation", getRecentInlineBots: "getRecentInlineBots", getOwnedBots: "getOwnedBots", searchHashtags: "searchHashtags", removeRecentHashtag: "removeRecentHashtag", getLinkPreview: "getLinkPreview", getWebPageInstantView: "getWebPageInstantView", setProfilePhoto: "setProfilePhoto", deleteProfilePhoto: "deleteProfilePhoto", setAccentColor: "setAccentColor", setProfileAccentColor: "setProfileAccentColor", setName: "setName", setBio: "setBio", setUsername: "setUsername", toggleUsernameIsActive: "toggleUsernameIsActive", reorderActiveUsernames: "reorderActiveUsernames", setBirthdate: "setBirthdate", setPersonalChat: "setPersonalChat", setEmojiStatus: "setEmojiStatus", toggleHasSponsoredMessagesEnabled: "toggleHasSponsoredMessagesEnabled", setBusinessLocation: "setBusinessLocation", setBusinessOpeningHours: "setBusinessOpeningHours", setBusinessGreetingMessageSettings: "setBusinessGreetingMessageSettings", setBusinessAwayMessageSettings: "setBusinessAwayMessageSettings", setBusinessStartPage: "setBusinessStartPage", sendPhoneNumberCode: "sendPhoneNumberCode", sendPhoneNumberFirebaseSms: "sendPhoneNumberFirebaseSms", reportPhoneNumberCodeMissing: "reportPhoneNumberCodeMissing", resendPhoneNumberCode: "resendPhoneNumberCode", checkPhoneNumberCode: "checkPhoneNumberCode", getBusinessConnectedBot: "getBusinessConnectedBot", setBusinessConnectedBot: "setBusinessConnectedBot", deleteBusinessConnectedBot: "deleteBusinessConnectedBot", toggleBusinessConnectedBotChatIsPaused: "toggleBusinessConnectedBotChatIsPaused", removeBusinessConnectedBotFromChat: "removeBusinessConnectedBotFromChat", getBusinessChatLinks: "getBusinessChatLinks", createBusinessChatLink: "createBusinessChatLink", editBusinessChatLink: "editBusinessChatLink", deleteBusinessChatLink: "deleteBusinessChatLink", getBusinessChatLinkInfo: "getBusinessChatLinkInfo", getUserLink: "getUserLink", searchUserByToken: "searchUserByToken", setCommands: "setCommands", deleteCommands: "deleteCommands", getCommands: "getCommands", setMenuButton: "setMenuButton", getMenuButton: "getMenuButton", setDefaultGroupAdministratorRights: "setDefaultGroupAdministratorRights", setDefaultChannelAdministratorRights: "setDefaultChannelAdministratorRights", canBotSendMessages: "canBotSendMessages", allowBotToSendMessages: "allowBotToSendMessages", sendWebAppCustomRequest: "sendWebAppCustomRequest", getBotMediaPreviews: "getBotMediaPreviews", getBotMediaPreviewInfo: "getBotMediaPreviewInfo", addBotMediaPreview: "addBotMediaPreview", editBotMediaPreview: "editBotMediaPreview", reorderBotMediaPreviews: "reorderBotMediaPreviews", deleteBotMediaPreviews: "deleteBotMediaPreviews", setBotName: "setBotName", getBotName: "getBotName", setBotProfilePhoto: "setBotProfilePhoto", toggleBotUsernameIsActive: "toggleBotUsernameIsActive", reorderBotActiveUsernames: "reorderBotActiveUsernames", setBotInfoDescription: "setBotInfoDescription", getBotInfoDescription: "getBotInfoDescription", setBotInfoShortDescription: "setBotInfoShortDescription", getBotInfoShortDescription: "getBotInfoShortDescription", setMessageSenderBotVerification: "setMessageSenderBotVerification", removeMessageSenderBotVerification: "removeMessageSenderBotVerification", getActiveSessions: "getActiveSessions", terminateSession: "terminateSession", terminateAllOtherSessions: "terminateAllOtherSessions", confirmSession: "confirmSession", toggleSessionCanAcceptCalls: "toggleSessionCanAcceptCalls", toggleSessionCanAcceptSecretChats: "toggleSessionCanAcceptSecretChats", setInactiveSessionTtl: "setInactiveSessionTtl", getConnectedWebsites: "getConnectedWebsites", disconnectWebsite: "disconnectWebsite", disconnectAllWebsites: "disconnectAllWebsites", setSupergroupUsername: "setSupergroupUsername", toggleSupergroupUsernameIsActive: "toggleSupergroupUsernameIsActive", disableAllSupergroupUsernames: "disableAllSupergroupUsernames", reorderSupergroupActiveUsernames: "reorderSupergroupActiveUsernames", setSupergroupStickerSet: "setSupergroupStickerSet", setSupergroupCustomEmojiStickerSet: "setSupergroupCustomEmojiStickerSet", setSupergroupUnrestrictBoostCount: "setSupergroupUnrestrictBoostCount", toggleSupergroupSignMessages: "toggleSupergroupSignMessages", toggleSupergroupJoinToSendMessages: "toggleSupergroupJoinToSendMessages", toggleSupergroupJoinByRequest: "toggleSupergroupJoinByRequest", toggleSupergroupIsAllHistoryAvailable: "toggleSupergroupIsAllHistoryAvailable", toggleSupergroupCanHaveSponsoredMessages: "toggleSupergroupCanHaveSponsoredMessages", toggleSupergroupHasAutomaticTranslation: "toggleSupergroupHasAutomaticTranslation", toggleSupergroupHasHiddenMembers: "toggleSupergroupHasHiddenMembers", toggleSupergroupHasAggressiveAntiSpamEnabled: "toggleSupergroupHasAggressiveAntiSpamEnabled", toggleSupergroupIsForum: "toggleSupergroupIsForum", toggleSupergroupIsBroadcastGroup: "toggleSupergroupIsBroadcastGroup", reportSupergroupSpam: "reportSupergroupSpam", reportSupergroupAntiSpamFalsePositive: "reportSupergroupAntiSpamFalsePositive", getSupergroupMembers: "getSupergroupMembers", closeSecretChat: "closeSecretChat", getChatEventLog: "getChatEventLog", getTimeZones: "getTimeZones", getPaymentForm: "getPaymentForm", validateOrderInfo: "validateOrderInfo", sendPaymentForm: "sendPaymentForm", getPaymentReceipt: "getPaymentReceipt", getSavedOrderInfo: "getSavedOrderInfo", deleteSavedOrderInfo: "deleteSavedOrderInfo", deleteSavedCredentials: "deleteSavedCredentials", setGiftSettings: "setGiftSettings", getAvailableGifts: "getAvailableGifts", sendGift: "sendGift", sellGift: "sellGift", toggleGiftIsSaved: "toggleGiftIsSaved", setPinnedGifts: "setPinnedGifts", toggleChatGiftNotifications: "toggleChatGiftNotifications", getGiftUpgradePreview: "getGiftUpgradePreview", upgradeGift: "upgradeGift", transferGift: "transferGift", sendResoldGift: "sendResoldGift", getReceivedGifts: "getReceivedGifts", getReceivedGift: "getReceivedGift", getUpgradedGift: "getUpgradedGift", getUpgradedGiftWithdrawalUrl: "getUpgradedGiftWithdrawalUrl", setGiftResalePrice: "setGiftResalePrice", searchGiftsForResale: "searchGiftsForResale", createInvoiceLink: "createInvoiceLink", refundStarPayment: "refundStarPayment", getSupportUser: "getSupportUser", getBackgroundUrl: "getBackgroundUrl", searchBackground: "searchBackground", setDefaultBackground: "setDefaultBackground", deleteDefaultBackground: "deleteDefaultBackground", getInstalledBackgrounds: "getInstalledBackgrounds", removeInstalledBackground: "removeInstalledBackground", resetInstalledBackgrounds: "resetInstalledBackgrounds", getLocalizationTargetInfo: "getLocalizationTargetInfo", getLanguagePackInfo: "getLanguagePackInfo", getLanguagePackStrings: "getLanguagePackStrings", synchronizeLanguagePack: "synchronizeLanguagePack", addCustomServerLanguagePack: "addCustomServerLanguagePack", setCustomLanguagePack: "setCustomLanguagePack", editCustomLanguagePackInfo: "editCustomLanguagePackInfo", setCustomLanguagePackString: "setCustomLanguagePackString", deleteLanguagePack: "deleteLanguagePack", registerDevice: "registerDevice", processPushNotification: "processPushNotification", getPushReceiverId: "getPushReceiverId", getRecentlyVisitedTMeUrls: "getRecentlyVisitedTMeUrls", setUserPrivacySettingRules: "setUserPrivacySettingRules", getUserPrivacySettingRules: "getUserPrivacySettingRules", setReadDatePrivacySettings: "setReadDatePrivacySettings", getReadDatePrivacySettings: "getReadDatePrivacySettings", setNewChatPrivacySettings: "setNewChatPrivacySettings", getNewChatPrivacySettings: "getNewChatPrivacySettings", getPaidMessageRevenue: "getPaidMessageRevenue", allowUnpaidMessagesFromUser: "allowUnpaidMessagesFromUser", setChatPaidMessageStarCount: "setChatPaidMessageStarCount", canSendMessageToUser: "canSendMessageToUser", getOption: "getOption", setOption: "setOption", setAccountTtl: "setAccountTtl", getAccountTtl: "getAccountTtl", deleteAccount: "deleteAccount", setDefaultMessageAutoDeleteTime: "setDefaultMessageAutoDeleteTime", getDefaultMessageAutoDeleteTime: "getDefaultMessageAutoDeleteTime", removeChatActionBar: "removeChatActionBar", reportChat: "reportChat", reportChatPhoto: "reportChatPhoto", reportMessageReactions: "reportMessageReactions", getChatRevenueStatistics: "getChatRevenueStatistics", getChatRevenueWithdrawalUrl: "getChatRevenueWithdrawalUrl", getChatRevenueTransactions: "getChatRevenueTransactions", getTonTransactions: "getTonTransactions", getStarRevenueStatistics: "getStarRevenueStatistics", getStarWithdrawalUrl: "getStarWithdrawalUrl", getStarAdAccountUrl: "getStarAdAccountUrl", getChatStatistics: "getChatStatistics", getMessageStatistics: "getMessageStatistics", getMessagePublicForwards: "getMessagePublicForwards", getStoryStatistics: "getStoryStatistics", getStatisticalGraph: "getStatisticalGraph", getStorageStatistics: "getStorageStatistics", getStorageStatisticsFast: "getStorageStatisticsFast", getDatabaseStatistics: "getDatabaseStatistics", optimizeStorage: "optimizeStorage", setNetworkType: "setNetworkType", getNetworkStatistics: "getNetworkStatistics", addNetworkStatistics: "addNetworkStatistics", resetNetworkStatistics: "resetNetworkStatistics", getAutoDownloadSettingsPresets: "getAutoDownloadSettingsPresets", setAutoDownloadSettings: "setAutoDownloadSettings", getAutosaveSettings: "getAutosaveSettings", setAutosaveSettings: "setAutosaveSettings", clearAutosaveSettingsExceptions: "clearAutosaveSettingsExceptions", getBankCardInfo: "getBankCardInfo", getPassportElement: "getPassportElement", getAllPassportElements: "getAllPassportElements", setPassportElement: "setPassportElement", deletePassportElement: "deletePassportElement", setPassportElementErrors: "setPassportElementErrors", getPreferredCountryLanguage: "getPreferredCountryLanguage", sendEmailAddressVerificationCode: "sendEmailAddressVerificationCode", resendEmailAddressVerificationCode: "resendEmailAddressVerificationCode", checkEmailAddressVerificationCode: "checkEmailAddressVerificationCode", getPassportAuthorizationForm: "getPassportAuthorizationForm", getPassportAuthorizationFormAvailableElements: "getPassportAuthorizationFormAvailableElements", sendPassportAuthorizationForm: "sendPassportAuthorizationForm", setBotUpdatesStatus: "setBotUpdatesStatus", uploadStickerFile: "uploadStickerFile", getSuggestedStickerSetName: "getSuggestedStickerSetName", checkStickerSetName: "checkStickerSetName", createNewStickerSet: "createNewStickerSet", addStickerToSet: "addStickerToSet", replaceStickerInSet: "replaceStickerInSet", setStickerSetThumbnail: "setStickerSetThumbnail", setCustomEmojiStickerSetThumbnail: "setCustomEmojiStickerSetThumbnail", setStickerSetTitle: "setStickerSetTitle", deleteStickerSet: "deleteStickerSet", setStickerPositionInSet: "setStickerPositionInSet", removeStickerFromSet: "removeStickerFromSet", setStickerEmojis: "setStickerEmojis", setStickerKeywords: "setStickerKeywords", setStickerMaskPosition: "setStickerMaskPosition", getOwnedStickerSets: "getOwnedStickerSets", getMapThumbnailFile: "getMapThumbnailFile", getPremiumLimit: "getPremiumLimit", getPremiumFeatures: "getPremiumFeatures", getPremiumStickerExamples: "getPremiumStickerExamples", getPremiumInfoSticker: "getPremiumInfoSticker", viewPremiumFeature: "viewPremiumFeature", clickPremiumSubscriptionButton: "clickPremiumSubscriptionButton", getPremiumState: "getPremiumState", getPremiumGiftPaymentOptions: "getPremiumGiftPaymentOptions", getPremiumGiveawayPaymentOptions: "getPremiumGiveawayPaymentOptions", checkPremiumGiftCode: "checkPremiumGiftCode", applyPremiumGiftCode: "applyPremiumGiftCode", giftPremiumWithStars: "giftPremiumWithStars", launchPrepaidGiveaway: "launchPrepaidGiveaway", getGiveawayInfo: "getGiveawayInfo", getStarPaymentOptions: "getStarPaymentOptions", getStarGiftPaymentOptions: "getStarGiftPaymentOptions", getStarGiveawayPaymentOptions: "getStarGiveawayPaymentOptions", getStarTransactions: "getStarTransactions", getStarSubscriptions: "getStarSubscriptions", canPurchaseFromStore: "canPurchaseFromStore", assignStoreTransaction: "assignStoreTransaction", editStarSubscription: "editStarSubscription", editUserStarSubscription: "editUserStarSubscription", reuseStarSubscription: "reuseStarSubscription", setChatAffiliateProgram: "setChatAffiliateProgram", searchChatAffiliateProgram: "searchChatAffiliateProgram", searchAffiliatePrograms: "searchAffiliatePrograms", connectAffiliateProgram: "connectAffiliateProgram", disconnectAffiliateProgram: "disconnectAffiliateProgram", getConnectedAffiliateProgram: "getConnectedAffiliateProgram", getConnectedAffiliatePrograms: "getConnectedAffiliatePrograms", getBusinessFeatures: "getBusinessFeatures", acceptTermsOfService: "acceptTermsOfService", searchStringsByPrefix: "searchStringsByPrefix", sendCustomRequest: "sendCustomRequest", answerCustomQuery: "answerCustomQuery", setAlarm: "setAlarm", getCountries: "getCountries", getCountryCode: "getCountryCode", getPhoneNumberInfo: "getPhoneNumberInfo", getPhoneNumberInfoSync: "getPhoneNumberInfoSync", getCollectibleItemInfo: "getCollectibleItemInfo", getDeepLinkInfo: "getDeepLinkInfo", getApplicationConfig: "getApplicationConfig", saveApplicationLogEvent: "saveApplicationLogEvent", getApplicationDownloadLink: "getApplicationDownloadLink", addProxy: "addProxy", editProxy: "editProxy", enableProxy: "enableProxy", disableProxy: "disableProxy", removeProxy: "removeProxy", getProxies: "getProxies", getProxyLink: "getProxyLink", pingProxy: "pingProxy", setLogStream: "setLogStream", getLogStream: "getLogStream", setLogVerbosityLevel: "setLogVerbosityLevel", getLogVerbosityLevel: "getLogVerbosityLevel", getLogTags: "getLogTags", setLogTagVerbosityLevel: "setLogTagVerbosityLevel", getLogTagVerbosityLevel: "getLogTagVerbosityLevel", addLogMessage: "addLogMessage", getUserSupportInfo: "getUserSupportInfo", setUserSupportInfo: "setUserSupportInfo", getSupportName: "getSupportName", testCallEmpty: "testCallEmpty", testCallString: "testCallString", testCallBytes: "testCallBytes", testCallVectorInt: "testCallVectorInt", testCallVectorIntObject: "testCallVectorIntObject", testCallVectorString: "testCallVectorString", testCallVectorStringObject: "testCallVectorStringObject", testSquareInt: "testSquareInt", testNetwork: "testNetwork", testProxy: "testProxy", testGetDifference: "testGetDifference", testUseUpdate: "testUseUpdate", testReturnError: "testReturnError" } as const); export type $Methods = (typeof $Methods)[keyof typeof $Methods]; export const LogStream$Type = Object.freeze({ Default: "logStreamDefault", File: "logStreamFile", Empty: "logStreamEmpty" } as const); export type LogStream$Type = (typeof LogStream$Type)[keyof typeof LogStream$Type]; export const Update$Type = Object.freeze({ AuthorizationState: "updateAuthorizationState", NewMessage: "updateNewMessage", MessageSendAcknowledged: "updateMessageSendAcknowledged", MessageSendSucceeded: "updateMessageSendSucceeded", MessageSendFailed: "updateMessageSendFailed", MessageContent: "updateMessageContent", MessageEdited: "updateMessageEdited", MessageIsPinned: "updateMessageIsPinned", MessageInteractionInfo: "updateMessageInteractionInfo", MessageContentOpened: "updateMessageContentOpened", MessageMentionRead: "updateMessageMentionRead", MessageUnreadReactions: "updateMessageUnreadReactions", MessageFactCheck: "updateMessageFactCheck", MessageSuggestedPostInfo: "updateMessageSuggestedPostInfo", MessageLiveLocationViewed: "updateMessageLiveLocationViewed", VideoPublished: "updateVideoPublished", NewChat: "updateNewChat", ChatTitle: "updateChatTitle", ChatPhoto: "updateChatPhoto", ChatAccentColors: "updateChatAccentColors", ChatPermissions: "updateChatPermissions", ChatLastMessage: "updateChatLastMessage", ChatPosition: "updateChatPosition", ChatAddedToList: "updateChatAddedToList", ChatRemovedFromList: "updateChatRemovedFromList", ChatReadInbox: "updateChatReadInbox", ChatReadOutbox: "updateChatReadOutbox", ChatActionBar: "updateChatActionBar", ChatBusinessBotManageBar: "updateChatBusinessBotManageBar", ChatAvailableReactions: "updateChatAvailableReactions", ChatDraftMessage: "updateChatDraftMessage", ChatEmojiStatus: "updateChatEmojiStatus", ChatMessageSender: "updateChatMessageSender", ChatMessageAutoDeleteTime: "updateChatMessageAutoDeleteTime", ChatNotificationSettings: "updateChatNotificationSettings", ChatPendingJoinRequests: "updateChatPendingJoinRequests", ChatReplyMarkup: "updateChatReplyMarkup", ChatBackground: "updateChatBackground", ChatTheme: "updateChatTheme", ChatUnreadMentionCount: "updateChatUnreadMentionCount", ChatUnreadReactionCount: "updateChatUnreadReactionCount", ChatVideoChat: "updateChatVideoChat", ChatDefaultDisableNotification: "updateChatDefaultDisableNotification", ChatHasProtectedContent: "updateChatHasProtectedContent", ChatIsTranslatable: "updateChatIsTranslatable", ChatIsMarkedAsUnread: "updateChatIsMarkedAsUnread", ChatViewAsTopics: "updateChatViewAsTopics", ChatBlockList: "updateChatBlockList", ChatHasScheduledMessages: "updateChatHasScheduledMessages", ChatFolders: "updateChatFolders", ChatOnlineMemberCount: "updateChatOnlineMemberCount", SavedMessagesTopic: "updateSavedMessagesTopic", SavedMessagesTopicCount: "updateSavedMessagesTopicCount", DirectMessagesChatTopic: "updateDirectMessagesChatTopic", TopicMessageCount: "updateTopicMessageCount", QuickReplyShortcut: "updateQuickReplyShortcut", QuickReplyShortcutDeleted: "updateQuickReplyShortcutDeleted", QuickReplyShortcuts: "updateQuickReplyShortcuts", QuickReplyShortcutMessages: "updateQuickReplyShortcutMessages", ForumTopicInfo: "updateForumTopicInfo", ForumTopic: "updateForumTopic", ScopeNotificationSettings: "updateScopeNotificationSettings", ReactionNotificationSettings: "updateReactionNotificationSettings", Notification: "updateNotification", NotificationGroup: "updateNotificationGroup", ActiveNotifications: "updateActiveNotifications", HavePendingNotifications: "updateHavePendingNotifications", DeleteMessages: "updateDeleteMessages", ChatAction: "updateChatAction", UserStatus: "updateUserStatus", User: "updateUser", BasicGroup: "updateBasicGroup", Supergroup: "updateSupergroup", SecretChat: "updateSecretChat", UserFullInfo: "updateUserFullInfo", BasicGroupFullInfo: "updateBasicGroupFullInfo", SupergroupFullInfo: "updateSupergroupFullInfo", ServiceNotification: "updateServiceNotification", File: "updateFile", FileGenerationStart: "updateFileGenerationStart", FileGenerationStop: "updateFileGenerationStop", FileDownloads: "updateFileDownloads", FileAddedToDownloads: "updateFileAddedToDownloads", FileDownload: "updateFileDownload", FileRemovedFromDownloads: "updateFileRemovedFromDownloads", ApplicationVerificationRequired: "updateApplicationVerificationRequired", ApplicationRecaptchaVerificationRequired: "updateApplicationRecaptchaVerificationRequired", Call: "updateCall", GroupCall: "updateGroupCall", GroupCallParticipant: "updateGroupCallParticipant", GroupCallParticipants: "updateGroupCallParticipants", GroupCallVer