# Package org.drinkless.tdlib

package org.drinkless.tdlib

- Class
  Description
  Client
  Main class for interaction with the TDLib.
  Client.ExceptionHandler
  Interface for handler of exceptions thrown while invoking ResultHandler.
  Client.ExecutionException
  Exception class thrown when TDLib error occurred while performing `Client.execute(TdApi.Function)`.
  Client.LogMessageHandler
  Interface for handler of messages that are added to the internal TDLib log.
  Client.ResultHandler
  Interface for handler for results of queries to TDLib and incoming updates from TDLib.
  TdApi
  This class contains as static nested classes all other TDLib interface type-classes and function-classes.
  TdApi.AccentColor
  Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
  TdApi.AcceptCall
  Accepts an incoming call.
  TdApi.AcceptTermsOfService
  Accepts Telegram terms of services.
  TdApi.AccountTtl
  Contains information about the period of inactivity after which the current user's account will automatically be deleted.
  TdApi.ActivateStoryStealthMode
  Activates stealth mode for stories, which hides all views of stories from the current user in the last "story_stealth_mode_past_period" seconds and for the next "story_stealth_mode_future_period" seconds; for Telegram Premium users only.
  TdApi.AddChatFolderByInviteLink
  Adds a chat folder by an invite link.
  TdApi.AddChatMember
  Adds a new member to a chat; requires canInviteUsers member right.
  TdApi.AddChatMembers
  Adds multiple new members to a chat; requires canInviteUsers member right.
  TdApi.AddChatToList
  Adds a chat to a chat list.
  TdApi.AddContact
  Adds a user to the contact list or edits an existing contact by their user identifier.
  TdApi.AddCustomServerLanguagePack
  Adds a custom server language pack to the list of installed language packs in current localization target.
  TdApi.AddedReaction
  Represents a reaction applied to a message.
  TdApi.AddedReactions
  Represents a list of reactions added to a message.
  TdApi.AddFavoriteSticker
  Adds a new sticker to the list of favorite stickers.
  TdApi.AddFileToDownloads
  Adds a file from a message to the list of file downloads.
  TdApi.AddLocalMessage
  Adds a local message to a chat.
  TdApi.AddLogMessage
  Adds a message to TDLib internal log.
  TdApi.AddMessageReaction
  Adds a reaction or a tag to a message.
  TdApi.AddNetworkStatistics
  Adds the specified data to data usage statistics.
  TdApi.AddProxy
  Adds a proxy server for network requests.
  TdApi.AddQuickReplyShortcutInlineQueryResultMessage
  Adds a message to a quick reply shortcut via inline bot.
  TdApi.AddQuickReplyShortcutMessage
  Adds a message to a quick reply shortcut.
  TdApi.AddQuickReplyShortcutMessageAlbum
  Adds 2-10 messages grouped together into an album to a quick reply shortcut.
  TdApi.AddRecentlyFoundChat
  Adds a chat to the list of recently found chats.
  TdApi.AddRecentSticker
  Manually adds a new sticker to the list of recently used stickers.
  TdApi.Address
  Describes an address.
  TdApi.AddSavedAnimation
  Manually adds a new animation to the list of saved animations.
  TdApi.AddSavedNotificationSound
  Adds a new notification sound to the list of saved notification sounds.
  TdApi.AddStickerToSet
  Adds a new sticker to a set.
  TdApi.AllowBotToSendMessages
  Allows the specified bot to send messages to the user.
  TdApi.AnimatedChatPhoto
  Animated variant of a chat photo in MPEG4 format.
  TdApi.AnimatedEmoji
  Describes an animated or custom representation of an emoji.
  TdApi.Animation
  Describes an animation file.
  TdApi.Animations
  Represents a list of animations.
  TdApi.AnswerCallbackQuery
  Sets the result of a callback query; for bots only.
  TdApi.AnswerCustomQuery
  Answers a custom query; for bots only.
  TdApi.AnswerInlineQuery
  Sets the result of an inline query; for bots only.
  TdApi.AnswerPreCheckoutQuery
  Sets the result of a pre-checkout query; for bots only.
  TdApi.AnswerShippingQuery
  Sets the result of a shipping query; for bots only.
  TdApi.AnswerWebAppQuery
  Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only.
  TdApi.ApplyPremiumGiftCode
  Applies a Telegram Premium gift code.
  TdApi.ArchiveChatListSettings
  Contains settings for automatic moving of chats to and from the Archive chat lists.
  TdApi.AssignAppStoreTransaction
  Informs server about a purchase through App Store.
  TdApi.AssignGooglePlayTransaction
  Informs server about a purchase through Google Play.
  TdApi.AttachmentMenuBot
  Represents a bot, which can be added to attachment or side menu.
  TdApi.AttachmentMenuBotColor
  Describes a color to highlight a bot added to attachment menu.
  TdApi.Audio
  Describes an audio file.
  TdApi.AuthenticationCodeInfo
  Information about the authentication code that was sent.
  TdApi.AuthenticationCodeType
  This class is an abstract base class.
  TdApi.AuthenticationCodeType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.AuthenticationCodeTypeCall
  A digit-only authentication code is delivered via a phone call to the specified phone number.
  TdApi.AuthenticationCodeTypeFirebaseAndroid
  A digit-only authentication code is delivered via Firebase Authentication to the official Android application.
  TdApi.AuthenticationCodeTypeFirebaseIos
  A digit-only authentication code is delivered via Firebase Authentication to the official iOS application.
  TdApi.AuthenticationCodeTypeFlashCall
  An authentication code is delivered by an immediately canceled call to the specified phone number.
  TdApi.AuthenticationCodeTypeFragment
  A digit-only authentication code is delivered to https://fragment.com.
  TdApi.AuthenticationCodeTypeMissedCall
  An authentication code is delivered by an immediately canceled call to the specified phone number.
  TdApi.AuthenticationCodeTypeSms
  A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code.
  TdApi.AuthenticationCodeTypeSmsPhrase
  An authentication code is a phrase from multiple words delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code.
  TdApi.AuthenticationCodeTypeSmsWord
  An authentication code is a word delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code.
  TdApi.AuthenticationCodeTypeTelegramMessage
  A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
  TdApi.AuthorizationState
  This class is an abstract base class.
  TdApi.AuthorizationState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.AuthorizationStateClosed
  TDLib client is in its final state.
  TdApi.AuthorizationStateClosing
  TDLib is closing, all subsequent queries will be answered with the error 500.
  TdApi.AuthorizationStateLoggingOut
  The user is currently logging out.
  TdApi.AuthorizationStateReady
  The user has been successfully authorized.
  TdApi.AuthorizationStateWaitCode
  TDLib needs the user's authentication code to authorize.
  TdApi.AuthorizationStateWaitEmailAddress
  TDLib needs the user's email address to authorize.
  TdApi.AuthorizationStateWaitEmailCode
  TDLib needs the user's authentication code sent to an email address to authorize.
  TdApi.AuthorizationStateWaitOtherDeviceConfirmation
  The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
  TdApi.AuthorizationStateWaitPassword
  The user has been authorized, but needs to enter a 2-step verification password to start using the application.
  TdApi.AuthorizationStateWaitPhoneNumber
  TDLib needs the user's phone number to authorize.
  TdApi.AuthorizationStateWaitRegistration
  The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration.
  TdApi.AuthorizationStateWaitTdlibParameters
  Initialization parameters are needed.
  TdApi.AutoDownloadSettings
  Contains auto-download settings.
  TdApi.AutoDownloadSettingsPresets
  Contains auto-download settings presets for the current user.
  TdApi.AutosaveSettings
  Describes autosave settings.
  TdApi.AutosaveSettingsException
  Contains autosave settings for a chat, which overrides default settings for the corresponding scope.
  TdApi.AutosaveSettingsScope
  This class is an abstract base class.
  TdApi.AutosaveSettingsScope.Constructors
  Describes possible values returned by getConstructor().
  TdApi.AutosaveSettingsScopeChannelChats
  Autosave settings applied to all channel chats without chat-specific settings.
  TdApi.AutosaveSettingsScopeChat
  Autosave settings applied to a chat.
  TdApi.AutosaveSettingsScopeGroupChats
  Autosave settings applied to all basic group and supergroup chats without chat-specific settings.
  TdApi.AutosaveSettingsScopePrivateChats
  Autosave settings applied to all private chats without chat-specific settings.
  TdApi.AvailableReaction
  Represents an available reaction.
  TdApi.AvailableReactions
  Represents a list of reactions that can be added to a message.
  TdApi.Background
  Describes a chat background.
  TdApi.BackgroundFill
  This class is an abstract base class.
  TdApi.BackgroundFill.Constructors
  Describes possible values returned by getConstructor().
  TdApi.BackgroundFillFreeformGradient
  Describes a freeform gradient fill of a background.
  TdApi.BackgroundFillGradient
  Describes a gradient fill of a background.
  TdApi.BackgroundFillSolid
  Describes a solid fill of a background.
  TdApi.Backgrounds
  Contains a list of backgrounds.
  TdApi.BackgroundType
  This class is an abstract base class.
  TdApi.BackgroundType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.BackgroundTypeChatTheme
  A background from a chat theme; can be used only as a chat background in channels.
  TdApi.BackgroundTypeFill
  A filled background.
  TdApi.BackgroundTypePattern
  A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.
  TdApi.BackgroundTypeWallpaper
  A wallpaper in JPEG format.
  TdApi.BanChatMember
  Bans a member in a chat; requires canRestrictMembers administrator right.
  TdApi.BankCardActionOpenUrl
  Describes an action associated with a bank card number.
  TdApi.BankCardInfo
  Information about a bank card.
  TdApi.BasicGroup
  Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
  TdApi.BasicGroupFullInfo
  Contains full information about a basic group.
  TdApi.Birthdate
  Represents a birthdate of a user.
  TdApi.BlockList
  This class is an abstract base class.
  TdApi.BlockList.Constructors
  Describes possible values returned by getConstructor().
  TdApi.BlockListMain
  The main block list that disallows writing messages to the current user, receiving their status and photo, viewing of stories, and some other actions.
  TdApi.BlockListStories
  The block list that disallows viewing of stories of the current user.
  TdApi.BlockMessageSenderFromReplies
  Blocks an original sender of a message in the Replies chat.
  TdApi.BoostChat
  Boosts a chat and returns the list of available chat boost slots for the current user after the boost.
  TdApi.BotCommand
  Represents a command supported by a bot.
  TdApi.BotCommands
  Contains a list of bot commands.
  TdApi.BotCommandScope
  This class is an abstract base class.
  TdApi.BotCommandScope.Constructors
  Describes possible values returned by getConstructor().
  TdApi.BotCommandScopeAllChatAdministrators
  A scope covering all group and supergroup chat administrators.
  TdApi.BotCommandScopeAllGroupChats
  A scope covering all group and supergroup chats.
  TdApi.BotCommandScopeAllPrivateChats
  A scope covering all private chats.
  TdApi.BotCommandScopeChat
  A scope covering all members of a chat.
  TdApi.BotCommandScopeChatAdministrators
  A scope covering all administrators of a chat.
  TdApi.BotCommandScopeChatMember
  A scope covering a member of a chat.
  TdApi.BotCommandScopeDefault
  A scope covering all users.
  TdApi.BotInfo
  Contains information about a bot.
  TdApi.BotMenuButton
  Describes a button to be shown instead of bot commands menu button.
  TdApi.BotWriteAccessAllowReason
  This class is an abstract base class.
  TdApi.BotWriteAccessAllowReason.Constructors
  Describes possible values returned by getConstructor().
  TdApi.BotWriteAccessAllowReasonAcceptedRequest
  The user accepted bot's request to send messages with allowBotToSendMessages.
  TdApi.BotWriteAccessAllowReasonAddedToAttachmentMenu
  The user added the bot to attachment or side menu using toggleBotIsAddedToAttachmentMenu.
  TdApi.BotWriteAccessAllowReasonConnectedWebsite
  The user connected a website by logging in using Telegram Login Widget on it.
  TdApi.BotWriteAccessAllowReasonLaunchedWebApp
  The user launched a Web App using getWebAppLinkUrl.
  TdApi.BusinessAwayMessageSchedule
  This class is an abstract base class.
  TdApi.BusinessAwayMessageSchedule.Constructors
  Describes possible values returned by getConstructor().
  TdApi.BusinessAwayMessageScheduleAlways
  Send away messages always.
  TdApi.BusinessAwayMessageScheduleCustom
  Send away messages only in the specified time span.
  TdApi.BusinessAwayMessageScheduleOutsideOfOpeningHours
  Send away messages outside of the business opening hours.
  TdApi.BusinessAwayMessageSettings
  Describes settings for messages that are automatically sent by a Telegram Business account when it is away.
  TdApi.BusinessBotManageBar
  Contains information about a business bot that manages the chat.
  TdApi.BusinessChatLink
  Contains information about a business chat link.
  TdApi.BusinessChatLinkInfo
  Contains information about a business chat link.
  TdApi.BusinessChatLinks
  Contains a list of business chat links created by the user.
  TdApi.BusinessConnectedBot
  Describes a bot connected to a business account.
  TdApi.BusinessConnection
  Describes a connection of the bot with a business account.
  TdApi.BusinessFeature
  This class is an abstract base class.
  TdApi.BusinessFeature.Constructors
  Describes possible values returned by getConstructor().
  TdApi.BusinessFeatureAccountLinks
  The ability to create links to the business account with predefined message text.
  TdApi.BusinessFeatureAwayMessage
  The ability to set up an away message.
  TdApi.BusinessFeatureBots
  The ability to connect a bot to the account.
  TdApi.BusinessFeatureChatFolderTags
  The ability to display folder names for each chat in the chat list.
  TdApi.BusinessFeatureEmojiStatus
  The ability to show an emoji status along with the business name.
  TdApi.BusinessFeatureGreetingMessage
  The ability to set up a greeting message.
  TdApi.BusinessFeatureLocation
  The ability to set location.
  TdApi.BusinessFeatureOpeningHours
  The ability to set opening hours.
  TdApi.BusinessFeaturePromotionAnimation
  Describes a promotion animation for a Business feature.
  TdApi.BusinessFeatureQuickReplies
  The ability to use quick replies.
  TdApi.BusinessFeatures
  Contains information about features, available to Business user accounts.
  TdApi.BusinessFeatureStartPage
  The ability to customize start page.
  TdApi.BusinessFeatureUpgradedStories
  Allowed to use many additional features for stories.
  TdApi.BusinessGreetingMessageSettings
  Describes settings for greeting messages that are automatically sent by a Telegram Business account as response to incoming messages in an inactive private chat.
  TdApi.BusinessInfo
  Contains information about a Telegram Business account.
  TdApi.BusinessLocation
  Represents a location of a business.
  TdApi.BusinessMessage
  Describes a message from a business account as received by a bot.
  TdApi.BusinessMessages
  Contains a list of messages from a business account as received by a bot.
  TdApi.BusinessOpeningHours
  Describes opening hours of a business.
  TdApi.BusinessOpeningHoursInterval
  Describes an interval of time when the business is open.
  TdApi.BusinessRecipients
  Describes private chats chosen for automatic interaction with a business.
  TdApi.BusinessStartPage
  Describes settings for a business account start page.
  TdApi.Call
  Describes a call.
  TdApi.CallbackQueryAnswer
  Contains a bot's answer to a callback query.
  TdApi.CallbackQueryPayload
  This class is an abstract base class.
  TdApi.CallbackQueryPayload.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CallbackQueryPayloadData
  The payload for a general callback button.
  TdApi.CallbackQueryPayloadDataWithPassword
  The payload for a callback button requiring password.
  TdApi.CallbackQueryPayloadGame
  The payload for a game callback button.
  TdApi.CallDiscardReason
  This class is an abstract base class.
  TdApi.CallDiscardReason.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CallDiscardReasonDeclined
  The call was ended before the conversation started.
  TdApi.CallDiscardReasonDisconnected
  The call was ended during the conversation because the users were disconnected.
  TdApi.CallDiscardReasonEmpty
  The call wasn't discarded, or the reason is unknown.
  TdApi.CallDiscardReasonHungUp
  The call was ended because one of the parties hung up.
  TdApi.CallDiscardReasonMissed
  The call was ended before the conversation started.
  TdApi.CallId
  Contains the call identifier.
  TdApi.CallProblem
  This class is an abstract base class.
  TdApi.CallProblem.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CallProblemDistortedSpeech
  The speech was distorted.
  TdApi.CallProblemDistortedVideo
  The video was distorted.
  TdApi.CallProblemDropped
  The call ended unexpectedly.
  TdApi.CallProblemEcho
  The user heard their own voice.
  TdApi.CallProblemInterruptions
  The other side kept disappearing.
  TdApi.CallProblemNoise
  The user heard background noise.
  TdApi.CallProblemPixelatedVideo
  The video was pixelated.
  TdApi.CallProblemSilentLocal
  The user couldn't hear the other side.
  TdApi.CallProblemSilentRemote
  The other side couldn't hear the user.
  TdApi.CallProtocol
  Specifies the supported call protocols.
  TdApi.CallServer
  Describes a server for relaying call data.
  TdApi.CallServerType
  This class is an abstract base class.
  TdApi.CallServerType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CallServerTypeTelegramReflector
  A Telegram call reflector.
  TdApi.CallServerTypeWebrtc
  A WebRTC server.
  TdApi.CallState
  This class is an abstract base class.
  TdApi.CallState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CallStateDiscarded
  The call has ended successfully.
  TdApi.CallStateError
  The call has ended with an error.
  TdApi.CallStateExchangingKeys
  The call has been answered and encryption keys are being exchanged.
  TdApi.CallStateHangingUp
  The call is hanging up after discardCall has been called.
  TdApi.CallStatePending
  The call is pending, waiting to be accepted by a user.
  TdApi.CallStateReady
  The call is ready to use.
  TdApi.CanBotSendMessages
  Checks whether the specified bot can send messages to the user.
  TdApi.CancelDownloadFile
  Stops the downloading of a file.
  TdApi.CancelPasswordReset
  Cancels reset of 2-step verification password.
  TdApi.CancelPreliminaryUploadFile
  Stops the preliminary uploading of a file.
  TdApi.CancelRecoveryEmailAddressVerification
  Cancels verification of the 2-step verification recovery email address.
  TdApi.CanPurchaseFromStore
  Checks whether an in-store purchase is possible.
  TdApi.CanSendMessageToUser
  Check whether the current user can message another user or try to create a chat with them.
  TdApi.CanSendMessageToUserResult
  This class is an abstract base class.
  TdApi.CanSendMessageToUserResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CanSendMessageToUserResultOk
  The user can be messaged.
  TdApi.CanSendMessageToUserResultUserIsDeleted
  The user can't be messaged, because they are deleted or unknown.
  TdApi.CanSendMessageToUserResultUserRestrictsNewChats
  The user can't be messaged, because they restrict new chats with non-contacts.
  TdApi.CanSendStory
  Checks whether the current user can send a story on behalf of a chat; requires canPostStories right for supergroup and channel chats.
  TdApi.CanSendStoryResult
  This class is an abstract base class.
  TdApi.CanSendStoryResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CanSendStoryResultActiveStoryLimitExceeded
  The limit for the number of active stories exceeded.
  TdApi.CanSendStoryResultBoostNeeded
  The chat must be boosted first by Telegram Premium subscribers to post more stories.
  TdApi.CanSendStoryResultMonthlyLimitExceeded
  The monthly limit for the number of posted stories exceeded.
  TdApi.CanSendStoryResultOk
  A story can be sent.
  TdApi.CanSendStoryResultPremiumNeeded
  The user must subscribe to Telegram Premium to be able to post stories.
  TdApi.CanSendStoryResultWeeklyLimitExceeded
  The weekly limit for the number of posted stories exceeded.
  TdApi.CanTransferOwnership
  Checks whether the current session can be used to transfer a chat ownership to another user.
  TdApi.CanTransferOwnershipResult
  This class is an abstract base class.
  TdApi.CanTransferOwnershipResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CanTransferOwnershipResultOk
  The session can be used.
  TdApi.CanTransferOwnershipResultPasswordNeeded
  The 2-step verification needs to be enabled first.
  TdApi.CanTransferOwnershipResultPasswordTooFresh
  The 2-step verification was enabled recently, user needs to wait.
  TdApi.CanTransferOwnershipResultSessionTooFresh
  The session was created recently, user needs to wait.
  TdApi.ChangeImportedContacts
  Changes imported contacts using the list of contacts saved on the device.
  TdApi.ChangeStickerSet
  Installs/uninstalls or activates/archives a sticker set.
  TdApi.Chat
  A chat.
  TdApi.ChatAction
  This class is an abstract base class.
  TdApi.ChatAction.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatActionBar
  This class is an abstract base class.
  TdApi.ChatActionBar.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatActionBarAddContact
  The chat is a private or secret chat and the other user can be added to the contact list using the method addContact.
  TdApi.ChatActionBarInviteMembers
  The chat is a recently created group chat to which new members can be invited.
  TdApi.ChatActionBarJoinRequest
  The chat is a private chat with an administrator of a chat to which the user sent join request.
  TdApi.ChatActionBarReportAddBlock
  The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method setMessageSenderBlockList, or the other user can be added to the contact list using the method addContact.
  TdApi.ChatActionBarReportSpam
  The chat can be reported as spam using the method reportChat with the reason reportReasonSpam.
  TdApi.ChatActionBarReportUnrelatedLocation
  The chat is a location-based supergroup, which can be reported as having unrelated location using the method reportChat with the reason reportReasonUnrelatedLocation.
  TdApi.ChatActionBarSharePhoneNumber
  The chat is a private or secret chat with a mutual contact and the user's phone number can be shared with the other user using the method sharePhoneNumber.
  TdApi.ChatActionCancel
  The user has canceled the previous action.
  TdApi.ChatActionChoosingContact
  The user is picking a contact to send.
  TdApi.ChatActionChoosingLocation
  The user is picking a location or venue to send.
  TdApi.ChatActionChoosingSticker
  The user is picking a sticker to send.
  TdApi.ChatActionRecordingVideo
  The user is recording a video.
  TdApi.ChatActionRecordingVideoNote
  The user is recording a video note.
  TdApi.ChatActionRecordingVoiceNote
  The user is recording a voice note.
  TdApi.ChatActionStartPlayingGame
  The user has started to play a game.
  TdApi.ChatActionTyping
  The user is typing a message.
  TdApi.ChatActionUploadingDocument
  The user is uploading a document.
  TdApi.ChatActionUploadingPhoto
  The user is uploading a photo.
  TdApi.ChatActionUploadingVideo
  The user is uploading a video.
  TdApi.ChatActionUploadingVideoNote
  The user is uploading a video note.
  TdApi.ChatActionUploadingVoiceNote
  The user is uploading a voice note.
  TdApi.ChatActionWatchingAnimations
  The user is watching animations sent by the other party by clicking on an animated emoji.
  TdApi.ChatActiveStories
  Describes active stories posted by a chat.
  TdApi.ChatAdministrator
  Contains information about a chat administrator.
  TdApi.ChatAdministratorRights
  Describes rights of the administrator.
  TdApi.ChatAdministrators
  Represents a list of chat administrators.
  TdApi.ChatAvailableReactions
  This class is an abstract base class.
  TdApi.ChatAvailableReactions.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatAvailableReactionsAll
  All reactions are available in the chat.
  TdApi.ChatAvailableReactionsSome
  Only specific reactions are available in the chat.
  TdApi.ChatBackground
  Describes a background set for a specific chat.
  TdApi.ChatBoost
  Describes a boost applied to a chat.
  TdApi.ChatBoostFeatures
  Contains a list of features available on the first chat boost levels.
  TdApi.ChatBoostLevelFeatures
  Contains a list of features available on a specific chat boost level.
  TdApi.ChatBoostLink
  Contains an HTTPS link to boost a chat.
  TdApi.ChatBoostLinkInfo
  Contains information about a link to boost a chat.
  TdApi.ChatBoostSlot
  Describes a slot for chat boost.
  TdApi.ChatBoostSlots
  Contains a list of chat boost slots.
  TdApi.ChatBoostSource
  This class is an abstract base class.
  TdApi.ChatBoostSource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatBoostSourceGiftCode
  The chat created a Telegram Premium gift code for a user.
  TdApi.ChatBoostSourceGiveaway
  The chat created a Telegram Premium giveaway.
  TdApi.ChatBoostSourcePremium
  A user with Telegram Premium subscription or gifted Telegram Premium boosted the chat.
  TdApi.ChatBoostStatus
  Describes current boost status of a chat.
  TdApi.ChatEvent
  Represents a chat event.
  TdApi.ChatEventAccentColorChanged
  The chat accent color or background custom emoji were changed.
  TdApi.ChatEventAction
  This class is an abstract base class.
  TdApi.ChatEventAction.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatEventActiveUsernamesChanged
  The chat active usernames were changed.
  TdApi.ChatEventAvailableReactionsChanged
  The chat available reactions were changed.
  TdApi.ChatEventBackgroundChanged
  The chat background was changed.
  TdApi.ChatEventCustomEmojiStickerSetChanged
  The supergroup sticker set with allowed custom emoji was changed.
  TdApi.ChatEventDescriptionChanged
  The chat description was changed.
  TdApi.ChatEventEmojiStatusChanged
  The chat emoji status was changed.
  TdApi.ChatEventForumTopicCreated
  A new forum topic was created.
  TdApi.ChatEventForumTopicDeleted
  A forum topic was deleted.
  TdApi.ChatEventForumTopicEdited
  A forum topic was edited.
  TdApi.ChatEventForumTopicPinned
  A pinned forum topic was changed.
  TdApi.ChatEventForumTopicToggleIsClosed
  A forum topic was closed or reopened.
  TdApi.ChatEventForumTopicToggleIsHidden
  The General forum topic was hidden or unhidden.
  TdApi.ChatEventHasAggressiveAntiSpamEnabledToggled
  The hasAggressiveAntiSpamEnabled setting of a supergroup was toggled.
  TdApi.ChatEventHasProtectedContentToggled
  The hasProtectedContent setting of a channel was toggled.
  TdApi.ChatEventInviteLinkDeleted
  A revoked chat invite link was deleted.
  TdApi.ChatEventInviteLinkEdited
  A chat invite link was edited.
  TdApi.ChatEventInviteLinkRevoked
  A chat invite link was revoked.
  TdApi.ChatEventInvitesToggled
  The canInviteUsers permission of a supergroup chat was toggled.
  TdApi.ChatEventIsAllHistoryAvailableToggled
  The isAllHistoryAvailable setting of a supergroup was toggled.
  TdApi.ChatEventIsForumToggled
  The isForum setting of a channel was toggled.
  TdApi.ChatEventLinkedChatChanged
  The linked chat of a supergroup was changed.
  TdApi.ChatEventLocationChanged
  The supergroup location was changed.
  TdApi.ChatEventLogFilters
  Represents a set of filters used to obtain a chat event log.
  TdApi.ChatEventMemberInvited
  A new chat member was invited.
  TdApi.ChatEventMemberJoined
  A new member joined the chat.
  TdApi.ChatEventMemberJoinedByInviteLink
  A new member joined the chat via an invite link.
  TdApi.ChatEventMemberJoinedByRequest
  A new member was accepted to the chat by an administrator.
  TdApi.ChatEventMemberLeft
  A member left the chat.
  TdApi.ChatEventMemberPromoted
  A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
  TdApi.ChatEventMemberRestricted
  A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
  TdApi.ChatEventMessageAutoDeleteTimeChanged
  The message auto-delete timer was changed.
  TdApi.ChatEventMessageDeleted
  A message was deleted.
  TdApi.ChatEventMessageEdited
  A message was edited.
  TdApi.ChatEventMessagePinned
  A message was pinned.
  TdApi.ChatEventMessageUnpinned
  A message was unpinned.
  TdApi.ChatEventPermissionsChanged
  The chat permissions were changed.
  TdApi.ChatEventPhotoChanged
  The chat photo was changed.
  TdApi.ChatEventPollStopped
  A poll in a message was stopped.
  TdApi.ChatEventProfileAccentColorChanged
  The chat's profile accent color or profile background custom emoji were changed.
  TdApi.ChatEvents
  Contains a list of chat events.
  TdApi.ChatEventSignMessagesToggled
  The signMessages setting of a channel was toggled.
  TdApi.ChatEventSlowModeDelayChanged
  The slowModeDelay setting of a supergroup was changed.
  TdApi.ChatEventStickerSetChanged
  The supergroup sticker set was changed.
  TdApi.ChatEventTitleChanged
  The chat title was changed.
  TdApi.ChatEventUsernameChanged
  The chat editable username was changed.
  TdApi.ChatEventVideoChatCreated
  A video chat was created.
  TdApi.ChatEventVideoChatEnded
  A video chat was ended.
  TdApi.ChatEventVideoChatMuteNewParticipantsToggled
  The muteNewParticipants setting of a video chat was toggled.
  TdApi.ChatEventVideoChatParticipantIsMutedToggled
  A video chat participant was muted or unmuted.
  TdApi.ChatEventVideoChatParticipantVolumeLevelChanged
  A video chat participant volume level was changed.
  TdApi.ChatFolder
  Represents a folder for user chats.
  TdApi.ChatFolderIcon
  Represents an icon for a chat folder.
  TdApi.ChatFolderInfo
  Contains basic information about a chat folder.
  TdApi.ChatFolderInviteLink
  Contains a chat folder invite link.
  TdApi.ChatFolderInviteLinkInfo
  Contains information about an invite link to a chat folder.
  TdApi.ChatFolderInviteLinks
  Represents a list of chat folder invite links.
  TdApi.ChatInviteLink
  Contains a chat invite link.
  TdApi.ChatInviteLinkCount
  Describes a chat administrator with a number of active and revoked chat invite links.
  TdApi.ChatInviteLinkCounts
  Contains a list of chat invite link counts.
  TdApi.ChatInviteLinkInfo
  Contains information about a chat invite link.
  TdApi.ChatInviteLinkMember
  Describes a chat member joined a chat via an invite link.
  TdApi.ChatInviteLinkMembers
  Contains a list of chat members joined a chat via an invite link.
  TdApi.ChatInviteLinks
  Contains a list of chat invite links.
  TdApi.ChatJoinRequest
  Describes a user that sent a join request and waits for administrator approval.
  TdApi.ChatJoinRequests
  Contains a list of requests to join a chat.
  TdApi.ChatJoinRequestsInfo
  Contains information about pending join requests for a chat.
  TdApi.ChatList
  This class is an abstract base class.
  TdApi.ChatList.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatListArchive
  A list of chats usually located at the top of the main chat list.
  TdApi.ChatListFolder
  A list of chats added to a chat folder.
  TdApi.ChatListMain
  A main list of chats.
  TdApi.ChatLists
  Contains a list of chat lists.
  TdApi.ChatLocation
  Represents a location to which a chat is connected.
  TdApi.ChatMember
  Describes a user or a chat as a member of another chat.
  TdApi.ChatMembers
  Contains a list of chat members.
  TdApi.ChatMembersFilter
  This class is an abstract base class.
  TdApi.ChatMembersFilter.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatMembersFilterAdministrators
  Returns the owner and administrators.
  TdApi.ChatMembersFilterBanned
  Returns users banned from the chat; can be used only by administrators in a supergroup or in a channel.
  TdApi.ChatMembersFilterBots
  Returns bot members of the chat.
  TdApi.ChatMembersFilterContacts
  Returns contacts of the user.
  TdApi.ChatMembersFilterMembers
  Returns all chat members, including restricted chat members.
  TdApi.ChatMembersFilterMention
  Returns users which can be mentioned in the chat.
  TdApi.ChatMembersFilterRestricted
  Returns users under certain restrictions in the chat; can be used only by administrators in a supergroup.
  TdApi.ChatMemberStatus
  This class is an abstract base class.
  TdApi.ChatMemberStatus.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatMemberStatusAdministrator
  The user is a member of the chat and has some additional privileges.
  TdApi.ChatMemberStatusBanned
  The user or the chat was banned (and hence is not a member of the chat).
  TdApi.ChatMemberStatusCreator
  The user is the owner of the chat and has all the administrator privileges.
  TdApi.ChatMemberStatusLeft
  The user or the chat is not a chat member.
  TdApi.ChatMemberStatusMember
  The user is a member of the chat, without any additional privileges or restrictions.
  TdApi.ChatMemberStatusRestricted
  The user is under certain restrictions in the chat.
  TdApi.ChatMessageSender
  Represents a message sender, which can be used to send messages in a chat.
  TdApi.ChatMessageSenders
  Represents a list of message senders, which can be used to send messages in a chat.
  TdApi.ChatNearby
  Describes a chat located nearby.
  TdApi.ChatNotificationSettings
  Contains information about notification settings for a chat or a forum topic.
  TdApi.ChatPermissions
  Describes actions that a user is allowed to take in a chat.
  TdApi.ChatPhoto
  Describes a chat or user profile photo.
  TdApi.ChatPhotoInfo
  Contains basic information about the photo of a chat.
  TdApi.ChatPhotos
  Contains a list of chat or user profile photos.
  TdApi.ChatPhotoSticker
  Information about the sticker, which was used to create the chat photo.
  TdApi.ChatPhotoStickerType
  This class is an abstract base class.
  TdApi.ChatPhotoStickerType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatPhotoStickerTypeCustomEmoji
  Information about the custom emoji, which was used to create the chat photo.
  TdApi.ChatPhotoStickerTypeRegularOrMask
  Information about the sticker, which was used to create the chat photo.
  TdApi.ChatPosition
  Describes a position of a chat in a chat list.
  TdApi.ChatRevenueAmount
  Contains information about revenue earned from sponsored messages in a chat.
  TdApi.ChatRevenueStatistics
  A detailed statistics about revenue earned from sponsored messages in a chat.
  TdApi.ChatRevenueTransaction
  Contains a chat revenue transactions.
  TdApi.ChatRevenueTransactions
  Contains a list of chat revenue transactions.
  TdApi.ChatRevenueTransactionType
  This class is an abstract base class.
  TdApi.ChatRevenueTransactionType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatRevenueTransactionTypeEarnings
  Describes earnings from sponsored messages in a chat in some time frame.
  TdApi.ChatRevenueTransactionTypeRefund
  Describes a refund for failed withdrawal of earnings.
  TdApi.ChatRevenueTransactionTypeWithdrawal
  Describes a withdrawal of earnings.
  TdApi.Chats
  Represents a list of chats.
  TdApi.ChatsNearby
  Represents a list of chats located nearby.
  TdApi.ChatSource
  This class is an abstract base class.
  TdApi.ChatSource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatSourceMtprotoProxy
  The chat is sponsored by the user's MTProxy server.
  TdApi.ChatSourcePublicServiceAnnouncement
  The chat contains a public service announcement.
  TdApi.ChatStatistics
  This class is an abstract base class.
  TdApi.ChatStatistics.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatStatisticsAdministratorActionsInfo
  Contains statistics about administrator actions done by a user.
  TdApi.ChatStatisticsChannel
  A detailed statistics about a channel chat.
  TdApi.ChatStatisticsInteractionInfo
  Contains statistics about interactions with a message sent in the chat or a story sent by the chat.
  TdApi.ChatStatisticsInviterInfo
  Contains statistics about number of new members invited by a user.
  TdApi.ChatStatisticsMessageSenderInfo
  Contains statistics about messages sent by a user.
  TdApi.ChatStatisticsObjectType
  This class is an abstract base class.
  TdApi.ChatStatisticsObjectType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatStatisticsObjectTypeMessage
  Describes a message sent in the chat.
  TdApi.ChatStatisticsObjectTypeStory
  Describes a story sent by the chat.
  TdApi.ChatStatisticsSupergroup
  A detailed statistics about a supergroup chat.
  TdApi.ChatTheme
  Describes a chat theme.
  TdApi.ChatType
  This class is an abstract base class.
  TdApi.ChatType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ChatTypeBasicGroup
  A basic group (a chat with 0-200 other users).
  TdApi.ChatTypePrivate
  An ordinary chat with a user.
  TdApi.ChatTypeSecret
  A secret chat with a user.
  TdApi.ChatTypeSupergroup
  A supergroup or channel (with unlimited members).
  TdApi.CheckAuthenticationBotToken
  Checks the authentication token of a bot; to log in as a bot.
  TdApi.CheckAuthenticationCode
  Checks the authentication code.
  TdApi.CheckAuthenticationEmailCode
  Checks the authentication of an email address.
  TdApi.CheckAuthenticationPassword
  Checks the 2-step verification password for correctness.
  TdApi.CheckAuthenticationPasswordRecoveryCode
  Checks whether a 2-step verification password recovery code sent to an email address is valid.
  TdApi.CheckChatFolderInviteLink
  Checks the validity of an invite link for a chat folder and returns information about the corresponding chat folder.
  TdApi.CheckChatInviteLink
  Checks the validity of an invite link for a chat and returns information about the corresponding chat.
  TdApi.CheckChatUsername
  Checks whether a username can be set for a chat.
  TdApi.CheckChatUsernameResult
  This class is an abstract base class.
  TdApi.CheckChatUsernameResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CheckChatUsernameResultOk
  The username can be set.
  TdApi.CheckChatUsernameResultPublicChatsTooMany
  The user has too many chats with username, one of them must be made private first.
  TdApi.CheckChatUsernameResultPublicGroupsUnavailable
  The user can't be a member of a public supergroup.
  TdApi.CheckChatUsernameResultUsernameInvalid
  The username is invalid.
  TdApi.CheckChatUsernameResultUsernameOccupied
  The username is occupied.
  TdApi.CheckChatUsernameResultUsernamePurchasable
  The username can be purchased at https://fragment.com.
  TdApi.CheckCreatedPublicChatsLimit
  Checks whether the maximum number of owned public chats has been reached.
  TdApi.CheckEmailAddressVerificationCode
  Checks the email address verification code for Telegram Passport.
  TdApi.CheckLoginEmailAddressCode
  Checks the login email address authentication.
  TdApi.CheckPasswordRecoveryCode
  Checks whether a 2-step verification password recovery code sent to an email address is valid.
  TdApi.CheckPhoneNumberCode
  Check the authentication code and completes the request for which the code was sent if appropriate.
  TdApi.CheckPremiumGiftCode
  Return information about a Telegram Premium gift code.
  TdApi.CheckQuickReplyShortcutName
  Checks validness of a name for a quick reply shortcut.
  TdApi.CheckRecoveryEmailAddressCode
  Checks the 2-step verification recovery email address verification code.
  TdApi.CheckStickerSetName
  Checks whether a name can be used for a new sticker set.
  TdApi.CheckStickerSetNameResult
  This class is an abstract base class.
  TdApi.CheckStickerSetNameResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CheckStickerSetNameResultNameInvalid
  The name is invalid.
  TdApi.CheckStickerSetNameResultNameOccupied
  The name is occupied.
  TdApi.CheckStickerSetNameResultOk
  The name can be set.
  TdApi.CleanFileName
  Removes potentially dangerous characters from the name of a file.
  TdApi.ClearAllDraftMessages
  Clears message drafts in all chats.
  TdApi.ClearAutosaveSettingsExceptions
  Clears the list of all autosave settings exceptions.
  TdApi.ClearImportedContacts
  Clears all imported contacts, contact list remains unchanged.
  TdApi.ClearRecentEmojiStatuses
  Clears the list of recently used emoji statuses for self status.
  TdApi.ClearRecentlyFoundChats
  Clears the list of recently found chats.
  TdApi.ClearRecentReactions
  Clears the list of recently used reactions.
  TdApi.ClearRecentStickers
  Clears the list of recently used stickers.
  TdApi.ClearSearchedForTags
  Clears the list of recently searched for hashtags or cashtags.
  TdApi.ClickAnimatedEmojiMessage
  Informs TDLib that a message with an animated emoji was clicked by the user.
  TdApi.ClickChatSponsoredMessage
  Informs TDLib that the user opened the sponsored chat via the button, the name, the photo, or a mention in the sponsored message.
  TdApi.ClickPremiumSubscriptionButton
  Informs TDLib that the user clicked Premium subscription button on the Premium features screen.
  TdApi.Close
  Closes the TDLib instance.
  TdApi.CloseBirthdayUser
  Describes a user that had or will have a birthday soon.
  TdApi.CloseChat
  Informs TDLib that the chat is closed by the user.
  TdApi.ClosedVectorPath
  Represents a closed vector path.
  TdApi.CloseSecretChat
  Closes a secret chat, effectively transferring its state to secretChatStateClosed.
  TdApi.CloseStory
  Informs TDLib that a story is closed by the user.
  TdApi.CloseWebApp
  Informs TDLib that a previously opened Web App was closed.
  TdApi.CollectibleItemInfo
  Contains information about a collectible item and its last purchase.
  TdApi.CollectibleItemType
  This class is an abstract base class.
  TdApi.CollectibleItemType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.CollectibleItemTypePhoneNumber
  A phone number.
  TdApi.CollectibleItemTypeUsername
  A username.
  TdApi.ConfirmQrCodeAuthentication
  Confirms QR code authentication on another device.
  TdApi.ConfirmSession
  Confirms an unconfirmed session of the current user from another device.
  TdApi.ConnectedWebsite
  Contains information about one website the current user is logged in with Telegram.
  TdApi.ConnectedWebsites
  Contains a list of websites the current user is logged in with Telegram.
  TdApi.ConnectionState
  This class is an abstract base class.
  TdApi.ConnectionState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ConnectionStateConnecting
  Establishing a connection to the Telegram servers.
  TdApi.ConnectionStateConnectingToProxy
  Establishing a connection with a proxy server.
  TdApi.ConnectionStateReady
  There is a working connection to the Telegram servers.
  TdApi.ConnectionStateUpdating
  Downloading data supposed to be received while the application was offline.
  TdApi.ConnectionStateWaitingForNetwork
  Waiting for the network to become available.
  TdApi.Contact
  Describes a user contact.
  TdApi.Count
  Contains a counter.
  TdApi.Countries
  Contains information about countries.
  TdApi.CountryInfo
  Contains information about a country.
  TdApi.CreateBasicGroupChat
  Returns an existing chat corresponding to a known basic group.
  TdApi.CreateBusinessChatLink
  Creates a business chat link for the current account.
  TdApi.CreateCall
  Creates a new call.
  TdApi.CreateChatFolder
  Creates new chat folder.
  TdApi.CreateChatFolderInviteLink
  Creates a new invite link for a chat folder.
  TdApi.CreateChatInviteLink
  Creates a new invite link for a chat.
  TdApi.CreatedBasicGroupChat
  Contains information about a newly created basic group chat.
  TdApi.CreateForumTopic
  Creates a topic in a forum supergroup chat; requires canManageTopics administrator or canCreateTopics member right in the supergroup.
  TdApi.CreateInvoiceLink
  Creates a link for the given invoice; for bots only.
  TdApi.CreateNewBasicGroupChat
  Creates a new basic group and sends a corresponding messageBasicGroupChatCreate.
  TdApi.CreateNewSecretChat
  Creates a new secret chat.
  TdApi.CreateNewStickerSet
  Creates a new sticker set.
  TdApi.CreateNewSupergroupChat
  Creates a new supergroup or channel and sends a corresponding messageSupergroupChatCreate.
  TdApi.CreatePrivateChat
  Returns an existing chat corresponding to a given user.
  TdApi.CreateSecretChat
  Returns an existing chat corresponding to a known secret chat.
  TdApi.CreateSupergroupChat
  Returns an existing chat corresponding to a known supergroup or channel.
  TdApi.CreateTemporaryPassword
  Creates a new temporary password for processing payments.
  TdApi.CreateVideoChat
  Creates a video chat (a group call bound to a chat).
  TdApi.CustomRequestResult
  Contains the result of a custom request.
  TdApi.DatabaseStatistics
  Contains database statistics.
  TdApi.Date
  Represents a date according to the Gregorian calendar.
  TdApi.DatedFile
  File with the date it was uploaded.
  TdApi.DateRange
  Represents a date range.
  TdApi.DeepLinkInfo
  Contains information about a tg: deep link.
  TdApi.DeleteAccount
  Deletes the account of the current user, deleting all information associated with the user from the server.
  TdApi.DeleteAllCallMessages
  Deletes all call messages.
  TdApi.DeleteAllRevokedChatInviteLinks
  Deletes all revoked chat invite links created by a given chat administrator.
  TdApi.DeleteBusinessChatLink
  Deletes a business chat link of the current account.
  TdApi.DeleteBusinessConnectedBot
  Deletes the business bot that is connected to the current user account.
  TdApi.DeleteChat
  Deletes a chat along with all messages in the corresponding chat for all chat members.
  TdApi.DeleteChatBackground
  Deletes background in a specific chat.
  TdApi.DeleteChatFolder
  Deletes existing chat folder.
  TdApi.DeleteChatFolderInviteLink
  Deletes an invite link for a chat folder.
  TdApi.DeleteChatHistory
  Deletes all messages in the chat.
  TdApi.DeleteChatMessagesByDate
  Deletes all messages between the specified dates in a chat.
  TdApi.DeleteChatMessagesBySender
  Deletes all messages sent by the specified message sender in a chat.
  TdApi.DeleteChatReplyMarkup
  Deletes the default reply markup from a chat.
  TdApi.DeleteCommands
  Deletes commands supported by the bot for the given user scope and language; for bots only.
  TdApi.DeleteDefaultBackground
  Deletes default background for chats.
  TdApi.DeleteFile
  Deletes a file from the TDLib file cache.
  TdApi.DeleteForumTopic
  Deletes all messages in a forum topic; requires canDeleteMessages administrator right in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages.
  TdApi.DeleteLanguagePack
  Deletes all information about a language pack in the current localization target.
  TdApi.DeleteMessages
  Deletes messages.
  TdApi.DeletePassportElement
  Deletes a Telegram Passport element.
  TdApi.DeleteProfilePhoto
  Deletes a profile photo.
  TdApi.DeleteQuickReplyShortcut
  Deletes a quick reply shortcut.
  TdApi.DeleteQuickReplyShortcutMessages
  Deletes specified quick reply messages.
  TdApi.DeleteRevokedChatInviteLink
  Deletes revoked chat invite links.
  TdApi.DeleteSavedCredentials
  Deletes saved credentials for all payment provider bots.
  TdApi.DeleteSavedMessagesTopicHistory
  Deletes all messages in a Saved Messages topic.
  TdApi.DeleteSavedMessagesTopicMessagesByDate
  Deletes all messages between the specified dates in a Saved Messages topic.
  TdApi.DeleteSavedOrderInfo
  Deletes saved order information.
  TdApi.DeleteStickerSet
  Completely deletes a sticker set.
  TdApi.DeleteStory
  Deletes a previously sent story.
  TdApi.Destroy
  Closes the TDLib instance, destroying all local data without a proper logout.
  TdApi.DeviceToken
  This class is an abstract base class.
  TdApi.DeviceToken.Constructors
  Describes possible values returned by getConstructor().
  TdApi.DeviceTokenApplePush
  A token for Apple Push Notification service.
  TdApi.DeviceTokenApplePushVoIP
  A token for Apple Push Notification service VoIP notifications.
  TdApi.DeviceTokenBlackBerryPush
  A token for BlackBerry Push Service.
  TdApi.DeviceTokenFirebaseCloudMessaging
  A token for Firebase Cloud Messaging.
  TdApi.DeviceTokenHuaweiPush
  A token for HUAWEI Push Service.
  TdApi.DeviceTokenMicrosoftPush
  A token for Microsoft Push Notification Service.
  TdApi.DeviceTokenMicrosoftPushVoIP
  A token for Microsoft Push Notification Service VoIP channel.
  TdApi.DeviceTokenSimplePush
  A token for Simple Push API for Firefox OS.
  TdApi.DeviceTokenTizenPush
  A token for Tizen Push Service.
  TdApi.DeviceTokenUbuntuPush
  A token for Ubuntu Push Client service.
  TdApi.DeviceTokenWebPush
  A token for web Push API.
  TdApi.DeviceTokenWindowsPush
  A token for Windows Push Notification Services.
  TdApi.DiceStickers
  This class is an abstract base class.
  TdApi.DiceStickers.Constructors
  Describes possible values returned by getConstructor().
  TdApi.DiceStickersRegular
  A regular animated sticker.
  TdApi.DiceStickersSlotMachine
  Animated stickers to be combined into a slot machine.
  TdApi.DisableAllSupergroupUsernames
  Disables all active non-editable usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.
  TdApi.DisableProxy
  Disables the currently enabled proxy.
  TdApi.DiscardCall
  Discards a call.
  TdApi.DisconnectAllWebsites
  Disconnects all websites from the current user's Telegram account.
  TdApi.DisconnectWebsite
  Disconnects website from the current user's Telegram account.
  TdApi.Document
  Describes a document of any type.
  TdApi.DownloadedFileCounts
  Contains number of being downloaded and recently downloaded files found.
  TdApi.DownloadFile
  Downloads a file from the cloud.
  TdApi.DraftMessage
  Contains information about a message draft.
  TdApi.EditBusinessChatLink
  Edits a business chat link of the current account.
  TdApi.EditBusinessMessageCaption
  Edits the caption of a message sent on behalf of a business account; for bots only.
  TdApi.EditBusinessMessageLiveLocation
  Edits the content of a live location in a message sent on behalf of a business account; for bots only.
  TdApi.EditBusinessMessageMedia
  Edits the content of a message with an animation, an audio, a document, a photo or a video in a message sent on behalf of a business account; for bots only.
  TdApi.EditBusinessMessageReplyMarkup
  Edits the reply markup of a message sent on behalf of a business account; for bots only.
  TdApi.EditBusinessMessageText
  Edits the text of a text or game message sent on behalf of a business account; for bots only.
  TdApi.EditChatFolder
  Edits existing chat folder.
  TdApi.EditChatFolderInviteLink
  Edits an invite link for a chat folder.
  TdApi.EditChatInviteLink
  Edits a non-primary invite link for a chat.
  TdApi.EditCustomLanguagePackInfo
  Edits information about a custom local language pack in the current localization target.
  TdApi.EditForumTopic
  Edits title and icon of a topic in a forum supergroup chat; requires canManageTopics right in the supergroup unless the user is creator of the topic.
  TdApi.EditInlineMessageCaption
  Edits the caption of an inline message sent via a bot; for bots only.
  TdApi.EditInlineMessageLiveLocation
  Edits the content of a live location in an inline message sent via a bot; for bots only.
  TdApi.EditInlineMessageMedia
  Edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only.
  TdApi.EditInlineMessageReplyMarkup
  Edits the reply markup of an inline message sent via a bot; for bots only.
  TdApi.EditInlineMessageText
  Edits the text of an inline text or game message sent via a bot; for bots only.
  TdApi.EditMessageCaption
  Edits the message content caption.
  TdApi.EditMessageLiveLocation
  Edits the message content of a live location.
  TdApi.EditMessageMedia
  Edits the content of a message with an animation, an audio, a document, a photo or a video, including message caption.
  TdApi.EditMessageReplyMarkup
  Edits the message reply markup; for bots only.
  TdApi.EditMessageSchedulingState
  Edits the time when a scheduled message will be sent.
  TdApi.EditMessageText
  Edits the text of a message (or a text of a game message).
  TdApi.EditProxy
  Edits an existing proxy server for network requests.
  TdApi.EditQuickReplyMessage
  Asynchronously edits the text, media or caption of a quick reply message.
  TdApi.EditStory
  Changes content and caption of a story.
  TdApi.EmailAddressAuthentication
  This class is an abstract base class.
  TdApi.EmailAddressAuthentication.Constructors
  Describes possible values returned by getConstructor().
  TdApi.EmailAddressAuthenticationAppleId
  An authentication token received through Apple ID.
  TdApi.EmailAddressAuthenticationCode
  An authentication code delivered to a user's email address.
  TdApi.EmailAddressAuthenticationCodeInfo
  Information about the email address authentication code that was sent.
  TdApi.EmailAddressAuthenticationGoogleId
  An authentication token received through Google ID.
  TdApi.EmailAddressResetState
  This class is an abstract base class.
  TdApi.EmailAddressResetState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.EmailAddressResetStateAvailable
  Email address can be reset after the given period.
  TdApi.EmailAddressResetStatePending
  Email address reset has already been requested.
  TdApi.EmojiCategories
  Represents a list of emoji categories.
  TdApi.EmojiCategory
  Describes an emoji category.
  TdApi.EmojiCategorySource
  This class is an abstract base class.
  TdApi.EmojiCategorySource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.EmojiCategorySourcePremium
  The category contains premium stickers that must be found by getPremiumStickers.
  TdApi.EmojiCategorySourceSearch
  The category contains a list of similar emoji to search for in getStickers and searchStickers for stickers, or getInlineQueryResults with the bot getOption("animation_search_bot_username") for animations.
  TdApi.EmojiCategoryType
  This class is an abstract base class.
  TdApi.EmojiCategoryType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.EmojiCategoryTypeChatPhoto
  The category must be used for chat photo emoji selection.
  TdApi.EmojiCategoryTypeDefault
  The category must be used by default (e.g., for custom emoji or animation search).
  TdApi.EmojiCategoryTypeEmojiStatus
  The category must be used for emoji status selection.
  TdApi.EmojiCategoryTypeRegularStickers
  The category must be used by default for regular sticker selection.
  TdApi.EmojiKeyword
  Represents an emoji with its keyword.
  TdApi.EmojiKeywords
  Represents a list of emojis with their keywords.
  TdApi.EmojiReaction
  Contains information about an emoji reaction.
  TdApi.Emojis
  Represents a list of emojis.
  TdApi.EmojiStatus
  Describes a custom emoji to be shown instead of the Telegram Premium badge.
  TdApi.EmojiStatuses
  Contains a list of custom emoji identifiers for emoji statuses.
  TdApi.EnableProxy
  Enables a proxy.
  TdApi.EncryptedCredentials
  Contains encrypted Telegram Passport data credentials.
  TdApi.EncryptedPassportElement
  Contains information about an encrypted Telegram Passport element; for bots only.
  TdApi.EndGroupCall
  Ends a group call.
  TdApi.EndGroupCallRecording
  Ends recording of an active group call.
  TdApi.EndGroupCallScreenSharing
  Ends screen sharing in a joined group call.
  TdApi.Error
  An object of this type can be returned on every function call, in case of an error.
  TdApi.FactCheck
  Describes a fact-check added to the message by an independent checker.
  TdApi.FailedToAddMember
  Contains information about a user that has failed to be added to a chat.
  TdApi.FailedToAddMembers
  Represents a list of users that has failed to be added to a chat.
  TdApi.File
  Represents a file.
  TdApi.FileDownload
  Describes a file added to file download list.
  TdApi.FileDownloadedPrefixSize
  Contains size of downloaded prefix of a file.
  TdApi.FilePart
  Contains a part of a file.
  TdApi.FileType
  This class is an abstract base class.
  TdApi.FileType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.FileTypeAnimation
  The file is an animation.
  TdApi.FileTypeAudio
  The file is an audio file.
  TdApi.FileTypeDocument
  The file is a document.
  TdApi.FileTypeNone
  The data is not a file.
  TdApi.FileTypeNotificationSound
  The file is a notification sound.
  TdApi.FileTypePhoto
  The file is a photo.
  TdApi.FileTypePhotoStory
  The file is a photo published as a story.
  TdApi.FileTypeProfilePhoto
  The file is a profile photo.
  TdApi.FileTypeSecret
  The file was sent to a secret chat (the file type is not known to the server).
  TdApi.FileTypeSecretThumbnail
  The file is a thumbnail of a file from a secret chat.
  TdApi.FileTypeSecure
  The file is a file from Secure storage used for storing Telegram Passport files.
  TdApi.FileTypeSticker
  The file is a sticker.
  TdApi.FileTypeThumbnail
  The file is a thumbnail of another file.
  TdApi.FileTypeUnknown
  The file type is not yet known.
  TdApi.FileTypeVideo
  The file is a video.
  TdApi.FileTypeVideoNote
  The file is a video note.
  TdApi.FileTypeVideoStory
  The file is a video published as a story.
  TdApi.FileTypeVoiceNote
  The file is a voice note.
  TdApi.FileTypeWallpaper
  The file is a wallpaper or a background pattern.
  TdApi.FinishFileGeneration
  Finishes the file generation.
  TdApi.FirebaseAuthenticationSettings
  This class is an abstract base class.
  TdApi.FirebaseAuthenticationSettings.Constructors
  Describes possible values returned by getConstructor().
  TdApi.FirebaseAuthenticationSettingsAndroid
  Settings for Firebase Authentication in the official Android application.
  TdApi.FirebaseAuthenticationSettingsIos
  Settings for Firebase Authentication in the official iOS application.
  TdApi.FirebaseDeviceVerificationParameters
  This class is an abstract base class.
  TdApi.FirebaseDeviceVerificationParameters.Constructors
  Describes possible values returned by getConstructor().
  TdApi.FirebaseDeviceVerificationParametersPlayIntegrity
  Device verification must be performed with the classic Play Integrity verification (https://developer.android.com/google/play/integrity/classic).
  TdApi.FirebaseDeviceVerificationParametersSafetyNet
  Device verification must be performed with the SafetyNet Attestation API.
  TdApi.FormattedText
  A text with some entities.
  TdApi.ForumTopic
  Describes a forum topic.
  TdApi.ForumTopicIcon
  Describes a forum topic icon.
  TdApi.ForumTopicInfo
  Contains basic information about a forum topic.
  TdApi.ForumTopics
  Describes a list of forum topics.
  TdApi.ForwardMessages
  Forwards previously sent messages.
  TdApi.ForwardSource
  Contains information about the last message from which a new message was forwarded last time.
  TdApi.FoundChatBoosts
  Contains a list of boosts applied to a chat.
  TdApi.FoundChatMessages
  Contains a list of messages found by a search in a given chat.
  TdApi.FoundFileDownloads
  Contains a list of downloaded files, found by a search.
  TdApi.FoundMessages
  Contains a list of messages found by a search.
  TdApi.FoundPosition
  Contains 0-based match position.
  TdApi.FoundPositions
  Contains 0-based positions of matched objects.
  TdApi.FoundStories
  Contains a list of stories found by a search.
  TdApi.FoundWebApp
  Contains information about a Web App found by its short name.
  TdApi.Function<R extends TdApi.Object>
  This class is a base class for all TDLib interface function-classes.
  TdApi.Function.Constructors
  Describes possible values returned by getConstructor().
  TdApi.Game
  Describes a game.
  TdApi.GameHighScore
  Contains one row of the game high score table.
  TdApi.GameHighScores
  Contains a list of game high scores.
  TdApi.GetAccountTtl
  Returns the period of inactivity after which the account of the current user will automatically be deleted.
  TdApi.GetActiveLiveLocationMessages
  Returns all active live locations that need to be updated by the application.
  TdApi.GetActiveSessions
  Returns all active sessions of the current user.
  TdApi.GetAllPassportElements
  Returns all available Telegram Passport elements.
  TdApi.GetAllStickerEmojis
  Returns unique emoji that correspond to stickers to be found by the getStickers(stickerType, query, 1000000, chatId).
  TdApi.GetAnimatedEmoji
  Returns an animated emoji corresponding to a given emoji.
  TdApi.GetApplicationConfig
  Returns application config, provided by the server.
  TdApi.GetApplicationDownloadLink
  Returns the link for downloading official Telegram application to be used when the current user invites friends to Telegram.
  TdApi.GetArchiveChatListSettings
  Returns settings for automatic moving of chats to and from the Archive chat lists.
  TdApi.GetArchivedStickerSets
  Returns a list of archived sticker sets.
  TdApi.GetAttachedStickerSets
  Returns a list of sticker sets attached to a file, including regular, mask, and emoji sticker sets.
  TdApi.GetAttachmentMenuBot
  Returns information about a bot that can be added to attachment or side menu.
  TdApi.GetAuthorizationState
  Returns the current authorization state; this is an offline request.
  TdApi.GetAutoDownloadSettingsPresets
  Returns auto-download settings presets for the current user.
  TdApi.GetAutosaveSettings
  Returns autosave settings for the current user.
  TdApi.GetAvailableChatBoostSlots
  Returns the list of available chat boost slots for the current user.
  TdApi.GetBackgroundUrl
  Constructs a persistent HTTP URL for a background.
  TdApi.GetBankCardInfo
  Returns information about a bank card.
  TdApi.GetBasicGroup
  Returns information about a basic group by its identifier.
  TdApi.GetBasicGroupFullInfo
  Returns full information about a basic group by its identifier.
  TdApi.GetBlockedMessageSenders
  Returns users and chats that were blocked by the current user.
  TdApi.GetBotInfoDescription
  Returns the text shown in the chat with a bot if the chat is empty in the given language.
  TdApi.GetBotInfoShortDescription
  Returns the text shown on a bot's profile page and sent together with the link when users share the bot in the given language.
  TdApi.GetBotName
  Returns the name of a bot in the given language.
  TdApi.GetBusinessChatLinkInfo
  Returns information about a business chat link.
  TdApi.GetBusinessChatLinks
  Returns business chat links created for the current account.
  TdApi.GetBusinessConnectedBot
  Returns the business bot that is connected to the current user account.
  TdApi.GetBusinessConnection
  Returns information about a business connection by its identifier; for bots only.
  TdApi.GetBusinessFeatures
  Returns information about features, available to Business users.
  TdApi.GetCallbackQueryAnswer
  Sends a callback query to a bot and returns an answer.
  TdApi.GetCallbackQueryMessage
  Returns information about a message with the callback button that originated a callback query; for bots only.
  TdApi.GetChat
  Returns information about a chat by its identifier; this is an offline request if the current user is not a bot.
  TdApi.GetChatActiveStories
  Returns the list of active stories posted by the given chat.
  TdApi.GetChatAdministrators
  Returns a list of administrators of the chat with their custom titles.
  TdApi.GetChatArchivedStories
  Returns the list of all stories posted by the given chat; requires canEditStories right in the chat.
  TdApi.GetChatAvailableMessageSenders
  Returns the list of message sender identifiers, which can be used to send messages in a chat.
  TdApi.GetChatBoostFeatures
  Returns the list of features available for different chat boost levels; this is an offline request.
  TdApi.GetChatBoostLevelFeatures
  Returns the list of features available on the specific chat boost level; this is an offline request.
  TdApi.GetChatBoostLink
  Returns an HTTPS link to boost the specified supergroup or channel chat.
  TdApi.GetChatBoostLinkInfo
  Returns information about a link to boost a chat.
  TdApi.GetChatBoosts
  Returns the list of boosts applied to a chat; requires administrator rights in the chat.
  TdApi.GetChatBoostStatus
  Returns the current boost status for a supergroup or a channel chat.
  TdApi.GetChatEventLog
  Returns a list of service actions taken by chat members and administrators in the last 48 hours.
  TdApi.GetChatFolder
  Returns information about a chat folder by its identifier.
  TdApi.GetChatFolderChatCount
  Returns approximate number of chats in a being created chat folder.
  TdApi.GetChatFolderChatsToLeave
  Returns identifiers of pinned or always included chats from a chat folder, which are suggested to be left when the chat folder is deleted.
  TdApi.GetChatFolderDefaultIconName
  Returns default icon name for a folder.
  TdApi.GetChatFolderInviteLinks
  Returns invite links created by the current user for a shareable chat folder.
  TdApi.GetChatFolderNewChats
  Returns new chats added to a shareable chat folder by its owner.
  TdApi.GetChatHistory
  Returns messages in a chat.
  TdApi.GetChatInviteLink
  Returns information about an invite link.
  TdApi.GetChatInviteLinkCounts
  Returns the list of chat administrators with number of their invite links.
  TdApi.GetChatInviteLinkMembers
  Returns chat members joined a chat via an invite link.
  TdApi.GetChatInviteLinks
  Returns invite links for a chat created by specified administrator.
  TdApi.GetChatJoinRequests
  Returns pending join requests in a chat.
  TdApi.GetChatListsToAddChat
  Returns chat lists to which the chat can be added.
  TdApi.GetChatMember
  Returns information about a single member of a chat.
  TdApi.GetChatMessageByDate
  Returns the last message sent in a chat no later than the specified date.
  TdApi.GetChatMessageCalendar
  Returns information about the next messages of the specified type in the chat split by days.
  TdApi.GetChatMessageCount
  Returns approximate number of messages of the specified type in the chat.
  TdApi.GetChatMessagePosition
  Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat.
  TdApi.GetChatNotificationSettingsExceptions
  Returns the list of chats with non-default notification settings for new messages.
  TdApi.GetChatPinnedMessage
  Returns information about a newest pinned message in the chat.
  TdApi.GetChatPostedToChatPageStories
  Returns the list of stories that posted by the given chat to its chat page.
  TdApi.GetChatRevenueStatistics
  Returns detailed revenue statistics about a chat.
  TdApi.GetChatRevenueTransactions
  Returns the list of revenue transactions for a chat.
  TdApi.GetChatRevenueWithdrawalUrl
  Returns a URL for chat revenue withdrawal; requires owner privileges in the chat.
  TdApi.GetChats
  Returns an ordered list of chats from the beginning of a chat list.
  TdApi.GetChatScheduledMessages
  Returns all scheduled messages in a chat.
  TdApi.GetChatsForChatFolderInviteLink
  Returns identifiers of chats from a chat folder, suitable for adding to a chat folder invite link.
  TdApi.GetChatSimilarChatCount
  Returns approximate number of chats similar to the given chat.
  TdApi.GetChatSimilarChats
  Returns a list of chats similar to the given chat.
  TdApi.GetChatSparseMessagePositions
  Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.
  TdApi.GetChatSponsoredMessages
  Returns sponsored messages to be shown in a chat; for channel chats only.
  TdApi.GetChatStatistics
  Returns detailed statistics about a chat.
  TdApi.GetChatStoryInteractions
  Returns interactions with a story posted in a chat.
  TdApi.GetChatsToSendStories
  Returns supergroup and channel chats in which the current user has the right to post stories.
  TdApi.GetCloseFriends
  Returns all close friends of the current user.
  TdApi.GetCollectibleItemInfo
  Returns information about a given collectible item that was purchased at https://fragment.com.
  TdApi.GetCommands
  Returns the list of commands supported by the bot for the given user scope and language; for bots only.
  TdApi.GetConnectedWebsites
  Returns all website where the current user used Telegram to log in.
  TdApi.GetContacts
  Returns all contacts of the user.
  TdApi.GetCountries
  Returns information about existing countries.
  TdApi.GetCountryCode
  Uses the current IP address to find the current country.
  TdApi.GetCountryFlagEmoji
  Returns an emoji for the given country.
  TdApi.GetCreatedPublicChats
  Returns a list of public chats of the specified type, owned by the user.
  TdApi.GetCurrentState
  Returns all updates needed to restore current TDLib state, i.e.
  TdApi.GetCustomEmojiReactionAnimations
  Returns TGS stickers with generic animations for custom emoji reactions.
  TdApi.GetCustomEmojiStickers
  Returns the list of custom emoji stickers by their identifiers.
  TdApi.GetDatabaseStatistics
  Returns database statistics.
  TdApi.GetDeepLinkInfo
  Returns information about a tg:// deep link.
  TdApi.GetDefaultBackgroundCustomEmojiStickers
  Returns default list of custom emoji stickers for reply background.
  TdApi.GetDefaultChatEmojiStatuses
  Returns default emoji statuses for chats.
  TdApi.GetDefaultChatPhotoCustomEmojiStickers
  Returns default list of custom emoji stickers for placing on a chat photo.
  TdApi.GetDefaultEmojiStatuses
  Returns default emoji statuses for self status.
  TdApi.GetDefaultMessageAutoDeleteTime
  Returns default message auto-delete time setting for new chats.
  TdApi.GetDefaultProfilePhotoCustomEmojiStickers
  Returns default list of custom emoji stickers for placing on a profile photo.
  TdApi.GetDisallowedChatEmojiStatuses
  Returns the list of emoji statuses, which can't be used as chat emoji status, even they are from a sticker set with isAllowedAsChatEmojiStatus == true.
  TdApi.GetEmojiCategories
  Returns available emoji categories.
  TdApi.GetEmojiReaction
  Returns information about an emoji reaction.
  TdApi.GetEmojiSuggestionsUrl
  Returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements.
  TdApi.GetExternalLink
  Returns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link.
  TdApi.GetExternalLinkInfo
  Returns information about an action to be done when the current user clicks an external link.
  TdApi.GetFavoriteStickers
  Returns favorite stickers.
  TdApi.GetFile
  Returns information about a file; this is an offline request.
  TdApi.GetFileDownloadedPrefixSize
  Returns file downloaded prefix size from a given offset, in bytes.
  TdApi.GetFileExtension
  Returns the extension of a file, guessed by its MIME type.
  TdApi.GetFileMimeType
  Returns the MIME type of a file, guessed by its extension.
  TdApi.GetForumTopic
  Returns information about a forum topic.
  TdApi.GetForumTopicDefaultIcons
  Returns the list of custom emoji, which can be used as forum topic icon by all users.
  TdApi.GetForumTopicLink
  Returns an HTTPS link to a topic in a forum chat.
  TdApi.GetForumTopics
  Returns found forum topics in a forum chat.
  TdApi.GetGameHighScores
  Returns the high scores for a game and some part of the high score table in the range of the specified user; for bots only.
  TdApi.GetGreetingStickers
  Returns greeting stickers from regular sticker sets that can be used for the start page of other users.
  TdApi.GetGroupCall
  Returns information about a group call.
  TdApi.GetGroupCallInviteLink
  Returns invite link to a video chat in a public chat.
  TdApi.GetGroupCallStreams
  Returns information about available group call streams.
  TdApi.GetGroupCallStreamSegment
  Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.
  TdApi.GetGroupsInCommon
  Returns a list of common group chats with a given user.
  TdApi.GetImportedContactCount
  Returns the total number of imported contacts.
  TdApi.GetInactiveSupergroupChats
  Returns a list of recently inactive supergroups and channels.
  TdApi.GetInlineGameHighScores
  Returns game high scores and some part of the high score table in the range of the specified user; for bots only.
  TdApi.GetInlineQueryResults
  Sends an inline query to a bot and returns its results.
  TdApi.GetInstalledBackgrounds
  Returns backgrounds installed by the user.
  TdApi.GetInstalledStickerSets
  Returns a list of installed sticker sets.
  TdApi.GetInternalLink
  Returns an HTTPS or a tg: link with the given type.
  TdApi.GetInternalLinkType
  Returns information about the type of internal link.
  TdApi.GetJsonString
  Converts a JsonValue object to corresponding JSON-serialized string.
  TdApi.GetJsonValue
  Converts a JSON-serialized string to corresponding JsonValue object.
  TdApi.GetKeywordEmojis
  Return emojis matching the keyword.
  TdApi.GetLanguagePackInfo
  Returns information about a language pack.
  TdApi.GetLanguagePackString
  Returns a string stored in the local database from the specified localization target and language pack by its key.
  TdApi.GetLanguagePackStrings
  Returns strings from a language pack in the current localization target by their keys.
  TdApi.GetLinkPreview
  Returns a link preview by the text of a message.
  TdApi.GetLocalizationTargetInfo
  Returns information about the current localization target.
  TdApi.GetLoginUrl
  Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.
  TdApi.GetLoginUrlInfo
  Returns information about a button of type inlineKeyboardButtonTypeLoginUrl.
  TdApi.GetLogStream
  Returns information about currently used log stream for internal logging of TDLib.
  TdApi.GetLogTags
  Returns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"].
  TdApi.GetLogTagVerbosityLevel
  Returns current verbosity level for a specified TDLib internal log tag.
  TdApi.GetLogVerbosityLevel
  Returns current verbosity level of the internal logging of TDLib.
  TdApi.GetMapThumbnailFile
  Returns information about a file with a map thumbnail in PNG format.
  TdApi.GetMarkdownText
  Replaces text entities with Markdown formatting in a human-friendly format.
  TdApi.GetMe
  Returns the current user.
  TdApi.GetMenuButton
  Returns menu button set by the bot for the given user; for bots only.
  TdApi.GetMessage
  Returns information about a message.
  TdApi.GetMessageAddedReactions
  Returns reactions added for a message, along with their sender.
  TdApi.GetMessageAvailableReactions
  Returns reactions, which can be added to a message.
  TdApi.GetMessageEffect
  Returns information about a message effect.
  TdApi.GetMessageEmbeddingCode
  Returns an HTML code for embedding the message.
  TdApi.GetMessageFileType
  Returns information about a file with messages exported from another application.
  TdApi.GetMessageImportConfirmationText
  Returns a confirmation text to be shown to the user before starting message import.
  TdApi.GetMessageLink
  Returns an HTTPS link to a message in a chat.
  TdApi.GetMessageLinkInfo
  Returns information about a public or private message link.
  TdApi.GetMessageLocally
  Returns information about a message, if it is available without sending network request.
  TdApi.GetMessagePublicForwards
  Returns forwarded copies of a channel message to different public channels and public reposts as a story.
  TdApi.GetMessageReadDate
  Returns read date of a recent outgoing message in a private chat.
  TdApi.GetMessages
  Returns information about messages.
  TdApi.GetMessageStatistics
  Returns detailed statistics about a message.
  TdApi.GetMessageThread
  Returns information about a message thread.
  TdApi.GetMessageThreadHistory
  Returns messages in a message thread of a message.
  TdApi.GetMessageViewers
  Returns viewers of a recent outgoing message in a basic group or a supergroup chat.
  TdApi.GetNetworkStatistics
  Returns network data usage statistics.
  TdApi.GetNewChatPrivacySettings
  Returns privacy settings for new chat creation.
  TdApi.GetOption
  Returns the value of an option by its name.
  TdApi.GetOwnedStickerSets
  Returns sticker sets owned by the current user.
  TdApi.GetPassportAuthorizationForm
  Returns a Telegram Passport authorization form for sharing data with a service.
  TdApi.GetPassportAuthorizationFormAvailableElements
  Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form.
  TdApi.GetPassportElement
  Returns one of the available Telegram Passport elements.
  TdApi.GetPasswordState
  Returns the current state of 2-step verification.
  TdApi.GetPaymentForm
  Returns an invoice payment form.
  TdApi.GetPaymentReceipt
  Returns information about a successful payment.
  TdApi.GetPhoneNumberInfo
  Returns information about a phone number by its prefix.
  TdApi.GetPhoneNumberInfoSync
  Returns information about a phone number by its prefix synchronously.
  TdApi.GetPollVoters
  Returns message senders voted for the specified option in a non-anonymous polls.
  TdApi.GetPreferredCountryLanguage
  Returns an IETF language tag of the language preferred in the country, which must be used to fill native fields in Telegram Passport personal details.
  TdApi.GetPremiumFeatures
  Returns information about features, available to Premium users.
  TdApi.GetPremiumGiftCodePaymentOptions
  Returns available options for Telegram Premium gift code or giveaway creation.
  TdApi.GetPremiumGiveawayInfo
  Returns information about a Telegram Premium giveaway.
  TdApi.GetPremiumLimit
  Returns information about a limit, increased for Premium users.
  TdApi.GetPremiumState
  Returns state of Telegram Premium subscription and promotion videos for Premium features.
  TdApi.GetPremiumStickerExamples
  Returns examples of premium stickers for demonstration purposes.
  TdApi.GetPremiumStickers
  Returns premium stickers from regular sticker sets.
  TdApi.GetProxies
  Returns the list of proxies that are currently set up.
  TdApi.GetProxyLink
  Returns an HTTPS link, which can be used to add a proxy.
  TdApi.GetPushReceiverId
  Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
  TdApi.GetReadDatePrivacySettings
  Returns privacy settings for message read date.
  TdApi.GetRecentEmojiStatuses
  Returns recent emoji statuses for self status.
  TdApi.GetRecentInlineBots
  Returns up to 20 recently used inline bots in the order of their last usage.
  TdApi.GetRecentlyOpenedChats
  Returns recently opened chats; this is an offline request.
  TdApi.GetRecentlyVisitedTMeUrls
  Returns t.me URLs recently visited by a newly registered user.
  TdApi.GetRecentStickers
  Returns a list of recently used stickers.
  TdApi.GetRecommendedChatFolders
  Returns recommended chat folders for the current user.
  TdApi.GetRecommendedChats
  Returns a list of channel chats recommended to the current user.
  TdApi.GetRecoveryEmailAddress
  Returns a 2-step verification recovery email address that was previously set up.
  TdApi.GetRemoteFile
  Returns information about a file by its remote identifier; this is an offline request.
  TdApi.GetRepliedMessage
  Returns information about a non-bundled message that is replied by a given message.
  TdApi.GetSavedAnimations
  Returns saved animations.
  TdApi.GetSavedMessagesTags
  Returns tags used in Saved Messages or a Saved Messages topic.
  TdApi.GetSavedMessagesTopicHistory
  Returns messages in a Saved Messages topic.
  TdApi.GetSavedMessagesTopicMessageByDate
  Returns the last message sent in a Saved Messages topic no later than the specified date.
  TdApi.GetSavedNotificationSound
  Returns saved notification sound by its identifier.
  TdApi.GetSavedNotificationSounds
  Returns the list of saved notification sounds.
  TdApi.GetSavedOrderInfo
  Returns saved order information.
  TdApi.GetScopeNotificationSettings
  Returns the notification settings for chats of a given type.
  TdApi.GetSearchedForTags
  Returns recently searched for hashtags or cashtags by their prefix.
  TdApi.GetSecretChat
  Returns information about a secret chat by its identifier.
  TdApi.GetStarAdAccountUrl
  Returns a URL for a Telegram Ad platform account that can be used to set up advertisements for the chat paid in the owned Telegram stars.
  TdApi.GetStarPaymentOptions
  Returns available options for Telegram stars purchase.
  TdApi.GetStarRevenueStatistics
  Returns detailed Telegram star revenue statistics.
  TdApi.GetStarTransactions
  Returns the list of Telegram star transactions for the specified owner.
  TdApi.GetStarWithdrawalUrl
  Returns a URL for Telegram star withdrawal.
  TdApi.GetStatisticalGraph
  Loads an asynchronous or a zoomed in statistical graph.
  TdApi.GetStickerEmojis
  Returns emoji corresponding to a sticker.
  TdApi.GetStickers
  Returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords.
  TdApi.GetStickerSet
  Returns information about a sticker set by its identifier.
  TdApi.GetStorageStatistics
  Returns storage usage statistics.
  TdApi.GetStorageStatisticsFast
  Quickly returns approximate storage usage statistics.
  TdApi.GetStory
  Returns a story.
  TdApi.GetStoryAvailableReactions
  Returns reactions, which can be chosen for a story.
  TdApi.GetStoryInteractions
  Returns interactions with a story.
  TdApi.GetStoryNotificationSettingsExceptions
  Returns the list of chats with non-default notification settings for stories.
  TdApi.GetStoryPublicForwards
  Returns forwards of a story as a message to public chats and reposts by public channels.
  TdApi.GetStoryStatistics
  Returns detailed statistics about a story.
  TdApi.GetSuggestedFileName
  Returns suggested name for saving a file in a given directory.
  TdApi.GetSuggestedStickerSetName
  Returns a suggested name for a new sticker set with a given title.
  TdApi.GetSuitableDiscussionChats
  Returns a list of basic group and supergroup chats, which can be used as a discussion group for a channel.
  TdApi.GetSuitablePersonalChats
  Returns a list of channel chats, which can be used as a personal chat.
  TdApi.GetSupergroup
  Returns information about a supergroup or a channel by its identifier.
  TdApi.GetSupergroupFullInfo
  Returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.
  TdApi.GetSupergroupMembers
  Returns information about members or banned users in a supergroup or channel.
  TdApi.GetSupportName
  Returns localized name of the Telegram support user; for Telegram support only.
  TdApi.GetSupportUser
  Returns a user that can be contacted to get support.
  TdApi.GetTemporaryPasswordState
  Returns information about the current temporary password.
  TdApi.GetTextEntities
  Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text.
  TdApi.GetThemedChatEmojiStatuses
  Returns up to 8 emoji statuses, which must be shown in the emoji status list for chats.
  TdApi.GetThemedEmojiStatuses
  Returns up to 8 emoji statuses, which must be shown right after the default Premium Badge in the emoji status list for self status.
  TdApi.GetThemeParametersJsonString
  Converts a themeParameters object to corresponding JSON-serialized string.
  TdApi.GetTimeZones
  Returns the list of supported time zones.
  TdApi.GetTopChats
  Returns a list of frequently used chats.
  TdApi.GetTrendingStickerSets
  Returns a list of trending sticker sets.
  TdApi.GetUser
  Returns information about a user by their identifier.
  TdApi.GetUserChatBoosts
  Returns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only.
  TdApi.GetUserFullInfo
  Returns full information about a user by their identifier.
  TdApi.GetUserLink
  Returns an HTTPS link, which can be used to get information about the current user.
  TdApi.GetUserPrivacySettingRules
  Returns the current privacy settings.
  TdApi.GetUserProfilePhotos
  Returns the profile photos of a user.
  TdApi.GetUserSupportInfo
  Returns support information for the given user; for Telegram support only.
  TdApi.GetVideoChatAvailableParticipants
  Returns the list of participant identifiers, on whose behalf a video chat in the chat can be joined.
  TdApi.GetVideoChatRtmpUrl
  Returns RTMP URL for streaming to the chat; requires owner privileges.
  TdApi.GetWebAppLinkUrl
  Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
  TdApi.GetWebAppUrl
  Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, an inlineQueryResultsButtonTypeWebApp button, or an internalLinkTypeSideMenuBot link.
  TdApi.GetWebPageInstantView
  Returns an instant view version of a web page if available.
  TdApi.GroupCall
  Describes a group call.
  TdApi.GroupCallId
  Contains the group call identifier.
  TdApi.GroupCallParticipant
  Represents a group call participant.
  TdApi.GroupCallParticipantVideoInfo
  Contains information about a group call participant's video channel.
  TdApi.GroupCallRecentSpeaker
  Describes a recently speaking participant in a group call.
  TdApi.GroupCallStream
  Describes an available stream in a group call.
  TdApi.GroupCallStreams
  Represents a list of group call streams.
  TdApi.GroupCallVideoQuality
  This class is an abstract base class.
  TdApi.GroupCallVideoQuality.Constructors
  Describes possible values returned by getConstructor().
  TdApi.GroupCallVideoQualityFull
  The best available video quality.
  TdApi.GroupCallVideoQualityMedium
  The medium video quality.
  TdApi.GroupCallVideoQualityThumbnail
  The worst available video quality.
  TdApi.GroupCallVideoSourceGroup
  Describes a group of video synchronization source identifiers.
  TdApi.Hashtags
  Contains a list of hashtags.
  TdApi.HideContactCloseBirthdays
  Hides the list of contacts that have close birthdays for 24 hours.
  TdApi.HideSuggestedAction
  Hides a suggested action.
  TdApi.HttpUrl
  Contains an HTTP URL.
  TdApi.IdentityDocument
  An identity document.
  TdApi.ImportContacts
  Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.
  TdApi.ImportedContacts
  Represents the result of an importContacts request.
  TdApi.ImportMessages
  Imports messages exported from another app.
  TdApi.InlineKeyboardButton
  Represents a single button in an inline keyboard.
  TdApi.InlineKeyboardButtonType
  This class is an abstract base class.
  TdApi.InlineKeyboardButtonType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InlineKeyboardButtonTypeBuy
  A button to buy something.
  TdApi.InlineKeyboardButtonTypeCallback
  A button that sends a callback query to a bot.
  TdApi.InlineKeyboardButtonTypeCallbackGame
  A button with a game that sends a callback query to a bot.
  TdApi.InlineKeyboardButtonTypeCallbackWithPassword
  A button that asks for the 2-step verification password of the current user and then sends a callback query to a bot.
  TdApi.InlineKeyboardButtonTypeLoginUrl
  A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
  TdApi.InlineKeyboardButtonTypeSwitchInline
  A button that forces an inline query to the bot to be inserted in the input field.
  TdApi.InlineKeyboardButtonTypeUrl
  A button that opens a specified URL.
  TdApi.InlineKeyboardButtonTypeUser
  A button with a user reference to be handled in the same way as textEntityTypeMentionName entities.
  TdApi.InlineKeyboardButtonTypeWebApp
  A button that opens a Web App by calling openWebApp.
  TdApi.InlineQueryResult
  This class is an abstract base class.
  TdApi.InlineQueryResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InlineQueryResultAnimation
  Represents an animation file.
  TdApi.InlineQueryResultArticle
  Represents a link to an article or web page.
  TdApi.InlineQueryResultAudio
  Represents an audio file.
  TdApi.InlineQueryResultContact
  Represents a user contact.
  TdApi.InlineQueryResultDocument
  Represents a document.
  TdApi.InlineQueryResultGame
  Represents information about a game.
  TdApi.InlineQueryResultLocation
  Represents a point on the map.
  TdApi.InlineQueryResultPhoto
  Represents a photo.
  TdApi.InlineQueryResults
  Represents the results of the inline query.
  TdApi.InlineQueryResultsButton
  Represents a button to be shown above inline query results.
  TdApi.InlineQueryResultsButtonType
  This class is an abstract base class.
  TdApi.InlineQueryResultsButtonType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InlineQueryResultsButtonTypeStartBot
  Describes the button that opens a private chat with the bot and sends a start message to the bot with the given parameter.
  TdApi.InlineQueryResultsButtonTypeWebApp
  Describes the button that opens a Web App by calling getWebAppUrl.
  TdApi.InlineQueryResultSticker
  Represents a sticker.
  TdApi.InlineQueryResultVenue
  Represents information about a venue.
  TdApi.InlineQueryResultVideo
  Represents a video.
  TdApi.InlineQueryResultVoiceNote
  Represents a voice note.
  TdApi.InputBackground
  This class is an abstract base class.
  TdApi.InputBackground.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputBackgroundLocal
  A background from a local file.
  TdApi.InputBackgroundPrevious
  A background previously set in the chat; for chat backgrounds only.
  TdApi.InputBackgroundRemote
  A background from the server.
  TdApi.InputBusinessChatLink
  Describes a business chat link to create or edit.
  TdApi.InputBusinessStartPage
  Describes settings for a business account start page to set.
  TdApi.InputChatPhoto
  This class is an abstract base class.
  TdApi.InputChatPhoto.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputChatPhotoAnimation
  An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 1280 and be at most 2MB in size.
  TdApi.InputChatPhotoPrevious
  A previously used profile photo of the current user.
  TdApi.InputChatPhotoStatic
  A static photo in JPEG format.
  TdApi.InputChatPhotoSticker
  A sticker on a custom background.
  TdApi.InputCredentials
  This class is an abstract base class.
  TdApi.InputCredentials.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputCredentialsApplePay
  Applies if a user enters new credentials using Apple Pay.
  TdApi.InputCredentialsGooglePay
  Applies if a user enters new credentials using Google Pay.
  TdApi.InputCredentialsNew
  Applies if a user enters new credentials on a payment provider website.
  TdApi.InputCredentialsSaved
  Applies if a user chooses some previously saved payment credentials.
  TdApi.InputFile
  This class is an abstract base class.
  TdApi.InputFile.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputFileGenerated
  A file generated by the application.
  TdApi.InputFileId
  A file defined by its unique identifier.
  TdApi.InputFileLocal
  A file defined by a local path.
  TdApi.InputFileRemote
  A file defined by its remote identifier.
  TdApi.InputIdentityDocument
  An identity document to be saved to Telegram Passport.
  TdApi.InputInlineQueryResult
  This class is an abstract base class.
  TdApi.InputInlineQueryResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputInlineQueryResultAnimation
  Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.
  TdApi.InputInlineQueryResultArticle
  Represents a link to an article or web page.
  TdApi.InputInlineQueryResultAudio
  Represents a link to an MP3 audio file.
  TdApi.InputInlineQueryResultContact
  Represents a user contact.
  TdApi.InputInlineQueryResultDocument
  Represents a link to a file.
  TdApi.InputInlineQueryResultGame
  Represents a game.
  TdApi.InputInlineQueryResultLocation
  Represents a point on the map.
  TdApi.InputInlineQueryResultPhoto
  Represents link to a JPEG image.
  TdApi.InputInlineQueryResultSticker
  Represents a link to a WEBP, TGS, or WEBM sticker.
  TdApi.InputInlineQueryResultVenue
  Represents information about a venue.
  TdApi.InputInlineQueryResultVideo
  Represents a link to a page containing an embedded video player or a video file.
  TdApi.InputInlineQueryResultVoiceNote
  Represents a link to an opus-encoded audio file within an OGG container, single channel audio.
  TdApi.InputInvoice
  This class is an abstract base class.
  TdApi.InputInvoice.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputInvoiceMessage
  An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia.
  TdApi.InputInvoiceName
  An invoice from a link of the type internalLinkTypeInvoice.
  TdApi.InputInvoiceTelegram
  An invoice for a payment toward Telegram; must not be used in the in-store apps.
  TdApi.InputMessageAnimation
  An animation message (GIF-style).
  TdApi.InputMessageAudio
  An audio message.
  TdApi.InputMessageContact
  A message containing a user contact.
  TdApi.InputMessageContent
  This class is an abstract base class.
  TdApi.InputMessageContent.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputMessageDice
  A dice message.
  TdApi.InputMessageDocument
  A document message (general file).
  TdApi.InputMessageForwarded
  A forwarded message.
  TdApi.InputMessageGame
  A message with a game; not supported for channels or secret chats.
  TdApi.InputMessageInvoice
  A message with an invoice; can be used only by bots.
  TdApi.InputMessageLocation
  A message with a location.
  TdApi.InputMessagePaidMedia
  A message with paid media; can be used only in channel chats with supergroupFullInfo.hasPaidMediaAllowed.
  TdApi.InputMessagePhoto
  A photo message.
  TdApi.InputMessagePoll
  A message with a poll.
  TdApi.InputMessageReplyTo
  This class is an abstract base class.
  TdApi.InputMessageReplyTo.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputMessageReplyToExternalMessage
  Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.
  TdApi.InputMessageReplyToMessage
  Describes a message to be replied in the same chat and forum topic.
  TdApi.InputMessageReplyToStory
  Describes a story to be replied.
  TdApi.InputMessageSticker
  A sticker message.
  TdApi.InputMessageStory
  A message with a forwarded story.
  TdApi.InputMessageText
  A text message.
  TdApi.InputMessageVenue
  A message with information about a venue.
  TdApi.InputMessageVideo
  A video message.
  TdApi.InputMessageVideoNote
  A video note message.
  TdApi.InputMessageVoiceNote
  A voice note message.
  TdApi.InputPaidMedia
  Describes a paid media to be sent.
  TdApi.InputPaidMediaType
  This class is an abstract base class.
  TdApi.InputPaidMediaType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputPaidMediaTypePhoto
  The media is a photo.
  TdApi.InputPaidMediaTypeVideo
  The media is a video.
  TdApi.InputPassportElement
  This class is an abstract base class.
  TdApi.InputPassportElement.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputPassportElementAddress
  A Telegram Passport element to be saved containing the user's address.
  TdApi.InputPassportElementBankStatement
  A Telegram Passport element to be saved containing the user's bank statement.
  TdApi.InputPassportElementDriverLicense
  A Telegram Passport element to be saved containing the user's driver license.
  TdApi.InputPassportElementEmailAddress
  A Telegram Passport element to be saved containing the user's email address.
  TdApi.InputPassportElementError
  Contains the description of an error in a Telegram Passport element; for bots only.
  TdApi.InputPassportElementErrorSource
  This class is an abstract base class.
  TdApi.InputPassportElementErrorSource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputPassportElementErrorSourceDataField
  A data field contains an error.
  TdApi.InputPassportElementErrorSourceFile
  The file contains an error.
  TdApi.InputPassportElementErrorSourceFiles
  The list of attached files contains an error.
  TdApi.InputPassportElementErrorSourceFrontSide
  The front side of the document contains an error.
  TdApi.InputPassportElementErrorSourceReverseSide
  The reverse side of the document contains an error.
  TdApi.InputPassportElementErrorSourceSelfie
  The selfie contains an error.
  TdApi.InputPassportElementErrorSourceTranslationFile
  One of the files containing the translation of the document contains an error.
  TdApi.InputPassportElementErrorSourceTranslationFiles
  The translation of the document contains an error.
  TdApi.InputPassportElementErrorSourceUnspecified
  The element contains an error in an unspecified place.
  TdApi.InputPassportElementIdentityCard
  A Telegram Passport element to be saved containing the user's identity card.
  TdApi.InputPassportElementInternalPassport
  A Telegram Passport element to be saved containing the user's internal passport.
  TdApi.InputPassportElementPassport
  A Telegram Passport element to be saved containing the user's passport.
  TdApi.InputPassportElementPassportRegistration
  A Telegram Passport element to be saved containing the user's passport registration.
  TdApi.InputPassportElementPersonalDetails
  A Telegram Passport element to be saved containing the user's personal details.
  TdApi.InputPassportElementPhoneNumber
  A Telegram Passport element to be saved containing the user's phone number.
  TdApi.InputPassportElementRentalAgreement
  A Telegram Passport element to be saved containing the user's rental agreement.
  TdApi.InputPassportElementTemporaryRegistration
  A Telegram Passport element to be saved containing the user's temporary registration.
  TdApi.InputPassportElementUtilityBill
  A Telegram Passport element to be saved containing the user's utility bill.
  TdApi.InputPersonalDocument
  A personal document to be saved to Telegram Passport.
  TdApi.InputSticker
  A sticker to be added to a sticker set.
  TdApi.InputStoryArea
  Describes a clickable rectangle area on a story media to be added.
  TdApi.InputStoryAreas
  Contains a list of story areas to be added.
  TdApi.InputStoryAreaType
  This class is an abstract base class.
  TdApi.InputStoryAreaType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputStoryAreaTypeFoundVenue
  An area pointing to a venue found by the bot getOption("venue_search_bot_username").
  TdApi.InputStoryAreaTypeLink
  An area pointing to a HTTP or tg:// link.
  TdApi.InputStoryAreaTypeLocation
  An area pointing to a location.
  TdApi.InputStoryAreaTypeMessage
  An area pointing to a message.
  TdApi.InputStoryAreaTypePreviousVenue
  An area pointing to a venue already added to the story.
  TdApi.InputStoryAreaTypeSuggestedReaction
  An area pointing to a suggested reaction.
  TdApi.InputStoryContent
  This class is an abstract base class.
  TdApi.InputStoryContent.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InputStoryContentPhoto
  A photo story.
  TdApi.InputStoryContentVideo
  A video story.
  TdApi.InputTextQuote
  Describes manually chosen quote from another message.
  TdApi.InputThumbnail
  A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size.
  TdApi.InternalLinkType
  This class is an abstract base class.
  TdApi.InternalLinkType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InternalLinkTypeActiveSessions
  The link is a link to the Devices section of the application.
  TdApi.InternalLinkTypeAttachmentMenuBot
  The link is a link to an attachment menu bot to be opened in the specified or a chosen chat.
  TdApi.InternalLinkTypeAuthenticationCode
  The link contains an authentication code.
  TdApi.InternalLinkTypeBackground
  The link is a link to a background.
  TdApi.InternalLinkTypeBotAddToChannel
  The link is a link to a Telegram bot, which is supposed to be added to a channel chat as an administrator.
  TdApi.InternalLinkTypeBotStart
  The link is a link to a chat with a Telegram bot.
  TdApi.InternalLinkTypeBotStartInGroup
  The link is a link to a Telegram bot, which is supposed to be added to a group chat.
  TdApi.InternalLinkTypeBusinessChat
  The link is a link to a business chat.
  TdApi.InternalLinkTypeChangePhoneNumber
  The link is a link to the change phone number section of the app.
  TdApi.InternalLinkTypeChatBoost
  The link is a link to boost a Telegram chat.
  TdApi.InternalLinkTypeChatFolderInvite
  The link is an invite link to a chat folder.
  TdApi.InternalLinkTypeChatFolderSettings
  The link is a link to the folder section of the app settings.
  TdApi.InternalLinkTypeChatInvite
  The link is a chat invite link.
  TdApi.InternalLinkTypeDefaultMessageAutoDeleteTimerSettings
  The link is a link to the default message auto-delete timer settings section of the app settings.
  TdApi.InternalLinkTypeEditProfileSettings
  The link is a link to the edit profile section of the app settings.
  TdApi.InternalLinkTypeGame
  The link is a link to a game.
  TdApi.InternalLinkTypeInstantView
  The link must be opened in an Instant View.
  TdApi.InternalLinkTypeInvoice
  The link is a link to an invoice.
  TdApi.InternalLinkTypeLanguagePack
  The link is a link to a language pack.
  TdApi.InternalLinkTypeLanguageSettings
  The link is a link to the language section of the app settings.
  TdApi.InternalLinkTypeMessage
  The link is a link to a Telegram message or a forum topic.
  TdApi.InternalLinkTypeMessageDraft
  The link contains a message draft text.
  TdApi.InternalLinkTypePassportDataRequest
  The link contains a request of Telegram passport data.
  TdApi.InternalLinkTypePhoneNumberConfirmation
  The link can be used to confirm ownership of a phone number to prevent account deletion.
  TdApi.InternalLinkTypePremiumFeatures
  The link is a link to the Premium features screen of the application from which the user can subscribe to Telegram Premium.
  TdApi.InternalLinkTypePremiumGift
  The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram payments or in-store purchases.
  TdApi.InternalLinkTypePremiumGiftCode
  The link is a link with a Telegram Premium gift code.
  TdApi.InternalLinkTypePrivacyAndSecuritySettings
  The link is a link to the privacy and security section of the app settings.
  TdApi.InternalLinkTypeProxy
  The link is a link to a proxy.
  TdApi.InternalLinkTypePublicChat
  The link is a link to a chat by its username.
  TdApi.InternalLinkTypeQrCodeAuthentication
  The link can be used to login the current user on another device, but it must be scanned from QR-code using in-app camera.
  TdApi.InternalLinkTypeRestorePurchases
  The link forces restore of App Store purchases when opened.
  TdApi.InternalLinkTypeSettings
  The link is a link to application settings.
  TdApi.InternalLinkTypeSideMenuBot
  The link is a link to a bot, which can be installed to the side menu.
  TdApi.InternalLinkTypeStickerSet
  The link is a link to a sticker set.
  TdApi.InternalLinkTypeStory
  The link is a link to a story.
  TdApi.InternalLinkTypeTheme
  The link is a link to a cloud theme.
  TdApi.InternalLinkTypeThemeSettings
  The link is a link to the theme section of the app settings.
  TdApi.InternalLinkTypeUnknownDeepLink
  The link is an unknown tg: link.
  TdApi.InternalLinkTypeUnsupportedProxy
  The link is a link to an unsupported proxy.
  TdApi.InternalLinkTypeUserPhoneNumber
  The link is a link to a user by its phone number.
  TdApi.InternalLinkTypeUserToken
  The link is a link to a user by a temporary token.
  TdApi.InternalLinkTypeVideoChat
  The link is a link to a video chat.
  TdApi.InternalLinkTypeWebApp
  The link is a link to a Web App.
  TdApi.InviteGroupCallParticipants
  Invites users to an active group call.
  TdApi.InviteLinkChatType
  This class is an abstract base class.
  TdApi.InviteLinkChatType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.InviteLinkChatTypeBasicGroup
  The link is an invite link for a basic group.
  TdApi.InviteLinkChatTypeChannel
  The link is an invite link for a channel.
  TdApi.InviteLinkChatTypeSupergroup
  The link is an invite link for a supergroup.
  TdApi.Invoice
  Product invoice.
  TdApi.JoinChat
  Adds the current user as a new member to a chat.
  TdApi.JoinChatByInviteLink
  Uses an invite link to add the current user to the chat if possible.
  TdApi.JoinGroupCall
  Joins an active group call.
  TdApi.JsonObjectMember
  Represents one member of a JSON object.
  TdApi.JsonValue
  This class is an abstract base class.
  TdApi.JsonValue.Constructors
  Describes possible values returned by getConstructor().
  TdApi.JsonValueArray
  Represents a JSON array.
  TdApi.JsonValueBoolean
  Represents a boolean JSON value.
  TdApi.JsonValueNull
  Represents a null JSON value.
  TdApi.JsonValueNumber
  Represents a numeric JSON value.
  TdApi.JsonValueObject
  Represents a JSON object.
  TdApi.JsonValueString
  Represents a string JSON value.
  TdApi.KeyboardButton
  Represents a single button in a bot keyboard.
  TdApi.KeyboardButtonType
  This class is an abstract base class.
  TdApi.KeyboardButtonType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.KeyboardButtonTypeRequestChat
  A button that requests a chat to be shared by the current user; available only in private chats.
  TdApi.KeyboardButtonTypeRequestLocation
  A button that sends the user's location when pressed; available only in private chats.
  TdApi.KeyboardButtonTypeRequestPhoneNumber
  A button that sends the user's phone number when pressed; available only in private chats.
  TdApi.KeyboardButtonTypeRequestPoll
  A button that allows the user to create and send a poll when pressed; available only in private chats.
  TdApi.KeyboardButtonTypeRequestUsers
  A button that requests users to be shared by the current user; available only in private chats.
  TdApi.KeyboardButtonTypeText
  A simple button, with text that must be sent when the button is pressed.
  TdApi.KeyboardButtonTypeWebApp
  A button that opens a Web App by calling getWebAppUrl.
  TdApi.LabeledPricePart
  Portion of the price of a product (e.g., "delivery cost", "tax amount").
  TdApi.LanguagePackInfo
  Contains information about a language pack.
  TdApi.LanguagePackString
  Represents one language pack string.
  TdApi.LanguagePackStrings
  Contains a list of language pack strings.
  TdApi.LanguagePackStringValue
  This class is an abstract base class.
  TdApi.LanguagePackStringValue.Constructors
  Describes possible values returned by getConstructor().
  TdApi.LanguagePackStringValueDeleted
  A deleted language pack string, the value must be taken from the built-in English language pack.
  TdApi.LanguagePackStringValueOrdinary
  An ordinary language pack string.
  TdApi.LanguagePackStringValuePluralized
  A language pack string which has different forms based on the number of some object it mentions.
  TdApi.LaunchPrepaidPremiumGiveaway
  Launches a prepaid Telegram Premium giveaway.
  TdApi.LeaveChat
  Removes the current user from chat members.
  TdApi.LeaveGroupCall
  Leaves a group call.
  TdApi.LinkPreview
  Describes a link preview.
  TdApi.LinkPreviewAlbumMedia
  This class is an abstract base class.
  TdApi.LinkPreviewAlbumMedia.Constructors
  Describes possible values returned by getConstructor().
  TdApi.LinkPreviewAlbumMediaPhoto
  The media is a photo.
  TdApi.LinkPreviewAlbumMediaVideo
  The media is a video.
  TdApi.LinkPreviewOptions
  Options to be used for generation of a link preview.
  TdApi.LinkPreviewType
  This class is an abstract base class.
  TdApi.LinkPreviewType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.LinkPreviewTypeAlbum
  The link is a link to a media album consisting of photos and videos.
  TdApi.LinkPreviewTypeAnimation
  The link is a link to an animation.
  TdApi.LinkPreviewTypeApp
  The link is a link to an app at App Store or Google Play.
  TdApi.LinkPreviewTypeArticle
  The link is a link to a web site.
  TdApi.LinkPreviewTypeAudio
  The link is a link to an audio.
  TdApi.LinkPreviewTypeBackground
  The link is a link to a background.
  TdApi.LinkPreviewTypeChannelBoost
  The link is a link to boost a channel chat.
  TdApi.LinkPreviewTypeChat
  The link is a link to a chat.
  TdApi.LinkPreviewTypeDocument
  The link is a link to a general file.
  TdApi.LinkPreviewTypeEmbeddedAudioPlayer
  The link is a link to an audio player.
  TdApi.LinkPreviewTypeEmbeddedVideoPlayer
  The link is a link to a video player.
  TdApi.LinkPreviewTypeInvoice
  The link is a link to an invoice.
  TdApi.LinkPreviewTypeMessage
  The link is a link to a text or a poll Telegram message.
  TdApi.LinkPreviewTypePhoto
  The link is a link to a photo.
  TdApi.LinkPreviewTypePremiumGiftCode
  The link is a link to a Telegram Premium gift code.
  TdApi.LinkPreviewTypeShareableChatFolder
  The link is a link to a shareable chat folder.
  TdApi.LinkPreviewTypeSticker
  The link is a link to a sticker message.
  TdApi.LinkPreviewTypeStickerSet
  The link is a link to a sticker set.
  TdApi.LinkPreviewTypeStory
  The link is a link to a story.
  TdApi.LinkPreviewTypeSupergroupBoost
  The link is a link to boost a supergroup chat.
  TdApi.LinkPreviewTypeTheme
  The link is a link to a cloud theme.
  TdApi.LinkPreviewTypeUnsupported
  The link preview type is unsupported yet.
  TdApi.LinkPreviewTypeUser
  The link is a link to a user.
  TdApi.LinkPreviewTypeVideo
  The link is a link to a video.
  TdApi.LinkPreviewTypeVideoChat
  The link is a link to a video chat.
  TdApi.LinkPreviewTypeVideoNote
  The link is a link to a video note message.
  TdApi.LinkPreviewTypeVoiceNote
  The link is a link to a voice note message.
  TdApi.LinkPreviewTypeWebApp
  The link is a link to a Web App.
  TdApi.LoadActiveStories
  Loads more active stories from a story list.
  TdApi.LoadChats
  Loads more chats from a chat list.
  TdApi.LoadGroupCallParticipants
  Loads more participants of a group call.
  TdApi.LoadQuickReplyShortcutMessages
  Loads quick reply messages that can be sent by a given quick reply shortcut.
  TdApi.LoadQuickReplyShortcuts
  Loads quick reply shortcuts created by the current user.
  TdApi.LoadSavedMessagesTopics
  Loads more Saved Messages topics.
  TdApi.LocalFile
  Represents a local file.
  TdApi.LocalizationTargetInfo
  Contains information about the current localization target.
  TdApi.Location
  Describes a location on planet Earth.
  TdApi.LocationAddress
  Describes an address of a location.
  TdApi.LoginUrlInfo
  This class is an abstract base class.
  TdApi.LoginUrlInfo.Constructors
  Describes possible values returned by getConstructor().
  TdApi.LoginUrlInfoOpen
  An HTTP URL needs to be open.
  TdApi.LoginUrlInfoRequestConfirmation
  An authorization confirmation dialog needs to be shown to the user.
  TdApi.LogOut
  Closes the TDLib instance after a proper logout.
  TdApi.LogStream
  This class is an abstract base class.
  TdApi.LogStream.Constructors
  Describes possible values returned by getConstructor().
  TdApi.LogStreamDefault
  The log is written to stderr or an OS specific log.
  TdApi.LogStreamEmpty
  The log is written nowhere.
  TdApi.LogStreamFile
  The log is written to a file.
  TdApi.LogTags
  Contains a list of available TDLib internal log tags.
  TdApi.LogVerbosityLevel
  Contains a TDLib internal log verbosity level.
  TdApi.MaskPoint
  This class is an abstract base class.
  TdApi.MaskPoint.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MaskPointChin
  The mask is placed relatively to the chin.
  TdApi.MaskPointEyes
  The mask is placed relatively to the eyes.
  TdApi.MaskPointForehead
  The mask is placed relatively to the forehead.
  TdApi.MaskPointMouth
  The mask is placed relatively to the mouth.
  TdApi.MaskPosition
  Position on a photo where a mask is placed.
  TdApi.Message
  Describes a message.
  TdApi.MessageAnimatedEmoji
  A message with an animated emoji.
  TdApi.MessageAnimation
  An animation message (GIF-style).
  TdApi.MessageAudio
  An audio message.
  TdApi.MessageAutoDeleteTime
  Contains default auto-delete timer setting for new chats.
  TdApi.MessageBasicGroupChatCreate
  A newly created basic group.
  TdApi.MessageBotWriteAccessAllowed
  The user allowed the bot to send messages.
  TdApi.MessageCalendar
  Contains information about found messages, split by days according to the option "utc_time_offset".
  TdApi.MessageCalendarDay
  Contains information about found messages sent on a specific day.
  TdApi.MessageCall
  A message with information about an ended call.
  TdApi.MessageChatAddMembers
  New chat members were added.
  TdApi.MessageChatBoost
  The chat was boosted by the sender of the message.
  TdApi.MessageChatChangePhoto
  An updated chat photo.
  TdApi.MessageChatChangeTitle
  An updated chat title.
  TdApi.MessageChatDeleteMember
  A chat member was deleted.
  TdApi.MessageChatDeletePhoto
  A deleted chat photo.
  TdApi.MessageChatJoinByLink
  A new member joined the chat via an invite link.
  TdApi.MessageChatJoinByRequest
  A new member was accepted to the chat by an administrator.
  TdApi.MessageChatSetBackground
  A new background was set in the chat.
  TdApi.MessageChatSetMessageAutoDeleteTime
  The auto-delete or self-destruct timer for messages in the chat has been changed.
  TdApi.MessageChatSetTheme
  A theme in the chat has been changed.
  TdApi.MessageChatShared
  The current user shared a chat, which was requested by the bot.
  TdApi.MessageChatUpgradeFrom
  A supergroup has been created from a basic group.
  TdApi.MessageChatUpgradeTo
  A basic group was upgraded to a supergroup and was deactivated as the result.
  TdApi.MessageContact
  A message with a user contact.
  TdApi.MessageContactRegistered
  A contact has registered with Telegram.
  TdApi.MessageContent
  This class is an abstract base class.
  TdApi.MessageContent.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageCopyOptions
  Options to be used when a message content is copied without reference to the original sender.
  TdApi.MessageCustomServiceAction
  A non-standard action has happened in the chat.
  TdApi.MessageDice
  A dice message.
  TdApi.MessageDocument
  A document message (general file).
  TdApi.MessageEffect
  Contains information about an effect added to a message.
  TdApi.MessageEffectType
  This class is an abstract base class.
  TdApi.MessageEffectType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageEffectTypeEmojiReaction
  An effect from an emoji reaction.
  TdApi.MessageEffectTypePremiumSticker
  An effect from a premium sticker.
  TdApi.MessageExpiredPhoto
  A self-destructed photo message.
  TdApi.MessageExpiredVideo
  A self-destructed video message.
  TdApi.MessageExpiredVideoNote
  A self-destructed video note message.
  TdApi.MessageExpiredVoiceNote
  A self-destructed voice note message.
  TdApi.MessageFileType
  This class is an abstract base class.
  TdApi.MessageFileType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageFileTypeGroup
  The messages were exported from a group chat.
  TdApi.MessageFileTypePrivate
  The messages were exported from a private chat.
  TdApi.MessageFileTypeUnknown
  The messages were exported from a chat of unknown type.
  TdApi.MessageForumTopicCreated
  A forum topic has been created.
  TdApi.MessageForumTopicEdited
  A forum topic has been edited.
  TdApi.MessageForumTopicIsClosedToggled
  A forum topic has been closed or opened.
  TdApi.MessageForumTopicIsHiddenToggled
  A General forum topic has been hidden or unhidden.
  TdApi.MessageForwardInfo
  Contains information about a forwarded message.
  TdApi.MessageGame
  A message with a game.
  TdApi.MessageGameScore
  A new high score was achieved in a game.
  TdApi.MessageGiftedPremium
  Telegram Premium was gifted to the user.
  TdApi.MessageImportInfo
  Contains information about a message created with importMessages.
  TdApi.MessageInteractionInfo
  Contains information about interactions with a message.
  TdApi.MessageInviteVideoChatParticipants
  A message with information about an invitation to a video chat.
  TdApi.MessageInvoice
  A message with an invoice from a bot.
  TdApi.MessageLink
  Contains an HTTPS link to a message in a supergroup or channel, or a forum topic.
  TdApi.MessageLinkInfo
  Contains information about a link to a message or a forum topic in a chat.
  TdApi.MessageLocation
  A message with a location.
  TdApi.MessageOrigin
  This class is an abstract base class.
  TdApi.MessageOrigin.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageOriginChannel
  The message was originally a post in a channel.
  TdApi.MessageOriginChat
  The message was originally sent on behalf of a chat.
  TdApi.MessageOriginHiddenUser
  The message was originally sent by a user, which is hidden by their privacy settings.
  TdApi.MessageOriginUser
  The message was originally sent by a known user.
  TdApi.MessagePaidMedia
  A message with paid media.
  TdApi.MessagePassportDataReceived
  Telegram Passport data has been received; for bots only.
  TdApi.MessagePassportDataSent
  Telegram Passport data has been sent to a bot.
  TdApi.MessagePaymentRefunded
  A payment has been refunded.
  TdApi.MessagePaymentSuccessful
  A payment has been completed.
  TdApi.MessagePaymentSuccessfulBot
  A payment has been completed; for bots only.
  TdApi.MessagePhoto
  A photo message.
  TdApi.MessagePinMessage
  A message has been pinned.
  TdApi.MessagePoll
  A message with a poll.
  TdApi.MessagePosition
  Contains information about a message in a specific position.
  TdApi.MessagePositions
  Contains a list of message positions.
  TdApi.MessagePremiumGiftCode
  A Telegram Premium gift code was created for the user.
  TdApi.MessagePremiumGiveaway
  A Telegram Premium giveaway.
  TdApi.MessagePremiumGiveawayCompleted
  A Telegram Premium giveaway without public winners has been completed for the chat.
  TdApi.MessagePremiumGiveawayCreated
  A Telegram Premium giveaway was created for the chat.
  TdApi.MessagePremiumGiveawayWinners
  A Telegram Premium giveaway with public winners has been completed for the chat.
  TdApi.MessageProximityAlertTriggered
  A user in the chat came within proximity alert range.
  TdApi.MessageReaction
  Contains information about a reaction to a message.
  TdApi.MessageReactions
  Contains a list of reactions added to a message.
  TdApi.MessageReadDate
  This class is an abstract base class.
  TdApi.MessageReadDate.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageReadDateMyPrivacyRestricted
  The read date is unknown due to privacy settings of the current user, but will be known if the user subscribes to Telegram Premium.
  TdApi.MessageReadDateRead
  Contains read date of the message.
  TdApi.MessageReadDateTooOld
  The message is too old to get read date.
  TdApi.MessageReadDateUnread
  The message is unread yet.
  TdApi.MessageReadDateUserPrivacyRestricted
  The read date is unknown due to privacy settings of the other user.
  TdApi.MessageReplyInfo
  Contains information about replies to a message.
  TdApi.MessageReplyTo
  This class is an abstract base class.
  TdApi.MessageReplyTo.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageReplyToMessage
  Describes a message replied by a given message.
  TdApi.MessageReplyToStory
  Describes a story replied by a given message.
  TdApi.Messages
  Contains a list of messages.
  TdApi.MessageSchedulingState
  This class is an abstract base class.
  TdApi.MessageSchedulingState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageSchedulingStateSendAtDate
  The message will be sent at the specified date.
  TdApi.MessageSchedulingStateSendWhenOnline
  The message will be sent when the other user is online.
  TdApi.MessageScreenshotTaken
  A screenshot of a message in the chat has been taken.
  TdApi.MessageSelfDestructType
  This class is an abstract base class.
  TdApi.MessageSelfDestructType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageSelfDestructTypeImmediately
  The message can be opened only once and will be self-destructed once closed.
  TdApi.MessageSelfDestructTypeTimer
  The message will be self-destructed in the specified time after its content was opened.
  TdApi.MessageSender
  This class is an abstract base class.
  TdApi.MessageSender.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageSenderChat
  The message was sent on behalf of a chat.
  TdApi.MessageSenders
  Represents a list of message senders.
  TdApi.MessageSenderUser
  The message was sent by a known user.
  TdApi.MessageSendingState
  This class is an abstract base class.
  TdApi.MessageSendingState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageSendingStateFailed
  The message failed to be sent.
  TdApi.MessageSendingStatePending
  The message is being sent now, but has not yet been delivered to the server.
  TdApi.MessageSendOptions
  Options to be used when a message is sent.
  TdApi.MessageSource
  This class is an abstract base class.
  TdApi.MessageSource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.MessageSourceChatEventLog
  The message is from a chat event log.
  TdApi.MessageSourceChatHistory
  The message is from a chat history.
  TdApi.MessageSourceChatList
  The message is from a chat list or a forum topic list.
  TdApi.MessageSourceForumTopicHistory
  The message is from a forum topic history.
  TdApi.MessageSourceHistoryPreview
  The message is from chat, message thread or forum topic history preview.
  TdApi.MessageSourceMessageThreadHistory
  The message is from a message thread history.
  TdApi.MessageSourceNotification
  The message is from a notification.
  TdApi.MessageSourceOther
  The message is from some other source.
  TdApi.MessageSourceScreenshot
  The message was screenshotted; the source must be used only if the message content was visible during the screenshot.
  TdApi.MessageSourceSearch
  The message is from search results, including file downloads, local file list, outgoing document messages, calendar.
  TdApi.MessageSponsor
  Information about the sponsor of a message.
  TdApi.MessageStatistics
  A detailed statistics about a message.
  TdApi.MessageSticker
  A sticker message.
  TdApi.MessageStory
  A message with a forwarded story.
  TdApi.MessageSuggestProfilePhoto
  A profile photo was suggested to a user in a private chat.
  TdApi.MessageSupergroupChatCreate
  A newly created supergroup or channel.
  TdApi.MessageText
  A text message.
  TdApi.MessageThreadInfo
  Contains information about a message thread.
  TdApi.MessageUnsupported
  A message content that is not supported in the current TDLib version.
  TdApi.MessageUsersShared
  The current user shared users, which were requested by the bot.
  TdApi.MessageVenue
  A message with information about a venue.
  TdApi.MessageVideo
  A video message.
  TdApi.MessageVideoChatEnded
  A message with information about an ended video chat.
  TdApi.MessageVideoChatScheduled
  A new video chat was scheduled.
  TdApi.MessageVideoChatStarted
  A newly created video chat.
  TdApi.MessageVideoNote
  A video note message.
  TdApi.MessageViewer
  Represents a viewer of a message.
  TdApi.MessageViewers
  Represents a list of message viewers.
  TdApi.MessageVoiceNote
  A voice note message.
  TdApi.MessageWebAppDataReceived
  Data from a Web App has been received; for bots only.
  TdApi.MessageWebAppDataSent
  Data from a Web App has been sent to a bot.
  TdApi.Minithumbnail
  Thumbnail image of a very poor quality and low resolution.
  TdApi.NetworkStatistics
  A full list of available network statistic entries.
  TdApi.NetworkStatisticsEntry
  This class is an abstract base class.
  TdApi.NetworkStatisticsEntry.Constructors
  Describes possible values returned by getConstructor().
  TdApi.NetworkStatisticsEntryCall
  Contains information about the total amount of data that was used for calls.
  TdApi.NetworkStatisticsEntryFile
  Contains information about the total amount of data that was used to send and receive files.
  TdApi.NetworkType
  This class is an abstract base class.
  TdApi.NetworkType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.NetworkTypeMobile
  A mobile network.
  TdApi.NetworkTypeMobileRoaming
  A mobile roaming network.
  TdApi.NetworkTypeNone
  The network is not available.
  TdApi.NetworkTypeOther
  A different network type (e.g., Ethernet network).
  TdApi.NetworkTypeWiFi
  A Wi-Fi network.
  TdApi.NewChatPrivacySettings
  Contains privacy settings for new chats with non-contacts.
  TdApi.Notification
  Contains information about a notification.
  TdApi.NotificationGroup
  Describes a group of notifications.
  TdApi.NotificationGroupType
  This class is an abstract base class.
  TdApi.NotificationGroupType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.NotificationGroupTypeCalls
  A group containing notifications of type notificationTypeNewCall.
  TdApi.NotificationGroupTypeMentions
  A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message.
  TdApi.NotificationGroupTypeMessages
  A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages.
  TdApi.NotificationGroupTypeSecretChat
  A group containing a notification of type notificationTypeNewSecretChat.
  TdApi.NotificationSettingsScope
  This class is an abstract base class.
  TdApi.NotificationSettingsScope.Constructors
  Describes possible values returned by getConstructor().
  TdApi.NotificationSettingsScopeChannelChats
  Notification settings applied to all channel chats when the corresponding chat setting has a default value.
  TdApi.NotificationSettingsScopeGroupChats
  Notification settings applied to all basic group and supergroup chats when the corresponding chat setting has a default value.
  TdApi.NotificationSettingsScopePrivateChats
  Notification settings applied to all private and secret chats when the corresponding chat setting has a default value.
  TdApi.NotificationSound
  Describes a notification sound in MP3 format.
  TdApi.NotificationSounds
  Contains a list of notification sounds.
  TdApi.NotificationType
  This class is an abstract base class.
  TdApi.NotificationType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.NotificationTypeNewCall
  New call was received.
  TdApi.NotificationTypeNewMessage
  New message was received.
  TdApi.NotificationTypeNewPushMessage
  New message was received through a push notification.
  TdApi.NotificationTypeNewSecretChat
  New secret chat was created.
  TdApi.Object
  This class is a base class for all TDLib interface classes.
  TdApi.Ok
  An object of this type is returned on a successful function call for certain functions.
  TdApi.OpenChat
  Informs TDLib that the chat is opened by the user.
  TdApi.OpenChatSimilarChat
  Informs TDLib that a chat was opened from the list of similar chats.
  TdApi.OpenMessageContent
  Informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).
  TdApi.OpenStory
  Informs TDLib that a story is opened and is being viewed by the user.
  TdApi.OpenWebApp
  Informs TDLib that a Web App is being opened from the attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button.
  TdApi.OptimizeStorage
  Optimizes storage usage, i.e.
  TdApi.OptionValue
  This class is an abstract base class.
  TdApi.OptionValue.Constructors
  Describes possible values returned by getConstructor().
  TdApi.OptionValueBoolean
  Represents a boolean option.
  TdApi.OptionValueEmpty
  Represents an unknown option or an option which has a default value.
  TdApi.OptionValueInteger
  Represents an integer option.
  TdApi.OptionValueString
  Represents a string option.
  TdApi.OrderInfo
  Order information.
  TdApi.PageBlock
  This class is an abstract base class.
  TdApi.PageBlock.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PageBlockAnchor
  An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor.
  TdApi.PageBlockAnimation
  An animation.
  TdApi.PageBlockAudio
  An audio file.
  TdApi.PageBlockAuthorDate
  The author and publishing date of a page.
  TdApi.PageBlockBlockQuote
  A block quote.
  TdApi.PageBlockCaption
  Contains a caption of another block.
  TdApi.PageBlockChatLink
  A link to a chat.
  TdApi.PageBlockCollage
  A collage.
  TdApi.PageBlockCover
  A page cover.
  TdApi.PageBlockDetails
  A collapsible block.
  TdApi.PageBlockDivider
  An empty block separating a page.
  TdApi.PageBlockEmbedded
  An embedded web page.
  TdApi.PageBlockEmbeddedPost
  An embedded post.
  TdApi.PageBlockFooter
  The footer of a page.
  TdApi.PageBlockHeader
  A header.
  TdApi.PageBlockHorizontalAlignment
  This class is an abstract base class.
  TdApi.PageBlockHorizontalAlignment.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PageBlockHorizontalAlignmentCenter
  The content must be center-aligned.
  TdApi.PageBlockHorizontalAlignmentLeft
  The content must be left-aligned.
  TdApi.PageBlockHorizontalAlignmentRight
  The content must be right-aligned.
  TdApi.PageBlockKicker
  A kicker.
  TdApi.PageBlockList
  A list of data blocks.
  TdApi.PageBlockListItem
  Describes an item of a list page block.
  TdApi.PageBlockMap
  A map.
  TdApi.PageBlockParagraph
  A text paragraph.
  TdApi.PageBlockPhoto
  A photo.
  TdApi.PageBlockPreformatted
  A preformatted text paragraph.
  TdApi.PageBlockPullQuote
  A pull quote.
  TdApi.PageBlockRelatedArticle
  Contains information about a related article.
  TdApi.PageBlockRelatedArticles
  Related articles.
  TdApi.PageBlockSlideshow
  A slideshow.
  TdApi.PageBlockSubheader
  A subheader.
  TdApi.PageBlockSubtitle
  The subtitle of a page.
  TdApi.PageBlockTable
  A table.
  TdApi.PageBlockTableCell
  Represents a cell of a table.
  TdApi.PageBlockTitle
  The title of a page.
  TdApi.PageBlockVerticalAlignment
  This class is an abstract base class.
  TdApi.PageBlockVerticalAlignment.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PageBlockVerticalAlignmentBottom
  The content must be bottom-aligned.
  TdApi.PageBlockVerticalAlignmentMiddle
  The content must be middle-aligned.
  TdApi.PageBlockVerticalAlignmentTop
  The content must be top-aligned.
  TdApi.PageBlockVideo
  A video.
  TdApi.PageBlockVoiceNote
  A voice note.
  TdApi.PaidMedia
  This class is an abstract base class.
  TdApi.PaidMedia.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PaidMediaPhoto
  The media is a photo.
  TdApi.PaidMediaPreview
  The media is hidden until the invoice is paid.
  TdApi.PaidMediaUnsupported
  The media is unsupported.
  TdApi.PaidMediaVideo
  The media is a video.
  TdApi.ParseMarkdown
  Parses Markdown entities in a human-friendly format, ignoring markup errors.
  TdApi.ParseTextEntities
  Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.
  TdApi.PassportAuthorizationForm
  Contains information about a Telegram Passport authorization form that was requested.
  TdApi.PassportElement
  This class is an abstract base class.
  TdApi.PassportElement.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PassportElementAddress
  A Telegram Passport element containing the user's address.
  TdApi.PassportElementBankStatement
  A Telegram Passport element containing the user's bank statement.
  TdApi.PassportElementDriverLicense
  A Telegram Passport element containing the user's driver license.
  TdApi.PassportElementEmailAddress
  A Telegram Passport element containing the user's email address.
  TdApi.PassportElementError
  Contains the description of an error in a Telegram Passport element.
  TdApi.PassportElementErrorSource
  This class is an abstract base class.
  TdApi.PassportElementErrorSource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PassportElementErrorSourceDataField
  One of the data fields contains an error.
  TdApi.PassportElementErrorSourceFile
  The file contains an error.
  TdApi.PassportElementErrorSourceFiles
  The list of attached files contains an error.
  TdApi.PassportElementErrorSourceFrontSide
  The front side of the document contains an error.
  TdApi.PassportElementErrorSourceReverseSide
  The reverse side of the document contains an error.
  TdApi.PassportElementErrorSourceSelfie
  The selfie with the document contains an error.
  TdApi.PassportElementErrorSourceTranslationFile
  One of files with the translation of the document contains an error.
  TdApi.PassportElementErrorSourceTranslationFiles
  The translation of the document contains an error.
  TdApi.PassportElementErrorSourceUnspecified
  The element contains an error in an unspecified place.
  TdApi.PassportElementIdentityCard
  A Telegram Passport element containing the user's identity card.
  TdApi.PassportElementInternalPassport
  A Telegram Passport element containing the user's internal passport.
  TdApi.PassportElementPassport
  A Telegram Passport element containing the user's passport.
  TdApi.PassportElementPassportRegistration
  A Telegram Passport element containing the user's passport registration pages.
  TdApi.PassportElementPersonalDetails
  A Telegram Passport element containing the user's personal details.
  TdApi.PassportElementPhoneNumber
  A Telegram Passport element containing the user's phone number.
  TdApi.PassportElementRentalAgreement
  A Telegram Passport element containing the user's rental agreement.
  TdApi.PassportElements
  Contains information about saved Telegram Passport elements.
  TdApi.PassportElementsWithErrors
  Contains information about a Telegram Passport elements and corresponding errors.
  TdApi.PassportElementTemporaryRegistration
  A Telegram Passport element containing the user's temporary registration.
  TdApi.PassportElementType
  This class is an abstract base class.
  TdApi.PassportElementType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PassportElementTypeAddress
  A Telegram Passport element containing the user's address.
  TdApi.PassportElementTypeBankStatement
  A Telegram Passport element containing the user's bank statement.
  TdApi.PassportElementTypeDriverLicense
  A Telegram Passport element containing the user's driver license.
  TdApi.PassportElementTypeEmailAddress
  A Telegram Passport element containing the user's email address.
  TdApi.PassportElementTypeIdentityCard
  A Telegram Passport element containing the user's identity card.
  TdApi.PassportElementTypeInternalPassport
  A Telegram Passport element containing the user's internal passport.
  TdApi.PassportElementTypePassport
  A Telegram Passport element containing the user's passport.
  TdApi.PassportElementTypePassportRegistration
  A Telegram Passport element containing the registration page of the user's passport.
  TdApi.PassportElementTypePersonalDetails
  A Telegram Passport element containing the user's personal details.
  TdApi.PassportElementTypePhoneNumber
  A Telegram Passport element containing the user's phone number.
  TdApi.PassportElementTypeRentalAgreement
  A Telegram Passport element containing the user's rental agreement.
  TdApi.PassportElementTypeTemporaryRegistration
  A Telegram Passport element containing the user's temporary registration.
  TdApi.PassportElementTypeUtilityBill
  A Telegram Passport element containing the user's utility bill.
  TdApi.PassportElementUtilityBill
  A Telegram Passport element containing the user's utility bill.
  TdApi.PassportRequiredElement
  Contains a description of the required Telegram Passport element that was requested by a service.
  TdApi.PassportSuitableElement
  Contains information about a Telegram Passport element that was requested by a service.
  TdApi.PasswordState
  Represents the current state of 2-step verification.
  TdApi.PaymentForm
  Contains information about an invoice payment form.
  TdApi.PaymentFormType
  This class is an abstract base class.
  TdApi.PaymentFormType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PaymentFormTypeRegular
  The payment form is for a regular payment.
  TdApi.PaymentFormTypeStars
  The payment form is for a payment in Telegram stars.
  TdApi.PaymentOption
  Describes an additional payment option.
  TdApi.PaymentProvider
  This class is an abstract base class.
  TdApi.PaymentProvider.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PaymentProviderOther
  Some other payment provider, for which a web payment form must be shown.
  TdApi.PaymentProviderSmartGlocal
  Smart Glocal payment provider.
  TdApi.PaymentProviderStripe
  Stripe payment provider.
  TdApi.PaymentReceipt
  Contains information about a successful payment.
  TdApi.PaymentReceiptType
  This class is an abstract base class.
  TdApi.PaymentReceiptType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PaymentReceiptTypeRegular
  The payment was done using a third-party payment provider.
  TdApi.PaymentReceiptTypeStars
  The payment was done using Telegram stars.
  TdApi.PaymentResult
  Contains the result of a payment request.
  TdApi.PersonalDetails
  Contains the user's personal details.
  TdApi.PersonalDocument
  A personal document, containing some information about a user.
  TdApi.PhoneNumberAuthenticationSettings
  Contains settings for the authentication of the user's phone number.
  TdApi.PhoneNumberCodeType
  This class is an abstract base class.
  TdApi.PhoneNumberCodeType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PhoneNumberCodeTypeChange
  Checks ownership of a new phone number to change the user's authentication phone number; for official Android and iOS applications only.
  TdApi.PhoneNumberCodeTypeConfirmOwnership
  Confirms ownership of a phone number to prevent account deletion while handling links of the type internalLinkTypePhoneNumberConfirmation.
  TdApi.PhoneNumberCodeTypeVerify
  Verifies ownership of a phone number to be added to the user's Telegram Passport.
  TdApi.PhoneNumberInfo
  Contains information about a phone number.
  TdApi.Photo
  Describes a photo.
  TdApi.PhotoSize
  Describes an image in JPEG format.
  TdApi.PinChatMessage
  Pins a message in a chat; requires canPinMessages member right if the chat is a basic group or supergroup, or canEditMessages administrator right if the chat is a channel.
  TdApi.PingProxy
  Computes time needed to receive a response from a Telegram server through a proxy.
  TdApi.Point
  A point on a Cartesian plane.
  TdApi.Poll
  Describes a poll.
  TdApi.PollOption
  Describes one answer option of a poll.
  TdApi.PollType
  This class is an abstract base class.
  TdApi.PollType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PollTypeQuiz
  A poll in quiz mode, which has exactly one correct answer option and can be answered only once.
  TdApi.PollTypeRegular
  A regular poll.
  TdApi.PreliminaryUploadFile
  Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes.
  TdApi.PremiumFeature
  This class is an abstract base class.
  TdApi.PremiumFeature.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PremiumFeatureAccentColor
  The ability to choose accent color for replies and user profile.
  TdApi.PremiumFeatureAdvancedChatManagement
  Ability to change position of the main chat list, archive and mute all new chats from non-contacts, and completely disable notifications about the user's contacts joined Telegram.
  TdApi.PremiumFeatureAnimatedProfilePhoto
  Profile photo animation on message and chat screens.
  TdApi.PremiumFeatureAppIcons
  Allowed to set a premium application icons.
  TdApi.PremiumFeatureBackgroundForBoth
  The ability to set private chat background for both users.
  TdApi.PremiumFeatureBusiness
  The ability to use Business features.
  TdApi.PremiumFeatureChatBoost
  The ability to boost chats.
  TdApi.PremiumFeatureCustomEmoji
  Allowed to use custom emoji stickers in message texts and captions.
  TdApi.PremiumFeatureDisabledAds
  Disabled ads.
  TdApi.PremiumFeatureEmojiStatus
  The ability to show an emoji status along with the user's name.
  TdApi.PremiumFeatureForumTopicIcon
  The ability to set a custom emoji as a forum topic icon.
  TdApi.PremiumFeatureImprovedDownloadSpeed
  Improved download speed.
  TdApi.PremiumFeatureIncreasedLimits
  Increased limits.
  TdApi.PremiumFeatureIncreasedUploadFileSize
  Increased maximum upload file size.
  TdApi.PremiumFeatureLastSeenTimes
  The ability to view last seen and read times of other users even they can't view last seen or read time for the current user.
  TdApi.PremiumFeatureMessageEffects
  The ability to use all available message effects.
  TdApi.PremiumFeatureMessagePrivacy
  The ability to disallow incoming voice and video note messages in private chats using setUserPrivacySettingRules with userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages and to restrict incoming messages from non-contacts using setNewChatPrivacySettings.
  TdApi.PremiumFeatureProfileBadge
  A badge in the user's profile.
  TdApi.PremiumFeaturePromotionAnimation
  Describes a promotion animation for a Premium feature.
  TdApi.PremiumFeatureRealTimeChatTranslation
  Allowed to translate chat messages real-time.
  TdApi.PremiumFeatures
  Contains information about features, available to Premium users.
  TdApi.PremiumFeatureSavedMessagesTags
  The ability to use tags in Saved Messages.
  TdApi.PremiumFeatureUniqueReactions
  Allowed to use more reactions.
  TdApi.PremiumFeatureUniqueStickers
  Allowed to use premium stickers with unique effects.
  TdApi.PremiumFeatureUpgradedStories
  Allowed to use many additional features for stories.
  TdApi.PremiumFeatureVoiceRecognition
  The ability to convert voice notes to text.
  TdApi.PremiumGiftCodeInfo
  Contains information about a Telegram Premium gift code.
  TdApi.PremiumGiftCodePaymentOption
  Describes an option for creating Telegram Premium gift codes.
  TdApi.PremiumGiftCodePaymentOptions
  Contains a list of options for creating Telegram Premium gift codes.
  TdApi.PremiumGiveawayInfo
  This class is an abstract base class.
  TdApi.PremiumGiveawayInfo.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PremiumGiveawayInfoCompleted
  Describes a completed giveaway.
  TdApi.PremiumGiveawayInfoOngoing
  Describes an ongoing giveaway.
  TdApi.PremiumGiveawayParameters
  Describes parameters of a Telegram Premium giveaway.
  TdApi.PremiumGiveawayParticipantStatus
  This class is an abstract base class.
  TdApi.PremiumGiveawayParticipantStatus.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PremiumGiveawayParticipantStatusAdministrator
  The user can't participate in the giveaway, because they are an administrator in one of the chats that created the giveaway.
  TdApi.PremiumGiveawayParticipantStatusAlreadyWasMember
  The user can't participate in the giveaway, because they have already been member of the chat.
  TdApi.PremiumGiveawayParticipantStatusDisallowedCountry
  The user can't participate in the giveaway, because they phone number is from a disallowed country.
  TdApi.PremiumGiveawayParticipantStatusEligible
  The user is eligible for the giveaway.
  TdApi.PremiumGiveawayParticipantStatusParticipating
  The user participates in the giveaway.
  TdApi.PremiumLimit
  Contains information about a limit, increased for Premium users.
  TdApi.PremiumLimitType
  This class is an abstract base class.
  TdApi.PremiumLimitType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PremiumLimitTypeActiveStoryCount
  The maximum number of active stories.
  TdApi.PremiumLimitTypeBioLength
  The maximum length of the user's bio.
  TdApi.PremiumLimitTypeCaptionLength
  The maximum length of sent media caption.
  TdApi.PremiumLimitTypeChatFolderChosenChatCount
  The maximum number of pinned and always included, or always excluded chats in a chat folder.
  TdApi.PremiumLimitTypeChatFolderCount
  The maximum number of chat folders.
  TdApi.PremiumLimitTypeChatFolderInviteLinkCount
  The maximum number of invite links for a chat folder.
  TdApi.PremiumLimitTypeCreatedPublicChatCount
  The maximum number of created public chats.
  TdApi.PremiumLimitTypeFavoriteStickerCount
  The maximum number of favorite stickers.
  TdApi.PremiumLimitTypeMonthlySentStoryCount
  The maximum number of stories sent per month.
  TdApi.PremiumLimitTypePinnedArchivedChatCount
  The maximum number of pinned chats in the archive chat list.
  TdApi.PremiumLimitTypePinnedChatCount
  The maximum number of pinned chats in the main chat list.
  TdApi.PremiumLimitTypePinnedSavedMessagesTopicCount
  The maximum number of pinned Saved Messages topics.
  TdApi.PremiumLimitTypeSavedAnimationCount
  The maximum number of saved animations.
  TdApi.PremiumLimitTypeShareableChatFolderCount
  The maximum number of added shareable chat folders.
  TdApi.PremiumLimitTypeSimilarChatCount
  The maximum number of received similar chats.
  TdApi.PremiumLimitTypeStoryCaptionLength
  The maximum length of captions of sent stories.
  TdApi.PremiumLimitTypeStorySuggestedReactionAreaCount
  The maximum number of suggested reaction areas on a story.
  TdApi.PremiumLimitTypeSupergroupCount
  The maximum number of joined supergroups and channels.
  TdApi.PremiumLimitTypeWeeklySentStoryCount
  The maximum number of stories sent per week.
  TdApi.PremiumPaymentOption
  Describes an option for buying Telegram Premium to a user.
  TdApi.PremiumSource
  This class is an abstract base class.
  TdApi.PremiumSource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PremiumSourceBusinessFeature
  A user tried to use a Business feature.
  TdApi.PremiumSourceFeature
  A user tried to use a Premium feature.
  TdApi.PremiumSourceLimitExceeded
  A limit was exceeded.
  TdApi.PremiumSourceLink
  A user opened an internal link of the type internalLinkTypePremiumFeatures.
  TdApi.PremiumSourceSettings
  A user opened the Premium features screen from settings.
  TdApi.PremiumSourceStoryFeature
  A user tried to use a Premium story feature.
  TdApi.PremiumState
  Contains state of Telegram Premium subscription and promotion videos for Premium features.
  TdApi.PremiumStatePaymentOption
  Describes an option for buying or upgrading Telegram Premium for self.
  TdApi.PremiumStoryFeature
  This class is an abstract base class.
  TdApi.PremiumStoryFeature.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PremiumStoryFeatureCustomExpirationDuration
  The ability to set custom expiration duration for stories.
  TdApi.PremiumStoryFeatureLinksAndFormatting
  The ability to use links and formatting in story caption, and use inputStoryAreaTypeLink areas.
  TdApi.PremiumStoryFeaturePermanentViewsHistory
  The ability to check who opened the current user's stories after they expire.
  TdApi.PremiumStoryFeaturePriorityOrder
  Stories of the current user are displayed before stories of non-Premium contacts, supergroups, and channels.
  TdApi.PremiumStoryFeatureSaveStories
  The ability to save other's unprotected stories.
  TdApi.PremiumStoryFeatureStealthMode
  The ability to hide the fact that the user viewed other's stories.
  TdApi.PremiumStoryFeatureVideoQuality
  The ability to choose better quality for viewed stories.
  TdApi.PrepaidPremiumGiveaway
  Describes a prepaid Telegram Premium giveaway.
  TdApi.ProcessChatFolderNewChats
  Process new chats added to a shareable chat folder by its owner.
  TdApi.ProcessChatJoinRequest
  Handles a pending join request in a chat.
  TdApi.ProcessChatJoinRequests
  Handles all pending join requests for a given link in a chat.
  TdApi.ProcessPushNotification
  Handles a push notification.
  TdApi.ProductInfo
  Contains information about a product that can be paid with invoice.
  TdApi.ProfileAccentColor
  Contains information about supported accent color for user profile photo background.
  TdApi.ProfileAccentColors
  Contains information about supported accent colors for user profile photo background in RGB format.
  TdApi.ProfilePhoto
  Describes a user profile photo.
  TdApi.Proxies
  Represents a list of proxy servers.
  TdApi.Proxy
  Contains information about a proxy server.
  TdApi.ProxyType
  This class is an abstract base class.
  TdApi.ProxyType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ProxyTypeHttp
  A HTTP transparent proxy server.
  TdApi.ProxyTypeMtproto
  An MTProto proxy server.
  TdApi.ProxyTypeSocks5
  A SOCKS5 proxy server.
  TdApi.PublicChatType
  This class is an abstract base class.
  TdApi.PublicChatType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PublicChatTypeHasUsername
  The chat is public, because it has an active username.
  TdApi.PublicChatTypeIsLocationBased
  The chat is public, because it is a location-based supergroup.
  TdApi.PublicForward
  This class is an abstract base class.
  TdApi.PublicForward.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PublicForwardMessage
  Contains a public forward as a message.
  TdApi.PublicForwards
  Represents a list of public forwards and reposts as a story of a message or a story.
  TdApi.PublicForwardStory
  Contains a public repost to a story.
  TdApi.PushMessageContent
  This class is an abstract base class.
  TdApi.PushMessageContent.Constructors
  Describes possible values returned by getConstructor().
  TdApi.PushMessageContentAnimation
  An animation message (GIF-style).
  TdApi.PushMessageContentAudio
  An audio message.
  TdApi.PushMessageContentBasicGroupChatCreate
  A newly created basic group.
  TdApi.PushMessageContentChatAddMembers
  New chat members were invited to a group.
  TdApi.PushMessageContentChatChangePhoto
  A chat photo was edited.
  TdApi.PushMessageContentChatChangeTitle
  A chat title was edited.
  TdApi.PushMessageContentChatDeleteMember
  A chat member was deleted.
  TdApi.PushMessageContentChatJoinByLink
  A new member joined the chat via an invite link.
  TdApi.PushMessageContentChatJoinByRequest
  A new member was accepted to the chat by an administrator.
  TdApi.PushMessageContentChatSetBackground
  A chat background was edited.
  TdApi.PushMessageContentChatSetTheme
  A chat theme was edited.
  TdApi.PushMessageContentContact
  A message with a user contact.
  TdApi.PushMessageContentContactRegistered
  A contact has registered with Telegram.
  TdApi.PushMessageContentDocument
  A document message (a general file).
  TdApi.PushMessageContentGame
  A message with a game.
  TdApi.PushMessageContentGameScore
  A new high score was achieved in a game.
  TdApi.PushMessageContentHidden
  A general message with hidden content.
  TdApi.PushMessageContentInvoice
  A message with an invoice from a bot.
  TdApi.PushMessageContentLocation
  A message with a location.
  TdApi.PushMessageContentMediaAlbum
  A media album.
  TdApi.PushMessageContentMessageForwards
  A forwarded messages.
  TdApi.PushMessageContentPaidMedia
  A message with paid media.
  TdApi.PushMessageContentPhoto
  A photo message.
  TdApi.PushMessageContentPoll
  A message with a poll.
  TdApi.PushMessageContentPremiumGiftCode
  A message with a Telegram Premium gift code created for the user.
  TdApi.PushMessageContentPremiumGiveaway
  A message with a Telegram Premium giveaway.
  TdApi.PushMessageContentRecurringPayment
  A new recurring payment was made by the current user.
  TdApi.PushMessageContentScreenshotTaken
  A screenshot of a message in the chat has been taken.
  TdApi.PushMessageContentSticker
  A message with a sticker.
  TdApi.PushMessageContentStory
  A message with a story.
  TdApi.PushMessageContentSuggestProfilePhoto
  A profile photo was suggested to the user.
  TdApi.PushMessageContentText
  A text message.
  TdApi.PushMessageContentVideo
  A video message.
  TdApi.PushMessageContentVideoNote
  A video note message.
  TdApi.PushMessageContentVoiceNote
  A voice note message.
  TdApi.PushReceiverId
  Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.
  TdApi.QuickReplyMessage
  Describes a message that can be used for quick reply.
  TdApi.QuickReplyMessages
  Contains a list of quick reply messages.
  TdApi.QuickReplyShortcut
  Describes a shortcut that can be used for a quick reply.
  TdApi.RateSpeechRecognition
  Rates recognized speech in a video note or a voice note message.
  TdApi.ReactionNotificationSettings
  Contains information about notification settings for reactions.
  TdApi.ReactionNotificationSource
  This class is an abstract base class.
  TdApi.ReactionNotificationSource.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ReactionNotificationSourceAll
  Notifications for reactions are shown for all reactions.
  TdApi.ReactionNotificationSourceContacts
  Notifications for reactions are shown only for reactions from contacts.
  TdApi.ReactionNotificationSourceNone
  Notifications for reactions are disabled.
  TdApi.ReactionType
  This class is an abstract base class.
  TdApi.ReactionType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ReactionTypeCustomEmoji
  A reaction with a custom emoji.
  TdApi.ReactionTypeEmoji
  A reaction with an emoji.
  TdApi.ReactionUnavailabilityReason
  This class is an abstract base class.
  TdApi.ReactionUnavailabilityReason.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ReactionUnavailabilityReasonAnonymousAdministrator
  The user is an anonymous administrator in the supergroup, but isn't a creator of it, so they can't vote on behalf of the supergroup.
  TdApi.ReactionUnavailabilityReasonGuest
  The user isn't a member of the supergroup and can't send messages and reactions there without joining.
  TdApi.ReadAllChatMentions
  Marks all mentions in a chat as read.
  TdApi.ReadAllChatReactions
  Marks all reactions in a chat or a forum topic as read.
  TdApi.ReadAllMessageThreadMentions
  Marks all mentions in a forum topic as read.
  TdApi.ReadAllMessageThreadReactions
  Marks all reactions in a forum topic as read.
  TdApi.ReadChatList
  Traverse all chats in a chat list and marks all messages in the chats as read.
  TdApi.ReadDatePrivacySettings
  Contains privacy settings for message read date in private chats.
  TdApi.ReaddQuickReplyShortcutMessages
  Readds quick reply messages which failed to add.
  TdApi.ReadFilePart
  Reads a part of a file from the TDLib file cache and returns read bytes.
  TdApi.RecognizeSpeech
  Recognizes speech in a video note or a voice note message.
  TdApi.RecommendedChatFolder
  Describes a recommended chat folder.
  TdApi.RecommendedChatFolders
  Contains a list of recommended chat folders.
  TdApi.RecoverAuthenticationPassword
  Recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up.
  TdApi.RecoverPassword
  Recovers the 2-step verification password using a recovery code sent to an email address that was previously set up.
  TdApi.RecoveryEmailAddress
  Contains information about the current recovery email address.
  TdApi.RefundStarPayment
  Refunds a previously done payment in Telegram Stars.
  TdApi.RegisterDevice
  Registers the currently used device for receiving push notifications.
  TdApi.RegisterUser
  Finishes user registration.
  TdApi.RemoteFile
  Represents a remote file.
  TdApi.RemoveAllFilesFromDownloads
  Removes all files from the file download list.
  TdApi.RemoveBusinessConnectedBotFromChat
  Removes the connected business bot from a specific chat by adding the chat to businessRecipients.excludedChatIds.
  TdApi.RemoveChatActionBar
  Removes a chat action bar without any other action.
  TdApi.RemoveContacts
  Removes users from the contact list.
  TdApi.RemoveFavoriteSticker
  Removes a sticker from the list of favorite stickers.
  TdApi.RemoveFileFromDownloads
  Removes a file from the file download list.
  TdApi.RemoveInstalledBackground
  Removes background from the list of installed backgrounds.
  TdApi.RemoveMessageReaction
  Removes a reaction from a message.
  TdApi.RemoveNotification
  Removes an active notification from notification list.
  TdApi.RemoveNotificationGroup
  Removes a group of active notifications.
  TdApi.RemoveProxy
  Removes a proxy server.
  TdApi.RemoveRecentHashtag
  Removes a hashtag from the list of recently used hashtags.
  TdApi.RemoveRecentlyFoundChat
  Removes a chat from the list of recently found chats.
  TdApi.RemoveRecentSticker
  Removes a sticker from the list of recently used stickers.
  TdApi.RemoveSavedAnimation
  Removes an animation from the list of saved animations.
  TdApi.RemoveSavedNotificationSound
  Removes a notification sound from the list of saved notification sounds.
  TdApi.RemoveSearchedForTag
  Removes a hashtag or a cashtag from the list of recently searched for hashtags or cashtags.
  TdApi.RemoveStickerFromSet
  Removes a sticker from the set to which it belongs.
  TdApi.RemoveTopChat
  Removes a chat from the list of frequently used chats.
  TdApi.ReorderActiveUsernames
  Changes order of active usernames of the current user.
  TdApi.ReorderBotActiveUsernames
  Changes order of active usernames of a bot.
  TdApi.ReorderChatFolders
  Changes the order of chat folders.
  TdApi.ReorderInstalledStickerSets
  Changes the order of installed sticker sets.
  TdApi.ReorderQuickReplyShortcuts
  Changes the order of quick reply shortcuts.
  TdApi.ReorderSupergroupActiveUsernames
  Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.
  TdApi.ReplacePrimaryChatInviteLink
  Replaces current primary invite link for a chat with a new primary invite link.
  TdApi.ReplaceStickerInSet
  Replaces existing sticker in a set.
  TdApi.ReplaceVideoChatRtmpUrl
  Replaces the current RTMP URL for streaming to the chat; requires owner privileges.
  TdApi.ReplyMarkup
  This class is an abstract base class.
  TdApi.ReplyMarkup.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ReplyMarkupForceReply
  Instructs application to force a reply to this message.
  TdApi.ReplyMarkupInlineKeyboard
  Contains an inline keyboard layout.
  TdApi.ReplyMarkupRemoveKeyboard
  Instructs application to remove the keyboard once this message has been received.
  TdApi.ReplyMarkupShowKeyboard
  Contains a custom keyboard layout to quickly reply to bots.
  TdApi.ReportAuthenticationCodeMissing
  Reports that authentication code wasn't delivered via SMS; for official mobile applications only.
  TdApi.ReportChat
  Reports a chat to the Telegram moderators.
  TdApi.ReportChatPhoto
  Reports a chat photo to the Telegram moderators.
  TdApi.ReportChatSponsoredMessage
  Reports a sponsored message to Telegram moderators.
  TdApi.ReportChatSponsoredMessageOption
  Describes an option to report a sponsored message.
  TdApi.ReportChatSponsoredMessageResult
  This class is an abstract base class.
  TdApi.ReportChatSponsoredMessageResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ReportChatSponsoredMessageResultAdsHidden
  Sponsored messages were hidden for the user in all chats.
  TdApi.ReportChatSponsoredMessageResultFailed
  The sponsored message is too old or not found.
  TdApi.ReportChatSponsoredMessageResultOk
  The message was reported successfully.
  TdApi.ReportChatSponsoredMessageResultOptionRequired
  The user must choose an option to report the message and repeat request with the chosen option.
  TdApi.ReportChatSponsoredMessageResultPremiumRequired
  The user asked to hide sponsored messages, but Telegram Premium is required for this.
  TdApi.ReportMessageReactions
  Reports reactions set on a message to the Telegram moderators.
  TdApi.ReportPhoneNumberCodeMissing
  Reports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile applications only.
  TdApi.ReportReason
  This class is an abstract base class.
  TdApi.ReportReason.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ReportReasonChildAbuse
  The chat has child abuse related content.
  TdApi.ReportReasonCopyright
  The chat contains copyrighted content.
  TdApi.ReportReasonCustom
  A custom reason provided by the user.
  TdApi.ReportReasonFake
  The chat represents a fake account.
  TdApi.ReportReasonIllegalDrugs
  The chat has illegal drugs related content.
  TdApi.ReportReasonPersonalDetails
  The chat contains messages with personal details.
  TdApi.ReportReasonPornography
  The chat contains pornographic messages.
  TdApi.ReportReasonSpam
  The chat contains spam messages.
  TdApi.ReportReasonUnrelatedLocation
  The location-based chat is unrelated to its stated location.
  TdApi.ReportReasonViolence
  The chat promotes violence.
  TdApi.ReportStory
  Reports a story to the Telegram moderators.
  TdApi.ReportSupergroupAntiSpamFalsePositive
  Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup.
  TdApi.ReportSupergroupSpam
  Reports messages in a supergroup as spam; requires administrator rights in the supergroup.
  TdApi.RequestAuthenticationPasswordRecovery
  Requests to send a 2-step verification password recovery code to an email address that was previously set up.
  TdApi.RequestPasswordRecovery
  Requests to send a 2-step verification password recovery code to an email address that was previously set up.
  TdApi.RequestQrCodeAuthentication
  Requests QR code authentication by scanning a QR code on another logged in device.
  TdApi.ResendAuthenticationCode
  Resends an authentication code to the user.
  TdApi.ResendCodeReason
  This class is an abstract base class.
  TdApi.ResendCodeReason.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ResendCodeReasonUserRequest
  The user requested to resend the code.
  TdApi.ResendCodeReasonVerificationFailed
  The code is re-sent, because device verification has failed.
  TdApi.ResendEmailAddressVerificationCode
  Resends the code to verify an email address to be added to a user's Telegram Passport.
  TdApi.ResendLoginEmailAddressCode
  Resends the login email address verification code.
  TdApi.ResendMessages
  Resends messages which failed to send.
  TdApi.ResendPhoneNumberCode
  Resends the authentication code sent to a phone number.
  TdApi.ResendRecoveryEmailAddressCode
  Resends the 2-step verification recovery email address verification code.
  TdApi.ResetAllNotificationSettings
  Resets all chat and scope notification settings to their default values.
  TdApi.ResetAuthenticationEmailAddress
  Resets the login email address.
  TdApi.ResetInstalledBackgrounds
  Resets list of installed backgrounds to its default value.
  TdApi.ResetNetworkStatistics
  Resets all network data usage statistics to zero.
  TdApi.ResetPassword
  Removes 2-step verification password without previous password and access to recovery email address.
  TdApi.ResetPasswordResult
  This class is an abstract base class.
  TdApi.ResetPasswordResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ResetPasswordResultDeclined
  The password reset request was declined.
  TdApi.ResetPasswordResultOk
  The password was reset.
  TdApi.ResetPasswordResultPending
  The password reset request is pending.
  TdApi.RevenueWithdrawalState
  This class is an abstract base class.
  TdApi.RevenueWithdrawalState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.RevenueWithdrawalStateFailed
  Withdrawal failed.
  TdApi.RevenueWithdrawalStatePending
  Withdrawal is pending.
  TdApi.RevenueWithdrawalStateSucceeded
  Withdrawal succeeded.
  TdApi.RevokeChatInviteLink
  Revokes invite link for a chat.
  TdApi.RevokeGroupCallInviteLink
  Revokes invite link for a group call.
  TdApi.RichText
  This class is an abstract base class.
  TdApi.RichText.Constructors
  Describes possible values returned by getConstructor().
  TdApi.RichTextAnchor
  An anchor.
  TdApi.RichTextAnchorLink
  A link to an anchor on the same page.
  TdApi.RichTextBold
  A bold rich text.
  TdApi.RichTextEmailAddress
  A rich text email link.
  TdApi.RichTextFixed
  A fixed-width rich text.
  TdApi.RichTextIcon
  A small image inside the text.
  TdApi.RichTextItalic
  An italicized rich text.
  TdApi.RichTextMarked
  A marked rich text.
  TdApi.RichTextPhoneNumber
  A rich text phone number.
  TdApi.RichTextPlain
  A plain text.
  TdApi.RichTextReference
  A reference to a richTexts object on the same page.
  TdApi.RichTexts
  A concatenation of rich texts.
  TdApi.RichTextStrikethrough
  A strikethrough rich text.
  TdApi.RichTextSubscript
  A subscript rich text.
  TdApi.RichTextSuperscript
  A superscript rich text.
  TdApi.RichTextUnderline
  An underlined rich text.
  TdApi.RichTextUrl
  A rich text URL link.
  TdApi.RtmpUrl
  Represents an RTMP URL.
  TdApi.SaveApplicationLogEvent
  Saves application log event on the server.
  TdApi.SavedCredentials
  Contains information about saved payment credentials.
  TdApi.SavedMessagesTag
  Represents a tag used in Saved Messages or a Saved Messages topic.
  TdApi.SavedMessagesTags
  Contains a list of tags used in Saved Messages.
  TdApi.SavedMessagesTopic
  Contains information about a Saved Messages topic.
  TdApi.SavedMessagesTopicType
  This class is an abstract base class.
  TdApi.SavedMessagesTopicType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.SavedMessagesTopicTypeAuthorHidden
  Topic containing messages forwarded from a user with hidden privacy.
  TdApi.SavedMessagesTopicTypeMyNotes
  Topic containing messages sent by the current user of forwarded from an unknown chat.
  TdApi.SavedMessagesTopicTypeSavedFromChat
  Topic containing messages forwarded from a specific chat.
  TdApi.ScopeAutosaveSettings
  Contains autosave settings for an autosave settings scope.
  TdApi.ScopeNotificationSettings
  Contains information about notification settings for several chats.
  TdApi.SearchBackground
  Searches for a background by its name.
  TdApi.SearchCallMessages
  Searches for call messages.
  TdApi.SearchChatMembers
  Searches for a specified query in the first name, last name and usernames of the members of a specified chat.
  TdApi.SearchChatMessages
  Searches for messages with given words in the chat.
  TdApi.SearchChatRecentLocationMessages
  Returns information about the recent locations of chat members that were sent to the chat.
  TdApi.SearchChats
  Searches for the specified query in the title and username of already known chats; this is an offline request.
  TdApi.SearchChatsNearby
  Returns a list of users and location-based supergroups nearby.
  TdApi.SearchChatsOnServer
  Searches for the specified query in the title and username of already known chats via request to the server.
  TdApi.SearchContacts
  Searches for the specified query in the first names, last names and usernames of the known user contacts.
  TdApi.SearchEmojis
  Searches for emojis by keywords.
  TdApi.SearchFileDownloads
  Searches for files in the file download list or recently downloaded files from the list.
  TdApi.SearchHashtags
  Searches for recently used hashtags by their prefix.
  TdApi.SearchInstalledStickerSets
  Searches for installed sticker sets by looking for specified query in their title and name.
  TdApi.SearchMessages
  Searches for messages in all chats except secret chats.
  TdApi.SearchMessagesFilter
  This class is an abstract base class.
  TdApi.SearchMessagesFilter.Constructors
  Describes possible values returned by getConstructor().
  TdApi.SearchMessagesFilterAnimation
  Returns only animation messages.
  TdApi.SearchMessagesFilterAudio
  Returns only audio messages.
  TdApi.SearchMessagesFilterChatPhoto
  Returns only messages containing chat photos.
  TdApi.SearchMessagesFilterDocument
  Returns only document messages.
  TdApi.SearchMessagesFilterEmpty
  Returns all found messages, no filter is applied.
  TdApi.SearchMessagesFilterFailedToSend
  Returns only failed to send messages.
  TdApi.SearchMessagesFilterMention
  Returns only messages with mentions of the current user, or messages that are replies to their messages.
  TdApi.SearchMessagesFilterPhoto
  Returns only photo messages.
  TdApi.SearchMessagesFilterPhotoAndVideo
  Returns only photo and video messages.
  TdApi.SearchMessagesFilterPinned
  Returns only pinned messages.
  TdApi.SearchMessagesFilterUnreadMention
  Returns only messages with unread mentions of the current user, or messages that are replies to their messages.
  TdApi.SearchMessagesFilterUnreadReaction
  Returns only messages with unread reactions for the current user.
  TdApi.SearchMessagesFilterUrl
  Returns only messages containing URLs.
  TdApi.SearchMessagesFilterVideo
  Returns only video messages.
  TdApi.SearchMessagesFilterVideoNote
  Returns only video note messages.
  TdApi.SearchMessagesFilterVoiceAndVideoNote
  Returns only voice and video note messages.
  TdApi.SearchMessagesFilterVoiceNote
  Returns only voice note messages.
  TdApi.SearchOutgoingDocumentMessages
  Searches for outgoing messages with content of the type messageDocument in all chats except secret chats.
  TdApi.SearchPublicChat
  Searches a public chat by its username.
  TdApi.SearchPublicChats
  Searches public chats by looking for specified query in their username and title.
  TdApi.SearchPublicMessagesByTag
  Searches for public channel posts containing the given hashtag or cashtag.
  TdApi.SearchPublicStoriesByLocation
  Searches for public stories by the given address location.
  TdApi.SearchPublicStoriesByTag
  Searches for public stories containing the given hashtag or cashtag.
  TdApi.SearchPublicStoriesByVenue
  Searches for public stories from the given venue.
  TdApi.SearchQuote
  Searches for a given quote in a text.
  TdApi.SearchRecentlyFoundChats
  Searches for the specified query in the title and username of up to 50 recently found chats; this is an offline request.
  TdApi.SearchSavedMessages
  Searches for messages tagged by the given reaction and with the given words in the Saved Messages chat; for Telegram Premium users only.
  TdApi.SearchSecretMessages
  Searches for messages in secret chats.
  TdApi.SearchStickers
  Searches for stickers from public sticker sets that correspond to any of the given emoji.
  TdApi.SearchStickerSet
  Searches for a sticker set by its name.
  TdApi.SearchStickerSets
  Searches for sticker sets by looking for specified query in their title and name.
  TdApi.SearchStringsByPrefix
  Searches specified query by word prefixes in the provided strings.
  TdApi.SearchUserByPhoneNumber
  Searches a user by their phone number.
  TdApi.SearchUserByToken
  Searches a user by a token from the user's link.
  TdApi.SearchWebApp
  Returns information about a Web App by its short name.
  TdApi.Seconds
  Contains a value representing a number of seconds.
  TdApi.SecretChat
  Represents a secret chat.
  TdApi.SecretChatState
  This class is an abstract base class.
  TdApi.SecretChatState.Constructors
  Describes possible values returned by getConstructor().
  TdApi.SecretChatStateClosed
  The secret chat is closed.
  TdApi.SecretChatStatePending
  The secret chat is not yet created; waiting for the other user to get online.
  TdApi.SecretChatStateReady
  The secret chat is ready to use.
  TdApi.SendAuthenticationFirebaseSms
  Sends Firebase Authentication SMS to the phone number of the user.
  TdApi.SendBotStartMessage
  Invites a bot to a chat (if it is not yet a member) and sends it the /start command; requires canInviteUsers member right.
  TdApi.SendBusinessMessage
  Sends a message on behalf of a business account; for bots only.
  TdApi.SendBusinessMessageAlbum
  Sends 2-10 messages grouped together into an album on behalf of a business account; for bots only.
  TdApi.SendCallDebugInformation
  Sends debug information for a call to Telegram servers.
  TdApi.SendCallLog
  Sends log file for a call to Telegram servers.
  TdApi.SendCallRating
  Sends a call rating.
  TdApi.SendCallSignalingData
  Sends call signaling data.
  TdApi.SendChatAction
  Sends a notification about user activity in a chat.
  TdApi.SendCustomRequest
  Sends a custom request; for bots only.
  TdApi.SendEmailAddressVerificationCode
  Sends a code to verify an email address to be added to a user's Telegram Passport.
  TdApi.SendInlineQueryResultMessage
  Sends the result of an inline query as a message.
  TdApi.SendMessage
  Sends a message.
  TdApi.SendMessageAlbum
  Sends 2-10 messages grouped together into an album.
  TdApi.SendPassportAuthorizationForm
  Sends a Telegram Passport authorization form, effectively sharing data with the service.
  TdApi.SendPaymentForm
  Sends a filled-out payment form to the bot for final verification.
  TdApi.SendPhoneNumberCode
  Sends a code to the specified phone number.
  TdApi.SendPhoneNumberFirebaseSms
  Sends Firebase Authentication SMS to the specified phone number.
  TdApi.SendQuickReplyShortcutMessages
  Sends messages from a quick reply shortcut.
  TdApi.SendStory
  Sends a new story to a chat; requires canPostStories right for supergroup and channel chats.
  TdApi.SendWebAppCustomRequest
  Sends a custom request from a Web App.
  TdApi.SendWebAppData
  Sends data received from a keyboardButtonTypeWebApp Web App to a bot.
  TdApi.SentWebAppMessage
  Information about the message sent by answerWebAppQuery.
  TdApi.Session
  Contains information about one session in a Telegram application used by the current user.
  TdApi.Sessions
  Contains a list of sessions.
  TdApi.SessionType
  This class is an abstract base class.
  TdApi.SessionType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.SessionTypeAndroid
  The session is running on an Android device.
  TdApi.SessionTypeApple
  The session is running on a generic Apple device.
  TdApi.SessionTypeBrave
  The session is running on the Brave browser.
  TdApi.SessionTypeChrome
  The session is running on the Chrome browser.
  TdApi.SessionTypeEdge
  The session is running on the Edge browser.
  TdApi.SessionTypeFirefox
  The session is running on the Firefox browser.
  TdApi.SessionTypeIpad
  The session is running on an iPad device.
  TdApi.SessionTypeIphone
  The session is running on an iPhone device.
  TdApi.SessionTypeLinux
  The session is running on a Linux device.
  TdApi.SessionTypeMac
  The session is running on a Mac device.
  TdApi.SessionTypeOpera
  The session is running on the Opera browser.
  TdApi.SessionTypeSafari
  The session is running on the Safari browser.
  TdApi.SessionTypeUbuntu
  The session is running on an Ubuntu device.
  TdApi.SessionTypeUnknown
  The session is running on an unknown type of device.
  TdApi.SessionTypeVivaldi
  The session is running on the Vivaldi browser.
  TdApi.SessionTypeWindows
  The session is running on a Windows device.
  TdApi.SessionTypeXbox
  The session is running on an Xbox console.
  TdApi.SetAccentColor
  Changes accent color and background custom emoji for the current user; for Telegram Premium users only.
  TdApi.SetAccountTtl
  Changes the period of inactivity after which the account of the current user will automatically be deleted.
  TdApi.SetAlarm
  Succeeds after a specified amount of time has passed.
  TdApi.SetApplicationVerificationToken
  Application verification has been completed.
  TdApi.SetArchiveChatListSettings
  Changes settings for automatic moving of chats to and from the Archive chat lists.
  TdApi.SetAuthenticationEmailAddress
  Sets the email address of the user and sends an authentication code to the email address.
  TdApi.SetAuthenticationPhoneNumber
  Sets the phone number of the user and sends an authentication code to the user.
  TdApi.SetAutoDownloadSettings
  Sets auto-download settings.
  TdApi.SetAutosaveSettings
  Sets autosave settings for the given scope.
  TdApi.SetBio
  Changes the bio of the current user.
  TdApi.SetBirthdate
  Changes the birthdate of the current user.
  TdApi.SetBotInfoDescription
  Sets the text shown in the chat with a bot if the chat is empty.
  TdApi.SetBotInfoShortDescription
  Sets the text shown on a bot's profile page and sent together with the link when users share the bot.
  TdApi.SetBotName
  Sets the name of a bot.
  TdApi.SetBotProfilePhoto
  Changes a profile photo for a bot.
  TdApi.SetBotUpdatesStatus
  Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.
  TdApi.SetBusinessAwayMessageSettings
  Changes the business away message settings of the current user.
  TdApi.SetBusinessConnectedBot
  Adds or changes business bot that is connected to the current user account.
  TdApi.SetBusinessGreetingMessageSettings
  Changes the business greeting message settings of the current user.
  TdApi.SetBusinessLocation
  Changes the business location of the current user.
  TdApi.SetBusinessOpeningHours
  Changes the business opening hours of the current user.
  TdApi.SetBusinessStartPage
  Changes the business start page of the current user.
  TdApi.SetChatAccentColor
  Changes accent color and background custom emoji of a channel chat.
  TdApi.SetChatActiveStoriesList
  Changes story list in which stories from the chat are shown.
  TdApi.SetChatAvailableReactions
  Changes reactions, available in a chat.
  TdApi.SetChatBackground
  Sets the background in a specific chat.
  TdApi.SetChatClientData
  Changes application-specific data associated with a chat.
  TdApi.SetChatDescription
  Changes information about a chat.
  TdApi.SetChatDiscussionGroup
  Changes the discussion group of a channel chat; requires canChangeInfo administrator right in the channel if it is specified.
  TdApi.SetChatDraftMessage
  Changes the draft message in a chat.
  TdApi.SetChatEmojiStatus
  Changes the emoji status of a chat.
  TdApi.SetChatLocation
  Changes the location of a chat.
  TdApi.SetChatMemberStatus
  Changes the status of a chat member; requires canInviteUsers member right to add a chat member, canPromoteMembers administrator right to change administrator rights of the member, and canRestrictMembers administrator right to change restrictions of a user.
  TdApi.SetChatMessageAutoDeleteTime
  Changes the message auto-delete or self-destruct (for secret chats) time in a chat.
  TdApi.SetChatMessageSender
  Selects a message sender to send messages in a chat.
  TdApi.SetChatNotificationSettings
  Changes the notification settings of a chat.
  TdApi.SetChatPermissions
  Changes the chat members permissions.
  TdApi.SetChatPhoto
  Changes the photo of a chat.
  TdApi.SetChatPinnedStories
  Changes the list of pinned stories on a chat page; requires canEditStories right in the chat.
  TdApi.SetChatProfileAccentColor
  Changes accent color and background custom emoji for profile of a supergroup or channel chat.
  TdApi.SetChatSlowModeDelay
  Changes the slow mode delay of a chat.
  TdApi.SetChatTheme
  Changes the chat theme.
  TdApi.SetChatTitle
  Changes the chat title.
  TdApi.SetCloseFriends
  Changes the list of close friends of the current user.
  TdApi.SetCommands
  Sets the list of commands supported by the bot for the given user scope and language; for bots only.
  TdApi.SetCustomEmojiStickerSetThumbnail
  Sets a custom emoji sticker set thumbnail.
  TdApi.SetCustomLanguagePack
  Adds or changes a custom local language pack to the current localization target.
  TdApi.SetCustomLanguagePackString
  Adds, edits or deletes a string in a custom local language pack.
  TdApi.SetDatabaseEncryptionKey
  Changes the database encryption key.
  TdApi.SetDefaultBackground
  Sets default background for chats; adds the background to the list of installed backgrounds.
  TdApi.SetDefaultChannelAdministratorRights
  Sets default administrator rights for adding the bot to channel chats; for bots only.
  TdApi.SetDefaultGroupAdministratorRights
  Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.
  TdApi.SetDefaultMessageAutoDeleteTime
  Changes the default message auto-delete time for new chats.
  TdApi.SetDefaultReactionType
  Changes type of default reaction for the current user.
  TdApi.SetEmojiStatus
  Changes the emoji status of the current user; for Telegram Premium users only.
  TdApi.SetFileGenerationProgress
  Informs TDLib on a file generation progress.
  TdApi.SetForumTopicNotificationSettings
  Changes the notification settings of a forum topic.
  TdApi.SetGameScore
  Updates the game score of the specified user in the game; for bots only.
  TdApi.SetGroupCallParticipantIsSpeaking
  Informs TDLib that speaking state of a participant of an active group has changed.
  TdApi.SetGroupCallParticipantVolumeLevel
  Changes volume level of a participant of an active group call.
  TdApi.SetGroupCallTitle
  Sets group call title.
  TdApi.SetInactiveSessionTtl
  Changes the period of inactivity after which sessions will automatically be terminated.
  TdApi.SetInlineGameScore
  Updates the game score of the specified user in a game; for bots only.
  TdApi.SetLocation
  Changes the location of the current user.
  TdApi.SetLoginEmailAddress
  Changes the login email address of the user.
  TdApi.SetLogStream
  Sets new log stream for internal logging of TDLib.
  TdApi.SetLogTagVerbosityLevel
  Sets the verbosity level for a specified TDLib internal log tag.
  TdApi.SetLogVerbosityLevel
  Sets the verbosity level of the internal logging of TDLib.
  TdApi.SetMenuButton
  Sets menu button for the given user or for all users; for bots only.
  TdApi.SetMessageFactCheck
  Changes the fact-check of a message.
  TdApi.SetMessageReactions
  Sets reactions on a message; for bots only.
  TdApi.SetMessageSenderBlockList
  Changes the block list of a message sender.
  TdApi.SetName
  Changes the first and last name of the current user.
  TdApi.SetNetworkType
  Sets the current network type.
  TdApi.SetNewChatPrivacySettings
  Changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").
  TdApi.SetOption
  Sets the value of an option.
  TdApi.SetPassportElement
  Adds an element to the user's Telegram Passport.
  TdApi.SetPassportElementErrors
  Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.
  TdApi.SetPassword
  Changes the 2-step verification password for the current user.
  TdApi.SetPersonalChat
  Changes the personal chat of the current user.
  TdApi.SetPinnedChats
  Changes the order of pinned chats.
  TdApi.SetPinnedForumTopics
  Changes the order of pinned forum topics; requires canManageTopics right in the supergroup.
  TdApi.SetPinnedSavedMessagesTopics
  Changes the order of pinned Saved Messages topics.
  TdApi.SetPollAnswer
  Changes the user answer to a poll.
  TdApi.SetProfileAccentColor
  Changes accent color and background custom emoji for profile of the current user; for Telegram Premium users only.
  TdApi.SetProfilePhoto
  Changes a profile photo for the current user.
  TdApi.SetQuickReplyShortcutName
  Changes name of a quick reply shortcut.
  TdApi.SetReactionNotificationSettings
  Changes notification settings for reactions.
  TdApi.SetReadDatePrivacySettings
  Changes privacy settings for message read date.
  TdApi.SetRecoveryEmailAddress
  Changes the 2-step verification recovery email address of the user.
  TdApi.SetSavedMessagesTagLabel
  Changes label of a Saved Messages tag; for Telegram Premium users only.
  TdApi.SetScopeNotificationSettings
  Changes notification settings for chats of a given type.
  TdApi.SetStickerEmojis
  Changes the list of emojis corresponding to a sticker.
  TdApi.SetStickerKeywords
  Changes the list of keywords of a sticker.
  TdApi.SetStickerMaskPosition
  Changes the mask position of a mask sticker.
  TdApi.SetStickerPositionInSet
  Changes the position of a sticker in the set to which it belongs.
  TdApi.SetStickerSetThumbnail
  Sets a sticker set thumbnail.
  TdApi.SetStickerSetTitle
  Sets a sticker set title.
  TdApi.SetStoryPrivacySettings
  Changes privacy settings of a story.
  TdApi.SetStoryReaction
  Changes chosen reaction on a story that has already been sent.
  TdApi.SetSupergroupCustomEmojiStickerSet
  Changes the custom emoji sticker set of a supergroup; requires canChangeInfo administrator right.
  TdApi.SetSupergroupStickerSet
  Changes the sticker set of a supergroup; requires canChangeInfo administrator right.
  TdApi.SetSupergroupUnrestrictBoostCount
  Changes the number of times the supergroup must be boosted by a user to ignore slow mode and chat permission restrictions; requires canRestrictMembers administrator right.
  TdApi.SetSupergroupUsername
  Changes the editable username of a supergroup or channel, requires owner privileges in the supergroup or channel.
  TdApi.SetTdlibParameters
  Sets the parameters for TDLib initialization.
  TdApi.SetUsername
  Changes the editable username of the current user.
  TdApi.SetUserPersonalProfilePhoto
  Changes a personal profile photo of a contact user.
  TdApi.SetUserPrivacySettingRules
  Changes user privacy settings.
  TdApi.SetUserSupportInfo
  Sets support information for the given user; for Telegram support only.
  TdApi.SetVideoChatDefaultParticipant
  Changes default participant identifier, on whose behalf a video chat in the chat will be joined.
  TdApi.ShareChatWithBot
  Shares a chat after pressing a keyboardButtonTypeRequestChat button with the bot.
  TdApi.SharedChat
  Contains information about a chat shared with a bot.
  TdApi.SharedUser
  Contains information about a user shared with a bot.
  TdApi.SharePhoneNumber
  Shares the phone number of the current user with a mutual contact.
  TdApi.ShareUsersWithBot
  Shares users after pressing a keyboardButtonTypeRequestUsers button with the bot.
  TdApi.ShippingOption
  One shipping option.
  TdApi.SpeechRecognitionResult
  This class is an abstract base class.
  TdApi.SpeechRecognitionResult.Constructors
  Describes possible values returned by getConstructor().
  TdApi.SpeechRecognitionResultError
  The speech recognition failed.
  TdApi.SpeechRecognitionResultPending
  The speech recognition is ongoing.
  TdApi.SpeechRecognitionResultText
  The speech recognition successfully finished.
  TdApi.SponsoredMessage
  Describes a sponsored message.
  TdApi.SponsoredMessages
  Contains a list of sponsored messages.
  TdApi.StarPaymentOption
  Describes an option for buying Telegram stars.
  TdApi.StarPaymentOptions
  Contains a list of options for buying Telegram stars.
  TdApi.StarRevenueStatistics
  A detailed statistics about Telegram stars earned by a bot or a chat.
  TdApi.StarRevenueStatus
  Contains information about Telegram stars earned by a bot or a chat.
  TdApi.StartGroupCallRecording
  Starts recording of an active group call.
  TdApi.StartGroupCallScreenSharing
  Starts screen sharing in a joined group call.
  TdApi.StarTransaction
  Represents a transaction changing the amount of owned Telegram stars.
  TdApi.StarTransactionDirection
  This class is an abstract base class.
  TdApi.StarTransactionDirection.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StarTransactionDirectionIncoming
  The transaction is incoming and increases the number of owned Telegram stars.
  TdApi.StarTransactionDirectionOutgoing
  The transaction is outgoing and decreases the number of owned Telegram stars.
  TdApi.StarTransactionPartner
  This class is an abstract base class.
  TdApi.StarTransactionPartner.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StarTransactionPartnerAppStore
  The transaction is a transaction with App Store.
  TdApi.StarTransactionPartnerBot
  The transaction is a transaction with a bot.
  TdApi.StarTransactionPartnerChannel
  The transaction is a transaction with a channel chat.
  TdApi.StarTransactionPartnerFragment
  The transaction is a transaction with Fragment.
  TdApi.StarTransactionPartnerGooglePlay
  The transaction is a transaction with Google Play.
  TdApi.StarTransactionPartnerTelegram
  The transaction is a transaction with Telegram through a bot.
  TdApi.StarTransactionPartnerTelegramAds
  The transaction is a transaction with Telegram Ad platform.
  TdApi.StarTransactionPartnerUnsupported
  The transaction is a transaction with unknown partner.
  TdApi.StarTransactions
  Represents a list of Telegram star transactions.
  TdApi.StartScheduledGroupCall
  Starts a scheduled group call.
  TdApi.StatisticalGraph
  This class is an abstract base class.
  TdApi.StatisticalGraph.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StatisticalGraphAsync
  The graph data to be asynchronously loaded through getStatisticalGraph.
  TdApi.StatisticalGraphData
  A graph data.
  TdApi.StatisticalGraphError
  An error message to be shown to the user instead of the graph.
  TdApi.StatisticalValue
  A value with information about its recent changes.
  TdApi.Sticker
  Describes a sticker.
  TdApi.StickerFormat
  This class is an abstract base class.
  TdApi.StickerFormat.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StickerFormatTgs
  The sticker is an animation in TGS format.
  TdApi.StickerFormatWebm
  The sticker is a video in WEBM format.
  TdApi.StickerFormatWebp
  The sticker is an image in WEBP format.
  TdApi.StickerFullType
  This class is an abstract base class.
  TdApi.StickerFullType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StickerFullTypeCustomEmoji
  The sticker is a custom emoji to be used inside message text and caption.
  TdApi.StickerFullTypeMask
  The sticker is a mask in WEBP format to be placed on photos or videos.
  TdApi.StickerFullTypeRegular
  The sticker is a regular sticker.
  TdApi.Stickers
  Represents a list of stickers.
  TdApi.StickerSet
  Represents a sticker set.
  TdApi.StickerSetInfo
  Represents short information about a sticker set.
  TdApi.StickerSets
  Represents a list of sticker sets.
  TdApi.StickerType
  This class is an abstract base class.
  TdApi.StickerType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StickerTypeCustomEmoji
  The sticker is a custom emoji to be used inside message text and caption.
  TdApi.StickerTypeMask
  The sticker is a mask in WEBP format to be placed on photos or videos.
  TdApi.StickerTypeRegular
  The sticker is a regular sticker.
  TdApi.StopBusinessPoll
  Stops a poll sent on behalf of a business account; for bots only.
  TdApi.StopPoll
  Stops a poll.
  TdApi.StorageStatistics
  Contains the exact storage usage statistics split by chats and file type.
  TdApi.StorageStatisticsByChat
  Contains the storage usage statistics for a specific chat.
  TdApi.StorageStatisticsByFileType
  Contains the storage usage statistics for a specific file type.
  TdApi.StorageStatisticsFast
  Contains approximate storage usage statistics, excluding files of unknown file type.
  TdApi.StorePaymentPurpose
  This class is an abstract base class.
  TdApi.StorePaymentPurpose.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StorePaymentPurposeGiftedPremium
  The user gifting Telegram Premium to another user.
  TdApi.StorePaymentPurposePremiumGiftCodes
  The user creating Telegram Premium gift codes for other users.
  TdApi.StorePaymentPurposePremiumGiveaway
  The user creating a Telegram Premium giveaway.
  TdApi.StorePaymentPurposePremiumSubscription
  The user subscribing to Telegram Premium.
  TdApi.StorePaymentPurposeStars
  The user buying Telegram stars.
  TdApi.Stories
  Represents a list of stories.
  TdApi.Story
  Represents a story.
  TdApi.StoryArea
  Describes a clickable rectangle area on a story media.
  TdApi.StoryAreaPosition
  Describes position of a clickable rectangle area on a story media.
  TdApi.StoryAreaType
  This class is an abstract base class.
  TdApi.StoryAreaType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StoryAreaTypeLink
  An area pointing to a HTTP or tg:// link.
  TdApi.StoryAreaTypeLocation
  An area pointing to a location.
  TdApi.StoryAreaTypeMessage
  An area pointing to a message.
  TdApi.StoryAreaTypeSuggestedReaction
  An area pointing to a suggested reaction.
  TdApi.StoryAreaTypeVenue
  An area pointing to a venue.
  TdApi.StoryContent
  This class is an abstract base class.
  TdApi.StoryContent.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StoryContentPhoto
  A photo story.
  TdApi.StoryContentUnsupported
  A story content that is not supported in the current TDLib version.
  TdApi.StoryContentVideo
  A video story.
  TdApi.StoryFullId
  Contains identifier of a story along with identifier of its sender.
  TdApi.StoryInfo
  Contains basic information about a story.
  TdApi.StoryInteraction
  Represents interaction with a story.
  TdApi.StoryInteractionInfo
  Contains information about interactions with a story.
  TdApi.StoryInteractions
  Represents a list of interactions with a story.
  TdApi.StoryInteractionType
  This class is an abstract base class.
  TdApi.StoryInteractionType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StoryInteractionTypeForward
  A forward of the story as a message.
  TdApi.StoryInteractionTypeRepost
  A repost of the story as a story.
  TdApi.StoryInteractionTypeView
  A view of the story.
  TdApi.StoryList
  This class is an abstract base class.
  TdApi.StoryList.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StoryListArchive
  The list of stories, shown in the Arvhive chat list.
  TdApi.StoryListMain
  The list of stories, shown in the main chat list and folder chat lists.
  TdApi.StoryOrigin
  This class is an abstract base class.
  TdApi.StoryOrigin.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StoryOriginHiddenUser
  The original story was sent by an unknown user.
  TdApi.StoryOriginPublicStory
  The original story was a public story with known sender.
  TdApi.StoryPrivacySettings
  This class is an abstract base class.
  TdApi.StoryPrivacySettings.Constructors
  Describes possible values returned by getConstructor().
  TdApi.StoryPrivacySettingsCloseFriends
  The story can be viewed by all close friends.
  TdApi.StoryPrivacySettingsContacts
  The story can be viewed by all contacts except chosen users.
  TdApi.StoryPrivacySettingsEveryone
  The story can be viewed by everyone.
  TdApi.StoryPrivacySettingsSelectedUsers
  The story can be viewed by certain specified users.
  TdApi.StoryRepostInfo
  Contains information about original story that was reposted.
  TdApi.StoryStatistics
  A detailed statistics about a story.
  TdApi.StoryVideo
  Describes a video file sent in a story.
  TdApi.SuggestedAction
  This class is an abstract base class.
  TdApi.SuggestedAction.Constructors
  Describes possible values returned by getConstructor().
  TdApi.SuggestedActionCheckPassword
  Suggests the user to check whether they still remember their 2-step verification password.
  TdApi.SuggestedActionCheckPhoneNumber
  Suggests the user to check whether authorization phone number is correct and change the phone number if it is inaccessible.
  TdApi.SuggestedActionConvertToBroadcastGroup
  Suggests the user to convert specified supergroup to a broadcast group.
  TdApi.SuggestedActionEnableArchiveAndMuteNewChats
  Suggests the user to enable archiveAndMuteNewChatsFromUnknownUsers setting in archiveChatListSettings.
  TdApi.SuggestedActionExtendPremium
  Suggests the user to extend their expiring Telegram Premium subscription.
  TdApi.SuggestedActionGiftPremiumForChristmas
  Suggests the user to gift Telegram Premium to friends for Christmas.
  TdApi.SuggestedActionRestorePremium
  Suggests the user to restore a recently expired Premium subscription.
  TdApi.SuggestedActionSetBirthdate
  Suggests the user to set birthdate.
  TdApi.SuggestedActionSetPassword
  Suggests the user to set a 2-step verification password to be able to log in again.
  TdApi.SuggestedActionSubscribeToAnnualPremium
  Suggests the user to subscribe to the Premium subscription with annual payments.
  TdApi.SuggestedActionUpgradePremium
  Suggests the user to upgrade the Premium subscription from monthly payments to annual payments.
  TdApi.SuggestedActionViewChecksHint
  Suggests the user to view a hint about the meaning of one and two check marks on sent messages.
  TdApi.SuggestUserProfilePhoto
  Suggests a profile photo to another regular user with common messages.
  TdApi.Supergroup
  Represents a supergroup or channel with zero or more members (subscribers in the case of channels).
  TdApi.SupergroupFullInfo
  Contains full information about a supergroup or channel.
  TdApi.SupergroupMembersFilter
  This class is an abstract base class.
  TdApi.SupergroupMembersFilter.Constructors
  Describes possible values returned by getConstructor().
  TdApi.SupergroupMembersFilterAdministrators
  Returns the owner and administrators.
  TdApi.SupergroupMembersFilterBanned
  Returns users banned from the supergroup or channel; can be used only by administrators.
  TdApi.SupergroupMembersFilterBots
  Returns bot members of the supergroup or channel.
  TdApi.SupergroupMembersFilterContacts
  Returns contacts of the user, which are members of the supergroup or channel.
  TdApi.SupergroupMembersFilterMention
  Returns users which can be mentioned in the supergroup.
  TdApi.SupergroupMembersFilterRecent
  Returns recently active users in reverse chronological order.
  TdApi.SupergroupMembersFilterRestricted
  Returns restricted supergroup members; can be used only by administrators.
  TdApi.SupergroupMembersFilterSearch
  Used to search for supergroup or channel members via a (string) query.
  TdApi.SynchronizeLanguagePack
  Fetches the latest versions of all strings from a language pack in the current localization target from the server.
  TdApi.TargetChat
  This class is an abstract base class.
  TdApi.TargetChat.Constructors
  Describes possible values returned by getConstructor().
  TdApi.TargetChatChosen
  The chat needs to be chosen by the user among chats of the specified types.
  TdApi.TargetChatCurrent
  The currently opened chat needs to be kept.
  TdApi.TargetChatInternalLink
  The chat needs to be open with the provided internal link.
  TdApi.TelegramPaymentPurpose
  This class is an abstract base class.
  TdApi.TelegramPaymentPurpose.Constructors
  Describes possible values returned by getConstructor().
  TdApi.TelegramPaymentPurposePremiumGiftCodes
  The user creating Telegram Premium gift codes for other users.
  TdApi.TelegramPaymentPurposePremiumGiveaway
  The user creating a Telegram Premium giveaway.
  TdApi.TelegramPaymentPurposeStars
  The user buying Telegram stars.
  TdApi.TemporaryPasswordState
  Returns information about the availability of a temporary password, which can be used for payments.
  TdApi.TerminateAllOtherSessions
  Terminates all other sessions of the current user.
  TdApi.TerminateSession
  Terminates a session of the current user.
  TdApi.TermsOfService
  Contains Telegram terms of service.
  TdApi.TestBytes
  A simple object containing a sequence of bytes; for testing only.
  TdApi.TestCallBytes
  Returns the received bytes; for testing only.
  TdApi.TestCallEmpty
  Does nothing; for testing only.
  TdApi.TestCallString
  Returns the received string; for testing only.
  TdApi.TestCallVectorInt
  Returns the received vector of numbers; for testing only.
  TdApi.TestCallVectorIntObject
  Returns the received vector of objects containing a number; for testing only.
  TdApi.TestCallVectorString
  Returns the received vector of strings; for testing only.
  TdApi.TestCallVectorStringObject
  Returns the received vector of objects containing a string; for testing only.
  TdApi.TestGetDifference
  Forces an updates.getDifference call to the Telegram servers; for testing only.
  TdApi.TestInt
  A simple object containing a number; for testing only.
  TdApi.TestNetwork
  Sends a simple network request to the Telegram servers; for testing only.
  TdApi.TestProxy
  Sends a simple network request to the Telegram servers via proxy; for testing only.
  TdApi.TestReturnError
  Returns the specified error and ensures that the Error object is used; for testing only.
  TdApi.TestSquareInt
  Returns the squared received number; for testing only.
  TdApi.TestString
  A simple object containing a string; for testing only.
  TdApi.TestUseUpdate
  Does nothing and ensures that the Update object is used; for testing only.
  TdApi.TestVectorInt
  A simple object containing a vector of numbers; for testing only.
  TdApi.TestVectorIntObject
  A simple object containing a vector of objects that hold a number; for testing only.
  TdApi.TestVectorString
  A simple object containing a vector of strings; for testing only.
  TdApi.TestVectorStringObject
  A simple object containing a vector of objects that hold a string; for testing only.
  TdApi.Text
  Contains some text.
  TdApi.TextEntities
  Contains a list of text entities.
  TdApi.TextEntity
  Represents a part of the text that needs to be formatted in some unusual way.
  TdApi.TextEntityType
  This class is an abstract base class.
  TdApi.TextEntityType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.TextEntityTypeBankCardNumber
  A bank card number.
  TdApi.TextEntityTypeBlockQuote
  Text that must be formatted as if inside a blockquote HTML tag; not supported in secret chats.
  TdApi.TextEntityTypeBold
  A bold text.
  TdApi.TextEntityTypeBotCommand
  A bot command, beginning with "/".
  TdApi.TextEntityTypeCashtag
  A cashtag text, beginning with "$" and consisting of capital English letters (e.g., "$USD").
  TdApi.TextEntityTypeCode
  Text that must be formatted as if inside a code HTML tag.
  TdApi.TextEntityTypeCustomEmoji
  A custom emoji.
  TdApi.TextEntityTypeEmailAddress
  An email address.
  TdApi.TextEntityTypeExpandableBlockQuote
  Text that must be formatted as if inside a blockquote HTML tag and collapsed by default to 3 lines with the ability to show full text; not supported in secret chats.
  TdApi.TextEntityTypeHashtag
  A hashtag text, beginning with "#".
  TdApi.TextEntityTypeItalic
  An italic text.
  TdApi.TextEntityTypeMediaTimestamp
  A media timestamp.
  TdApi.TextEntityTypeMention
  A mention of a user, a supergroup, or a channel by their username.
  TdApi.TextEntityTypeMentionName
  A text shows instead of a raw mention of the user (e.g., when the user has no username).
  TdApi.TextEntityTypePhoneNumber
  A phone number.
  TdApi.TextEntityTypePre
  Text that must be formatted as if inside a pre HTML tag.
  TdApi.TextEntityTypePreCode
  Text that must be formatted as if inside pre, and code HTML tags.
  TdApi.TextEntityTypeSpoiler
  A spoiler text.
  TdApi.TextEntityTypeStrikethrough
  A strikethrough text.
  TdApi.TextEntityTypeTextUrl
  A text description shown instead of a raw URL.
  TdApi.TextEntityTypeUnderline
  An underlined text.
  TdApi.TextEntityTypeUrl
  An HTTP URL.
  TdApi.TextParseMode
  This class is an abstract base class.
  TdApi.TextParseMode.Constructors
  Describes possible values returned by getConstructor().
  TdApi.TextParseModeHTML
  The text uses HTML-style formatting.
  TdApi.TextParseModeMarkdown
  The text uses Markdown-style formatting.
  TdApi.TextQuote
  Describes manually or automatically chosen quote from another message.
  TdApi.ThemeParameters
  Contains parameters of the application theme.
  TdApi.ThemeSettings
  Describes theme settings.
  TdApi.Thumbnail
  Represents a thumbnail.
  TdApi.ThumbnailFormat
  This class is an abstract base class.
  TdApi.ThumbnailFormat.Constructors
  Describes possible values returned by getConstructor().
  TdApi.ThumbnailFormatGif
  The thumbnail is in static GIF format.
  TdApi.ThumbnailFormatJpeg
  The thumbnail is in JPEG format.
  TdApi.ThumbnailFormatMpeg4
  The thumbnail is in MPEG4 format.
  TdApi.ThumbnailFormatPng
  The thumbnail is in PNG format.
  TdApi.ThumbnailFormatTgs
  The thumbnail is in TGS format.
  TdApi.ThumbnailFormatWebm
  The thumbnail is in WEBM format.
  TdApi.ThumbnailFormatWebp
  The thumbnail is in WEBP format.
  TdApi.TimeZone
  Describes a time zone.
  TdApi.TimeZones
  Contains a list of time zones.
  TdApi.TMeUrl
  Represents a URL linking to an internal Telegram entity.
  TdApi.TMeUrls
  Contains a list of t.me URLs.
  TdApi.TMeUrlType
  This class is an abstract base class.
  TdApi.TMeUrlType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.TMeUrlTypeChatInvite
  A chat invite link.
  TdApi.TMeUrlTypeStickerSet
  A URL linking to a sticker set.
  TdApi.TMeUrlTypeSupergroup
  A URL linking to a public supergroup or channel.
  TdApi.TMeUrlTypeUser
  A URL linking to a user.
  TdApi.ToggleAllDownloadsArePaused
  Changes pause state of all files in the file download list.
  TdApi.ToggleBotIsAddedToAttachmentMenu
  Adds or removes a bot to attachment and side menu.
  TdApi.ToggleBotUsernameIsActive
  Changes active state for a username of a bot.
  TdApi.ToggleBusinessConnectedBotChatIsPaused
  Pauses or resumes the connected business bot in a specific chat.
  TdApi.ToggleChatDefaultDisableNotification
  Changes the value of the default disableNotification parameter, used when a message is sent to a chat.
  TdApi.ToggleChatFolderTags
  Toggles whether chat folder tags are enabled.
  TdApi.ToggleChatHasProtectedContent
  Changes the ability of users to save, forward, or copy chat content.
  TdApi.ToggleChatIsMarkedAsUnread
  Changes the marked as unread state of a chat.
  TdApi.ToggleChatIsPinned
  Changes the pinned state of a chat.
  TdApi.ToggleChatIsTranslatable
  Changes the translatable state of a chat.
  TdApi.ToggleChatViewAsTopics
  Changes the viewAsTopics setting of a forum chat or Saved Messages.
  TdApi.ToggleDownloadIsPaused
  Changes pause state of a file in the file download list.
  TdApi.ToggleForumTopicIsClosed
  Toggles whether a topic is closed in a forum supergroup chat; requires canManageTopics right in the supergroup unless the user is creator of the topic.
  TdApi.ToggleForumTopicIsPinned
  Changes the pinned state of a forum topic; requires canManageTopics right in the supergroup.
  TdApi.ToggleGeneralForumTopicIsHidden
  Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics right in the supergroup.
  TdApi.ToggleGroupCallEnabledStartNotification
  Toggles whether the current user will receive a notification when the group call starts; scheduled group calls only.
  TdApi.ToggleGroupCallIsMyVideoEnabled
  Toggles whether current user's video is enabled.
  TdApi.ToggleGroupCallIsMyVideoPaused
  Toggles whether current user's video is paused.
  TdApi.ToggleGroupCallMuteNewParticipants
  Toggles whether new participants of a group call can be unmuted only by administrators of the group call.
  TdApi.ToggleGroupCallParticipantIsHandRaised
  Toggles whether a group call participant hand is rased.
  TdApi.ToggleGroupCallParticipantIsMuted
  Toggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves.
  TdApi.ToggleGroupCallScreenSharingIsPaused
  Pauses or unpauses screen sharing in a joined group call.
  TdApi.ToggleHasSponsoredMessagesEnabled
  Toggles whether the current user has sponsored messages enabled.
  TdApi.ToggleSavedMessagesTopicIsPinned
  Changes the pinned state of a Saved Messages topic.
  TdApi.ToggleSessionCanAcceptCalls
  Toggles whether a session can accept incoming calls.
  TdApi.ToggleSessionCanAcceptSecretChats
  Toggles whether a session can accept incoming secret chats.
  TdApi.ToggleStoryIsPostedToChatPage
  Toggles whether a story is accessible after expiration.
  TdApi.ToggleSupergroupCanHaveSponsoredMessages
  Toggles whether sponsored messages are shown in the channel chat; requires owner privileges in the channel.
  TdApi.ToggleSupergroupHasAggressiveAntiSpamEnabled
  Toggles whether aggressive anti-spam checks are enabled in the supergroup.
  TdApi.ToggleSupergroupHasHiddenMembers
  Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.
  TdApi.ToggleSupergroupIsAllHistoryAvailable
  Toggles whether the message history of a supergroup is available to new members; requires canChangeInfo member right.
  TdApi.ToggleSupergroupIsBroadcastGroup
  Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.
  TdApi.ToggleSupergroupIsForum
  Toggles whether the supergroup is a forum; requires owner privileges in the supergroup.
  TdApi.ToggleSupergroupJoinByRequest
  Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right.
  TdApi.ToggleSupergroupJoinToSendMessages
  Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right.
  TdApi.ToggleSupergroupSignMessages
  Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo member right.
  TdApi.ToggleSupergroupUsernameIsActive
  Changes active state for a username of a supergroup or channel, requires owner privileges in the supergroup or channel.
  TdApi.ToggleUsernameIsActive
  Changes active state for a username of the current user.
  TdApi.TopChatCategory
  This class is an abstract base class.
  TdApi.TopChatCategory.Constructors
  Describes possible values returned by getConstructor().
  TdApi.TopChatCategoryBots
  A category containing frequently used private chats with bot users.
  TdApi.TopChatCategoryCalls
  A category containing frequently used chats used for calls.
  TdApi.TopChatCategoryChannels
  A category containing frequently used channels.
  TdApi.TopChatCategoryForwardChats
  A category containing frequently used chats used to forward messages.
  TdApi.TopChatCategoryGroups
  A category containing frequently used basic groups and supergroups.
  TdApi.TopChatCategoryInlineBots
  A category containing frequently used chats with inline bots sorted by their usage in inline mode.
  TdApi.TopChatCategoryUsers
  A category containing frequently used private chats with non-bot users.
  TdApi.TransferChatOwnership
  Changes the owner of a chat; requires owner privileges in the chat.
  TdApi.TranslateMessageText
  Extracts text or caption of the given message and translates it to the given language.
  TdApi.TranslateText
  Translates a text to the given language.
  TdApi.TrendingStickerSets
  Represents a list of trending sticker sets.
  TdApi.UnconfirmedSession
  Contains information about an unconfirmed session.
  TdApi.UnpinAllChatMessages
  Removes all pinned messages from a chat; requires canPinMessages member right if the chat is a basic group or supergroup, or canEditMessages administrator right if the chat is a channel.
  TdApi.UnpinAllMessageThreadMessages
  Removes all pinned messages from a forum topic; requires canPinMessages member right in the supergroup.
  TdApi.UnpinChatMessage
  Removes a pinned message from a chat; requires canPinMessages member right if the chat is a basic group or supergroup, or canEditMessages administrator right if the chat is a channel.
  TdApi.UnreadReaction
  Contains information about an unread reaction to a message.
  TdApi.Update
  This class is an abstract base class.
  TdApi.Update.Constructors
  Describes possible values returned by getConstructor().
  TdApi.UpdateAccentColors
  The list of supported accent colors has changed.
  TdApi.UpdateActiveEmojiReactions
  The list of active emoji reactions has changed.
  TdApi.UpdateActiveNotifications
  Contains active notifications that were shown on previous application launches.
  TdApi.UpdateAnimatedEmojiMessageClicked
  Some animated emoji message was clicked and a big animated sticker must be played if the message is visible on the screen.
  TdApi.UpdateAnimationSearchParameters
  The parameters of animation search through getOption("animation_search_bot_username") bot has changed.
  TdApi.UpdateApplicationVerificationRequired
  A request can't be completed unless application verification is performed; for official mobile applications only.
  TdApi.UpdateAttachmentMenuBots
  The list of bots added to attachment or side menu has changed.
  TdApi.UpdateAuthorizationState
  The user authorization state has changed.
  TdApi.UpdateAutosaveSettings
  Autosave settings for some type of chats were updated.
  TdApi.UpdateAvailableMessageEffects
  The list of available message effects has changed.
  TdApi.UpdateBasicGroup
  Some data of a basic group has changed.
  TdApi.UpdateBasicGroupFullInfo
  Some data in basicGroupFullInfo has been changed.
  TdApi.UpdateBusinessConnection
  A business connection has changed; for bots only.
  TdApi.UpdateBusinessMessageEdited
  A message in a business account was edited; for bots only.
  TdApi.UpdateBusinessMessagesDeleted
  Messages in a business account were deleted; for bots only.
  TdApi.UpdateCall
  New call was created or information about a call was updated.
  TdApi.UpdateChatAccentColors
  Chat accent colors have changed.
  TdApi.UpdateChatAction
  A message sender activity in the chat has changed.
  TdApi.UpdateChatActionBar
  The chat action bar was changed.
  TdApi.UpdateChatActiveStories
  The list of active stories posted by a specific chat has changed.
  TdApi.UpdateChatAddedToList
  A chat was added to a chat list.
  TdApi.UpdateChatAvailableReactions
  The chat available reactions were changed.
  TdApi.UpdateChatBackground
  The chat background was changed.
  TdApi.UpdateChatBlockList
  A chat was blocked or unblocked.
  TdApi.UpdateChatBoost
  A chat boost has changed; for bots only.
  TdApi.UpdateChatBusinessBotManageBar
  The bar for managing business bot was changed in a chat.
  TdApi.UpdateChatDefaultDisableNotification
  The value of the default disableNotification parameter, used when a message is sent to the chat, was changed.
  TdApi.UpdateChatDraftMessage
  A chat draft has changed.
  TdApi.UpdateChatEmojiStatus
  Chat emoji status has changed.
  TdApi.UpdateChatFolders
  The list of chat folders or a chat folder has changed.
  TdApi.UpdateChatHasProtectedContent
  A chat content was allowed or restricted for saving.
  TdApi.UpdateChatHasScheduledMessages
  A chat's hasScheduledMessages field has changed.
  TdApi.UpdateChatIsMarkedAsUnread
  A chat was marked as unread or was read.
  TdApi.UpdateChatIsTranslatable
  Translation of chat messages was enabled or disabled.
  TdApi.UpdateChatLastMessage
  The last message of a chat was changed.
  TdApi.UpdateChatMember
  User rights changed in a chat; for bots only.
  TdApi.UpdateChatMessageAutoDeleteTime
  The message auto-delete or self-destruct timer setting for a chat was changed.
  TdApi.UpdateChatMessageSender
  The message sender that is selected to send messages in a chat has changed.
  TdApi.UpdateChatNotificationSettings
  Notification settings for a chat were changed.
  TdApi.UpdateChatOnlineMemberCount
  The number of online group members has changed.
  TdApi.UpdateChatPendingJoinRequests
  The chat pending join requests were changed.
  TdApi.UpdateChatPermissions
  Chat permissions were changed.
  TdApi.UpdateChatPhoto
  A chat photo was changed.
  TdApi.UpdateChatPosition
  The position of a chat in a chat list has changed.
  TdApi.UpdateChatReadInbox
  Incoming messages were read or the number of unread messages has been changed.
  TdApi.UpdateChatReadOutbox
  Outgoing messages were read.
  TdApi.UpdateChatRemovedFromList
  A chat was removed from a chat list.
  TdApi.UpdateChatReplyMarkup
  The default chat reply markup was changed.
  TdApi.UpdateChatRevenueAmount
  The revenue earned from sponsored messages in a chat has changed.
  TdApi.UpdateChatTheme
  The chat theme was changed.
  TdApi.UpdateChatThemes
  The list of available chat themes has changed.
  TdApi.UpdateChatTitle
  The title of a chat was changed.
  TdApi.UpdateChatUnreadMentionCount
  The chat unreadMentionCount has changed.
  TdApi.UpdateChatUnreadReactionCount
  The chat unreadReactionCount has changed.
  TdApi.UpdateChatVideoChat
  A chat video chat state has changed.
  TdApi.UpdateChatViewAsTopics
  A chat default appearance has changed.
  TdApi.UpdateConnectionState
  The connection state has changed.
  TdApi.UpdateContactCloseBirthdays
  The list of contacts that had birthdays recently or will have birthday soon has changed.
  TdApi.UpdateDefaultBackground
  The default background has changed.
  TdApi.UpdateDefaultReactionType
  The type of default reaction has changed.
  TdApi.UpdateDeleteMessages
  Some messages were deleted.
  TdApi.UpdateDiceEmojis
  The list of supported dice emojis has changed.
  TdApi.UpdateFavoriteStickers
  The list of favorite stickers was updated.
  TdApi.UpdateFile
  Information about a file was updated.
  TdApi.UpdateFileAddedToDownloads
  A file was added to the file download list.
  TdApi.UpdateFileDownload
  A file download was changed.
  TdApi.UpdateFileDownloads
  The state of the file download list has changed.
  TdApi.UpdateFileGenerationStart
  The file generation process needs to be started by the application.
  TdApi.UpdateFileGenerationStop
  File generation is no longer needed.
  TdApi.UpdateFileRemovedFromDownloads
  A file was removed from the file download list.
  TdApi.UpdateForumTopicInfo
  Basic information about a topic in a forum chat was changed.
  TdApi.UpdateGroupCall
  Information about a group call was updated.
  TdApi.UpdateGroupCallParticipant
  Information about a group call participant was changed.
  TdApi.UpdateHavePendingNotifications
  Describes whether there are some pending notification updates.
  TdApi.UpdateInstalledStickerSets
  The list of installed sticker sets was updated.
  TdApi.UpdateLanguagePackStrings
  Some language pack strings have been updated.
  TdApi.UpdateMessageContent
  The message content has changed.
  TdApi.UpdateMessageContentOpened
  The message content was opened.
  TdApi.UpdateMessageEdited
  A message was edited.
  TdApi.UpdateMessageFactCheck
  A fact-check added to a message was changed.
  TdApi.UpdateMessageInteractionInfo
  The information about interactions with a message has changed.
  TdApi.UpdateMessageIsPinned
  The message pinned state was changed.
  TdApi.UpdateMessageLiveLocationViewed
  A message with a live location was viewed.
  TdApi.UpdateMessageMentionRead
  A message with an unread mention was read.
  TdApi.UpdateMessageReaction
  User changed its reactions on a message with public reactions; for bots only.
  TdApi.UpdateMessageReactions
  Reactions added to a message with anonymous reactions have changed; for bots only.
  TdApi.UpdateMessageSendAcknowledged
  A request to send a message has reached the Telegram server.
  TdApi.UpdateMessageSendFailed
  A message failed to send.
  TdApi.UpdateMessageSendSucceeded
  A message has been successfully sent.
  TdApi.UpdateMessageUnreadReactions
  The list of unread reactions added to a message was changed.
  TdApi.UpdateNewBusinessCallbackQuery
  A new incoming callback query from a business message; for bots only.
  TdApi.UpdateNewBusinessMessage
  A new message was added to a business account; for bots only.
  TdApi.UpdateNewCallbackQuery
  A new incoming callback query; for bots only.
  TdApi.UpdateNewCallSignalingData
  New call signaling data arrived.
  TdApi.UpdateNewChat
  A new chat has been loaded/created.
  TdApi.UpdateNewChatJoinRequest
  A user sent a join request to a chat; for bots only.
  TdApi.UpdateNewChosenInlineResult
  The user has chosen a result of an inline query; for bots only.
  TdApi.UpdateNewCustomEvent
  A new incoming event; for bots only.
  TdApi.UpdateNewCustomQuery
  A new incoming query; for bots only.
  TdApi.UpdateNewInlineCallbackQuery
  A new incoming callback query from a message sent via a bot; for bots only.
  TdApi.UpdateNewInlineQuery
  A new incoming inline query; for bots only.
  TdApi.UpdateNewMessage
  A new message was received; can also be an outgoing message.
  TdApi.UpdateNewPreCheckoutQuery
  A new incoming pre-checkout query; for bots only.
  TdApi.UpdateNewShippingQuery
  A new incoming shipping query; for bots only.
  TdApi.UpdateNotification
  A notification was changed.
  TdApi.UpdateNotificationGroup
  A list of active notifications in a notification group has changed.
  TdApi.UpdateOption
  An option changed its value.
  TdApi.UpdateOwnedStarCount
  The number of Telegram stars owned by the current user has changed.
  TdApi.UpdatePoll
  A poll was updated; for bots only.
  TdApi.UpdatePollAnswer
  A user changed the answer to a poll; for bots only.
  TdApi.UpdateProfileAccentColors
  The list of supported accent colors for user profiles has changed.
  TdApi.UpdateQuickReplyShortcut
  Basic information about a quick reply shortcut has changed.
  TdApi.UpdateQuickReplyShortcutDeleted
  A quick reply shortcut and all its messages were deleted.
  TdApi.UpdateQuickReplyShortcutMessages
  The list of quick reply shortcut messages has changed.
  TdApi.UpdateQuickReplyShortcuts
  The list of quick reply shortcuts has changed.
  TdApi.UpdateReactionNotificationSettings
  Notification settings for reactions were updated.
  TdApi.UpdateRecentStickers
  The list of recently used stickers was updated.
  TdApi.Updates
  Contains a list of updates.
  TdApi.UpdateSavedAnimations
  The list of saved animations was updated.
  TdApi.UpdateSavedMessagesTags
  Tags used in Saved Messages or a Saved Messages topic have changed.
  TdApi.UpdateSavedMessagesTopic
  Basic information about a Saved Messages topic has changed.
  TdApi.UpdateSavedMessagesTopicCount
  Number of Saved Messages topics has changed.
  TdApi.UpdateSavedNotificationSounds
  The list of saved notification sounds was updated.
  TdApi.UpdateScopeNotificationSettings
  Notification settings for some type of chats were updated.
  TdApi.UpdateSecretChat
  Some data of a secret chat has changed.
  TdApi.UpdateServiceNotification
  A service notification from the server was received.
  TdApi.UpdateSpeechRecognitionTrial
  The parameters of speech recognition without Telegram Premium subscription has changed.
  TdApi.UpdateSpeedLimitNotification
  Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium.
  TdApi.UpdateStarRevenueStatus
  The Telegram star revenue earned by a bot or a chat has changed.
  TdApi.UpdateStickerSet
  A sticker set has changed.
  TdApi.UpdateStory
  A story was changed.
  TdApi.UpdateStoryDeleted
  A story became inaccessible.
  TdApi.UpdateStoryListChatCount
  Number of chats in a story list has changed.
  TdApi.UpdateStorySendFailed
  A story failed to send.
  TdApi.UpdateStorySendSucceeded
  A story has been successfully sent.
  TdApi.UpdateStoryStealthMode
  Story stealth mode settings have changed.
  TdApi.UpdateSuggestedActions
  The list of suggested to the user actions has changed.
  TdApi.UpdateSupergroup
  Some data of a supergroup or a channel has changed.
  TdApi.UpdateSupergroupFullInfo
  Some data in supergroupFullInfo has been changed.
  TdApi.UpdateTermsOfService
  New terms of service must be accepted by the user.
  TdApi.UpdateTrendingStickerSets
  The list of trending sticker sets was updated or some of them were viewed.
  TdApi.UpdateUnconfirmedSession
  The first unconfirmed session has changed.
  TdApi.UpdateUnreadChatCount
  Number of unread chats, i.e.
  TdApi.UpdateUnreadMessageCount
  Number of unread messages in a chat list has changed.
  TdApi.UpdateUser
  Some data of a user has changed.
  TdApi.UpdateUserFullInfo
  Some data in userFullInfo has been changed.
  TdApi.UpdateUserPrivacySettingRules
  Some privacy setting rules have been changed.
  TdApi.UpdateUsersNearby
  The list of users nearby has changed.
  TdApi.UpdateUserStatus
  The user went online or offline.
  TdApi.UpdateWebAppMessageSent
  A message was sent by an opened Web App, so the Web App needs to be closed.
  TdApi.UpgradeBasicGroupChatToSupergroupChat
  Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires owner privileges.
  TdApi.UploadStickerFile
  Uploads a file with a sticker; returns the uploaded file.
  TdApi.User
  Represents a user.
  TdApi.UserFullInfo
  Contains full information about a user.
  TdApi.UserLink
  Contains an HTTPS URL, which can be used to get information about a user.
  TdApi.Usernames
  Describes usernames assigned to a user, a supergroup, or a channel.
  TdApi.UserPrivacySetting
  This class is an abstract base class.
  TdApi.UserPrivacySetting.Constructors
  Describes possible values returned by getConstructor().
  TdApi.UserPrivacySettingAllowCalls
  A privacy setting for managing whether the user can be called.
  TdApi.UserPrivacySettingAllowChatInvites
  A privacy setting for managing whether the user can be invited to chats.
  TdApi.UserPrivacySettingAllowFindingByPhoneNumber
  A privacy setting for managing whether the user can be found by their phone number.
  TdApi.UserPrivacySettingAllowPeerToPeerCalls
  A privacy setting for managing whether peer-to-peer connections can be used for calls.
  TdApi.UserPrivacySettingAllowPrivateVoiceAndVideoNoteMessages
  A privacy setting for managing whether the user can receive voice and video messages in private chats; for Telegram Premium users only.
  TdApi.UserPrivacySettingRule
  This class is an abstract base class.
  TdApi.UserPrivacySettingRule.Constructors
  Describes possible values returned by getConstructor().
  TdApi.UserPrivacySettingRuleAllowAll
  A rule to allow all users to do something.
  TdApi.UserPrivacySettingRuleAllowChatMembers
  A rule to allow all members of certain specified basic groups and supergroups to doing something.
  TdApi.UserPrivacySettingRuleAllowContacts
  A rule to allow all contacts of the user to do something.
  TdApi.UserPrivacySettingRuleAllowPremiumUsers
  A rule to allow all Premium Users to do something; currently, allowed only for userPrivacySettingAllowChatInvites.
  TdApi.UserPrivacySettingRuleAllowUsers
  A rule to allow certain specified users to do something.
  TdApi.UserPrivacySettingRuleRestrictAll
  A rule to restrict all users from doing something.
  TdApi.UserPrivacySettingRuleRestrictChatMembers
  A rule to restrict all members of specified basic groups and supergroups from doing something.
  TdApi.UserPrivacySettingRuleRestrictContacts
  A rule to restrict all contacts of the user from doing something.
  TdApi.UserPrivacySettingRuleRestrictUsers
  A rule to restrict all specified users from doing something.
  TdApi.UserPrivacySettingRules
  A list of privacy rules.
  TdApi.UserPrivacySettingShowBio
  A privacy setting for managing whether the user's bio is visible.
  TdApi.UserPrivacySettingShowBirthdate
  A privacy setting for managing whether the user's birthdate is visible.
  TdApi.UserPrivacySettingShowLinkInForwardedMessages
  A privacy setting for managing whether a link to the user's account is included in forwarded messages.
  TdApi.UserPrivacySettingShowPhoneNumber
  A privacy setting for managing whether the user's phone number is visible.
  TdApi.UserPrivacySettingShowProfilePhoto
  A privacy setting for managing whether the user's profile photo is visible.
  TdApi.UserPrivacySettingShowStatus
  A privacy setting for managing whether the user's online status is visible.
  TdApi.Users
  Represents a list of users.
  TdApi.UserStatus
  This class is an abstract base class.
  TdApi.UserStatus.Constructors
  Describes possible values returned by getConstructor().
  TdApi.UserStatusEmpty
  The user's status has never been changed.
  TdApi.UserStatusLastMonth
  The user is offline, but was online last month.
  TdApi.UserStatusLastWeek
  The user is offline, but was online last week.
  TdApi.UserStatusOffline
  The user is offline.
  TdApi.UserStatusOnline
  The user is online.
  TdApi.UserStatusRecently
  The user was online recently.
  TdApi.UserSupportInfo
  Contains custom information about the user.
  TdApi.UserType
  This class is an abstract base class.
  TdApi.UserType.Constructors
  Describes possible values returned by getConstructor().
  TdApi.UserTypeBot
  A bot (see https://core.telegram.org/bots).
  TdApi.UserTypeDeleted
  A deleted user or deleted bot.
  TdApi.UserTypeRegular
  A regular user.
  TdApi.UserTypeUnknown
  No information on the user besides the user identifier is available, yet this user has not been deleted.
  TdApi.ValidatedOrderInfo
  Contains a temporary identifier of validated order information, which is stored for one hour, and the available shipping options.
  TdApi.ValidateOrderInfo
  Validates the order information provided by a user and returns the available shipping options for a flexible invoice.
  TdApi.VectorPathCommand
  This class is an abstract base class.
  TdApi.VectorPathCommand.Constructors
  Describes possible values returned by getConstructor().
  TdApi.VectorPathCommandCubicBezierCurve
  A cubic Bézier curve to a given point.
  TdApi.VectorPathCommandLine
  A straight line to a given point.
  TdApi.Venue
  Describes a venue.
  TdApi.Video
  Describes a video file.
  TdApi.VideoChat
  Describes a video chat.
  TdApi.VideoNote
  Describes a video note.
  TdApi.ViewMessages
  Informs TDLib that messages are being viewed by the user.
  TdApi.ViewPremiumFeature
  Informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.
  TdApi.ViewTrendingStickerSets
  Informs the server that some trending sticker sets have been viewed by the user.
  TdApi.VoiceNote
  Describes a voice note.
  TdApi.WebApp
  Describes a Web App.
  TdApi.WebAppInfo
  Contains information about a Web App.
  TdApi.WebPageInstantView
  Describes an instant view page for a web page.
  TdApi.WriteGeneratedFilePart
  Writes a part of a generated file.