Type alias Request

Request: GetAuthorizationState | SetTdlibParameters | SetAuthenticationPhoneNumber | SetAuthenticationEmailAddress | ResendAuthenticationCode | CheckAuthenticationEmailCode | CheckAuthenticationCode | RequestQrCodeAuthentication | RegisterUser | ResetAuthenticationEmailAddress | CheckAuthenticationPassword | RequestAuthenticationPasswordRecovery | CheckAuthenticationPasswordRecoveryCode | RecoverAuthenticationPassword | SendAuthenticationFirebaseSms | ReportAuthenticationCodeMissing | CheckAuthenticationBotToken | LogOut | Close | Destroy | ConfirmQrCodeAuthentication | GetCurrentState | SetDatabaseEncryptionKey | GetPasswordState | SetPassword | SetLoginEmailAddress | ResendLoginEmailAddressCode | CheckLoginEmailAddressCode | GetRecoveryEmailAddress | SetRecoveryEmailAddress | CheckRecoveryEmailAddressCode | ResendRecoveryEmailAddressCode | CancelRecoveryEmailAddressVerification | RequestPasswordRecovery | CheckPasswordRecoveryCode | RecoverPassword | ResetPassword | CancelPasswordReset | CreateTemporaryPassword | GetTemporaryPasswordState | GetMe | GetUser | GetUserFullInfo | GetBasicGroup | GetBasicGroupFullInfo | GetSupergroup | GetSupergroupFullInfo | GetSecretChat | GetChat | GetMessage | GetMessageLocally | GetRepliedMessage | GetChatPinnedMessage | GetCallbackQueryMessage | GetMessages | GetMessageProperties | GetMessageThread | GetMessageReadDate | GetMessageViewers | GetFile | GetRemoteFile | LoadChats | GetChats | SearchPublicChat | SearchPublicChats | SearchChats | SearchChatsOnServer | GetRecommendedChats | GetChatSimilarChats | GetChatSimilarChatCount | OpenChatSimilarChat | GetTopChats | RemoveTopChat | SearchRecentlyFoundChats | AddRecentlyFoundChat | RemoveRecentlyFoundChat | ClearRecentlyFoundChats | GetRecentlyOpenedChats | CheckChatUsername | GetCreatedPublicChats | CheckCreatedPublicChatsLimit | GetSuitableDiscussionChats | GetInactiveSupergroupChats | GetSuitablePersonalChats | LoadSavedMessagesTopics | GetSavedMessagesTopicHistory | GetSavedMessagesTopicMessageByDate | DeleteSavedMessagesTopicHistory | DeleteSavedMessagesTopicMessagesByDate | ToggleSavedMessagesTopicIsPinned | SetPinnedSavedMessagesTopics | GetGroupsInCommon | GetChatHistory | GetMessageThreadHistory | DeleteChatHistory | DeleteChat | SearchChatMessages | SearchMessages | SearchSecretMessages | SearchSavedMessages | SearchCallMessages | SearchOutgoingDocumentMessages | SearchPublicMessagesByTag | SearchPublicStoriesByTag | SearchPublicStoriesByLocation | SearchPublicStoriesByVenue | GetSearchedForTags | RemoveSearchedForTag | ClearSearchedForTags | DeleteAllCallMessages | SearchChatRecentLocationMessages | GetChatMessageByDate | GetChatSparseMessagePositions | GetChatMessageCalendar | GetChatMessageCount | GetChatMessagePosition | GetChatScheduledMessages | GetChatSponsoredMessages | ClickChatSponsoredMessage | ReportChatSponsoredMessage | RemoveNotification | RemoveNotificationGroup | GetMessageLink | GetMessageEmbeddingCode | GetMessageLinkInfo | TranslateText | TranslateMessageText | RecognizeSpeech | RateSpeechRecognition | GetChatAvailableMessageSenders | SetChatMessageSender | SendMessage | SendMessageAlbum | SendBotStartMessage | SendInlineQueryResultMessage | ForwardMessages | SendQuickReplyShortcutMessages | ResendMessages | AddLocalMessage | DeleteMessages | DeleteChatMessagesBySender | DeleteChatMessagesByDate | EditMessageText | EditMessageLiveLocation | EditMessageMedia | EditMessageCaption | EditMessageReplyMarkup | EditInlineMessageText | EditInlineMessageLiveLocation | EditInlineMessageMedia | EditInlineMessageCaption | EditInlineMessageReplyMarkup | EditMessageSchedulingState | SetMessageFactCheck | SendBusinessMessage | SendBusinessMessageAlbum | EditBusinessMessageText | EditBusinessMessageLiveLocation | EditBusinessMessageMedia | EditBusinessMessageCaption | EditBusinessMessageReplyMarkup | StopBusinessPoll | SetBusinessMessageIsPinned | CheckQuickReplyShortcutName | LoadQuickReplyShortcuts | SetQuickReplyShortcutName | DeleteQuickReplyShortcut | ReorderQuickReplyShortcuts | LoadQuickReplyShortcutMessages | DeleteQuickReplyShortcutMessages | AddQuickReplyShortcutMessage | AddQuickReplyShortcutInlineQueryResultMessage | AddQuickReplyShortcutMessageAlbum | ReaddQuickReplyShortcutMessages | EditQuickReplyMessage | GetForumTopicDefaultIcons | CreateForumTopic | EditForumTopic | GetForumTopic | GetForumTopicLink | GetForumTopics | SetForumTopicNotificationSettings | ToggleForumTopicIsClosed | ToggleGeneralForumTopicIsHidden | ToggleForumTopicIsPinned | SetPinnedForumTopics | DeleteForumTopic | GetEmojiReaction | GetCustomEmojiReactionAnimations | GetMessageAvailableReactions | ClearRecentReactions | AddMessageReaction | RemoveMessageReaction | AddPendingPaidMessageReaction | CommitPendingPaidMessageReactions | RemovePendingPaidMessageReactions | TogglePaidMessageReactionIsAnonymous | SetMessageReactions | GetMessageAddedReactions | SetDefaultReactionType | GetSavedMessagesTags | SetSavedMessagesTagLabel | GetMessageEffect | SearchQuote | GetTextEntities | ParseTextEntities | ParseMarkdown | GetMarkdownText | GetCountryFlagEmoji | GetFileMimeType | GetFileExtension | CleanFileName | GetLanguagePackString | GetJsonValue | GetJsonString | GetThemeParametersJsonString | SetPollAnswer | GetPollVoters | StopPoll | HideSuggestedAction | HideContactCloseBirthdays | GetBusinessConnection | GetLoginUrlInfo | GetLoginUrl | ShareUsersWithBot | ShareChatWithBot | GetInlineQueryResults | AnswerInlineQuery | SavePreparedInlineMessage | GetPreparedInlineMessage | GetGrossingWebAppBots | SearchWebApp | GetWebAppPlaceholder | GetWebAppLinkUrl | GetMainWebApp | GetWebAppUrl | SendWebAppData | OpenWebApp | CloseWebApp | AnswerWebAppQuery | CheckWebAppFileDownload | GetCallbackQueryAnswer | AnswerCallbackQuery | AnswerShippingQuery | AnswerPreCheckoutQuery | SetGameScore | SetInlineGameScore | GetGameHighScores | GetInlineGameHighScores | DeleteChatReplyMarkup | SendChatAction | OpenChat | CloseChat | ViewMessages | OpenMessageContent | ClickAnimatedEmojiMessage | GetInternalLink | GetInternalLinkType | GetExternalLinkInfo | GetExternalLink | ReadAllChatMentions | ReadAllMessageThreadMentions | ReadAllChatReactions | ReadAllMessageThreadReactions | CreatePrivateChat | CreateBasicGroupChat | CreateSupergroupChat | CreateSecretChat | CreateNewBasicGroupChat | CreateNewSupergroupChat | CreateNewSecretChat | UpgradeBasicGroupChatToSupergroupChat | GetChatListsToAddChat | AddChatToList | GetChatFolder | CreateChatFolder | EditChatFolder | DeleteChatFolder | GetChatFolderChatsToLeave | GetChatFolderChatCount | ReorderChatFolders | ToggleChatFolderTags | GetRecommendedChatFolders | GetChatFolderDefaultIconName | GetChatsForChatFolderInviteLink | CreateChatFolderInviteLink | GetChatFolderInviteLinks | EditChatFolderInviteLink | DeleteChatFolderInviteLink | CheckChatFolderInviteLink | AddChatFolderByInviteLink | GetChatFolderNewChats | ProcessChatFolderNewChats | GetArchiveChatListSettings | SetArchiveChatListSettings | SetChatTitle | SetChatPhoto | SetChatAccentColor | SetChatProfileAccentColor | SetChatMessageAutoDeleteTime | SetChatEmojiStatus | SetChatPermissions | SetChatBackground | DeleteChatBackground | SetChatTheme | SetChatDraftMessage | SetChatNotificationSettings | ToggleChatHasProtectedContent | ToggleChatViewAsTopics | ToggleChatIsTranslatable | ToggleChatIsMarkedAsUnread | ToggleChatDefaultDisableNotification | SetChatAvailableReactions | SetChatClientData | SetChatDescription | SetChatDiscussionGroup | SetChatLocation | SetChatSlowModeDelay | PinChatMessage | UnpinChatMessage | UnpinAllChatMessages | UnpinAllMessageThreadMessages | JoinChat | LeaveChat | AddChatMember | AddChatMembers | SetChatMemberStatus | BanChatMember | CanTransferOwnership | TransferChatOwnership | GetChatMember | SearchChatMembers | GetChatAdministrators | ClearAllDraftMessages | GetSavedNotificationSound | GetSavedNotificationSounds | AddSavedNotificationSound | RemoveSavedNotificationSound | GetChatNotificationSettingsExceptions | GetScopeNotificationSettings | SetScopeNotificationSettings | SetReactionNotificationSettings | ResetAllNotificationSettings | ToggleChatIsPinned | SetPinnedChats | ReadChatList | GetCurrentWeather | GetStory | GetChatsToSendStories | CanSendStory | SendStory | EditStory | EditStoryCover | SetStoryPrivacySettings | ToggleStoryIsPostedToChatPage | DeleteStory | GetStoryNotificationSettingsExceptions | LoadActiveStories | SetChatActiveStoriesList | GetChatActiveStories | GetChatPostedToChatPageStories | GetChatArchivedStories | SetChatPinnedStories | OpenStory | CloseStory | GetStoryAvailableReactions | SetStoryReaction | GetStoryInteractions | GetChatStoryInteractions | ReportStory | ActivateStoryStealthMode | GetStoryPublicForwards | GetChatBoostLevelFeatures | GetChatBoostFeatures | GetAvailableChatBoostSlots | GetChatBoostStatus | BoostChat | GetChatBoostLink | GetChatBoostLinkInfo | GetChatBoosts | GetUserChatBoosts | GetAttachmentMenuBot | ToggleBotIsAddedToAttachmentMenu | GetThemedEmojiStatuses | GetRecentEmojiStatuses | GetDefaultEmojiStatuses | ClearRecentEmojiStatuses | GetThemedChatEmojiStatuses | GetDefaultChatEmojiStatuses | GetDisallowedChatEmojiStatuses | DownloadFile | GetFileDownloadedPrefixSize | CancelDownloadFile | GetSuggestedFileName | PreliminaryUploadFile | CancelPreliminaryUploadFile | WriteGeneratedFilePart | SetFileGenerationProgress | FinishFileGeneration | ReadFilePart | DeleteFile | AddFileToDownloads | ToggleDownloadIsPaused | ToggleAllDownloadsArePaused | RemoveFileFromDownloads | RemoveAllFilesFromDownloads | SearchFileDownloads | SetAppVerificationToken | GetMessageFileType | GetMessageImportConfirmationText | ImportMessages | ReplacePrimaryChatInviteLink | CreateChatInviteLink | CreateChatSubscriptionInviteLink | EditChatInviteLink | EditChatSubscriptionInviteLink | GetChatInviteLink | GetChatInviteLinkCounts | GetChatInviteLinks | GetChatInviteLinkMembers | RevokeChatInviteLink | DeleteRevokedChatInviteLink | DeleteAllRevokedChatInviteLinks | CheckChatInviteLink | JoinChatByInviteLink | GetChatJoinRequests | ProcessChatJoinRequest | ProcessChatJoinRequests | CreateCall | AcceptCall | SendCallSignalingData | DiscardCall | SendCallRating | SendCallDebugInformation | SendCallLog | GetVideoChatAvailableParticipants | SetVideoChatDefaultParticipant | CreateVideoChat | GetVideoChatRtmpUrl | ReplaceVideoChatRtmpUrl | GetGroupCall | StartScheduledGroupCall | ToggleGroupCallEnabledStartNotification | JoinGroupCall | StartGroupCallScreenSharing | ToggleGroupCallScreenSharingIsPaused | EndGroupCallScreenSharing | SetGroupCallTitle | ToggleGroupCallMuteNewParticipants | InviteGroupCallParticipants | GetGroupCallInviteLink | RevokeGroupCallInviteLink | StartGroupCallRecording | EndGroupCallRecording | ToggleGroupCallIsMyVideoPaused | ToggleGroupCallIsMyVideoEnabled | SetGroupCallParticipantIsSpeaking | ToggleGroupCallParticipantIsMuted | SetGroupCallParticipantVolumeLevel | ToggleGroupCallParticipantIsHandRaised | LoadGroupCallParticipants | LeaveGroupCall | EndGroupCall | GetGroupCallStreams | GetGroupCallStreamSegment | SetMessageSenderBlockList | BlockMessageSenderFromReplies | GetBlockedMessageSenders | AddContact | ImportContacts | GetContacts | SearchContacts | RemoveContacts | GetImportedContactCount | ChangeImportedContacts | ClearImportedContacts | SetCloseFriends | GetCloseFriends | SetUserPersonalProfilePhoto | SuggestUserProfilePhoto | ToggleBotCanManageEmojiStatus | SetUserEmojiStatus | SearchUserByPhoneNumber | SharePhoneNumber | GetUserProfilePhotos | GetStickerOutline | GetStickers | GetAllStickerEmojis | SearchStickers | GetGreetingStickers | GetPremiumStickers | GetInstalledStickerSets | GetArchivedStickerSets | GetTrendingStickerSets | GetAttachedStickerSets | GetStickerSet | GetStickerSetName | SearchStickerSet | SearchInstalledStickerSets | SearchStickerSets | ChangeStickerSet | ViewTrendingStickerSets | ReorderInstalledStickerSets | GetRecentStickers | AddRecentSticker | RemoveRecentSticker | ClearRecentStickers | GetFavoriteStickers | AddFavoriteSticker | RemoveFavoriteSticker | GetStickerEmojis | SearchEmojis | GetKeywordEmojis | GetEmojiCategories | GetAnimatedEmoji | GetEmojiSuggestionsUrl | GetCustomEmojiStickers | GetDefaultChatPhotoCustomEmojiStickers | GetDefaultProfilePhotoCustomEmojiStickers | GetDefaultBackgroundCustomEmojiStickers | GetSavedAnimations | AddSavedAnimation | RemoveSavedAnimation | GetRecentInlineBots | GetOwnedBots | SearchHashtags | RemoveRecentHashtag | GetLinkPreview | GetWebPageInstantView | SetProfilePhoto | DeleteProfilePhoto | SetAccentColor | SetProfileAccentColor | SetName | SetBio | SetUsername | ToggleUsernameIsActive | ReorderActiveUsernames | SetBirthdate | SetPersonalChat | SetEmojiStatus | ToggleHasSponsoredMessagesEnabled | SetBusinessLocation | SetBusinessOpeningHours | SetBusinessGreetingMessageSettings | SetBusinessAwayMessageSettings | SetBusinessStartPage | SendPhoneNumberCode | SendPhoneNumberFirebaseSms | ReportPhoneNumberCodeMissing | ResendPhoneNumberCode | CheckPhoneNumberCode | GetBusinessConnectedBot | SetBusinessConnectedBot | DeleteBusinessConnectedBot | ToggleBusinessConnectedBotChatIsPaused | RemoveBusinessConnectedBotFromChat | GetBusinessChatLinks | CreateBusinessChatLink | EditBusinessChatLink | DeleteBusinessChatLink | GetBusinessChatLinkInfo | GetUserLink | SearchUserByToken | SetCommands | DeleteCommands | GetCommands | SetMenuButton | GetMenuButton | SetDefaultGroupAdministratorRights | SetDefaultChannelAdministratorRights | CanBotSendMessages | AllowBotToSendMessages | SendWebAppCustomRequest | GetBotMediaPreviews | GetBotMediaPreviewInfo | AddBotMediaPreview | EditBotMediaPreview | ReorderBotMediaPreviews | DeleteBotMediaPreviews | SetBotName | GetBotName | SetBotProfilePhoto | ToggleBotUsernameIsActive | ReorderBotActiveUsernames | SetBotInfoDescription | GetBotInfoDescription | SetBotInfoShortDescription | GetBotInfoShortDescription | GetActiveSessions | TerminateSession | TerminateAllOtherSessions | ConfirmSession | ToggleSessionCanAcceptCalls | ToggleSessionCanAcceptSecretChats | SetInactiveSessionTtl | GetConnectedWebsites | DisconnectWebsite | DisconnectAllWebsites | SetSupergroupUsername | ToggleSupergroupUsernameIsActive | DisableAllSupergroupUsernames | ReorderSupergroupActiveUsernames | SetSupergroupStickerSet | SetSupergroupCustomEmojiStickerSet | SetSupergroupUnrestrictBoostCount | ToggleSupergroupSignMessages | ToggleSupergroupJoinToSendMessages | ToggleSupergroupJoinByRequest | ToggleSupergroupIsAllHistoryAvailable | ToggleSupergroupCanHaveSponsoredMessages | ToggleSupergroupHasHiddenMembers | ToggleSupergroupHasAggressiveAntiSpamEnabled | ToggleSupergroupIsForum | ToggleSupergroupIsBroadcastGroup | ReportSupergroupSpam | ReportSupergroupAntiSpamFalsePositive | GetSupergroupMembers | CloseSecretChat | GetChatEventLog | GetTimeZones | GetPaymentForm | ValidateOrderInfo | SendPaymentForm | GetPaymentReceipt | GetSavedOrderInfo | DeleteSavedOrderInfo | DeleteSavedCredentials | GetAvailableGifts | SendGift | SellGift | ToggleGiftIsSaved | GetUserGifts | CreateInvoiceLink | RefundStarPayment | GetSupportUser | GetBackgroundUrl | SearchBackground | SetDefaultBackground | DeleteDefaultBackground | GetInstalledBackgrounds | RemoveInstalledBackground | ResetInstalledBackgrounds | GetLocalizationTargetInfo | GetLanguagePackInfo | GetLanguagePackStrings | SynchronizeLanguagePack | AddCustomServerLanguagePack | SetCustomLanguagePack | EditCustomLanguagePackInfo | SetCustomLanguagePackString | DeleteLanguagePack | RegisterDevice | ProcessPushNotification | GetPushReceiverId | GetRecentlyVisitedTMeUrls | SetUserPrivacySettingRules | GetUserPrivacySettingRules | SetReadDatePrivacySettings | GetReadDatePrivacySettings | SetNewChatPrivacySettings | GetNewChatPrivacySettings | CanSendMessageToUser | GetOption | SetOption | SetAccountTtl | GetAccountTtl | DeleteAccount | SetDefaultMessageAutoDeleteTime | GetDefaultMessageAutoDeleteTime | RemoveChatActionBar | ReportChat | ReportChatPhoto | ReportMessageReactions | GetChatRevenueStatistics | GetChatRevenueWithdrawalUrl | GetChatRevenueTransactions | GetStarRevenueStatistics | GetStarWithdrawalUrl | GetStarAdAccountUrl | GetChatStatistics | GetMessageStatistics | GetMessagePublicForwards | GetStoryStatistics | GetStatisticalGraph | GetStorageStatistics | GetStorageStatisticsFast | GetDatabaseStatistics | OptimizeStorage | SetNetworkType | GetNetworkStatistics | AddNetworkStatistics | ResetNetworkStatistics | GetAutoDownloadSettingsPresets | SetAutoDownloadSettings | GetAutosaveSettings | SetAutosaveSettings | ClearAutosaveSettingsExceptions | GetBankCardInfo | GetPassportElement | GetAllPassportElements | SetPassportElement | DeletePassportElement | SetPassportElementErrors | GetPreferredCountryLanguage | SendEmailAddressVerificationCode | ResendEmailAddressVerificationCode | CheckEmailAddressVerificationCode | GetPassportAuthorizationForm | GetPassportAuthorizationFormAvailableElements | SendPassportAuthorizationForm | SetBotUpdatesStatus | UploadStickerFile | GetSuggestedStickerSetName | CheckStickerSetName | CreateNewStickerSet | AddStickerToSet | ReplaceStickerInSet | SetStickerSetThumbnail | SetCustomEmojiStickerSetThumbnail | SetStickerSetTitle | DeleteStickerSet | SetStickerPositionInSet | RemoveStickerFromSet | SetStickerEmojis | SetStickerKeywords | SetStickerMaskPosition | GetOwnedStickerSets | GetMapThumbnailFile | GetPremiumLimit | GetPremiumFeatures | GetPremiumStickerExamples | GetPremiumInfoSticker | ViewPremiumFeature | ClickPremiumSubscriptionButton | GetPremiumState | GetPremiumGiftCodePaymentOptions | CheckPremiumGiftCode | ApplyPremiumGiftCode | LaunchPrepaidGiveaway | GetGiveawayInfo | GetStarPaymentOptions | GetStarGiftPaymentOptions | GetStarGiveawayPaymentOptions | GetStarTransactions | GetStarSubscriptions | CanPurchaseFromStore | AssignAppStoreTransaction | AssignGooglePlayTransaction | EditStarSubscription | EditUserStarSubscription | ReuseStarSubscription | SetChatAffiliateProgram | SearchChatAffiliateProgram | SearchAffiliatePrograms | ConnectChatAffiliateProgram | DisconnectChatAffiliateProgram | GetChatAffiliateProgram | GetChatAffiliatePrograms | GetBusinessFeatures | AcceptTermsOfService | SearchStringsByPrefix | SendCustomRequest | AnswerCustomQuery | SetAlarm | GetCountries | GetCountryCode | GetPhoneNumberInfo | GetPhoneNumberInfoSync | GetCollectibleItemInfo | GetDeepLinkInfo | GetAppConfig | SaveAppLogEvent | GetAppDownloadLink | AddProxy | EditProxy | EnableProxy | DisableProxy | RemoveProxy | GetProxies | GetProxyLink | PingProxy | SetLogStream | GetLogStream | SetLogVerbosityLevel | GetLogVerbosityLevel | GetLogTags | SetLogTagVerbosityLevel | GetLogTagVerbosityLevel | AddLogMessage | GetUserSupportInfo | SetUserSupportInfo | GetSupportName | TestCallEmpty | TestCallString | TestCallBytes | TestCallVectorInt | TestCallVectorIntObject | TestCallVectorString | TestCallVectorStringObject | TestSquareInt | TestNetwork | TestProxy | TestGetDifference | TestUseUpdate | TestReturnError