Documentation - v0.27.1
    Preparing search index...

    Function assertTypeIs

    • Type Parameters

      • T extends TlObject
      • K extends
            | "photo"
            | "user"
            | "chat"
            | "channel"
            | "peerUser"
            | "peerChat"
            | "peerChannel"
            | "inputPeerEmpty"
            | "inputPeerSelf"
            | "inputPeerChat"
            | "inputPeerUser"
            | "inputPeerChannel"
            | "inputPeerUserFromMessage"
            | "inputPeerChannelFromMessage"
            | "mtcute.dummyInputPeerMinUser"
            | "mtcute.dummyInputPeerMinChannel"
            | "inputUserEmpty"
            | "inputUserSelf"
            | "inputUser"
            | "inputUserFromMessage"
            | "inputChannelEmpty"
            | "inputChannel"
            | "inputChannelFromMessage"
            | "error"
            | "inputPeerPhotoFileLocationLegacy"
            | "inputStickerSetThumbLegacy"
            | "inputPhoneContact"
            | "inputFile"
            | "inputFileBig"
            | "inputFileStoryDocument"
            | "inputMediaEmpty"
            | "inputMediaUploadedPhoto"
            | "inputMediaPhoto"
            | "inputMediaGeoPoint"
            | "inputMediaContact"
            | "inputMediaUploadedDocument"
            | "inputMediaDocument"
            | "inputMediaVenue"
            | "inputMediaPhotoExternal"
            | "inputMediaDocumentExternal"
            | "inputMediaGame"
            | "inputMediaInvoice"
            | "inputMediaGeoLive"
            | "inputMediaPoll"
            | "inputMediaDice"
            | "inputMediaStory"
            | "inputMediaWebPage"
            | "inputMediaPaidMedia"
            | "inputMediaTodo"
            | "inputChatPhotoEmpty"
            | "inputChatUploadedPhoto"
            | "inputChatPhoto"
            | "inputGeoPointEmpty"
            | "inputGeoPoint"
            | "inputPhotoEmpty"
            | "inputPhoto"
            | "inputFileLocation"
            | "inputEncryptedFileLocation"
            | "inputDocumentFileLocation"
            | "inputSecureFileLocation"
            | "inputTakeoutFileLocation"
            | "inputPhotoFileLocation"
            | "inputPhotoLegacyFileLocation"
            | "inputPeerPhotoFileLocation"
            | "inputStickerSetThumb"
            | "inputGroupCallStream"
            | "storage.fileUnknown"
            | "storage.filePartial"
            | "storage.fileJpeg"
            | "storage.fileGif"
            | "storage.filePng"
            | "storage.filePdf"
            | "storage.fileMp3"
            | "storage.fileMov"
            | "storage.fileMp4"
            | "storage.fileWebp"
            | "userEmpty"
            | "userProfilePhotoEmpty"
            | "userProfilePhoto"
            | "userStatusEmpty"
            | "userStatusOnline"
            | "userStatusOffline"
            | "userStatusRecently"
            | "userStatusLastWeek"
            | "userStatusLastMonth"
            | "chatEmpty"
            | "chatForbidden"
            | "channelForbidden"
            | "chatFull"
            | "channelFull"
            | "chatParticipant"
            | "chatParticipantCreator"
            | "chatParticipantAdmin"
            | "chatParticipantsForbidden"
            | "chatParticipants"
            | "chatPhotoEmpty"
            | "chatPhoto"
            | "messageEmpty"
            | "message"
            | "messageService"
            | "messageMediaEmpty"
            | "messageMediaPhoto"
            | "messageMediaGeo"
            | "messageMediaContact"
            | "messageMediaUnsupported"
            | "messageMediaDocument"
            | "messageMediaWebPage"
            | "messageMediaVenue"
            | "messageMediaGame"
            | "messageMediaInvoice"
            | "messageMediaGeoLive"
            | "messageMediaPoll"
            | "messageMediaDice"
            | "messageMediaStory"
            | "messageMediaGiveaway"
            | "messageMediaGiveawayResults"
            | "messageMediaPaidMedia"
            | "messageMediaToDo"
            | "messageActionEmpty"
            | "messageActionChatCreate"
            | "messageActionChatEditTitle"
            | "messageActionChatEditPhoto"
            | "messageActionChatDeletePhoto"
            | "messageActionChatAddUser"
            | "messageActionChatDeleteUser"
            | "messageActionChatJoinedByLink"
            | "messageActionChannelCreate"
            | "messageActionChatMigrateTo"
            | "messageActionChannelMigrateFrom"
            | "messageActionPinMessage"
            | "messageActionHistoryClear"
            | "messageActionGameScore"
            | "messageActionPaymentSentMe"
            | "messageActionPaymentSent"
            | "messageActionPhoneCall"
            | "messageActionScreenshotTaken"
            | "messageActionCustomAction"
            | "messageActionBotAllowed"
            | "messageActionSecureValuesSentMe"
            | "messageActionSecureValuesSent"
            | "messageActionContactSignUp"
            | "messageActionGeoProximityReached"
            | "messageActionGroupCall"
            | "messageActionInviteToGroupCall"
            | "messageActionSetMessagesTTL"
            | "messageActionGroupCallScheduled"
            | "messageActionSetChatTheme"
            | "messageActionChatJoinedByRequest"
            | "messageActionWebViewDataSentMe"
            | "messageActionWebViewDataSent"
            | "messageActionGiftPremium"
            | "messageActionTopicCreate"
            | "messageActionTopicEdit"
            | "messageActionSuggestProfilePhoto"
            | "messageActionRequestedPeer"
            | "messageActionSetChatWallPaper"
            | "messageActionGiftCode"
            | "messageActionGiveawayLaunch"
            | "messageActionGiveawayResults"
            | "messageActionBoostApply"
            | "messageActionRequestedPeerSentMe"
            | "messageActionPaymentRefunded"
            | "messageActionGiftStars"
            | "messageActionPrizeStars"
            | "messageActionStarGift"
            | "messageActionStarGiftUnique"
            | "messageActionPaidMessagesRefunded"
            | "messageActionPaidMessagesPrice"
            | "messageActionConferenceCall"
            | "messageActionTodoCompletions"
            | "messageActionTodoAppendTasks"
            | "messageActionSuggestedPostApproval"
            | "messageActionSuggestedPostSuccess"
            | "messageActionSuggestedPostRefund"
            | "messageActionGiftTon"
            | "messageActionSuggestBirthday"
            | "dialog"
            | "dialogFolder"
            | "photoEmpty"
            | "photoSizeEmpty"
            | "photoSize"
            | "photoCachedSize"
            | "photoStrippedSize"
            | "photoSizeProgressive"
            | "photoPathSize"
            | "geoPointEmpty"
            | "geoPoint"
            | "auth.sentCode"
            | "auth.sentCodeSuccess"
            | "auth.sentCodePaymentRequired"
            | "auth.authorization"
            | "auth.authorizationSignUpRequired"
            | "auth.exportedAuthorization"
            | "inputNotifyPeer"
            | "inputNotifyUsers"
            | "inputNotifyChats"
            | "inputNotifyBroadcasts"
            | "inputNotifyForumTopic"
            | "inputPeerNotifySettings"
            | "peerNotifySettings"
            | "peerSettings"
            | "wallPaper"
            | "wallPaperNoFile"
            | "inputReportReasonSpam"
            | "inputReportReasonViolence"
            | "inputReportReasonPornography"
            | "inputReportReasonChildAbuse"
            | "inputReportReasonOther"
            | "inputReportReasonCopyright"
            | "inputReportReasonGeoIrrelevant"
            | "inputReportReasonFake"
            | "inputReportReasonIllegalDrugs"
            | "inputReportReasonPersonalDetails"
            | "userFull"
            | "contact"
            | "importedContact"
            | "contactStatus"
            | "contacts.contactsNotModified"
            | "contacts.contacts"
            | "contacts.importedContacts"
            | "contacts.blocked"
            | "contacts.blockedSlice"
            | "messages.dialogs"
            | "messages.dialogsSlice"
            | "messages.dialogsNotModified"
            | "messages.messages"
            | "messages.messagesSlice"
            | "messages.channelMessages"
            | "messages.messagesNotModified"
            | "messages.chats"
            | "messages.chatsSlice"
            | "messages.chatFull"
            | "messages.affectedHistory"
            | "inputMessagesFilterEmpty"
            | "inputMessagesFilterPhotos"
            | "inputMessagesFilterVideo"
            | "inputMessagesFilterPhotoVideo"
            | "inputMessagesFilterDocument"
            | "inputMessagesFilterUrl"
            | "inputMessagesFilterGif"
            | "inputMessagesFilterVoice"
            | "inputMessagesFilterMusic"
            | "inputMessagesFilterChatPhotos"
            | "inputMessagesFilterPhoneCalls"
            | "inputMessagesFilterRoundVoice"
            | "inputMessagesFilterRoundVideo"
            | "inputMessagesFilterMyMentions"
            | "inputMessagesFilterGeo"
            | "inputMessagesFilterContacts"
            | "inputMessagesFilterPinned"
            | "updateNewMessage"
            | "updateMessageID"
            | "updateDeleteMessages"
            | "updateUserTyping"
            | "updateChatUserTyping"
            | "updateChatParticipants"
            | "updateUserStatus"
            | "updateUserName"
            | "updateNewAuthorization"
            | "updateNewEncryptedMessage"
            | "updateEncryptedChatTyping"
            | "updateEncryption"
            | "updateEncryptedMessagesRead"
            | "updateChatParticipantAdd"
            | "updateChatParticipantDelete"
            | "updateDcOptions"
            | "updateNotifySettings"
            | "updateServiceNotification"
            | "updatePrivacy"
            | "updateUserPhone"
            | "updateReadHistoryInbox"
            | "updateReadHistoryOutbox"
            | "updateWebPage"
            | "updateReadMessagesContents"
            | "updateChannelTooLong"
            | "updateChannel"
            | "updateNewChannelMessage"
            | "updateReadChannelInbox"
            | "updateDeleteChannelMessages"
            | "updateChannelMessageViews"
            | "updateChatParticipantAdmin"
            | "updateNewStickerSet"
            | "updateStickerSetsOrder"
            | "updateStickerSets"
            | "updateSavedGifs"
            | "updateBotInlineQuery"
            | "updateBotInlineSend"
            | "updateEditChannelMessage"
            | "updateBotCallbackQuery"
            | "updateEditMessage"
            | "updateInlineBotCallbackQuery"
            | "updateReadChannelOutbox"
            | "updateDraftMessage"
            | "updateReadFeaturedStickers"
            | "updateRecentStickers"
            | "updateConfig"
            | "updatePtsChanged"
            | "updateChannelWebPage"
            | "updateDialogPinned"
            | "updatePinnedDialogs"
            | "updateBotWebhookJSON"
            | "updateBotWebhookJSONQuery"
            | "updateBotShippingQuery"
            | "updateBotPrecheckoutQuery"
            | "updatePhoneCall"
            | "updateLangPackTooLong"
            | "updateLangPack"
            | "updateFavedStickers"
            | "updateChannelReadMessagesContents"
            | "updateContactsReset"
            | "updateChannelAvailableMessages"
            | "updateDialogUnreadMark"
            | "updateMessagePoll"
            | "updateChatDefaultBannedRights"
            | "updateFolderPeers"
            | "updatePeerSettings"
            | "updatePeerLocated"
            | "updateNewScheduledMessage"
            | "updateDeleteScheduledMessages"
            | "updateTheme"
            | "updateGeoLiveViewed"
            | "updateLoginToken"
            | "updateMessagePollVote"
            | "updateDialogFilter"
            | "updateDialogFilterOrder"
            | "updateDialogFilters"
            | "updatePhoneCallSignalingData"
            | "updateChannelMessageForwards"
            | "updateReadChannelDiscussionInbox"
            | "updateReadChannelDiscussionOutbox"
            | "updatePeerBlocked"
            | "updateChannelUserTyping"
            | "updatePinnedMessages"
            | "updatePinnedChannelMessages"
            | "updateChat"
            | "updateGroupCallParticipants"
            | "updateGroupCall"
            | "updatePeerHistoryTTL"
            | "updateChatParticipant"
            | "updateChannelParticipant"
            | "updateBotStopped"
            | "updateGroupCallConnection"
            | "updateBotCommands"
            | "updatePendingJoinRequests"
            | "updateBotChatInviteRequester"
            | "updateMessageReactions"
            | "updateAttachMenuBots"
            | "updateWebViewResultSent"
            | "updateBotMenuButton"
            | "updateSavedRingtones"
            | "updateTranscribedAudio"
            | "updateReadFeaturedEmojiStickers"
            | "updateUserEmojiStatus"
            | "updateRecentEmojiStatuses"
            | "updateRecentReactions"
            | "updateMoveStickerSetToTop"
            | "updateMessageExtendedMedia"
            | "updateUser"
            | "updateAutoSaveSettings"
            | "updateStory"
            | "updateReadStories"
            | "updateStoryID"
            | "updateStoriesStealthMode"
            | "updateSentStoryReaction"
            | "updateBotChatBoost"
            | "updateChannelViewForumAsMessages"
            | "updatePeerWallpaper"
            | "updateBotMessageReaction"
            | "updateBotMessageReactions"
            | "updateSavedDialogPinned"
            | "updatePinnedSavedDialogs"
            | "updateSavedReactionTags"
            | "updateSmsJob"
            | "updateQuickReplies"
            | "updateNewQuickReply"
            | "updateDeleteQuickReply"
            | "updateQuickReplyMessage"
            | "updateDeleteQuickReplyMessages"
            | "updateBotBusinessConnect"
            | "updateBotNewBusinessMessage"
            | "updateBotEditBusinessMessage"
            | "updateBotDeleteBusinessMessage"
            | "updateNewStoryReaction"
            | "updateStarsBalance"
            | "updateBusinessBotCallbackQuery"
            | "updateStarsRevenueStatus"
            | "updateBotPurchasedPaidMedia"
            | "updatePaidReactionPrivacy"
            | "updateSentPhoneCode"
            | "updateGroupCallChainBlocks"
            | "updateReadMonoForumInbox"
            | "updateReadMonoForumOutbox"
            | "updateMonoForumNoPaidException"
            | "updateGroupCallMessage"
            | "updateGroupCallEncryptedMessage"
            | "updatePinnedForumTopic"
            | "updatePinnedForumTopics"
            | "updates.state"
            | "updates.differenceEmpty"
            | "updates.difference"
            | "updates.differenceSlice"
            | "updates.differenceTooLong"
            | "updatesTooLong"
            | "updateShortMessage"
            | "updateShortChatMessage"
            | "updateShort"
            | "updatesCombined"
            | "updates"
            | "updateShortSentMessage"
            | "photos.photos"
            | "photos.photosSlice"
            | "photos.photo"
            | "upload.file"
            | "upload.fileCdnRedirect"
            | "dcOption"
            | "config"
            | "nearestDc"
            | "help.appUpdate"
            | "help.noAppUpdate"
            | "help.inviteText"
            | "encryptedChatEmpty"
            | "encryptedChatWaiting"
            | "encryptedChatRequested"
            | "encryptedChat"
            | "encryptedChatDiscarded"
            | "inputEncryptedChat"
            | "encryptedFileEmpty"
            | "encryptedFile"
            | "inputEncryptedFileEmpty"
            | "inputEncryptedFileUploaded"
            | "inputEncryptedFile"
            | "inputEncryptedFileBigUploaded"
            | "encryptedMessage"
            | "encryptedMessageService"
            | "messages.dhConfigNotModified"
            | "messages.dhConfig"
            | "messages.sentEncryptedMessage"
            | "messages.sentEncryptedFile"
            | "inputDocumentEmpty"
            | "inputDocument"
            | "documentEmpty"
            | "document"
            | "help.support"
            | "notifyPeer"
            | "notifyUsers"
            | "notifyChats"
            | "notifyBroadcasts"
            | "notifyForumTopic"
            | "sendMessageTypingAction"
            | "sendMessageCancelAction"
            | "sendMessageRecordVideoAction"
            | "sendMessageUploadVideoAction"
            | "sendMessageRecordAudioAction"
            | "sendMessageUploadAudioAction"
            | "sendMessageUploadPhotoAction"
            | "sendMessageUploadDocumentAction"
            | "sendMessageGeoLocationAction"
            | "sendMessageChooseContactAction"
            | "sendMessageGamePlayAction"
            | "sendMessageRecordRoundAction"
            | "sendMessageUploadRoundAction"
            | "speakingInGroupCallAction"
            | "sendMessageHistoryImportAction"
            | "sendMessageChooseStickerAction"
            | "sendMessageEmojiInteraction"
            | "sendMessageEmojiInteractionSeen"
            | "sendMessageTextDraftAction"
            | "contacts.found"
            | "inputPrivacyKeyStatusTimestamp"
            | "inputPrivacyKeyChatInvite"
            | "inputPrivacyKeyPhoneCall"
            | "inputPrivacyKeyPhoneP2P"
            | "inputPrivacyKeyForwards"
            | "inputPrivacyKeyProfilePhoto"
            | "inputPrivacyKeyPhoneNumber"
            | "inputPrivacyKeyAddedByPhone"
            | "inputPrivacyKeyVoiceMessages"
            | "inputPrivacyKeyAbout"
            | "inputPrivacyKeyBirthday"
            | "inputPrivacyKeyStarGiftsAutoSave"
            | "inputPrivacyKeyNoPaidMessages"
            | "privacyKeyStatusTimestamp"
            | "privacyKeyChatInvite"
            | "privacyKeyPhoneCall"
            | "privacyKeyPhoneP2P"
            | "privacyKeyForwards"
            | "privacyKeyProfilePhoto"
            | "privacyKeyPhoneNumber"
            | "privacyKeyAddedByPhone"
            | "privacyKeyVoiceMessages"
            | "privacyKeyAbout"
            | "privacyKeyBirthday"
            | "privacyKeyStarGiftsAutoSave"
            | "privacyKeyNoPaidMessages"
            | "inputPrivacyValueAllowContacts"
            | "inputPrivacyValueAllowAll"
            | "inputPrivacyValueAllowUsers"
            | "inputPrivacyValueDisallowContacts"
            | "inputPrivacyValueDisallowAll"
            | "inputPrivacyValueDisallowUsers"
            | "inputPrivacyValueAllowChatParticipants"
            | "inputPrivacyValueDisallowChatParticipants"
            | "inputPrivacyValueAllowCloseFriends"
            | "inputPrivacyValueAllowPremium"
            | "inputPrivacyValueAllowBots"
            | "inputPrivacyValueDisallowBots"
            | "privacyValueAllowContacts"
            | "privacyValueAllowAll"
            | "privacyValueAllowUsers"
            | "privacyValueDisallowContacts"
            | "privacyValueDisallowAll"
            | "privacyValueDisallowUsers"
            | "privacyValueAllowChatParticipants"
            | "privacyValueDisallowChatParticipants"
            | "privacyValueAllowCloseFriends"
            | "privacyValueAllowPremium"
            | "privacyValueAllowBots"
            | "privacyValueDisallowBots"
            | "account.privacyRules"
            | "accountDaysTTL"
            | "documentAttributeImageSize"
            | "documentAttributeAnimated"
            | "documentAttributeSticker"
            | "documentAttributeVideo"
            | "documentAttributeAudio"
            | "documentAttributeFilename"
            | "documentAttributeHasStickers"
            | "documentAttributeCustomEmoji"
            | "messages.stickersNotModified"
            | "messages.stickers"
            | "stickerPack"
            | "messages.allStickersNotModified"
            | "messages.allStickers"
            | "messages.affectedMessages"
            | "webPageEmpty"
            | "webPagePending"
            | "webPage"
            | "webPageNotModified"
            | "authorization"
            | "account.authorizations"
            | "account.password"
            | "account.passwordSettings"
            | "account.passwordInputSettings"
            | "auth.passwordRecovery"
            | "receivedNotifyMessage"
            | "chatInviteExported"
            | "chatInvitePublicJoinRequests"
            | "chatInviteAlready"
            | "chatInvite"
            | "chatInvitePeek"
            | "inputStickerSetEmpty"
            | "inputStickerSetID"
            | "inputStickerSetShortName"
            | "inputStickerSetAnimatedEmoji"
            | "inputStickerSetDice"
            | "inputStickerSetAnimatedEmojiAnimations"
            | "inputStickerSetPremiumGifts"
            | "inputStickerSetEmojiGenericAnimations"
            | "inputStickerSetEmojiDefaultStatuses"
            | "inputStickerSetEmojiDefaultTopicIcons"
            | "inputStickerSetEmojiChannelDefaultStatuses"
            | "inputStickerSetTonGifts"
            | "stickerSet"
            | "messages.stickerSet"
            | "messages.stickerSetNotModified"
            | "botCommand"
            | "botInfo"
            | "keyboardButton"
            | "keyboardButtonUrl"
            | "keyboardButtonCallback"
            | "keyboardButtonRequestPhone"
            | "keyboardButtonRequestGeoLocation"
            | "keyboardButtonSwitchInline"
            | "keyboardButtonGame"
            | "keyboardButtonBuy"
            | "keyboardButtonUrlAuth"
            | "inputKeyboardButtonUrlAuth"
            | "keyboardButtonRequestPoll"
            | "inputKeyboardButtonUserProfile"
            | "keyboardButtonUserProfile"
            | "keyboardButtonWebView"
            | "keyboardButtonSimpleWebView"
            | "keyboardButtonRequestPeer"
            | "inputKeyboardButtonRequestPeer"
            | "keyboardButtonCopy"
            | "keyboardButtonRow"
            | "replyKeyboardHide"
            | "replyKeyboardForceReply"
            | "replyKeyboardMarkup"
            | "replyInlineMarkup"
            | "messageEntityUnknown"
            | "messageEntityMention"
            | "messageEntityHashtag"
            | "messageEntityBotCommand"
            | "messageEntityUrl"
            | "messageEntityEmail"
            | "messageEntityBold"
            | "messageEntityItalic"
            | "messageEntityCode"
            | "messageEntityPre"
            | "messageEntityTextUrl"
            | "messageEntityMentionName"
            | "inputMessageEntityMentionName"
            | "messageEntityPhone"
            | "messageEntityCashtag"
            | "messageEntityUnderline"
            | "messageEntityStrike"
            | "messageEntityBankCard"
            | "messageEntitySpoiler"
            | "messageEntityCustomEmoji"
            | "messageEntityBlockquote"
            | "contacts.resolvedPeer"
            | "messageRange"
            | "updates.channelDifferenceEmpty"
            | "updates.channelDifferenceTooLong"
            | "updates.channelDifference"
            | "channelMessagesFilterEmpty"
            | "channelMessagesFilter"
            | "channelParticipant"
            | "channelParticipantSelf"
            | "channelParticipantCreator"
            | "channelParticipantAdmin"
            | "channelParticipantBanned"
            | "channelParticipantLeft"
            | "channelParticipantsRecent"
            | "channelParticipantsAdmins"
            | "channelParticipantsKicked"
            | "channelParticipantsBots"
            | "channelParticipantsBanned"
            | "channelParticipantsSearch"
            | "channelParticipantsContacts"
            | "channelParticipantsMentions"
            | "channels.channelParticipants"
            | "channels.channelParticipantsNotModified"
            | "channels.channelParticipant"
            | "help.termsOfService"
            | "messages.savedGifsNotModified"
            | "messages.savedGifs"
            | "inputBotInlineMessageMediaAuto"
            | "inputBotInlineMessageText"
            | "inputBotInlineMessageMediaGeo"
            | "inputBotInlineMessageMediaVenue"
            | "inputBotInlineMessageMediaContact"
            | "inputBotInlineMessageGame"
            | "inputBotInlineMessageMediaInvoice"
            | "inputBotInlineMessageMediaWebPage"
            | "inputBotInlineResult"
            | "inputBotInlineResultPhoto"
            | "inputBotInlineResultDocument"
            | "inputBotInlineResultGame"
            | "botInlineMessageMediaAuto"
            | "botInlineMessageText"
            | "botInlineMessageMediaGeo"
            | "botInlineMessageMediaVenue"
            | "botInlineMessageMediaContact"
            | "botInlineMessageMediaInvoice"
            | "botInlineMessageMediaWebPage"
            | "botInlineResult"
            | "botInlineMediaResult"
            | "messages.botResults"
            | "exportedMessageLink"
            | "messageFwdHeader"
            | "auth.codeTypeSms"
            | "auth.codeTypeCall"
            | "auth.codeTypeFlashCall"
            | "auth.codeTypeMissedCall"
            | "auth.codeTypeFragmentSms"
            | "auth.sentCodeTypeApp"
            | "auth.sentCodeTypeSms"
            | "auth.sentCodeTypeCall"
            | "auth.sentCodeTypeFlashCall"
            | "auth.sentCodeTypeMissedCall"
            | "auth.sentCodeTypeEmailCode"
            | "auth.sentCodeTypeSetUpEmailRequired"
            | "auth.sentCodeTypeFragmentSms"
            | "auth.sentCodeTypeFirebaseSms"
            | "auth.sentCodeTypeSmsWord"
            | "auth.sentCodeTypeSmsPhrase"
            | "messages.botCallbackAnswer"
            | "messages.messageEditData"
            | "inputBotInlineMessageID"
            | "inputBotInlineMessageID64"
            | "inlineBotSwitchPM"
            | "messages.peerDialogs"
            | "topPeer"
            | "topPeerCategoryBotsPM"
            | "topPeerCategoryBotsInline"
            | "topPeerCategoryCorrespondents"
            | "topPeerCategoryGroups"
            | "topPeerCategoryChannels"
            | "topPeerCategoryPhoneCalls"
            | "topPeerCategoryForwardUsers"
            | "topPeerCategoryForwardChats"
            | "topPeerCategoryBotsApp"
            | "topPeerCategoryPeers"
            | "contacts.topPeersNotModified"
            | "contacts.topPeers"
            | "contacts.topPeersDisabled"
            | "draftMessageEmpty"
            | "draftMessage"
            | "messages.featuredStickersNotModified"
            | "messages.featuredStickers"
            | "messages.recentStickersNotModified"
            | "messages.recentStickers"
            | "messages.archivedStickers"
            | "messages.stickerSetInstallResultSuccess"
            | "messages.stickerSetInstallResultArchive"
            | "stickerSetCovered"
            | "stickerSetMultiCovered"
            | "stickerSetFullCovered"
            | "stickerSetNoCovered"
            | "maskCoords"
            | "inputStickeredMediaPhoto"
            | "inputStickeredMediaDocument"
            | "game"
            | "inputGameID"
            | "inputGameShortName"
            | "highScore"
            | "messages.highScores"
            | "textEmpty"
            | "textPlain"
            | "textBold"
            | "textItalic"
            | "textUnderline"
            | "textStrike"
            | "textFixed"
            | "textUrl"
            | "textEmail"
            | "textConcat"
            | "textSubscript"
            | "textSuperscript"
            | "textMarked"
            | "textPhone"
            | "textImage"
            | "textAnchor"
            | "pageBlockUnsupported"
            | "pageBlockTitle"
            | "pageBlockSubtitle"
            | "pageBlockAuthorDate"
            | "pageBlockHeader"
            | "pageBlockSubheader"
            | "pageBlockParagraph"
            | "pageBlockPreformatted"
            | "pageBlockFooter"
            | "pageBlockDivider"
            | "pageBlockAnchor"
            | "pageBlockList"
            | "pageBlockBlockquote"
            | "pageBlockPullquote"
            | "pageBlockPhoto"
            | "pageBlockVideo"
            | "pageBlockCover"
            | "pageBlockEmbed"
            | "pageBlockEmbedPost"
            | "pageBlockCollage"
            | "pageBlockSlideshow"
            | "pageBlockChannel"
            | "pageBlockAudio"
            | "pageBlockKicker"
            | "pageBlockTable"
            | "pageBlockOrderedList"
            | "pageBlockDetails"
            | "pageBlockRelatedArticles"
            | "pageBlockMap"
            | "phoneCallDiscardReasonMissed"
            | "phoneCallDiscardReasonDisconnect"
            | "phoneCallDiscardReasonHangup"
            | "phoneCallDiscardReasonBusy"
            | "phoneCallDiscardReasonMigrateConferenceCall"
            | "dataJSON"
            | "labeledPrice"
            | "invoice"
            | "paymentCharge"
            | "postAddress"
            | "paymentRequestedInfo"
            | "paymentSavedCredentialsCard"
            | "webDocument"
            | "webDocumentNoProxy"
            | "inputWebDocument"
            | "inputWebFileLocation"
            | "inputWebFileGeoPointLocation"
            | "inputWebFileAudioAlbumThumbLocation"
            | "upload.webFile"
            | "payments.paymentForm"
            | "payments.paymentFormStars"
            | "payments.paymentFormStarGift"
            | "payments.validatedRequestedInfo"
            | "payments.paymentResult"
            | "payments.paymentVerificationNeeded"
            | "payments.paymentReceipt"
            | "payments.paymentReceiptStars"
            | "payments.savedInfo"
            | "inputPaymentCredentialsSaved"
            | "inputPaymentCredentials"
            | "inputPaymentCredentialsApplePay"
            | "inputPaymentCredentialsGooglePay"
            | "account.tmpPassword"
            | "shippingOption"
            | "inputStickerSetItem"
            | "inputPhoneCall"
            | "phoneCallEmpty"
            | "phoneCallWaiting"
            | "phoneCallRequested"
            | "phoneCallAccepted"
            | "phoneCall"
            | "phoneCallDiscarded"
            | "phoneConnection"
            | "phoneConnectionWebrtc"
            | "phoneCallProtocol"
            | "phone.phoneCall"
            | "upload.cdnFileReuploadNeeded"
            | "upload.cdnFile"
            | "cdnPublicKey"
            | "cdnConfig"
            | "langPackString"
            | "langPackStringPluralized"
            | "langPackStringDeleted"
            | "langPackDifference"
            | "langPackLanguage"
            | "channelAdminLogEventActionChangeTitle"
            | "channelAdminLogEventActionChangeAbout"
            | "channelAdminLogEventActionChangeUsername"
            | "channelAdminLogEventActionChangePhoto"
            | "channelAdminLogEventActionToggleInvites"
            | "channelAdminLogEventActionToggleSignatures"
            | "channelAdminLogEventActionUpdatePinned"
            | "channelAdminLogEventActionEditMessage"
            | "channelAdminLogEventActionDeleteMessage"
            | "channelAdminLogEventActionParticipantJoin"
            | "channelAdminLogEventActionParticipantLeave"
            | "channelAdminLogEventActionParticipantInvite"
            | "channelAdminLogEventActionParticipantToggleBan"
            | "channelAdminLogEventActionParticipantToggleAdmin"
            | "channelAdminLogEventActionChangeStickerSet"
            | "channelAdminLogEventActionTogglePreHistoryHidden"
            | "channelAdminLogEventActionDefaultBannedRights"
            | "channelAdminLogEventActionStopPoll"
            | "channelAdminLogEventActionChangeLinkedChat"
            | "channelAdminLogEventActionChangeLocation"
            | "channelAdminLogEventActionToggleSlowMode"
            | "channelAdminLogEventActionStartGroupCall"
            | "channelAdminLogEventActionDiscardGroupCall"
            | "channelAdminLogEventActionParticipantMute"
            | "channelAdminLogEventActionParticipantUnmute"
            | "channelAdminLogEventActionToggleGroupCallSetting"
            | "channelAdminLogEventActionParticipantJoinByInvite"
            | "channelAdminLogEventActionExportedInviteDelete"
            | "channelAdminLogEventActionExportedInviteRevoke"
            | "channelAdminLogEventActionExportedInviteEdit"
            | "channelAdminLogEventActionParticipantVolume"
            | "channelAdminLogEventActionChangeHistoryTTL"
            | "channelAdminLogEventActionParticipantJoinByRequest"
            | "channelAdminLogEventActionToggleNoForwards"
            | "channelAdminLogEventActionSendMessage"
            | "channelAdminLogEventActionChangeAvailableReactions"
            | "channelAdminLogEventActionChangeUsernames"
            | "channelAdminLogEventActionToggleForum"
            | "channelAdminLogEventActionCreateTopic"
            | "channelAdminLogEventActionEditTopic"
            | "channelAdminLogEventActionDeleteTopic"
            | "channelAdminLogEventActionPinTopic"
            | "channelAdminLogEventActionToggleAntiSpam"
            | "channelAdminLogEventActionChangePeerColor"
            | "channelAdminLogEventActionChangeProfilePeerColor"
            | "channelAdminLogEventActionChangeWallpaper"
            | "channelAdminLogEventActionChangeEmojiStatus"
            | "channelAdminLogEventActionChangeEmojiStickerSet"
            | "channelAdminLogEventActionToggleSignatureProfiles"
            | "channelAdminLogEventActionParticipantSubExtend"
            | "channelAdminLogEventActionToggleAutotranslation"
            | "channelAdminLogEvent"
            | "channels.adminLogResults"
            | "channelAdminLogEventsFilter"
            | "popularContact"
            | "messages.favedStickersNotModified"
            | "messages.favedStickers"
            | "recentMeUrlUnknown"
            | "recentMeUrlUser"
            | "recentMeUrlChat"
            | "recentMeUrlChatInvite"
            | "recentMeUrlStickerSet"
            | "help.recentMeUrls"
            | "inputSingleMedia"
            | "webAuthorization"
            | "account.webAuthorizations"
            | "inputMessageID"
            | "inputMessageReplyTo"
            | "inputMessagePinned"
            | "inputMessageCallbackQuery"
            | "inputDialogPeer"
            | "inputDialogPeerFolder"
            | "dialogPeer"
            | "dialogPeerFolder"
            | "messages.foundStickerSetsNotModified"
            | "messages.foundStickerSets"
            | "fileHash"
            | "inputClientProxy"
            | "help.termsOfServiceUpdateEmpty"
            | "help.termsOfServiceUpdate"
            | "inputSecureFileUploaded"
            | "inputSecureFile"
            | "secureFileEmpty"
            | "secureFile"
            | "secureData"
            | "securePlainPhone"
            | "securePlainEmail"
            | "secureValueTypePersonalDetails"
            | "secureValueTypePassport"
            | "secureValueTypeDriverLicense"
            | "secureValueTypeIdentityCard"
            | "secureValueTypeInternalPassport"
            | "secureValueTypeAddress"
            | "secureValueTypeUtilityBill"
            | "secureValueTypeBankStatement"
            | "secureValueTypeRentalAgreement"
            | "secureValueTypePassportRegistration"
            | "secureValueTypeTemporaryRegistration"
            | "secureValueTypePhone"
            | "secureValueTypeEmail"
            | "secureValue"
            | "inputSecureValue"
            | "secureValueHash"
            | "secureValueErrorData"
            | "secureValueErrorFrontSide"
            | "secureValueErrorReverseSide"
            | "secureValueErrorSelfie"
            | "secureValueErrorFile"
            | "secureValueErrorFiles"
            | "secureValueError"
            | "secureValueErrorTranslationFile"
            | "secureValueErrorTranslationFiles"
            | "secureCredentialsEncrypted"
            | "account.authorizationForm"
            | "account.sentEmailCode"
            | "help.deepLinkInfoEmpty"
            | "help.deepLinkInfo"
            | "savedPhoneContact"
            | "account.takeout"
            | "passwordKdfAlgoUnknown"
            | "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow"
            | "securePasswordKdfAlgoUnknown"
            | "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000"
            | "securePasswordKdfAlgoSHA512"
            | "secureSecretSettings"
            | "inputCheckPasswordEmpty"
            | "inputCheckPasswordSRP"
            | "secureRequiredType"
            | "secureRequiredTypeOneOf"
            | "help.passportConfigNotModified"
            | "help.passportConfig"
            | "inputAppEvent"
            | "jsonObjectValue"
            | "jsonNull"
            | "jsonBool"
            | "jsonNumber"
            | "jsonString"
            | "jsonArray"
            | "jsonObject"
            | "pageTableCell"
            | "pageTableRow"
            | "pageCaption"
            | "pageListItemText"
            | "pageListItemBlocks"
            | "pageListOrderedItemText"
            | "pageListOrderedItemBlocks"
            | "pageRelatedArticle"
            | "page"
            | "help.supportName"
            | "help.userInfoEmpty"
            | "help.userInfo"
            | "pollAnswer"
            | "poll"
            | "pollAnswerVoters"
            | "pollResults"
            | "chatOnlines"
            | "statsURL"
            | "chatAdminRights"
            | "chatBannedRights"
            | "inputWallPaper"
            | "inputWallPaperSlug"
            | "inputWallPaperNoFile"
            | "account.wallPapersNotModified"
            | "account.wallPapers"
            | "codeSettings"
            | "wallPaperSettings"
            | "autoDownloadSettings"
            | "account.autoDownloadSettings"
            | "emojiKeyword"
            | "emojiKeywordDeleted"
            | "emojiKeywordsDifference"
            | "emojiURL"
            | "emojiLanguage"
            | "folder"
            | "inputFolderPeer"
            | "folderPeer"
            | "messages.searchCounter"
            | "urlAuthResultRequest"
            | "urlAuthResultAccepted"
            | "urlAuthResultDefault"
            | "channelLocationEmpty"
            | "channelLocation"
            | "peerLocated"
            | "peerSelfLocated"
            | "restrictionReason"
            | "inputTheme"
            | "inputThemeSlug"
            | "theme"
            | "account.themesNotModified"
            | "account.themes"
            | "auth.loginToken"
            | "auth.loginTokenMigrateTo"
            | "auth.loginTokenSuccess"
            | "account.contentSettings"
            | "messages.inactiveChats"
            | "baseThemeClassic"
            | "baseThemeDay"
            | "baseThemeNight"
            | "baseThemeTinted"
            | "baseThemeArctic"
            | "inputThemeSettings"
            | "themeSettings"
            | "webPageAttributeTheme"
            | "webPageAttributeStory"
            | "webPageAttributeStickerSet"
            | "webPageAttributeUniqueStarGift"
            | "webPageAttributeStarGiftCollection"
            | "messages.votesList"
            | "bankCardOpenUrl"
            | "payments.bankCardData"
            | "dialogFilter"
            | "dialogFilterDefault"
            | "dialogFilterChatlist"
            | "dialogFilterSuggested"
            | "statsDateRangeDays"
            | "statsAbsValueAndPrev"
            | "statsPercentValue"
            | "statsGraphAsync"
            | "statsGraphError"
            | "statsGraph"
            | "stats.broadcastStats"
            | "help.promoDataEmpty"
            | "help.promoData"
            | "videoSize"
            | "videoSizeEmojiMarkup"
            | "videoSizeStickerMarkup"
            | "statsGroupTopPoster"
            | "statsGroupTopAdmin"
            | "statsGroupTopInviter"
            | "stats.megagroupStats"
            | "globalPrivacySettings"
            | "help.countryCode"
            | "help.country"
            | "help.countriesListNotModified"
            | "help.countriesList"
            | "messageViews"
            | "messages.messageViews"
            | "messages.discussionMessage"
            | "messageReplyHeader"
            | "messageReplyStoryHeader"
            | "messageReplies"
            | "peerBlocked"
            | "stats.messageStats"
            | "groupCallDiscarded"
            | "groupCall"
            | "inputGroupCall"
            | "inputGroupCallSlug"
            | "inputGroupCallInviteMessage"
            | "groupCallParticipant"
            | "phone.groupCall"
            | "phone.groupParticipants"
            | "inlineQueryPeerTypeSameBotPM"
            | "inlineQueryPeerTypePM"
            | "inlineQueryPeerTypeChat"
            | "inlineQueryPeerTypeMegagroup"
            | "inlineQueryPeerTypeBroadcast"
            | "inlineQueryPeerTypeBotPM"
            | "messages.historyImport"
            | "messages.historyImportParsed"
            | "messages.affectedFoundMessages"
            | "chatInviteImporter"
            | "messages.exportedChatInvites"
            | "messages.exportedChatInvite"
            | "messages.exportedChatInviteReplaced"
            | "messages.chatInviteImporters"
            | "chatAdminWithInvites"
            | "messages.chatAdminsWithInvites"
            | "messages.checkedHistoryImportPeer"
            | "phone.joinAsPeers"
            | "phone.exportedGroupCallInvite"
            | "groupCallParticipantVideoSourceGroup"
            | "groupCallParticipantVideo"
            | "stickers.suggestedShortName"
            | "botCommandScopeDefault"
            | "botCommandScopeUsers"
            | "botCommandScopeChats"
            | "botCommandScopeChatAdmins"
            | "botCommandScopePeer"
            | "botCommandScopePeerAdmins"
            | "botCommandScopePeerUser"
            | "account.resetPasswordFailedWait"
            | "account.resetPasswordRequestedWait"
            | "account.resetPasswordOk"
            | "chatTheme"
            | "chatThemeUniqueGift"
            | "account.chatThemesNotModified"
            | "account.chatThemes"
            | "sponsoredMessage"
            | "messages.sponsoredMessages"
            | "messages.sponsoredMessagesEmpty"
            | "searchResultsCalendarPeriod"
            | "messages.searchResultsCalendar"
            | "searchResultPosition"
            | "messages.searchResultsPositions"
            | "channels.sendAsPeers"
            | "users.userFull"
            | "messages.peerSettings"
            | "auth.loggedOut"
            | "reactionCount"
            | "messageReactions"
            | "messages.messageReactionsList"
            | "availableReaction"
            | "messages.availableReactionsNotModified"
            | "messages.availableReactions"
            | "messagePeerReaction"
            | "groupCallStreamChannel"
            | "phone.groupCallStreamChannels"
            | "phone.groupCallStreamRtmpUrl"
            | "attachMenuBotIconColor"
            | "attachMenuBotIcon"
            | "attachMenuBot"
            | "attachMenuBotsNotModified"
            | "attachMenuBots"
            | "attachMenuBotsBot"
            | "webViewResultUrl"
            | "webViewMessageSent"
            | "botMenuButtonDefault"
            | "botMenuButtonCommands"
            | "botMenuButton"
            | "account.savedRingtonesNotModified"
            | "account.savedRingtones"
            | "notificationSoundDefault"
            | "notificationSoundNone"
            | "notificationSoundLocal"
            | "notificationSoundRingtone"
            | "account.savedRingtone"
            | "account.savedRingtoneConverted"
            | "attachMenuPeerTypeSameBotPM"
            | "attachMenuPeerTypeBotPM"
            | "attachMenuPeerTypePM"
            | "attachMenuPeerTypeChat"
            | "attachMenuPeerTypeBroadcast"
            | "inputInvoiceMessage"
            | "inputInvoiceSlug"
            | "inputInvoicePremiumGiftCode"
            | "inputInvoiceStars"
            | "inputInvoiceChatInviteSubscription"
            | "inputInvoiceStarGift"
            | "inputInvoiceStarGiftUpgrade"
            | "inputInvoiceStarGiftTransfer"
            | "inputInvoicePremiumGiftStars"
            | "inputInvoiceBusinessBotTransferStars"
            | "inputInvoiceStarGiftResale"
            | "inputInvoiceStarGiftPrepaidUpgrade"
            | "inputInvoicePremiumAuthCode"
            | "inputInvoiceStarGiftDropOriginalDetails"
            | "payments.exportedInvoice"
            | "messages.transcribedAudio"
            | "help.premiumPromo"
            | "inputStorePaymentPremiumSubscription"
            | "inputStorePaymentGiftPremium"
            | "inputStorePaymentPremiumGiftCode"
            | "inputStorePaymentPremiumGiveaway"
            | "inputStorePaymentStarsTopup"
            | "inputStorePaymentStarsGift"
            | "inputStorePaymentStarsGiveaway"
            | "inputStorePaymentAuthCode"
            | "paymentFormMethod"
            | "emojiStatusEmpty"
            | "emojiStatus"
            | "emojiStatusCollectible"
            | "inputEmojiStatusCollectible"
            | "account.emojiStatusesNotModified"
            | "account.emojiStatuses"
            | "reactionEmpty"
            | "reactionEmoji"
            | "reactionCustomEmoji"
            | "reactionPaid"
            | "chatReactionsNone"
            | "chatReactionsAll"
            | "chatReactionsSome"
            | "messages.reactionsNotModified"
            | "messages.reactions"
            | "emailVerifyPurposeLoginSetup"
            | "emailVerifyPurposeLoginChange"
            | "emailVerifyPurposePassport"
            | "emailVerificationCode"
            | "emailVerificationGoogle"
            | "emailVerificationApple"
            | "account.emailVerified"
            | "account.emailVerifiedLogin"
            | "premiumSubscriptionOption"
            | "sendAsPeer"
            | "messageExtendedMediaPreview"
            | "messageExtendedMedia"
            | "stickerKeyword"
            | "username"
            | "forumTopicDeleted"
            | "forumTopic"
            | "messages.forumTopics"
            | "defaultHistoryTTL"
            | "exportedContactToken"
            | "requestPeerTypeUser"
            | "requestPeerTypeChat"
            | "requestPeerTypeBroadcast"
            | "emojiListNotModified"
            | "emojiList"
            | "emojiGroup"
            | "emojiGroupGreeting"
            | "emojiGroupPremium"
            | "messages.emojiGroupsNotModified"
            | "messages.emojiGroups"
            | "textWithEntities"
            | "messages.translateResult"
            | "autoSaveSettings"
            | "autoSaveException"
            | "account.autoSaveSettings"
            | "help.appConfigNotModified"
            | "help.appConfig"
            | "inputBotAppID"
            | "inputBotAppShortName"
            | "botAppNotModified"
            | "botApp"
            | "messages.botApp"
            | "inlineBotWebView"
            | "readParticipantDate"
            | "inputChatlistDialogFilter"
            | "exportedChatlistInvite"
            | "chatlists.exportedChatlistInvite"
            | "chatlists.exportedInvites"
            | "chatlists.chatlistInviteAlready"
            | "chatlists.chatlistInvite"
            | "chatlists.chatlistUpdates"
            | "bots.botInfo"
            | "messagePeerVote"
            | "messagePeerVoteInputOption"
            | "messagePeerVoteMultiple"
            | "storyViews"
            | "storyItemDeleted"
            | "storyItemSkipped"
            | "storyItem"
            | "stories.allStoriesNotModified"
            | "stories.allStories"
            | "stories.stories"
            | "storyView"
            | "storyViewPublicForward"
            | "storyViewPublicRepost"
            | "stories.storyViewsList"
            | "stories.storyViews"
            | "inputReplyToMessage"
            | "inputReplyToStory"
            | "inputReplyToMonoForum"
            | "exportedStoryLink"
            | "storiesStealthMode"
            | "mediaAreaCoordinates"
            | "mediaAreaVenue"
            | "inputMediaAreaVenue"
            | "mediaAreaGeoPoint"
            | "mediaAreaSuggestedReaction"
            | "mediaAreaChannelPost"
            | "inputMediaAreaChannelPost"
            | "mediaAreaUrl"
            | "mediaAreaWeather"
            | "mediaAreaStarGift"
            | "peerStories"
            | "stories.peerStories"
            | "messages.webPage"
            | "premiumGiftCodeOption"
            | "payments.checkedGiftCode"
            | "payments.giveawayInfo"
            | "payments.giveawayInfoResults"
            | "prepaidGiveaway"
            | "prepaidStarsGiveaway"
            | "boost"
            | "premium.boostsList"
            | "myBoost"
            | "premium.myBoosts"
            | "premium.boostsStatus"
            | "storyFwdHeader"
            | "postInteractionCountersMessage"
            | "postInteractionCountersStory"
            | "stats.storyStats"
            | "publicForwardMessage"
            | "publicForwardStory"
            | "stats.publicForwards"
            | "peerColor"
            | "peerColorCollectible"
            | "inputPeerColorCollectible"
            | "help.peerColorSet"
            | "help.peerColorProfileSet"
            | "help.peerColorOption"
            | "help.peerColorsNotModified"
            | "help.peerColors"
            | "storyReaction"
            | "storyReactionPublicForward"
            | "storyReactionPublicRepost"
            | "stories.storyReactionsList"
            | "savedDialog"
            | "monoForumDialog"
            | "messages.savedDialogs"
            | "messages.savedDialogsSlice"
            | "messages.savedDialogsNotModified"
            | "savedReactionTag"
            | "messages.savedReactionTagsNotModified"
            | "messages.savedReactionTags"
            | "outboxReadDate"
            | "smsjobs.eligibleToJoin"
            | "smsjobs.status"
            | "smsJob"
            | "businessWeeklyOpen"
            | "businessWorkHours"
            | "businessLocation"
            | "inputBusinessRecipients"
            | "businessRecipients"
            | "businessAwayMessageScheduleAlways"
            | "businessAwayMessageScheduleOutsideWorkHours"
            | "businessAwayMessageScheduleCustom"
            | "inputBusinessGreetingMessage"
            | "businessGreetingMessage"
            | "inputBusinessAwayMessage"
            | "businessAwayMessage"
            | "timezone"
            | "help.timezonesListNotModified"
            | "help.timezonesList"
            | "quickReply"
            | "inputQuickReplyShortcut"
            | "inputQuickReplyShortcutId"
            | "messages.quickReplies"
            | "messages.quickRepliesNotModified"
            | "connectedBot"
            | "account.connectedBots"
            | "messages.dialogFilters"
            | "birthday"
            | "botBusinessConnection"
            | "inputBusinessIntro"
            | "businessIntro"
            | "messages.myStickers"
            | "inputCollectibleUsername"
            | "inputCollectiblePhone"
            | "fragment.collectibleInfo"
            | "inputBusinessBotRecipients"
            | "businessBotRecipients"
            | "contactBirthday"
            | "contacts.contactBirthdays"
            | "missingInvitee"
            | "messages.invitedUsers"
            | "inputBusinessChatLink"
            | "businessChatLink"
            | "account.businessChatLinks"
            | "account.resolvedBusinessChatLinks"
            | "requestedPeerUser"
            | "requestedPeerChat"
            | "requestedPeerChannel"
            | "sponsoredMessageReportOption"
            | "channels.sponsoredMessageReportResultChooseOption"
            | "channels.sponsoredMessageReportResultAdsHidden"
            | "channels.sponsoredMessageReportResultReported"
            | "reactionNotificationsFromContacts"
            | "reactionNotificationsFromAll"
            | "reactionsNotifySettings"
            | "availableEffect"
            | "messages.availableEffectsNotModified"
            | "messages.availableEffects"
            | "factCheck"
            | "starsTransactionPeerUnsupported"
            | "starsTransactionPeerAppStore"
            | "starsTransactionPeerPlayMarket"
            | "starsTransactionPeerPremiumBot"
            | "starsTransactionPeerFragment"
            | "starsTransactionPeer"
            | "starsTransactionPeerAds"
            | "starsTransactionPeerAPI"
            | "starsTopupOption"
            | "starsTransaction"
            | "payments.starsStatus"
            | "foundStory"
            | "stories.foundStories"
            | "geoPointAddress"
            | "starsRevenueStatus"
            | "payments.starsRevenueStats"
            | "payments.starsRevenueWithdrawalUrl"
            | "payments.starsRevenueAdsAccountUrl"
            | "inputStarsTransaction"
            | "starsGiftOption"
            | "bots.popularAppBots"
            | "botPreviewMedia"
            | "bots.previewInfo"
            | "starsSubscriptionPricing"
            | "starsSubscription"
            | "messageReactor"
            | "starsGiveawayOption"
            | "starsGiveawayWinnersOption"
            | "starGift"
            | "starGiftUnique"
            | "payments.starGiftsNotModified"
            | "payments.starGifts"
            | "messageReportOption"
            | "reportResultChooseOption"
            | "reportResultAddComment"
            | "reportResultReported"
            | "messages.botPreparedInlineMessage"
            | "messages.preparedInlineMessage"
            | "botAppSettings"
            | "starRefProgram"
            | "connectedBotStarRef"
            | "payments.connectedStarRefBots"
            | "payments.suggestedStarRefBots"
            | "starsAmount"
            | "starsTonAmount"
            | "messages.foundStickersNotModified"
            | "messages.foundStickers"
            | "botVerifierSettings"
            | "botVerification"
            | "starGiftAttributeModel"
            | "starGiftAttributePattern"
            | "starGiftAttributeBackdrop"
            | "starGiftAttributeOriginalDetails"
            | "payments.starGiftUpgradePreview"
            | "users.users"
            | "users.usersSlice"
            | "payments.uniqueStarGift"
            | "messages.webPagePreview"
            | "savedStarGift"
            | "payments.savedStarGifts"
            | "inputSavedStarGiftUser"
            | "inputSavedStarGiftChat"
            | "inputSavedStarGiftSlug"
            | "payments.starGiftWithdrawalUrl"
            | "paidReactionPrivacyDefault"
            | "paidReactionPrivacyAnonymous"
            | "paidReactionPrivacyPeer"
            | "account.paidMessagesRevenue"
            | "requirementToContactEmpty"
            | "requirementToContactPremium"
            | "requirementToContactPaidMessages"
            | "businessBotRights"
            | "disallowedGiftsSettings"
            | "sponsoredPeer"
            | "contacts.sponsoredPeersEmpty"
            | "contacts.sponsoredPeers"
            | "starGiftAttributeIdModel"
            | "starGiftAttributeIdPattern"
            | "starGiftAttributeIdBackdrop"
            | "starGiftAttributeCounter"
            | "payments.resaleStarGifts"
            | "stories.canSendStoryCount"
            | "pendingSuggestion"
            | "todoItem"
            | "todoList"
            | "todoCompletion"
            | "suggestedPost"
            | "starsRating"
            | "starGiftCollection"
            | "payments.starGiftCollectionsNotModified"
            | "payments.starGiftCollections"
            | "storyAlbum"
            | "stories.albumsNotModified"
            | "stories.albums"
            | "searchPostsFlood"
            | "payments.uniqueStarGiftValueInfo"
            | "profileTabPosts"
            | "profileTabGifts"
            | "profileTabMedia"
            | "profileTabFiles"
            | "profileTabMusic"
            | "profileTabVoice"
            | "profileTabLinks"
            | "profileTabGifs"
            | "users.savedMusicNotModified"
            | "users.savedMusic"
            | "account.savedMusicIdsNotModified"
            | "account.savedMusicIds"
            | "payments.checkCanSendGiftResultOk"
            | "payments.checkCanSendGiftResultFail"
            | "inputChatThemeEmpty"
            | "inputChatTheme"
            | "inputChatThemeUniqueGift"
            | "starGiftUpgradePrice"
            | "messageMediaVideoStream"
            | "updateDeleteGroupCallMessages"
            | "updateStarGiftAuctionState"
            | "updateStarGiftAuctionUserState"
            | "inputPrivacyKeySavedMusic"
            | "privacyKeySavedMusic"
            | "webPageAttributeStarGiftAuction"
            | "inputInvoiceStarGiftAuctionBid"
            | "groupCallMessage"
            | "groupCallDonor"
            | "phone.groupCallStars"
            | "recentStory"
            | "auctionBidLevel"
            | "starGiftAuctionStateNotModified"
            | "starGiftAuctionState"
            | "starGiftAuctionStateFinished"
            | "starGiftAuctionUserState"
            | "payments.starGiftAuctionState"
            | "starGiftAuctionAcquiredGift"
            | "payments.starGiftAuctionAcquiredGifts"
            | "starGiftActiveAuctionState"
            | "payments.starGiftActiveAuctionsNotModified"
            | "payments.starGiftActiveAuctions"
            | "inputStarGiftAuction"
            | "inputStarGiftAuctionSlug"
            | "updateChannelPinnedTopic"
            | "updateChannelPinnedTopics"
            | "mtcute.dummyUpdate"
            | "invokeAfterMsg"
            | "invokeAfterMsgs"
            | "initConnection"
            | "invokeWithLayer"
            | "invokeWithoutUpdates"
            | "invokeWithMessagesRange"
            | "invokeWithTakeout"
            | "invokeWithBusinessConnection"
            | "invokeWithGooglePlayIntegrity"
            | "invokeWithApnsSecret"
            | "invokeWithReCaptcha"
            | "auth.sendCode"
            | "auth.signUp"
            | "auth.signIn"
            | "auth.logOut"
            | "auth.resetAuthorizations"
            | "auth.exportAuthorization"
            | "auth.importAuthorization"
            | "auth.bindTempAuthKey"
            | "auth.importBotAuthorization"
            | "auth.checkPassword"
            | "auth.requestPasswordRecovery"
            | "auth.recoverPassword"
            | "auth.resendCode"
            | "auth.cancelCode"
            | "auth.dropTempAuthKeys"
            | "auth.exportLoginToken"
            | "auth.importLoginToken"
            | "auth.acceptLoginToken"
            | "auth.checkRecoveryPassword"
            | "auth.importWebTokenAuthorization"
            | "auth.requestFirebaseSms"
            | "auth.resetLoginEmail"
            | "auth.reportMissingCode"
            | "auth.checkPaidAuth"
            | "account.registerDevice"
            | "account.unregisterDevice"
            | "account.updateNotifySettings"
            | "account.getNotifySettings"
            | "account.resetNotifySettings"
            | "account.updateProfile"
            | "account.updateStatus"
            | "account.getWallPapers"
            | "account.reportPeer"
            | "account.checkUsername"
            | "account.updateUsername"
            | "account.getPrivacy"
            | "account.setPrivacy"
            | "account.deleteAccount"
            | "account.getAccountTTL"
            | "account.setAccountTTL"
            | "account.sendChangePhoneCode"
            | "account.changePhone"
            | "account.updateDeviceLocked"
            | "account.getAuthorizations"
            | "account.resetAuthorization"
            | "account.getPassword"
            | "account.getPasswordSettings"
            | "account.updatePasswordSettings"
            | "account.sendConfirmPhoneCode"
            | "account.confirmPhone"
            | "account.getTmpPassword"
            | "account.getWebAuthorizations"
            | "account.resetWebAuthorization"
            | "account.resetWebAuthorizations"
            | "account.getAllSecureValues"
            | "account.getSecureValue"
            | "account.saveSecureValue"
            | "account.deleteSecureValue"
            | "account.getAuthorizationForm"
            | "account.acceptAuthorization"
            | "account.sendVerifyPhoneCode"
            | "account.verifyPhone"
            | "account.sendVerifyEmailCode"
            | "account.verifyEmail"
            | "account.initTakeoutSession"
            | "account.finishTakeoutSession"
            | "account.confirmPasswordEmail"
            | "account.resendPasswordEmail"
            | "account.cancelPasswordEmail"
            | "account.getContactSignUpNotification"
            | "account.setContactSignUpNotification"
            | "account.getNotifyExceptions"
            | "account.getWallPaper"
            | "account.uploadWallPaper"
            | "account.saveWallPaper"
            | "account.installWallPaper"
            | "account.resetWallPapers"
            | "account.getAutoDownloadSettings"
            | "account.saveAutoDownloadSettings"
            | "account.uploadTheme"
            | "account.createTheme"
            | "account.updateTheme"
            | "account.saveTheme"
            | "account.installTheme"
            | "account.getTheme"
            | "account.getThemes"
            | "account.setContentSettings"
            | "account.getContentSettings"
            | "account.getMultiWallPapers"
            | "account.getGlobalPrivacySettings"
            | "account.setGlobalPrivacySettings"
            | "account.reportProfilePhoto"
            | "account.resetPassword"
            | "account.declinePasswordReset"
            | "account.getChatThemes"
            | "account.setAuthorizationTTL"
            | "account.changeAuthorizationSettings"
            | "account.getSavedRingtones"
            | "account.saveRingtone"
            | "account.uploadRingtone"
            | "account.updateEmojiStatus"
            | "account.getDefaultEmojiStatuses"
            | "account.getRecentEmojiStatuses"
            | "account.clearRecentEmojiStatuses"
            | "account.reorderUsernames"
            | "account.toggleUsername"
            | "account.getDefaultProfilePhotoEmojis"
            | "account.getDefaultGroupPhotoEmojis"
            | "account.getAutoSaveSettings"
            | "account.saveAutoSaveSettings"
            | "account.deleteAutoSaveExceptions"
            | "account.invalidateSignInCodes"
            | "account.updateColor"
            | "account.getDefaultBackgroundEmojis"
            | "account.getChannelDefaultEmojiStatuses"
            | "account.getChannelRestrictedStatusEmojis"
            | "account.updateBusinessWorkHours"
            | "account.updateBusinessLocation"
            | "account.updateBusinessGreetingMessage"
            | "account.updateBusinessAwayMessage"
            | "account.updateConnectedBot"
            | "account.getConnectedBots"
            | "account.getBotBusinessConnection"
            | "account.updateBusinessIntro"
            | "account.toggleConnectedBotPaused"
            | "account.disablePeerConnectedBot"
            | "account.updateBirthday"
            | "account.createBusinessChatLink"
            | "account.editBusinessChatLink"
            | "account.deleteBusinessChatLink"
            | "account.getBusinessChatLinks"
            | "account.resolveBusinessChatLink"
            | "account.updatePersonalChannel"
            | "account.toggleSponsoredMessages"
            | "account.getReactionsNotifySettings"
            | "account.setReactionsNotifySettings"
            | "account.getCollectibleEmojiStatuses"
            | "account.getPaidMessagesRevenue"
            | "account.toggleNoPaidMessagesException"
            | "account.setMainProfileTab"
            | "account.saveMusic"
            | "account.getSavedMusicIds"
            | "account.getUniqueGiftChatThemes"
            | "users.getUsers"
            | "users.getFullUser"
            | "users.setSecureValueErrors"
            | "users.getRequirementsToContact"
            | "users.getSavedMusic"
            | "users.getSavedMusicByID"
            | "users.suggestBirthday"
            | "contacts.getContactIDs"
            | "contacts.getStatuses"
            | "contacts.getContacts"
            | "contacts.importContacts"
            | "contacts.deleteContacts"
            | "contacts.deleteByPhones"
            | "contacts.block"
            | "contacts.unblock"
            | "contacts.getBlocked"
            | "contacts.search"
            | "contacts.resolveUsername"
            | "contacts.getTopPeers"
            | "contacts.resetTopPeerRating"
            | "contacts.resetSaved"
            | "contacts.getSaved"
            | "contacts.toggleTopPeers"
            | "contacts.addContact"
            | "contacts.acceptContact"
            | "contacts.getLocated"
            | "contacts.blockFromReplies"
            | "contacts.resolvePhone"
            | "contacts.exportContactToken"
            | "contacts.importContactToken"
            | "contacts.editCloseFriends"
            | "contacts.setBlocked"
            | "contacts.getBirthdays"
            | "contacts.getSponsoredPeers"
            | "contacts.updateContactNote"
            | "messages.getMessages"
            | "messages.getDialogs"
            | "messages.getHistory"
            | "messages.search"
            | "messages.readHistory"
            | "messages.deleteHistory"
            | "messages.deleteMessages"
            | "messages.receivedMessages"
            | "messages.setTyping"
            | "messages.sendMessage"
            | "messages.sendMedia"
            | "messages.forwardMessages"
            | "messages.reportSpam"
            | "messages.getPeerSettings"
            | "messages.report"
            | "messages.getChats"
            | "messages.getFullChat"
            | "messages.editChatTitle"
            | "messages.editChatPhoto"
            | "messages.addChatUser"
            | "messages.deleteChatUser"
            | "messages.createChat"
            | "messages.getDhConfig"
            | "messages.requestEncryption"
            | "messages.acceptEncryption"
            | "messages.discardEncryption"
            | "messages.setEncryptedTyping"
            | "messages.readEncryptedHistory"
            | "messages.sendEncrypted"
            | "messages.sendEncryptedFile"
            | "messages.sendEncryptedService"
            | "messages.receivedQueue"
            | "messages.reportEncryptedSpam"
            | "messages.readMessageContents"
            | "messages.getStickers"
            | "messages.getAllStickers"
            | "messages.getWebPagePreview"
            | "messages.exportChatInvite"
            | "messages.checkChatInvite"
            | "messages.importChatInvite"
            | "messages.getStickerSet"
            | "messages.installStickerSet"
            | "messages.uninstallStickerSet"
            | "messages.startBot"
            | "messages.getMessagesViews"
            | "messages.editChatAdmin"
            | "messages.migrateChat"
            | "messages.searchGlobal"
            | "messages.reorderStickerSets"
            | "messages.getDocumentByHash"
            | "messages.getSavedGifs"
            | "messages.saveGif"
            | "messages.getInlineBotResults"
            | "messages.setInlineBotResults"
            | "messages.sendInlineBotResult"
            | "messages.getMessageEditData"
            | "messages.editMessage"
            | "messages.editInlineBotMessage"
            | "messages.getBotCallbackAnswer"
            | "messages.setBotCallbackAnswer"
            | "messages.getPeerDialogs"
            | "messages.saveDraft"
            | "messages.getAllDrafts"
            | "messages.getFeaturedStickers"
            | "messages.readFeaturedStickers"
            | "messages.getRecentStickers"
            | "messages.saveRecentSticker"
            | "messages.clearRecentStickers"
            | "messages.getArchivedStickers"
            | "messages.getMaskStickers"
            | "messages.getAttachedStickers"
            | "messages.setGameScore"
            | "messages.setInlineGameScore"
            | "messages.getGameHighScores"
            | "messages.getInlineGameHighScores"
            | "messages.getCommonChats"
            | "messages.getWebPage"
            | "messages.toggleDialogPin"
            | "messages.reorderPinnedDialogs"
            | "messages.getPinnedDialogs"
            | "messages.setBotShippingResults"
            | "messages.setBotPrecheckoutResults"
            | "messages.uploadMedia"
            | "messages.sendScreenshotNotification"
            | "messages.getFavedStickers"
            | "messages.faveSticker"
            | "messages.getUnreadMentions"
            | "messages.readMentions"
            | "messages.getRecentLocations"
            | "messages.sendMultiMedia"
            | "messages.uploadEncryptedFile"
            | "messages.searchStickerSets"
            | "messages.getSplitRanges"
            | "messages.markDialogUnread"
            | "messages.getDialogUnreadMarks"
            | "messages.clearAllDrafts"
            | "messages.updatePinnedMessage"
            | "messages.sendVote"
            | "messages.getPollResults"
            | "messages.getOnlines"
            | "messages.editChatAbout"
            | "messages.editChatDefaultBannedRights"
            | "messages.getEmojiKeywords"
            | "messages.getEmojiKeywordsDifference"
            | "messages.getEmojiKeywordsLanguages"
            | "messages.getEmojiURL"
            | "messages.getSearchCounters"
            | "messages.requestUrlAuth"
            | "messages.acceptUrlAuth"
            | "messages.hidePeerSettingsBar"
            | "messages.getScheduledHistory"
            | "messages.getScheduledMessages"
            | "messages.sendScheduledMessages"
            | "messages.deleteScheduledMessages"
            | "messages.getPollVotes"
            | "messages.toggleStickerSets"
            | "messages.getDialogFilters"
            | "messages.getSuggestedDialogFilters"
            | "messages.updateDialogFilter"
            | "messages.updateDialogFiltersOrder"
            | "messages.getOldFeaturedStickers"
            | "messages.getReplies"
            | "messages.getDiscussionMessage"
            | "messages.readDiscussion"
            | "messages.unpinAllMessages"
            | "messages.deleteChat"
            | "messages.deletePhoneCallHistory"
            | "messages.checkHistoryImport"
            | "messages.initHistoryImport"
            | "messages.uploadImportedMedia"
            | "messages.startHistoryImport"
            | "messages.getExportedChatInvites"
            | "messages.getExportedChatInvite"
            | "messages.editExportedChatInvite"
            | "messages.deleteRevokedExportedChatInvites"
            | "messages.deleteExportedChatInvite"
            | "messages.getAdminsWithInvites"
            | "messages.getChatInviteImporters"
            | "messages.setHistoryTTL"
            | "messages.checkHistoryImportPeer"
            | "messages.setChatTheme"
            | "messages.getMessageReadParticipants"
            | "messages.getSearchResultsCalendar"
            | "messages.getSearchResultsPositions"
            | "messages.hideChatJoinRequest"
            | "messages.hideAllChatJoinRequests"
            | "messages.toggleNoForwards"
            | "messages.saveDefaultSendAs"
            | "messages.sendReaction"
            | "messages.getMessagesReactions"
            | "messages.getMessageReactionsList"
            | "messages.setChatAvailableReactions"
            | "messages.getAvailableReactions"
            | "messages.setDefaultReaction"
            | "messages.translateText"
            | "messages.getUnreadReactions"
            | "messages.readReactions"
            | "messages.searchSentMedia"
            | "messages.getAttachMenuBots"
            | "messages.getAttachMenuBot"
            | "messages.toggleBotInAttachMenu"
            | "messages.requestWebView"
            | "messages.prolongWebView"
            | "messages.requestSimpleWebView"
            | "messages.sendWebViewResultMessage"
            | "messages.sendWebViewData"
            | "messages.transcribeAudio"
            | "messages.rateTranscribedAudio"
            | "messages.getCustomEmojiDocuments"
            | "messages.getEmojiStickers"
            | "messages.getFeaturedEmojiStickers"
            | "messages.reportReaction"
            | "messages.getTopReactions"
            | "messages.getRecentReactions"
            | "messages.clearRecentReactions"
            | "messages.getExtendedMedia"
            | "messages.setDefaultHistoryTTL"
            | "messages.getDefaultHistoryTTL"
            | "messages.sendBotRequestedPeer"
            | "messages.getEmojiGroups"
            | "messages.getEmojiStatusGroups"
            | "messages.getEmojiProfilePhotoGroups"
            | "messages.searchCustomEmoji"
            | "messages.togglePeerTranslations"
            | "messages.getBotApp"
            | "messages.requestAppWebView"
            | "messages.setChatWallPaper"
            | "messages.searchEmojiStickerSets"
            | "messages.getSavedDialogs"
            | "messages.getSavedHistory"
            | "messages.deleteSavedHistory"
            | "messages.getPinnedSavedDialogs"
            | "messages.toggleSavedDialogPin"
            | "messages.reorderPinnedSavedDialogs"
            | "messages.getSavedReactionTags"
            | "messages.updateSavedReactionTag"
            | "messages.getDefaultTagReactions"
            | "messages.getOutboxReadDate"
            | "messages.getQuickReplies"
            | "messages.reorderQuickReplies"
            | "messages.checkQuickReplyShortcut"
            | "messages.editQuickReplyShortcut"
            | "messages.deleteQuickReplyShortcut"
            | "messages.getQuickReplyMessages"
            | "messages.sendQuickReplyMessages"
            | "messages.deleteQuickReplyMessages"
            | "messages.toggleDialogFilterTags"
            | "messages.getMyStickers"
            | "messages.getEmojiStickerGroups"
            | "messages.getAvailableEffects"
            | "messages.editFactCheck"
            | "messages.deleteFactCheck"
            | "messages.getFactCheck"
            | "messages.requestMainWebView"
            | "messages.sendPaidReaction"
            | "messages.togglePaidReactionPrivacy"
            | "messages.getPaidReactionPrivacy"
            | "messages.viewSponsoredMessage"
            | "messages.clickSponsoredMessage"
            | "messages.reportSponsoredMessage"
            | "messages.getSponsoredMessages"
            | "messages.savePreparedInlineMessage"
            | "messages.getPreparedInlineMessage"
            | "messages.searchStickers"
            | "messages.reportMessagesDelivery"
            | "messages.getSavedDialogsByID"
            | "messages.readSavedHistory"
            | "messages.toggleTodoCompleted"
            | "messages.appendTodoList"
            | "messages.toggleSuggestedPostApproval"
            | "messages.getForumTopics"
            | "messages.getForumTopicsByID"
            | "messages.editForumTopic"
            | "messages.updatePinnedForumTopic"
            | "messages.reorderPinnedForumTopics"
            | "messages.createForumTopic"
            | "messages.deleteTopicHistory"
            | "updates.getState"
            | "updates.getDifference"
            | "updates.getChannelDifference"
            | "photos.updateProfilePhoto"
            | "photos.uploadProfilePhoto"
            | "photos.deletePhotos"
            | "photos.getUserPhotos"
            | "photos.uploadContactProfilePhoto"
            | "upload.saveFilePart"
            | "upload.getFile"
            | "upload.saveBigFilePart"
            | "upload.getWebFile"
            | "upload.getCdnFile"
            | "upload.reuploadCdnFile"
            | "upload.getCdnFileHashes"
            | "upload.getFileHashes"
            | "help.getConfig"
            | "help.getNearestDc"
            | "help.getAppUpdate"
            | "help.getInviteText"
            | "help.getSupport"
            | "help.setBotUpdatesStatus"
            | "help.getCdnConfig"
            | "help.getRecentMeUrls"
            | "help.getTermsOfServiceUpdate"
            | "help.acceptTermsOfService"
            | "help.getDeepLinkInfo"
            | "help.getAppConfig"
            | "help.saveAppLog"
            | "help.getPassportConfig"
            | "help.getSupportName"
            | "help.getUserInfo"
            | "help.editUserInfo"
            | "help.getPromoData"
            | "help.hidePromoData"
            | "help.dismissSuggestion"
            | "help.getCountriesList"
            | "help.getPremiumPromo"
            | "help.getPeerColors"
            | "help.getPeerProfileColors"
            | "help.getTimezonesList"
            | "channels.readHistory"
            | "channels.deleteMessages"
            | "channels.reportSpam"
            | "channels.getMessages"
            | "channels.getParticipants"
            | "channels.getParticipant"
            | "channels.getChannels"
            | "channels.getFullChannel"
            | "channels.createChannel"
            | "channels.editAdmin"
            | "channels.editTitle"
            | "channels.editPhoto"
            | "channels.checkUsername"
            | "channels.updateUsername"
            | "channels.joinChannel"
            | "channels.leaveChannel"
            | "channels.inviteToChannel"
            | "channels.deleteChannel"
            | "channels.exportMessageLink"
            | "channels.toggleSignatures"
            | "channels.getAdminedPublicChannels"
            | "channels.editBanned"
            | "channels.getAdminLog"
            | "channels.setStickers"
            | "channels.readMessageContents"
            | "channels.deleteHistory"
            | "channels.togglePreHistoryHidden"
            | "channels.getLeftChannels"
            | "channels.getGroupsForDiscussion"
            | "channels.setDiscussionGroup"
            | "channels.editCreator"
            | "channels.editLocation"
            | "channels.toggleSlowMode"
            | "channels.getInactiveChannels"
            | "channels.convertToGigagroup"
            | "channels.getSendAs"
            | "channels.deleteParticipantHistory"
            | "channels.toggleJoinToSend"
            | "channels.toggleJoinRequest"
            | "channels.reorderUsernames"
            | "channels.toggleUsername"
            | "channels.deactivateAllUsernames"
            | "channels.toggleForum"
            | "channels.toggleAntiSpam"
            | "channels.reportAntiSpamFalsePositive"
            | "channels.toggleParticipantsHidden"
            | "channels.updateColor"
            | "channels.toggleViewForumAsMessages"
            | "channels.getChannelRecommendations"
            | "channels.updateEmojiStatus"
            | "channels.setBoostsToUnblockRestrictions"
            | "channels.setEmojiStickers"
            | "channels.restrictSponsoredMessages"
            | "channels.searchPosts"
            | "channels.updatePaidMessagesPrice"
            | "channels.toggleAutotranslation"
            | "channels.getMessageAuthor"
            | "channels.checkSearchPostsFlood"
            | "channels.setMainProfileTab"
            | "bots.sendCustomRequest"
            | "bots.answerWebhookJSONQuery"
            | "bots.setBotCommands"
            | "bots.resetBotCommands"
            | "bots.getBotCommands"
            | "bots.setBotMenuButton"
            | "bots.getBotMenuButton"
            | "bots.setBotBroadcastDefaultAdminRights"
            | "bots.setBotGroupDefaultAdminRights"
            | "bots.setBotInfo"
            | "bots.getBotInfo"
            | "bots.reorderUsernames"
            | "bots.toggleUsername"
            | "bots.canSendMessage"
            | "bots.allowSendMessage"
            | "bots.invokeWebViewCustomMethod"
            | "bots.getPopularAppBots"
            | "bots.addPreviewMedia"
            | "bots.editPreviewMedia"
            | "bots.deletePreviewMedia"
            | "bots.reorderPreviewMedias"
            | "bots.getPreviewInfo"
            | "bots.getPreviewMedias"
            | "bots.updateUserEmojiStatus"
            | "bots.toggleUserEmojiStatusPermission"
            | "bots.checkDownloadFileParams"
            | "bots.getAdminedBots"
            | "bots.updateStarRefProgram"
            | "bots.setCustomVerification"
            | "bots.getBotRecommendations"
            | "payments.getPaymentForm"
            | "payments.getPaymentReceipt"
            | "payments.validateRequestedInfo"
            | "payments.sendPaymentForm"
            | "payments.getSavedInfo"
            | "payments.clearSavedInfo"
            | "payments.getBankCardData"
            | "payments.exportInvoice"
            | "payments.assignAppStoreTransaction"
            | "payments.assignPlayMarketTransaction"
            | "payments.getPremiumGiftCodeOptions"
            | "payments.checkGiftCode"
            | "payments.applyGiftCode"
            | "payments.getGiveawayInfo"
            | "payments.launchPrepaidGiveaway"
            | "payments.getStarsTopupOptions"
            | "payments.getStarsStatus"
            | "payments.getStarsTransactions"
            | "payments.sendStarsForm"
            | "payments.refundStarsCharge"
            | "payments.getStarsRevenueStats"
            | "payments.getStarsRevenueWithdrawalUrl"
            | "payments.getStarsRevenueAdsAccountUrl"
            | "payments.getStarsTransactionsByID"
            | "payments.getStarsGiftOptions"
            | "payments.getStarsSubscriptions"
            | "payments.changeStarsSubscription"
            | "payments.fulfillStarsSubscription"
            | "payments.getStarsGiveawayOptions"
            | "payments.getStarGifts"
            | "payments.saveStarGift"
            | "payments.convertStarGift"
            | "payments.botCancelStarsSubscription"
            | "payments.getConnectedStarRefBots"
            | "payments.getConnectedStarRefBot"
            | "payments.getSuggestedStarRefBots"
            | "payments.connectStarRefBot"
            | "payments.editConnectedStarRefBot"
            | "payments.getStarGiftUpgradePreview"
            | "payments.upgradeStarGift"
            | "payments.transferStarGift"
            | "payments.getUniqueStarGift"
            | "payments.getSavedStarGifts"
            | "payments.getSavedStarGift"
            | "payments.getStarGiftWithdrawalUrl"
            | "payments.toggleChatStarGiftNotifications"
            | "payments.toggleStarGiftsPinnedToTop"
            | "payments.canPurchaseStore"
            | "payments.getResaleStarGifts"
            | "payments.updateStarGiftPrice"
            | "payments.createStarGiftCollection"
            | "payments.updateStarGiftCollection"
            | "payments.reorderStarGiftCollections"
            | "payments.deleteStarGiftCollection"
            | "payments.getStarGiftCollections"
            | "payments.getUniqueStarGiftValueInfo"
            | "payments.checkCanSendGift"
            | "stickers.createStickerSet"
            | "stickers.removeStickerFromSet"
            | "stickers.changeStickerPosition"
            | "stickers.addStickerToSet"
            | "stickers.setStickerSetThumb"
            | "stickers.checkShortName"
            | "stickers.suggestShortName"
            | "stickers.changeSticker"
            | "stickers.renameStickerSet"
            | "stickers.deleteStickerSet"
            | "stickers.replaceSticker"
            | "phone.getCallConfig"
            | "phone.requestCall"
            | "phone.acceptCall"
            | "phone.confirmCall"
            | "phone.receivedCall"
            | "phone.discardCall"
            | "phone.setCallRating"
            | "phone.saveCallDebug"
            | "phone.sendSignalingData"
            | "phone.createGroupCall"
            | "phone.joinGroupCall"
            | "phone.leaveGroupCall"
            | "phone.inviteToGroupCall"
            | "phone.discardGroupCall"
            | "phone.toggleGroupCallSettings"
            | "phone.getGroupCall"
            | "phone.getGroupParticipants"
            | "phone.checkGroupCall"
            | "phone.toggleGroupCallRecord"
            | "phone.editGroupCallParticipant"
            | "phone.editGroupCallTitle"
            | "phone.getGroupCallJoinAs"
            | "phone.exportGroupCallInvite"
            | "phone.toggleGroupCallStartSubscription"
            | "phone.startScheduledGroupCall"
            | "phone.saveDefaultGroupCallJoinAs"
            | "phone.joinGroupCallPresentation"
            | "phone.leaveGroupCallPresentation"
            | "phone.getGroupCallStreamChannels"
            | "phone.getGroupCallStreamRtmpUrl"
            | "phone.saveCallLog"
            | "phone.createConferenceCall"
            | "phone.deleteConferenceCallParticipants"
            | "phone.sendConferenceCallBroadcast"
            | "phone.inviteConferenceCallParticipant"
            | "phone.declineConferenceCallInvite"
            | "phone.getGroupCallChainBlocks"
            | "phone.sendGroupCallMessage"
            | "phone.sendGroupCallEncryptedMessage"
            | "langpack.getLangPack"
            | "langpack.getStrings"
            | "langpack.getDifference"
            | "langpack.getLanguages"
            | "langpack.getLanguage"
            | "folders.editPeerFolders"
            | "stats.getBroadcastStats"
            | "stats.loadAsyncGraph"
            | "stats.getMegagroupStats"
            | "stats.getMessagePublicForwards"
            | "stats.getMessageStats"
            | "stats.getStoryStats"
            | "stats.getStoryPublicForwards"
            | "chatlists.exportChatlistInvite"
            | "chatlists.deleteExportedInvite"
            | "chatlists.editExportedInvite"
            | "chatlists.getExportedInvites"
            | "chatlists.checkChatlistInvite"
            | "chatlists.joinChatlistInvite"
            | "chatlists.getChatlistUpdates"
            | "chatlists.joinChatlistUpdates"
            | "chatlists.hideChatlistUpdates"
            | "chatlists.getLeaveChatlistSuggestions"
            | "chatlists.leaveChatlist"
            | "stories.canSendStory"
            | "stories.sendStory"
            | "stories.editStory"
            | "stories.deleteStories"
            | "stories.togglePinned"
            | "stories.getAllStories"
            | "stories.getPinnedStories"
            | "stories.getStoriesArchive"
            | "stories.getStoriesByID"
            | "stories.toggleAllStoriesHidden"
            | "stories.readStories"
            | "stories.incrementStoryViews"
            | "stories.getStoryViewsList"
            | "stories.getStoriesViews"
            | "stories.exportStoryLink"
            | "stories.report"
            | "stories.activateStealthMode"
            | "stories.sendReaction"
            | "stories.getPeerStories"
            | "stories.getAllReadPeerStories"
            | "stories.getPeerMaxIDs"
            | "stories.getChatsToSend"
            | "stories.togglePeerStoriesHidden"
            | "stories.getStoryReactionsList"
            | "stories.togglePinnedToTop"
            | "stories.searchPosts"
            | "stories.createAlbum"
            | "stories.updateAlbum"
            | "stories.reorderAlbums"
            | "stories.deleteAlbum"
            | "stories.getAlbums"
            | "stories.getAlbumStories"
            | "premium.getBoostsList"
            | "premium.getMyBoosts"
            | "premium.applyBoost"
            | "premium.getBoostsStatus"
            | "premium.getUserBoosts"
            | "smsjobs.isEligibleToJoin"
            | "smsjobs.join"
            | "smsjobs.leave"
            | "smsjobs.updateSettings"
            | "smsjobs.getStatus"
            | "smsjobs.getSmsJob"
            | "smsjobs.finishJob"
            | "fragment.getCollectibleInfo"
            | "payments.getStarGiftAuctionState"
            | "payments.getStarGiftAuctionAcquiredGifts"
            | "payments.getStarGiftActiveAuctions"
            | "phone.deleteGroupCallMessages"
            | "phone.deleteGroupCallParticipantMessages"
            | "phone.getGroupCallStars"
            | "phone.saveDefaultSendAs"
            | "stories.startLive"
            | "channels.createForumTopic"
            | "channels.getForumTopics"
            | "channels.getForumTopicsByID"
            | "channels.editForumTopic"
            | "channels.updatePinnedForumTopic"
            | "channels.deleteTopicHistory"
            | "channels.reorderPinnedForumTopics"
            | "mtcute.customMethod"

      Parameters

      • context: string
      • obj: T
      • expected: K

      Returns asserts obj is Extract<T, { _: K }>