# All Classes and Interfaces

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.AcceptedGiftTypes
Describes gift types that are accepted by a user.
TdApi.AcceptOauthRequest
Accepts an OAuth authorization request.
TdApi.AcceptTermsOfService
Accepts Telegram terms of services.
TdApi.AccountInfo
Contains basic information about another user who started a chat with the current user.
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.ActiveStoryState
This class is an abstract base class.
TdApi.ActiveStoryState.Constructors
Describes possible values returned by getConstructor().
TdApi.ActiveStoryStateLive
The chat has an active live story.
TdApi.ActiveStoryStateRead
The chat has active stories, all of which were read.
TdApi.ActiveStoryStateUnread
The chat has some unread active stories.
TdApi.AddBotMediaPreview
Adds a new media preview to the beginning of the list of media previews of a bot.
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.AddChecklistTasks
Adds tasks to a checklist in a message.
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.AddedProxies
Represents a list of added proxy servers.
TdApi.AddedProxy
Contains information about a proxy server added to the list of proxies.
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.AddGiftCollectionGifts
Adds gifts to the beginning of a previously created collection.
TdApi.AddLocalMessage
Adds a local message to a chat.
TdApi.AddLoginPasskey
Adds a passkey allowed to be used for the login by the current user and returns the added passkey.
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.AddOffer
Sends a suggested post based on a previously sent message in a channel direct messages chat.
TdApi.AddPendingLiveStoryReaction
Adds pending paid reaction in a live story group call.
TdApi.AddPendingPaidMessageReaction
Adds the paid message reaction to a message.
TdApi.AddPollOption
Adds an option to a poll.
TdApi.AddProfileAudio
Adds an audio file to the beginning of the profile audio files of the current user.
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.AddStoryAlbumStories
Adds stories to the beginning of a previously created story album.
TdApi.AddTextCompositionStyle
Adds a custom text composition style to the list of used by the user styles.
TdApi.AdvertisementSponsor
Information about the sponsor of an advertisement.
TdApi.AffiliateInfo
Contains information about an affiliate that received commission from a Telegram Star transaction.
TdApi.AffiliateProgramInfo
Contains information about an active affiliate program.
TdApi.AffiliateProgramParameters
Describes parameters of an affiliate program.
TdApi.AffiliateProgramSortOrder
This class is an abstract base class.
TdApi.AffiliateProgramSortOrder.Constructors
Describes possible values returned by getConstructor().
TdApi.AffiliateProgramSortOrderCreationDate
The affiliate programs must be sorted by creation date.
TdApi.AffiliateProgramSortOrderProfitability
The affiliate programs must be sorted by the profitability.
TdApi.AffiliateProgramSortOrderRevenue
The affiliate programs must be sorted by the expected revenue.
TdApi.AffiliateType
This class is an abstract base class.
TdApi.AffiliateType.Constructors
Describes possible values returned by getConstructor().
TdApi.AffiliateTypeBot
The affiliate is a bot owned by the current user.
TdApi.AffiliateTypeChannel
The affiliate is a channel chat where the current user has canPostMessages administrator right.
TdApi.AffiliateTypeCurrentUser
The affiliate is the current user.
TdApi.AgeVerificationParameters
Describes parameters for age verification of the current user.
TdApi.AllowBotToSendMessages
Allows the specified bot to send messages to the user.
TdApi.AllowUnpaidMessagesFromUser
Allows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages.
TdApi.AlternativeVideo
Describes an alternative re-encoded quality of a video file.
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.AnswerGuestQuery
Sets the result of a guest 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.ApproveSuggestedPost
Approves a suggested post in a channel direct messages chat.
TdApi.ArchiveChatListSettings
Contains settings for automatic moving of chats to and from the Archive chat lists.
TdApi.AssignStoreTransaction
Informs server about an in-store purchase.
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.AttributeCraftPersistenceProbability
Describes chance of the crafted gift to have the backdrop or symbol of one of the original gifts.
TdApi.AuctionBid
Describes a bid in an auction.
TdApi.AuctionRound
Describes a round of an auction.
TdApi.AuctionState
This class is an abstract base class.
TdApi.AuctionState.Constructors
Describes possible values returned by getConstructor().
TdApi.AuctionStateActive
Contains information about an ongoing or scheduled auction.
TdApi.AuctionStateFinished
Contains information about a finished auction.
TdApi.Audio
Describes an audio file.
TdApi.Audios
Contains a list of audio files.
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.AuthorizationStateWaitPremiumPurchase
The user must buy Telegram Premium as an in-store purchase to log in.
TdApi.AuthorizationStateWaitRegistration
The user is unregistered and needs 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.AvailableGift
Describes a gift that is available for purchase.
TdApi.AvailableGifts
Contains a list of gifts that can be sent to another user or channel chat.
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 based on an emoji; 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.BanGroupCallParticipants
Bans users from a group call not bound to a chat; requires groupCall.isOwned.
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.BotAccessSettings
Describes users that have access to a bot.
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.BotMediaPreview
Describes media previews of a bot.
TdApi.BotMediaPreviewInfo
Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews.
TdApi.BotMediaPreviews
Contains a list of media previews of a bot.
TdApi.BotMenuButton
Describes a button to be shown instead of bot commands menu button.
TdApi.BotVerification
Describes verification status provided by a bot.
TdApi.BotVerificationParameters
Describes parameters of verification that is provided by a bot.
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.BuiltInTheme
This class is an abstract base class.
TdApi.BuiltInTheme.Constructors
Describes possible values returned by getConstructor().
TdApi.BuiltInThemeArctic
Arctic light theme.
TdApi.BuiltInThemeClassic
Classic light theme.
TdApi.BuiltInThemeDay
Regular light theme.
TdApi.BuiltInThemeNight
Regular dark theme.
TdApi.BuiltInThemeTinted
Tinted dark theme.
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.BusinessBotRights
Describes rights of a business bot.
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.ButtonStyle
This class is an abstract base class.
TdApi.ButtonStyle.Constructors
Describes possible values returned by getConstructor().
TdApi.ButtonStyleDanger
The button has red color.
TdApi.ButtonStyleDefault
The button has default style.
TdApi.ButtonStylePrimary
The button has dark blue color.
TdApi.ButtonStyleSuccess
The button has green color.
TdApi.BuyGiftUpgrade
Pays for upgrade of a regular gift that is owned by another user or channel chat.
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.CallDiscardReasonUpgradeToGroupCall
The call was ended because it has been upgraded to a group call.
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.CanPostStory
Checks whether the current user can post a story on behalf of a chat; requires canPostStories administrator right for supergroup and channel chats.
TdApi.CanPostStoryResult
This class is an abstract base class.
TdApi.CanPostStoryResult.Constructors
Describes possible values returned by getConstructor().
TdApi.CanPostStoryResultActiveStoryLimitExceeded
The limit for the number of active stories exceeded.
TdApi.CanPostStoryResultBoostNeeded
The chat must be boosted first by Telegram Premium subscribers to post more stories.
TdApi.CanPostStoryResultLiveStoryIsActive
The user or the chat has an active live story.
TdApi.CanPostStoryResultMonthlyLimitExceeded
The monthly limit for the number of posted stories exceeded.
TdApi.CanPostStoryResultOk
A story can be sent.
TdApi.CanPostStoryResultPremiumNeeded
The user must subscribe to Telegram Premium to be able to post stories.
TdApi.CanPostStoryResultWeeklyLimitExceeded
The weekly limit for the number of posted stories exceeded.
TdApi.CanPurchaseFromStore
Checks whether an in-store purchase is possible.
TdApi.CanSendGift
Checks whether a gift with nextSendDate in the future can be sent already.
TdApi.CanSendGiftResult
This class is an abstract base class.
TdApi.CanSendGiftResult.Constructors
Describes possible values returned by getConstructor().
TdApi.CanSendGiftResultFail
The gift can't be sent now by the current user.
TdApi.CanSendGiftResultOk
The gift can be sent now by the current user.
TdApi.CanSendMessageToUser
Checks 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.CanSendMessageToUserResultUserHasPaidMessages
The user can be messaged, but the messages are paid.
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.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 an empty optionId and messageIds.
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, excluding the paid reaction and custom reactions in channel chats.
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 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.ChatEventAutomaticTranslationToggled
The hasAutomaticTranslation setting of a channel was toggled.
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.ChatEventMemberSubscriptionExtended
A chat member extended their subscription to the chat.
TdApi.ChatEventMemberTagChanged
A chat member tag has been 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.ChatEventShowMessageSenderToggled
The showMessageSender setting of a channel was toggled.
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.ChatFolderName
Describes name of a chat folder.
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.ChatInviteLinkSubscriptionInfo
Contains information about subscription plan that must be paid by the user to use a chat invite link.
TdApi.ChatJoinRequest
Describes a user who 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.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.ChatRevenueTransactionTypeFragmentRefund
Describes a refund for failed withdrawal of earnings through Fragment.
TdApi.ChatRevenueTransactionTypeFragmentWithdrawal
Describes a withdrawal of earnings through Fragment.
TdApi.ChatRevenueTransactionTypeSponsoredMessageEarnings
Describes earnings from sponsored messages in a chat in some time frame.
TdApi.ChatRevenueTransactionTypeSuggestedPostEarnings
Describes earnings from a published suggested post.
TdApi.ChatRevenueTransactionTypeUnsupported
Describes an unsupported transaction.
TdApi.Chats
Represents a list of chats.
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 posted on behalf of 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 posted on behalf of the chat.
TdApi.ChatStatisticsSupergroup
A detailed statistics about a supergroup chat.
TdApi.ChatTheme
This class is an abstract base class.
TdApi.ChatTheme.Constructors
Describes possible values returned by getConstructor().
TdApi.ChatThemeEmoji
A chat theme based on an emoji.
TdApi.ChatThemeGift
A chat theme based on an upgraded gift.
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.CheckAuthenticationPasskey
Checks a passkey to log in to the corresponding account.
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.CheckAuthenticationPremiumPurchase
Checks whether an in-store purchase of Telegram Premium is possible before authorization.
TdApi.CheckBotUsername
Checks whether a username can be set for a new bot.
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.Checklist
Describes a checklist.
TdApi.ChecklistTask
Describes a task in a checklist.
TdApi.CheckLoginEmailAddressCode
Checks the login email address authentication.
TdApi.CheckOauthRequestMatchCode
Checks a match-code for an OAuth authorization request.
TdApi.CheckPasswordRecoveryCode
Checks whether a 2-step verification password recovery code sent to an email address is valid.
TdApi.CheckPhoneNumberCode
Checks the authentication code and completes the request for which the code was sent if appropriate.
TdApi.CheckPremiumGiftCode
Returns 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.CheckWebAppFileDownload
Checks whether a file can be downloaded and saved locally by Web App request.
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 chat photo, a mention in the sponsored message text, or the media in the sponsored message.
TdApi.ClickPremiumSubscriptionButton
Informs TDLib that the user clicked Premium subscription button on the Premium features screen.
TdApi.ClickVideoMessageAdvertisement
Informs TDLib that the user clicked a video message advertisement.
TdApi.Close
Closes the TDLib instance.
TdApi.CloseBirthdayUser
Describes a user who 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.CloseGiftAuction
Informs TDLib that a gift auction was closed by the user.
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.CommitPendingLiveStoryReactions
Applies all pending paid reactions in a live story group call.
TdApi.CommitPendingPaidMessageReactions
Applies all pending paid reactions on a message.
TdApi.ComposeTextWithAi
Changes text using an AI model; must not be used in secret chats.
TdApi.ConfirmQrCodeAuthentication
Confirms QR code authentication on another device.
TdApi.ConfirmSession
Confirms an unconfirmed session of the current user from another device.
TdApi.ConnectAffiliateProgram
Connects an affiliate program to the given affiliate.
TdApi.ConnectedAffiliateProgram
Describes an affiliate program that was connected to an affiliate.
TdApi.ConnectedAffiliatePrograms
Represents a list of affiliate programs that were connected to an affiliate.
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 expected to be received while the application was offline.
TdApi.ConnectionStateWaitingForNetwork
Waiting for the network to become available.
TdApi.Contact
Describes a contact of a user.
TdApi.Count
Contains a counter.
TdApi.Countries
Contains information about countries.
TdApi.CountryInfo
Contains information about a country.
TdApi.CraftGift
Crafts a new gift from other gifts that will be permanently lost.
TdApi.CraftGiftResult
This class is an abstract base class.
TdApi.CraftGiftResult.Constructors
Describes possible values returned by getConstructor().
TdApi.CraftGiftResultFail
Crafting has failed.
TdApi.CraftGiftResultInvalidGift
Crafting isn't possible because one of the gifts isn't suitable for crafting.
TdApi.CraftGiftResultSuccess
Crafting was successful.
TdApi.CraftGiftResultTooEarly
Crafting isn't possible because one of the gifts can't be used for crafting yet.
TdApi.CreateBasicGroupChat
Returns an existing chat corresponding to a known basic group.
TdApi.CreateBot
Creates a bot which will be managed by another bot.
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.CreateChatSubscriptionInviteLink
Creates a new subscription invite link for a channel chat.
TdApi.CreatedBasicGroupChat
Contains information about a newly created basic group chat.
TdApi.CreateForumTopic
Creates a topic in a forum supergroup chat or a chat with a bot with topics; requires canManageTopics administrator or canCreateTopics member right in the supergroup.
TdApi.CreateGiftCollection
Creates a collection from gifts on the current user's or a channel's profile page; requires canPostMessages administrator right in the channel chat.
TdApi.CreateGroupCall
Creates a new group call that isn't bound to a chat.
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.CreateStoryAlbum
Creates an album of stories; requires canEditStories administrator right for supergroup and channel chats.
TdApi.CreateSupergroupChat
Returns an existing chat corresponding to a known supergroup or channel.
TdApi.CreateTemporaryPassword
Creates a new temporary password for processing payments.
TdApi.CreateTextCompositionStyle
Creates a custom text composition style.
TdApi.CreateVideoChat
Creates a video chat (a group call bound to a chat); for basic groups, supergroups and channels only; requires canManageVideoChats administrator right.
TdApi.CurrentWeather
Describes the current weather.
TdApi.CustomRequestResult
Contains the result of a custom request.
TdApi.Data
Contains some binary data.
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.DateTimeFormattingType
This class is an abstract base class.
TdApi.DateTimeFormattingType.Constructors
Describes possible values returned by getConstructor().
TdApi.DateTimeFormattingTypeAbsolute
The date and time must be shown as absolute timestamps.
TdApi.DateTimeFormattingTypeRelative
The time must be shown relative to the current time ([in ] X seconds, minutes, hours, days, months, years [ago]).
TdApi.DateTimePartPrecision
This class is an abstract base class.
TdApi.DateTimePartPrecision.Constructors
Describes possible values returned by getConstructor().
TdApi.DateTimePartPrecisionLong
Show the date or time in a long way (March 17, 2022 or 22:45:00.)
TdApi.DateTimePartPrecisionNone
Don't show the date or time.
TdApi.DateTimePartPrecisionShort
Show the date or time in a short way (17.03.22 or 22:45).
TdApi.DeclineGroupCallInvitation
Declines an invitation to an active group call via messageGroupCall.
TdApi.DeclineOauthRequest
Declines an OAuth authorization request.
TdApi.DeclineSuggestedPost
Declines a suggested post in a channel direct messages chat.
TdApi.DecryptGroupCallData
Decrypts group call data received by tgcalls.
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.DeleteAllRecentMessageReactionsFromSender
Deletes all recent reactions added by the specified sender in a chat.
TdApi.DeleteAllRevokedChatInviteLinks
Deletes all revoked chat invite links created by a given chat administrator.
TdApi.DeleteBotMediaPreviews
Deletes media previews from the list of media previews of a bot.
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.DeleteBusinessMessages
Deletes messages on behalf of a business account; for bots only.
TdApi.DeleteBusinessStory
Deletes a story posted by the bot on behalf of a business account; for bots only.
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.DeleteDirectMessagesChatTopicHistory
Deletes all messages in the topic in a channel direct messages chat administered by the current user.
TdApi.DeleteDirectMessagesChatTopicMessagesByDate
Deletes all messages between the specified dates in the topic in a channel direct messages chat administered by the current user.
TdApi.DeleteFile
Deletes a file from the TDLib file cache.
TdApi.DeleteForumTopic
Deletes all messages from a topic in a forum supergroup chat or a chat with a bot with topics; 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.DeleteGiftCollection
Deletes a gift collection.
TdApi.DeleteGroupCallMessages
Deletes messages in a group call; for live story calls only.
TdApi.DeleteGroupCallMessagesBySender
Deletes all messages sent by the specified message sender in a group call; for live story calls only.
TdApi.DeleteLanguagePack
Deletes all information about a language pack in the current localization target.
TdApi.DeleteMessageReactionsFromSender
Deletes all reactions added by the specified sender on a message.
TdApi.DeleteMessages
Deletes messages.
TdApi.DeletePassportElement
Deletes a Telegram Passport element.
TdApi.DeletePollOption
Deletes an option from a poll.
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 posted story.
TdApi.DeleteStoryAlbum
Deletes a story album.
TdApi.DeleteTextCompositionStyle
Deletes a custom text composition style that was created by the current user.
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.DiffEntity
Represents a change of a text.
TdApi.DiffEntityType
This class is an abstract base class.
TdApi.DiffEntityType.Constructors
Describes possible values returned by getConstructor().
TdApi.DiffEntityTypeDelete
Removal of some text.
TdApi.DiffEntityTypeInsert
Addition of some text.
TdApi.DiffEntityTypeReplace
Change of some text.
TdApi.DiffText
A text with some changes highlighted.
TdApi.DirectMessagesChatTopic
Contains information about a topic in a channel direct messages chat administered by the current user.
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.DisconnectAffiliateProgram
Disconnects an affiliate program from the given affiliate and immediately deactivates its referral link.
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.DropGiftOriginalDetails
Drops original details for an upgraded gift.
TdApi.EditBotMediaPreview
Replaces media preview in the list of media previews of a bot.
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.EditBusinessMessageChecklist
Edits the content of a checklist in 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 media content of a message with a text, 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.EditBusinessStory
Changes a story posted by the bot 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.EditChatSubscriptionInviteLink
Edits a subscription invite link for a channel 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 or a chat with a bot with topics; for supergroup chats requires canManageTopics administrator right 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 media content of a message with a text, 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.EditMessageChecklist
Edits the message content of a checklist.
TdApi.EditMessageLiveLocation
Edits the message content of a live location.
TdApi.EditMessageMedia
Edits the media content of a message, 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.EditStarSubscription
Cancels or re-enables Telegram Star subscription.
TdApi.EditStory
Changes content and caption of a story.
TdApi.EditStoryCover
Changes cover of a video story.
TdApi.EditTextCompositionStyle
Edits a custom text composition style that was created by the current user.
TdApi.EditUserStarSubscription
Cancels or re-enables Telegram Star subscription for a user; for bots only.
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.EmojiChatTheme
Describes a chat theme based on an emoji.
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 an emoji to be shown instead of the Telegram Premium badge.
TdApi.EmojiStatusCustomEmojis
Contains a list of custom emoji identifiers for emoji statuses.
TdApi.EmojiStatuses
Contains a list of emoji statuses.
TdApi.EmojiStatusType
This class is an abstract base class.
TdApi.EmojiStatusType.Constructors
Describes possible values returned by getConstructor().
TdApi.EmojiStatusTypeCustomEmoji
A custom emoji set as emoji status.
TdApi.EmojiStatusTypeUpgradedGift
An upgraded gift set as emoji status.
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.EncryptGroupCallData
Encrypts group call data before sending them over network using tgcalls.
TdApi.EndGroupCall
Ends a group call.
TdApi.EndGroupCallRecording
Ends recording of an active group call; for video chats only.
TdApi.EndGroupCallScreenSharing
Ends screen sharing in a joined group call; not supported in live stories.
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 who 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.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.FileTypeLivePhotoVideo
The file is a video for a live photo.
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.FileTypeSelfDestructingLivePhotoVideo
The file is a self-destructing video for a live photo in a private chat.
TdApi.FileTypeSelfDestructingPhoto
The file is a self-destructing photo in a private chat.
TdApi.FileTypeSelfDestructingVideo
The file is a self-destructing video in a private chat.
TdApi.FileTypeSelfDestructingVideoNote
The file is a self-destructing video note in a private chat.
TdApi.FileTypeSelfDestructingVoiceNote
The file is a self-destructing voice note in a private chat.
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.FixedText
A text fixed using fixTextWithAi.
TdApi.FixTextWithAi
Fixes text using an AI model; must not be used in secret chats.
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.FoundAffiliateProgram
Describes a found affiliate program.
TdApi.FoundAffiliatePrograms
Represents a list of found affiliate programs.
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.FoundPublicPosts
Contains a list of messages found by a public post search.
TdApi.FoundStories
Contains a list of stories found by a search.
TdApi.FoundUsers
Represents a list of found users.
TdApi.FoundWebApp
Contains information about a Web App found by its short name.
TdApi.Function<R>
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.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.GetAuthenticationPasskeyParameters
Returns parameters for authentication using a passkey as JSON-serialized string.
TdApi.GetAuthorizationState
Returns the current authorization state.
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.GetAvailableGifts
Returns gifts that can be sent to other users and channel chats.
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.GetBotMediaPreviewInfo
Returns the list of media previews for the given language and the list of languages for which the bot has dedicated previews.
TdApi.GetBotMediaPreviews
Returns the list of media previews of a bot.
TdApi.GetBotName
Returns the name of a bot in the given language.
TdApi.GetBotSimilarBotCount
Returns approximate number of bots similar to the given bot.
TdApi.GetBotSimilarBots
Returns a list of bots similar to the given bot.
TdApi.GetBusinessAccountStarAmount
Returns the Telegram Star amount owned by a business account; for bots only.
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.
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 administrator right in the chat.
TdApi.GetChatAvailableMessageSenders
Returns the list of message sender identifiers, which can be used to send messages in a chat.
TdApi.GetChatAvailablePaidMessageReactionSenders
Returns the list of message sender identifiers, which can be used to send a paid reaction in a chat.
TdApi.GetChatBoostFeatures
Returns the list of features available for different chat boost levels.
TdApi.GetChatBoostLevelFeatures
Returns the list of features available on the specific chat boost level.
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 or its topic.
TdApi.GetChatMessagePosition
Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat and topic.
TdApi.GetChatNotificationSettingsExceptions
Returns the list of chats with non-default notification settings for new messages.
TdApi.GetChatOwnerAfterLeaving
Returns the user who will become the owner of the chat after 7 days if the current user does not return to the supergroup or channel during that period or immediately for basic groups; requires owner privileges in the chat.
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 channel chat or the bot.
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 and chats with bots only.
TdApi.GetChatStatistics
Returns detailed statistics about a chat.
TdApi.GetChatsToPostStories
Returns supergroup and channel chats in which the current user has the right to post stories.
TdApi.GetChatStoryAlbums
Returns the list of story albums owned by the given chat.
TdApi.GetChatStoryInteractions
Returns interactions with a story posted in a chat.
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.GetConnectedAffiliateProgram
Returns an affiliate program that was connected to the given affiliate by identifier of the bot that created the program.
TdApi.GetConnectedAffiliatePrograms
Returns affiliate programs that were connected to the given affiliate.
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.GetCurrentWeather
Returns the current weather in the given location.
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.GetDirectMessagesChatTopic
Returns information about the topic in a channel direct messages chat administered by the current user.
TdApi.GetDirectMessagesChatTopicHistory
Returns messages in the topic in a channel direct messages chat administered by the current user.
TdApi.GetDirectMessagesChatTopicMessageByDate
Returns the last message sent in the topic in a channel direct messages chat administered by the current user no later than the specified date.
TdApi.GetDirectMessagesChatTopicRevenue
Returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.
TdApi.GetDisallowedChatEmojiStatuses
Returns the list of emoji statuses, which can't be used as chat emoji status, even if 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.
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 topic in a forum supergroup chat or a chat with a bot with topics.
TdApi.GetForumTopicDefaultIcons
Returns the list of custom emoji, which can be used as forum topic icon by all users.
TdApi.GetForumTopicHistory
Returns messages in a topic in a forum supergroup chat or a chat with a bot with topics.
TdApi.GetForumTopicLink
Returns an HTTPS link to a topic in a forum supergroup chat.
TdApi.GetForumTopics
Returns found forum topics in a forum supergroup chat or a chat with a bot with topics.
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.GetGiftAuctionAcquiredGifts
Returns the gifts that were acquired by the current user on a gift auction.
TdApi.GetGiftAuctionState
Returns auction state for a gift.
TdApi.GetGiftChatThemes
Returns available to the current user gift chat themes.
TdApi.GetGiftCollections
Returns collections of gifts owned by the given user or chat.
TdApi.GetGiftsForCrafting
Returns upgraded gifts of the current user who can be used to craft another gifts.
TdApi.GetGiftUpgradePreview
Returns examples of possible upgraded gifts for a regular gift.
TdApi.GetGiveawayInfo
Returns information about a giveaway.
TdApi.GetGreetingStickers
Returns greeting stickers from regular sticker sets that can be used for the start page of other users.
TdApi.GetGrossingWebAppBots
Returns the most grossing Web App bots.
TdApi.GetGroupCall
Returns information about a group call.
TdApi.GetGroupCallParticipants
Returns information about participants of a non-joined group call that is not bound to a chat.
TdApi.GetGroupCallStreams
Returns information about available streams in a video chat or a live story.
TdApi.GetGroupCallStreamSegment
Returns a file with a segment of a video chat or live story 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
Returns 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.GetLiveStoryAvailableMessageSenders
Returns the list of message sender identifiers, on whose behalf messages can be sent to a live story.
TdApi.GetLiveStoryRtmpUrl
Returns RTMP URL for streaming to a live story; requires canPostStories administrator right for channel chats.
TdApi.GetLiveStoryStreamer
Returns information about the user or the chat that streams to a live story; for live stories that aren't an RTMP stream only.
TdApi.GetLiveStoryTopDonors
Returns the list of top live story donors.
TdApi.GetLocalizationTargetInfo
Returns information about the current localization target.
TdApi.GetLoginPasskeys
Returns the list of passkeys allowed to be used for the login by the current user.
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.GetMainWebApp
Returns information needed to open the main Web App of a bot.
TdApi.GetManagedBotAccessSettings
Returns access settings of a managed bot; for bots only.
TdApi.GetManagedBotToken
Returns token of a managed bot; for bots only.
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.GetMessageAuthor
Returns information about actual author of a message sent on behalf of a channel.
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.GetMessageProperties
Returns properties of a message.
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.GetOauthLinkInfo
Returns information about an OAuth deep link.
TdApi.GetOption
Returns the value of an option by its name.
TdApi.GetOwnedBots
Returns the list of bots owned by the current user.
TdApi.GetOwnedStickerSets
Returns sticker sets owned by the current user.
TdApi.GetPaidMessageRevenue
Returns the total number of Telegram Stars received by the current user for paid messages from the given user.
TdApi.GetPasskeyParameters
Returns parameters for creating of a new passkey as JSON-serialized string.
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.GetPersonalChatHistory
Returns messages in the personal chat of a given user; for bots only.
TdApi.GetPhoneNumberInfo
Returns information about a phone number by its prefix.
TdApi.GetPhoneNumberInfoSync
Returns information about a phone number by its prefix synchronously.
TdApi.GetPollOptionProperties
Returns properties of a poll option.
TdApi.GetPollVoters
Returns message senders voted for the specified option in a poll; use poll.canGetVoters to check whether the method can be used.
TdApi.GetPollVoteStatistics
Returns statistics of poll votes in a poll.
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.GetPremiumGiftPaymentOptions
Returns available options for gifting Telegram Premium to a user.
TdApi.GetPremiumGiveawayPaymentOptions
Returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
TdApi.GetPremiumInfoSticker
Returns the sticker to be used as representation of the Telegram Premium subscription.
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.GetPreparedInlineMessage
Saves an inline message to be sent by the given user.
TdApi.GetPreparedKeyboardButton
Returns a keyboard button prepared by the bot for the user.
TdApi.GetProxies
Returns the list of proxies that are currently set up.
TdApi.GetPublicPostSearchLimits
Checks public post search limits without actually performing the search.
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.GetReceivedGift
Returns information about a received gift.
TdApi.GetReceivedGifts
Returns gifts received by the given user or chat.
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.
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.
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.GetSearchSponsoredChats
Returns sponsored chats to be shown in the search results.
TdApi.GetSecretChat
Returns information about a secret chat by its identifier.
TdApi.GetStakeDiceState
Returns the current state of stake dice.
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.GetStarGiftPaymentOptions
Returns available options for Telegram Stars gifting.
TdApi.GetStarGiveawayPaymentOptions
Returns available options for Telegram Star giveaway creation.
TdApi.GetStarPaymentOptions
Returns available options for Telegram Stars purchase.
TdApi.GetStarRevenueStatistics
Returns detailed Telegram Star revenue statistics.
TdApi.GetStarSubscriptions
Returns the list of Telegram Star subscriptions for the current user.
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.GetStickerOutline
Returns outline of a sticker.
TdApi.GetStickerOutlineSvgPath
Returns outline of a sticker as an SVG path.
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.GetStickerSetName
Returns name of 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.GetStoryAlbumStories
Returns the list of stories added to the given story album.
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 who can be contacted to get support.
TdApi.GetTemporaryPasswordState
Returns information about the current temporary password.
TdApi.GetTextCompositionStyleExample
Returns an example of usage of a custom text composition style.
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.GetTonRevenueStatistics
Returns detailed Toncoin revenue statistics of the current user.
TdApi.GetTonTransactions
Returns the list of Toncoin transactions of the current user.
TdApi.GetTonWithdrawalUrl
Returns a URL for Toncoin withdrawal from the current user's account.
TdApi.GetTopChats
Returns a list of frequently used chats.
TdApi.GetTrendingStickerSets
Returns a list of trending sticker sets.
TdApi.GetUpgradedGift
Returns information about an upgraded gift by its name.
TdApi.GetUpgradedGiftEmojiStatuses
Returns available upgraded gift emoji statuses for self status.
TdApi.GetUpgradedGiftsPromotionalAnimation
Returns promotional animation for upgraded gifts.
TdApi.GetUpgradedGiftValueInfo
Returns information about value of an upgraded gift by its name.
TdApi.GetUpgradedGiftVariants
Returns all possible variants of upgraded gifts for a regular gift.
TdApi.GetUpgradedGiftWithdrawalUrl
Returns a URL for upgraded gift withdrawal in the TON blockchain as an NFT; requires owner privileges for gifts owned by a chat.
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.GetUserProfileAudios
Returns the list of profile audio files of a user.
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.GetVideoChatInviteLink
Returns invite link to a video chat in a public chat.
TdApi.GetVideoChatRtmpUrl
Returns RTMP URL for streaming to the video chat of a chat; requires canManageVideoChats administrator right.
TdApi.GetVideoMessageAdvertisements
Returns advertisements to be shown while a video from a message is watched.
TdApi.GetWebAppLinkUrl
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
TdApi.GetWebAppPlaceholder
Returns a default placeholder for Web Apps of a bot.
TdApi.GetWebAppUrl
Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button.
TdApi.GetWebPageInstantView
Returns an instant view version of a web page if available.
TdApi.Gift
Describes a gift that can be sent to another user or channel chat.
TdApi.GiftAuction
Describes an auction on which a gift can be purchased.
TdApi.GiftAuctionAcquiredGift
Represents a gift that was acquired by the current user on an auction.
TdApi.GiftAuctionAcquiredGifts
Represents a list of gifts that were acquired by the current user on an auction.
TdApi.GiftAuctionState
Represent auction state of a gift.
TdApi.GiftBackground
Describes background of a gift.
TdApi.GiftChatTheme
Describes a chat theme based on an upgraded gift.
TdApi.GiftChatThemes
Contains a list of chat themes based on upgraded gifts.
TdApi.GiftCollection
Describes collection of gifts.
TdApi.GiftCollections
Contains a list of gift collections.
TdApi.GiftForResale
Describes a gift available for resale.
TdApi.GiftForResaleOrder
This class is an abstract base class.
TdApi.GiftForResaleOrder.Constructors
Describes possible values returned by getConstructor().
TdApi.GiftForResaleOrderNumber
The gifts will be sorted by their number from the smallest to the largest.
TdApi.GiftForResaleOrderPrice
The gifts will be sorted by their price from the lowest to the highest.
TdApi.GiftForResaleOrderPriceChangeDate
The gifts will be sorted by the last date when their price was changed from the newest to the oldest.
TdApi.GiftPremiumWithStars
Allows to buy a Telegram Premium subscription for another user with payment in Telegram Stars; for bots only.
TdApi.GiftPurchaseLimits
Describes the maximum number of times that a specific gift can be purchased.
TdApi.GiftPurchaseOfferState
This class is an abstract base class.
TdApi.GiftPurchaseOfferState.Constructors
Describes possible values returned by getConstructor().
TdApi.GiftPurchaseOfferStateAccepted
The offer was accepted.
TdApi.GiftPurchaseOfferStatePending
The offer must be accepted or rejected.
TdApi.GiftPurchaseOfferStateRejected
The offer was rejected.
TdApi.GiftResaleParameters
Describes parameters of a unique gift available for resale.
TdApi.GiftResalePrice
This class is an abstract base class.
TdApi.GiftResalePrice.Constructors
Describes possible values returned by getConstructor().
TdApi.GiftResalePriceStar
Describes price of a resold gift in Telegram Stars.
TdApi.GiftResalePriceTon
Describes price of a resold gift in Toncoins.
TdApi.GiftResaleResult
This class is an abstract base class.
TdApi.GiftResaleResult.Constructors
Describes possible values returned by getConstructor().
TdApi.GiftResaleResultOk
Operation was successfully completed.
TdApi.GiftResaleResultPriceIncreased
Operation has failed, because price has increased.
TdApi.GiftSettings
Contains settings for gift receiving for a user.
TdApi.GiftsForCrafting
Represents a list of gifts received by a user or a chat.
TdApi.GiftsForResale
Describes gifts available for resale.
TdApi.GiftUpgradePreview
Contains examples of possible upgraded gifts for the given regular gift.
TdApi.GiftUpgradePrice
Describes a price required to pay to upgrade a gift.
TdApi.GiftUpgradeVariants
Contains all possible variants of upgraded gifts for the given regular gift.
TdApi.GiveawayInfo
This class is an abstract base class.
TdApi.GiveawayInfo.Constructors
Describes possible values returned by getConstructor().
TdApi.GiveawayInfoCompleted
Describes a completed giveaway.
TdApi.GiveawayInfoOngoing
Describes an ongoing giveaway.
TdApi.GiveawayParameters
Describes parameters of a giveaway.
TdApi.GiveawayParticipantStatus
This class is an abstract base class.
TdApi.GiveawayParticipantStatus.Constructors
Describes possible values returned by getConstructor().
TdApi.GiveawayParticipantStatusAdministrator
The user can't participate in the giveaway, because they are an administrator in one of the chats that created the giveaway.
TdApi.GiveawayParticipantStatusAlreadyWasMember
The user can't participate in the giveaway, because they have already been member of the chat.
TdApi.GiveawayParticipantStatusDisallowedCountry
The user can't participate in the giveaway, because they phone number is from a disallowed country.
TdApi.GiveawayParticipantStatusEligible
The user is eligible for the giveaway.
TdApi.GiveawayParticipantStatusParticipating
The user participates in the giveaway.
TdApi.GiveawayPrize
This class is an abstract base class.
TdApi.GiveawayPrize.Constructors
Describes possible values returned by getConstructor().
TdApi.GiveawayPrizePremium
The giveaway sends Telegram Premium subscriptions to the winners.
TdApi.GiveawayPrizeStars
The giveaway sends Telegram Stars to the winners.
TdApi.GroupCall
Describes a group call.
TdApi.GroupCallDataChannel
This class is an abstract base class.
TdApi.GroupCallDataChannel.Constructors
Describes possible values returned by getConstructor().
TdApi.GroupCallDataChannelMain
The main data channel for audio and video data.
TdApi.GroupCallDataChannelScreenSharing
The data channel for screen sharing.
TdApi.GroupCallId
Contains the group call identifier.
TdApi.GroupCallInfo
Contains information about a just created or just joined group call.
TdApi.GroupCallJoinParameters
Describes parameters used to join a group call.
TdApi.GroupCallMessage
Represents a message sent in a group call.
TdApi.GroupCallMessageLevel
Represents a level of features for a message sent in a live story group call.
TdApi.GroupCallParticipant
Represents a group call participant.
TdApi.GroupCallParticipants
Contains identifiers of group call participants.
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 video chat or a live story.
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.ImportedContact
Describes a contact to import.
TdApi.ImportedContacts
Represents the result of an importContacts request.
TdApi.ImportMessages
Imports messages exported from another application.
TdApi.IncreaseGiftAuctionBid
Increases a bid for an auction gift without changing gift text and receiver.
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.InlineKeyboardButtonTypeCopyText
A button that copies specified text to clipboard.
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.InlineMessageId
Contains identifier of a sent guest message.
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.InputCall
This class is an abstract base class.
TdApi.InputCall.Constructors
Describes possible values returned by getConstructor().
TdApi.InputCallDiscarded
A just ended call.
TdApi.InputCallFromMessage
A call from a message of the type messageCall with non-zero messageCall.uniqueId.
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.InputChatTheme
This class is an abstract base class.
TdApi.InputChatTheme.Constructors
Describes possible values returned by getConstructor().
TdApi.InputChatThemeEmoji
A theme based on an emoji.
TdApi.InputChatThemeGift
A theme based on an upgraded gift.
TdApi.InputChecklist
Describes a checklist to be sent.
TdApi.InputChecklistTask
Describes a task in a checklist to be sent.
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.InputGroupCall
This class is an abstract base class.
TdApi.InputGroupCall.Constructors
Describes possible values returned by getConstructor().
TdApi.InputGroupCallLink
The group call is accessible through a link.
TdApi.InputGroupCallMessage
The group call is accessible through a message of the type messageGroupCall.
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.InputMessageChecklist
A message with a checklist.
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.InputMessageStakeDice
A stake dice message.
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.InputPollOption
Describes one answer option of a poll to be created.
TdApi.InputPollType
This class is an abstract base class.
TdApi.InputPollType.Constructors
Describes possible values returned by getConstructor().
TdApi.InputPollTypeQuiz
A poll in quiz mode, which has predefined correct answers.
TdApi.InputPollTypeRegular
A regular poll.
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.InputStoryAreaTypeUpgradedGift
An area with an upgraded gift.
TdApi.InputStoryAreaTypeWeather
An area with information about weather.
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.InputSuggestedPostInfo
Contains information about a post to suggest.
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.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 expected 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 expected to be added to a group chat.
TdApi.InternalLinkTypeBusinessChat
The link is a link to a business chat.
TdApi.InternalLinkTypeCallsPage
The link is a link to the Call tab or page.
TdApi.InternalLinkTypeChatAffiliateProgram
The link is an affiliate program link.
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.InternalLinkTypeChatInvite
The link is a chat invite link.
TdApi.InternalLinkTypeChatSelection
The link is a link that allows to select some chats.
TdApi.InternalLinkTypeContactsPage
The link is a link to the Contacts tab or page.
TdApi.InternalLinkTypeDirectMessagesChat
The link is a link to a channel direct messages chat by username of the channel.
TdApi.InternalLinkTypeGame
The link is a link to a game.
TdApi.InternalLinkTypeGiftAuction
The link is a link to a gift auction.
TdApi.InternalLinkTypeGiftCollection
The link is a link to a gift collection.
TdApi.InternalLinkTypeGroupCall
The link is a link to a group call that isn't bound to a chat.
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.InternalLinkTypeLiveStory
The link is a link to a live story.
TdApi.InternalLinkTypeMainWebApp
The link is a link to the main Web App of a bot.
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.InternalLinkTypeMyProfilePage
The link is a link to the My Profile application page.
TdApi.InternalLinkTypeNewChannelChat
The link is a link to the screen for creating a new channel chat.
TdApi.InternalLinkTypeNewGroupChat
The link is a link to the screen for creating a new group chat.
TdApi.InternalLinkTypeNewPrivateChat
The link is a link to the screen for creating a new private chat with a contact.
TdApi.InternalLinkTypeNewStory
The link is a link to open the story posting interface.
TdApi.InternalLinkTypeOauth
The link is an OAuth link.
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.InternalLinkTypePremiumFeaturesPage
The link is a link to the Premium features screen of the application from which the user can subscribe to Telegram Premium.
TdApi.InternalLinkTypePremiumGiftCode
The link is a link with a Telegram Premium gift code.
TdApi.InternalLinkTypePremiumGiftPurchase
The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram with telegramPaymentPurposePremiumGift payments or in-store purchases.
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.InternalLinkTypeRequestManagedBot
The link is a link to a dialog for creating of a managed bot.
TdApi.InternalLinkTypeRestorePurchases
The link forces restore of App Store purchases when opened.
TdApi.InternalLinkTypeSavedMessages
The link is a link to the Saved Messages chat.
TdApi.InternalLinkTypeSearch
The link is a link to the global chat and messages search field.
TdApi.InternalLinkTypeSettings
The link is a link to application settings.
TdApi.InternalLinkTypeStarPurchase
The link is a link to the Telegram Star purchase section of the application.
TdApi.InternalLinkTypeStickerSet
The link is a link to a sticker set.
TdApi.InternalLinkTypeStory
The link is a link to a story.
TdApi.InternalLinkTypeStoryAlbum
The link is a link to an album of stories.
TdApi.InternalLinkTypeTextCompositionStyle
The link is a link to a text composition style.
TdApi.InternalLinkTypeTheme
The link is a link to a cloud theme.
TdApi.InternalLinkTypeUnknownDeepLink
The link is an unknown tg: link.
TdApi.InternalLinkTypeUpgradedGift
The link is a link to an upgraded gift.
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.InviteGroupCallParticipant
Invites a user to an active group call; for group calls not bound to a chat only.
TdApi.InviteGroupCallParticipantResult
This class is an abstract base class.
TdApi.InviteGroupCallParticipantResult.Constructors
Describes possible values returned by getConstructor().
TdApi.InviteGroupCallParticipantResultSuccess
The user was invited and a service message of the type messageGroupCall was sent which can be used in declineGroupCallInvitation to cancel the invitation.
TdApi.InviteGroupCallParticipantResultUserAlreadyParticipant
The user can't be invited because they are already a participant of the call.
TdApi.InviteGroupCallParticipantResultUserPrivacyRestricted
The user can't be invited due to their privacy settings.
TdApi.InviteGroupCallParticipantResultUserWasBanned
The user can't be invited because they were banned by the owner of the call and can be invited back only by the owner of the 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.InviteVideoChatParticipants
Invites users to an active video chat.
TdApi.Invoice
Product invoice.
TdApi.IsLoginEmailAddressRequired
Checks whether the current user is required to set login email address.
TdApi.IsProfileAudio
Checks whether a file is in the profile audio files of the current user.
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 a regular group call that is not bound to a chat.
TdApi.JoinLiveStory
Joins a group call of an active live story.
TdApi.JoinVideoChat
Joins an active video chat.
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.KeyboardButtonSource
This class is an abstract base class.
TdApi.KeyboardButtonSource.Constructors
Describes possible values returned by getConstructor().
TdApi.KeyboardButtonSourceMessage
The button is from a bot's message.
TdApi.KeyboardButtonSourceWebApp
The button is a prepared keyboard button from a Mini App received via getPreparedKeyboardButton.
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.KeyboardButtonTypeRequestManagedBot
A button that requests creation of a managed bot by the current user; 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.LaunchPrepaidGiveaway
Launches a prepaid 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.LinkPreviewTypeDirectMessagesChat
The link is a link to a direct messages chat of a channel.
TdApi.LinkPreviewTypeDocument
The link is a link to a general file.
TdApi.LinkPreviewTypeEmbeddedAnimationPlayer
The link is a link to an animation player.
TdApi.LinkPreviewTypeEmbeddedAudioPlayer
The link is a link to an audio player.
TdApi.LinkPreviewTypeEmbeddedVideoPlayer
The link is a link to a video player.
TdApi.LinkPreviewTypeExternalAudio
The link is a link to an audio file.
TdApi.LinkPreviewTypeExternalVideo
The link is a link to a video file.
TdApi.LinkPreviewTypeGiftAuction
The link is a link to a gift auction.
TdApi.LinkPreviewTypeGiftCollection
The link is a link to a gift collection.
TdApi.LinkPreviewTypeGroupCall
The link is a link to a group call that isn't bound to a chat.
TdApi.LinkPreviewTypeInvoice
The link is a link to an invoice.
TdApi.LinkPreviewTypeLiveStory
The link is a link to a live story group call.
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.LinkPreviewTypeRequestManagedBot
The link is a link to a dialog for creating of a managed bot.
TdApi.LinkPreviewTypeShareableChatFolder
The link is a link to a shareable chat folder.
TdApi.LinkPreviewTypeSticker
The link is a link to a sticker.
TdApi.LinkPreviewTypeStickerSet
The link is a link to a sticker set.
TdApi.LinkPreviewTypeStory
The link is a link to a story.
TdApi.LinkPreviewTypeStoryAlbum
The link is a link to an album of stories.
TdApi.LinkPreviewTypeSupergroupBoost
The link is a link to boost a supergroup chat.
TdApi.LinkPreviewTypeTextCompositionStyle
The link is a link to a text composition style.
TdApi.LinkPreviewTypeTheme
The link is a link to a cloud theme.
TdApi.LinkPreviewTypeUnsupported
The link preview type is unsupported yet.
TdApi.LinkPreviewTypeUpgradedGift
The link is a link to an upgraded gift.
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.ListenToAudio
Informs TDLib that an audio was listened by the user.
TdApi.LiveStoryDonors
Contains a list of users and chats that spend most money on paid messages and reactions in a live story.
TdApi.LoadActiveStories
Loads more active stories from a story list.
TdApi.LoadChats
Loads more chats from a chat list.
TdApi.LoadDirectMessagesChatTopics
Loads more topics in a channel direct messages chat administered by the current user.
TdApi.LoadGroupCallParticipants
Loads more participants of a group call; not supported in live stories.
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.MainWebApp
Contains information about the main Web App of a bot.
TdApi.MarkChecklistTasksAsDone
Adds tasks of a checklist in a message as done or not done.
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.MessageChatHasProtectedContentDisableRequested
Chat hasProtectedContent setting was requested to be disabled.
TdApi.MessageChatHasProtectedContentToggled
Chat hasProtectedContent setting was changed or request to change it was rejected.
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.MessageChatOwnerChanged
The owner of the chat has changed.
TdApi.MessageChatOwnerLeft
The owner of the chat has left.
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.MessageChecklist
A message with a checklist.
TdApi.MessageChecklistTasksAdded
Some tasks were added to a checklist.
TdApi.MessageChecklistTasksDone
Some tasks from a checklist were marked as done or not done.
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.MessageDirectMessagePriceChanged
A price for direct messages was changed in the channel chat.
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.MessageGift
A regular gift was received or sent by the current user, or the current user was notified about a channel gift.
TdApi.MessageGiftedPremium
Telegram Premium was gifted to a user.
TdApi.MessageGiftedStars
Telegram Stars were gifted to a user.
TdApi.MessageGiftedTon
Toncoins were gifted to a user.
TdApi.MessageGiveaway
A giveaway.
TdApi.MessageGiveawayCompleted
A giveaway without public winners has been completed for the chat.
TdApi.MessageGiveawayCreated
A giveaway was created for the chat.
TdApi.MessageGiveawayPrizeStars
A Telegram Stars were received by the current user from a giveaway.
TdApi.MessageGiveawayWinners
A giveaway with public winners has been completed for the chat.
TdApi.MessageGroupCall
A message with information about a group call not bound to a chat.
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.MessageManagedBotCreated
A bot managed by another bot was created by the user.
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.MessagePaidMessagePriceChanged
A price for paid messages was changed in the supergroup chat.
TdApi.MessagePaidMessagesRefunded
Paid messages were refunded.
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 sent to a bot or a business account.
TdApi.MessagePaymentSuccessfulBot
A payment has been received by the bot or the business account.
TdApi.MessagePhoto
A photo message.
TdApi.MessagePinMessage
A message has been pinned.
TdApi.MessagePoll
A message with a poll.
TdApi.MessagePollOptionAdded
A message with information about an added poll option.
TdApi.MessagePollOptionDeleted
A message with information about a deleted poll option.
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.MessageProperties
Contains properties of a message and describes actions that can be done with the message right now.
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.MessageRefundedUpgradedGift
A gift which purchase, upgrade or transfer were refunded.
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.MessageSchedulingStateSendWhenVideoProcessed
The message will be sent when the video in the message is converted and optimized; can be used only by the server.
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.MessageSourceDirectMessagesChatTopicHistory
The message is from history of a topic in a channel direct messages chat administered by the current user.
TdApi.MessageSourceForumTopicHistory
The message is from history of a forum topic.
TdApi.MessageSourceHistoryPreview
The message is from chat, message thread or forum topic history preview.
TdApi.MessageSourceMessageThreadHistory
The message is from history of a message thread.
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.MessageStakeDice
A stake dice message.
TdApi.MessageStatistics
A detailed statistics about a message.
TdApi.MessageSticker
A sticker message.
TdApi.MessageStory
A message with a forwarded story.
TdApi.MessageSuggestBirthdate
A birthdate was suggested to be set.
TdApi.MessageSuggestedPostApprovalFailed
Approval of suggested post has failed, because the user which proposed the post had no enough funds.
TdApi.MessageSuggestedPostApproved
A suggested post was approved.
TdApi.MessageSuggestedPostDeclined
A suggested post was declined.
TdApi.MessageSuggestedPostPaid
A suggested post was published for getOption("suggested_post_lifetime_min") seconds and payment for the post was received.
TdApi.MessageSuggestedPostRefunded
A suggested post was refunded.
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.MessageTopic
This class is an abstract base class.
TdApi.MessageTopic.Constructors
Describes possible values returned by getConstructor().
TdApi.MessageTopicDirectMessages
A topic in a channel direct messages chat administered by the current user.
TdApi.MessageTopicForum
A topic in a forum supergroup chat or a chat with a bot.
TdApi.MessageTopicSavedMessages
A topic in Saved Messages chat.
TdApi.MessageTopicThread
A topic in a non-forum supergroup chat.
TdApi.MessageUnsupported
A message content that is not supported in the current TDLib version.
TdApi.MessageUpgradedGift
An upgraded gift was received or sent by the current user, or the current user was notified about a channel gift.
TdApi.MessageUpgradedGiftPurchaseOffer
An offer to purchase an upgraded gift was sent or received.
TdApi.MessageUpgradedGiftPurchaseOfferRejected
An offer to purchase a gift was rejected or expired.
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 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.OauthLinkInfo
Information about the OAuth authorization.
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.OpenBotSimilarBot
Informs TDLib that a bot was opened from the list of similar bots.
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.OpenGiftAuction
Informs TDLib that a gift auction was opened by the user.
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.OpenSponsoredChat
Informs TDLib that the user opened a sponsored chat.
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.Outline
Represents outline of an image.
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.PaidReactionType
This class is an abstract base class.
TdApi.PaidReactionType.Constructors
Describes possible values returned by getConstructor().
TdApi.PaidReactionTypeAnonymous
An anonymous paid reaction.
TdApi.PaidReactionTypeChat
A paid reaction on behalf of an owned chat.
TdApi.PaidReactionTypeRegular
A paid reaction on behalf of the current user.
TdApi.PaidReactor
Contains information about a user who added paid reactions.
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, MentionName, and DateTime entities from a marked-up text.
TdApi.Passkey
Describes a passkey.
TdApi.Passkeys
Contains a list of passkeys.
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.PaymentFormTypeStarSubscription
The payment form is for a payment in Telegram Stars for subscription.
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.
TdApi.PingProxy
Computes time needed to receive a response from a Telegram server through a proxy.
TdApi.PlaceGiftAuctionBid
Places a bid on an auction gift.
TdApi.Point
A point on a Cartesian plane.
TdApi.Poll
Describes a poll.
TdApi.PollOption
Describes one answer option of a poll.
TdApi.PollOptionProperties
Contains properties of a poll option and describes actions that can be done with the option right now.
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 predefined correct answers.
TdApi.PollTypeRegular
A regular poll.
TdApi.PollVoter
Represents a poll voter.
TdApi.PollVoteRestrictionReason
This class is an abstract base class.
TdApi.PollVoteRestrictionReason.Constructors
Describes possible values returned by getConstructor().
TdApi.PollVoteRestrictionReasonClosed
The poll is closed.
TdApi.PollVoteRestrictionReasonCountryRestricted
The user is from a country, users from which aren't allowed to vote.
TdApi.PollVoteRestrictionReasonMembershipRequired
The user must be a member of the chat for at least a day to vote.
TdApi.PollVoteRestrictionReasonOther
The poll can't be voted by the user due to some other reason.
TdApi.PollVoteRestrictionReasonScheduled
The poll is from a scheduled message.
TdApi.PollVoteRestrictionReasonYetUnsent
The poll isn't sent yet.
TdApi.PollVoters
Represents a list of poll voters.
TdApi.PollVoteStatistics
A detailed statistics about poll votes.
TdApi.PostStory
Posts a new story on behalf of a chat; requires canPostStories administrator right for supergroup and channel chats.
TdApi.PreliminaryUploadFile
Preliminarily 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.PremiumFeatureChecklists
The ability to create and use checklist messages.
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 if 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.PremiumFeaturePaidMessages
The ability to require a payment for incoming messages in new chats.
TdApi.PremiumFeatureProfileBadge
A badge in the user's profile.
TdApi.PremiumFeaturePromotionAnimation
Describes a promotion animation for a Premium feature.
TdApi.PremiumFeatureProtectPrivateChatContent
The ability to enable content protection in private chats.
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.PremiumFeatureTextComposition
The ability to compose text with AI.
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.PremiumGiftPaymentOption
Describes an option for gifting Telegram Premium to a user.
TdApi.PremiumGiftPaymentOptions
Contains a list of options for gifting Telegram Premium to a user.
TdApi.PremiumGiveawayPaymentOption
Describes an option for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
TdApi.PremiumGiveawayPaymentOptions
Contains a list of options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
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.PremiumLimitTypeCustomTextCompositionStyleCount
The maximum number of added text composition styles.
TdApi.PremiumLimitTypeFavoriteStickerCount
The maximum number of favorite stickers.
TdApi.PremiumLimitTypeMonthlyPostedStoryCount
The maximum number of stories posted per month.
TdApi.PremiumLimitTypeOwnedBotCount
The maximum number of owned bots.
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 posted stories.
TdApi.PremiumLimitTypeStorySuggestedReactionAreaCount
The maximum number of suggested reaction areas on a story.
TdApi.PremiumLimitTypeSupergroupCount
The maximum number of joined supergroups and channels.
TdApi.PremiumLimitTypeWeeklyPostedStoryCount
The maximum number of stories posted 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 internalLinkTypePremiumFeaturesPage.
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.PrepaidGiveaway
Describes a prepaid giveaway.
TdApi.PreparedInlineMessage
Represents a ready to send inline message.
TdApi.PreparedInlineMessageId
Represents an inline message that can be sent via the bot.
TdApi.ProcessChatFolderNewChats
Process new chats added to a shareable chat folder by its owner.
TdApi.ProcessChatHasProtectedContentDisableRequest
Processes request to disable hasProtectedContent in a chat.
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.ProcessGiftPurchaseOffer
Handles a pending gift purchase offer.
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.ProfileTab
This class is an abstract base class.
TdApi.ProfileTab.Constructors
Describes possible values returned by getConstructor().
TdApi.ProfileTabFiles
A tab with documents posted by the channel.
TdApi.ProfileTabGifs
A tab with animations posted by the channel.
TdApi.ProfileTabGifts
A tab with gifts received by the user or the channel chat.
TdApi.ProfileTabLinks
A tab with messages posted by the channel and containing links.
TdApi.ProfileTabMedia
A tab with photos and videos posted by the channel.
TdApi.ProfileTabMusic
A tab with audio messages posted by the channel.
TdApi.ProfileTabPosts
A tab with stories posted by the user or the channel chat and saved to profile.
TdApi.ProfileTabVoice
A tab with voice notes posted by the channel.
TdApi.Proxy
Describes 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.PublicPostSearchLimits
Contains information about public post search limits.
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.PushMessageContentChecklist
A message with a checklist.
TdApi.PushMessageContentChecklistTasksAdded
Some tasks were added to a checklist.
TdApi.PushMessageContentChecklistTasksDone
Some tasks from a checklist were marked as done or not done.
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.PushMessageContentGift
A message with a gift.
TdApi.PushMessageContentGiveaway
A message with a giveaway.
TdApi.PushMessageContentHidden
A general message with hidden content.
TdApi.PushMessageContentInviteVideoChatParticipants
An invitation of participants to a video chat or live stream.
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.PushMessageContentPollOptionAdded
An option was added to a poll.
TdApi.PushMessageContentPremiumGiftCode
A message with a Telegram Premium gift code created for the user.
TdApi.PushMessageContentProximityAlertTriggered
A user in the chat came within proximity alert range from the current user.
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.PushMessageContentSuggestBirthdate
A birthdate was suggested to be set.
TdApi.PushMessageContentSuggestProfilePhoto
A profile photo was suggested to the user.
TdApi.PushMessageContentText
A text message.
TdApi.PushMessageContentUpgradedGift
A message with an upgraded gift.
TdApi.PushMessageContentVideo
A video message.
TdApi.PushMessageContentVideoChatEnded
A video chat or live stream has ended.
TdApi.PushMessageContentVideoChatStarted
A video chat or live stream was started.
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 and poll votes.
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.ReactionTypePaid
The paid reaction in a channel chat.
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.ReactionUnavailabilityReasonRestricted
The user is restricted in the chat.
TdApi.ReadAllChatMentions
Marks all mentions in a chat as read.
TdApi.ReadAllChatPollVotes
Marks all poll votes in a chat as read.
TdApi.ReadAllChatReactions
Marks all reactions in a chat as read.
TdApi.ReadAllDirectMessagesChatTopicReactions
Removes all unread reactions in the topic in a channel direct messages chat administered by the current user.
TdApi.ReadAllForumTopicMentions
Marks all mentions in a topic in a forum supergroup chat as read.
TdApi.ReadAllForumTopicPollVotes
Marks all poll votes in a topic in a forum supergroup chat as read.
TdApi.ReadAllForumTopicReactions
Marks all reactions in a topic in a forum supergroup chat or a chat with a bot with topics as read.
TdApi.ReadBusinessMessage
Reads a message on behalf of a business account; for bots only.
TdApi.ReadChatList
Traverses 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.ReceivedGift
Represents a gift received by a user or a chat.
TdApi.ReceivedGifts
Represents a list of gifts received by a user or a chat.
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; for bots only.
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.RemoveGiftCollectionGifts
Removes gifts from a collection.
TdApi.RemoveInstalledBackground
Removes background from the list of installed backgrounds.
TdApi.RemoveLoginPasskey
Removes a passkey from the list of passkeys allowed to be used for the login by the current user.
TdApi.RemoveMessageReaction
Removes a reaction from a message.
TdApi.RemoveMessageSenderBotVerification
Removes the verification status of a user or a chat by an owned bot.
TdApi.RemoveNotification
Removes an active notification from notification list.
TdApi.RemoveNotificationGroup
Removes a group of active notifications.
TdApi.RemovePendingLiveStoryReactions
Removes all pending paid reactions in a live story group call.
TdApi.RemovePendingPaidMessageReactions
Removes all pending paid reactions on a message.
TdApi.RemoveProfileAudio
Removes an audio file from the profile audio files of the current user.
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.RemoveStoryAlbumStories
Removes stories from an album.
TdApi.RemoveTextCompositionStyle
Removes a custom text composition style from the list of used by the user styles.
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.ReorderBotMediaPreviews
Changes order of media previews in the list of media previews of a bot.
TdApi.ReorderChatFolders
Changes the order of chat folders.
TdApi.ReorderGiftCollectionGifts
Changes order of gifts in a collection.
TdApi.ReorderGiftCollections
Changes order of gift collections.
TdApi.ReorderInstalledStickerSets
Changes the order of installed sticker sets.
TdApi.ReorderQuickReplyShortcuts
Changes the order of quick reply shortcuts.
TdApi.ReorderStoryAlbums
Changes order of story albums.
TdApi.ReorderStoryAlbumStories
Changes order of stories in an album.
TdApi.ReorderSupergroupActiveUsernames
Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.
TdApi.ReplaceLiveStoryRtmpUrl
Replaces the current RTMP URL for streaming to a live story; requires owner privileges for channel chats.
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 video chat of a chat; requires owner privileges in the chat.
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.ReportChatResult
This class is an abstract base class.
TdApi.ReportChatResult.Constructors
Describes possible values returned by getConstructor().
TdApi.ReportChatResultMessagesRequired
The user must choose messages to report and repeat the reportChat request with the chosen messages.
TdApi.ReportChatResultOk
The chat was reported successfully.
TdApi.ReportChatResultOptionRequired
The user must choose an option to report the chat and repeat request with the chosen option.
TdApi.ReportChatResultTextRequired
The user must add additional text details to the report.
TdApi.ReportChatSponsoredMessage
Reports a sponsored message to Telegram moderators.
TdApi.ReportMessageReactions
Reports reactions set on a message to the Telegram moderators.
TdApi.ReportOption
Describes an option to report an entity to Telegram.
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.ReportSponsoredChat
Reports a sponsored chat to Telegram moderators.
TdApi.ReportSponsoredResult
This class is an abstract base class.
TdApi.ReportSponsoredResult.Constructors
Describes possible values returned by getConstructor().
TdApi.ReportSponsoredResultAdsHidden
Sponsored messages were hidden for the user in all chats.
TdApi.ReportSponsoredResultFailed
The sponsored message is too old or not found.
TdApi.ReportSponsoredResultOk
The message was reported successfully.
TdApi.ReportSponsoredResultOptionRequired
The user must choose an option to report the message and repeat request with the chosen option.
TdApi.ReportSponsoredResultPremiumRequired
The user asked to hide sponsored messages, but Telegram Premium is required for this.
TdApi.ReportStory
Reports a story to the Telegram moderators.
TdApi.ReportStoryResult
This class is an abstract base class.
TdApi.ReportStoryResult.Constructors
Describes possible values returned by getConstructor().
TdApi.ReportStoryResultOk
The story was reported successfully.
TdApi.ReportStoryResultOptionRequired
The user must choose an option to report the story and repeat request with the chosen option.
TdApi.ReportStoryResultTextRequired
The user must add additional text details to the report.
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.ReportVideoMessageAdvertisement
Reports a video message advertisement to Telegram moderators.
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.RestrictionInfo
Contains information about restrictions that must be applied to a chat or a message.
TdApi.ReuseStarSubscription
Reuses an active Telegram Star subscription to a channel chat and joins the chat again.
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.SavePreparedInlineMessage
Saves an inline message to be sent by the given user; for bots only.
TdApi.SavePreparedKeyboardButton
Saves a keyboard button to be shown to the given user; for bots only.
TdApi.ScopeAutosaveSettings
Contains autosave settings for an autosave settings scope.
TdApi.ScopeNotificationSettings
Contains information about notification settings for several chats.
TdApi.SearchAffiliatePrograms
Searches affiliate programs that can be connected to the given affiliate.
TdApi.SearchBackground
Searches for a background by its name.
TdApi.SearchCallMessages
Searches for call and group call messages.
TdApi.SearchChatAffiliateProgram
Searches a chat with an affiliate program.
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.
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.SearchGiftsForResale
Returns upgraded gifts that can be bought from other owners using sendResoldGift.
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.SearchMessagesChatTypeFilter
This class is an abstract base class.
TdApi.SearchMessagesChatTypeFilter.Constructors
Describes possible values returned by getConstructor().
TdApi.SearchMessagesChatTypeFilterChannel
Returns only messages in channel chats.
TdApi.SearchMessagesChatTypeFilterGroup
Returns only messages in basic group and supergroup chats.
TdApi.SearchMessagesChatTypeFilterPrivate
Returns only messages in private 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.SearchMessagesFilterPoll
Returns only poll messages.
TdApi.SearchMessagesFilterUnreadMention
Returns only messages with unread mentions of the current user, or messages that are replies to their messages.
TdApi.SearchMessagesFilterUnreadPollVote
Returns only messages with unread poll votes for the current user.
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.SearchPublicPosts
Searches for public channel posts using the given query.
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.
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.SearchTextCompositionStyle
Searches a custom text composition style by its name.
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.SellGift
Sells a gift for Telegram Stars; requires owner privileges for gifts owned by a chat.
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.SendGift
Sends a gift to another user or channel chat.
TdApi.SendGiftPurchaseOffer
Sends an offer to purchase an upgraded gift.
TdApi.SendGroupCallMessage
Sends a message to other participants of a group call.
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.SendMessageViewMetrics
Informs TDLib about details of a message view by the user from a chat, a message thread or a forum topic history.
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.SendResoldGift
Sends an upgraded gift that is available for resale to another user or channel chat; gifts already owned by the current user must be transferred using transferGift and can't be passed to the method.
TdApi.SendTextMessageDraft
Sends a draft for a being generated text message; for bots only.
TdApi.SendWebAppCustomRequest
Sends a custom request from a Web App.
TdApi.SendWebAppData
Sends data received from a keyboardButtonTypeWebApp Web App to a bot.
TdApi.SentGift
This class is an abstract base class.
TdApi.SentGift.Constructors
Describes possible values returned by getConstructor().
TdApi.SentGiftRegular
Regular gift.
TdApi.SentGiftUpgraded
Upgraded gift.
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
Informs TDLib that application or reCAPTCHA 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.SetAuthenticationPremiumPurchaseTransaction
Informs server about an in-store purchase of Telegram Premium before authorization.
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.SetBusinessAccountBio
Changes the bio of a business account; for bots only.
TdApi.SetBusinessAccountGiftSettings
Changes settings for gift receiving of a business account; for bots only.
TdApi.SetBusinessAccountName
Changes the first and last name of a business account; for bots only.
TdApi.SetBusinessAccountProfilePhoto
Changes a profile photo of a business account; for bots only.
TdApi.SetBusinessAccountUsername
Changes the editable username of a business account; 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.SetBusinessMessageIsPinned
Pins or unpins a message sent on behalf of a business account; for bots only.
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.SetChatAffiliateProgram
Changes affiliate program for a bot.
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.SetChatDirectMessagesGroup
Changes direct messages group settings for a channel chat; requires owner privileges in the 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 or a topic.
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.SetChatMemberTag
Changes the tag or custom title of a chat member; requires canManageTags administrator right to change tag of other users; for basic groups and supergroups only.
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.SetChatPaidMessageStarCount
Changes the Telegram Star amount that must be paid to send a message to a supergroup chat; requires canRestrictMembers administrator right and supergroupFullInfo.canEnablePaidMessages.
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 administrator 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.SetDirectMessagesChatTopicIsMarkedAsUnread
Changes the marked as unread state of the topic in a channel direct messages chat administered by 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 in a forum supergroup chat or a chat with a bot with topics.
TdApi.SetGameScore
Updates the game score of the specified user in the game; for bots only.
TdApi.SetGiftCollectionName
Changes name of a gift collection.
TdApi.SetGiftResalePrice
Changes resale price of a unique gift owned by the current user.
TdApi.SetGiftSettings
Changes settings for gift receiving for the current user.
TdApi.SetGroupCallPaidMessageStarCount
Changes the minimum number of Telegram Stars that must be paid by general participant for each sent message to a live story call.
TdApi.SetGroupCallParticipantIsSpeaking
Informs TDLib that speaking state of a participant of an active group call has changed.
TdApi.SetGroupCallParticipantVolumeLevel
Changes volume level of a participant of an active group call; not supported for live stories.
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.SetLiveStoryMessageSender
Selects a message sender to send messages in a live story call.
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.SetMainProfileTab
Changes the main profile tab of the current user.
TdApi.SetManagedBotAccessSettings
Sets access settings of a managed bot; for bots only.
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.SetMessageSenderBotVerification
Changes the verification status of a user or a chat by an owned bot.
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.SetPaidMessageReactionType
Changes type of paid message reaction of the current user on a message.
TdApi.SetPassportElement
Adds an element to the user's Telegram Passport.
TdApi.SetPassportElementErrors
Informs the user who 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 topics in a forum supergroup chat or a chat with a bot with topics; requires canManageTopics administrator right in the supergroup.
TdApi.SetPinnedGifts
Changes the list of pinned gifts on the current user's or the channel's profile page; requires canPostMessages administrator right in the channel chat.
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.SetProfileAudioPosition
Changes position of an audio file in the profile audio files of the current user.
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.SetStoryAlbumName
Changes name of an album of stories.
TdApi.SetStoryPrivacySettings
Changes privacy settings of a story.
TdApi.SetStoryReaction
Changes chosen reaction on a story that has already been sent; not supported for live stories.
TdApi.SetSupergroupCustomEmojiStickerSet
Changes the custom emoji sticker set of a supergroup; requires canChangeInfo administrator right.
TdApi.SetSupergroupMainProfileTab
Changes the main profile tab of the channel; 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.SettingsSection
This class is an abstract base class.
TdApi.SettingsSection.Constructors
Describes possible values returned by getConstructor().
TdApi.SettingsSectionAppearance
The appearance section.
TdApi.SettingsSectionAskQuestion
The "Ask a question" section.
TdApi.SettingsSectionBusiness
The "Telegram Business" section.
TdApi.SettingsSectionChatFolders
The chat folder settings section.
TdApi.SettingsSectionDataAndStorage
The data and storage settings section.
TdApi.SettingsSectionDevices
The Devices section.
TdApi.SettingsSectionEditProfile
The profile edit section.
TdApi.SettingsSectionFaq
The FAQ section.
TdApi.SettingsSectionFeatures
The "Telegram Features" section.
TdApi.SettingsSectionInAppBrowser
The in-app browser settings section.
TdApi.SettingsSectionLanguage
The application language section.
TdApi.SettingsSectionMyStars
The Telegram Star balance and transaction section.
TdApi.SettingsSectionMyToncoins
The Toncoin balance and transaction section.
TdApi.SettingsSectionNotifications
The notification settings section.
TdApi.SettingsSectionPowerSaving
The power saving settings section.
TdApi.SettingsSectionPremium
The "Telegram Premium" section.
TdApi.SettingsSectionPrivacyAndSecurity
The privacy and security section.
TdApi.SettingsSectionPrivacyPolicy
The "Privacy Policy" section.
TdApi.SettingsSectionQrCode
The current user's QR code section.
TdApi.SettingsSectionSearch
Search in Settings.
TdApi.SettingsSectionSendGift
The "Send a gift" section.
TdApi.SetUpgradedGiftColors
Changes color scheme for the current user based on an owned or a hosted upgraded gift; for Telegram Premium users only.
TdApi.SetUserEmojiStatus
Changes the emoji status of a user; for bots only.
TdApi.SetUsername
Changes the editable username of the current user.
TdApi.SetUserNote
Changes a note of a contact 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.SetVideoChatTitle
Sets title of a video chat; requires groupCall.canBeManaged right.
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.SponsoredChat
Describes a sponsored chat.
TdApi.SponsoredChats
Contains a list of sponsored chats.
TdApi.SponsoredMessage
Describes a sponsored message.
TdApi.SponsoredMessages
Contains a list of sponsored messages.
TdApi.StakeDiceState
Describes state of the stake dice.
TdApi.StarAmount
Describes a possibly non-integer Telegram Star amount.
TdApi.StarCount
Contains a number of Telegram Stars.
TdApi.StarGiveawayPaymentOption
Describes an option for creating of Telegram Star giveaway.
TdApi.StarGiveawayPaymentOptions
Contains a list of options for creating of Telegram Star giveaway.
TdApi.StarGiveawayWinnerOption
Describes an option for the number of winners of a Telegram Star giveaway.
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 user or a chat.
TdApi.StarRevenueStatus
Contains information about Telegram Stars earned by a user or a chat.
TdApi.StarSubscription
Contains information about subscription to a channel chat, a bot, or a business account that was paid in Telegram Stars.
TdApi.StarSubscriptionPricing
Describes subscription plan paid in Telegram Stars.
TdApi.StarSubscriptions
Represents a list of Telegram Star subscriptions.
TdApi.StarSubscriptionType
This class is an abstract base class.
TdApi.StarSubscriptionType.Constructors
Describes possible values returned by getConstructor().
TdApi.StarSubscriptionTypeBot
Describes a subscription in a bot or a business account.
TdApi.StarSubscriptionTypeChannel
Describes a subscription to a channel chat.
TdApi.StartGroupCallRecording
Starts recording of an active group call; for video chats only.
TdApi.StartGroupCallScreenSharing
Starts screen sharing in a joined group call; not supported in live stories.
TdApi.StartLiveStory
Starts a new live story on behalf of a chat; requires canPostStories administrator right for channel chats.
TdApi.StartLiveStoryResult
This class is an abstract base class.
TdApi.StartLiveStoryResult.Constructors
Describes possible values returned by getConstructor().
TdApi.StartLiveStoryResultFail
The live story failed to post with an error to be handled.
TdApi.StartLiveStoryResultOk
The live story was successfully posted.
TdApi.StarTransaction
Represents a transaction changing the amount of owned Telegram Stars.
TdApi.StarTransactions
Represents a list of Telegram Star transactions.
TdApi.StarTransactionType
This class is an abstract base class.
TdApi.StarTransactionType.Constructors
Describes possible values returned by getConstructor().
TdApi.StarTransactionTypeAffiliateProgramCommission
The transaction is a receiving of a commission from an affiliate program; relevant for regular users, bots and channel chats only.
TdApi.StarTransactionTypeAppStoreDeposit
The transaction is a deposit of Telegram Stars from App Store; relevant for regular users only.
TdApi.StarTransactionTypeBotInvoicePurchase
The transaction is a purchase of a product from a bot or a business account by the current user; relevant for regular users only.
TdApi.StarTransactionTypeBotInvoiceSale
The transaction is a sale of a product by the bot; relevant for bots only.
TdApi.StarTransactionTypeBotPaidMediaPurchase
The transaction is a purchase of paid media from a bot or a business account by the current user; relevant for regular users only.
TdApi.StarTransactionTypeBotPaidMediaSale
The transaction is a sale of paid media by the bot or a business account managed by the bot; relevant for bots only.
TdApi.StarTransactionTypeBotSubscriptionPurchase
The transaction is a purchase of a subscription from a bot or a business account by the current user; relevant for regular users only.
TdApi.StarTransactionTypeBotSubscriptionSale
The transaction is a sale of a subscription by the bot; relevant for bots only.
TdApi.StarTransactionTypeBusinessBotTransferReceive
The transaction is a transfer of Telegram Stars from a business account; relevant for bots only.
TdApi.StarTransactionTypeBusinessBotTransferSend
The transaction is a transfer of Telegram Stars to a business bot; relevant for regular users only.
TdApi.StarTransactionTypeChannelPaidMediaPurchase
The transaction is a purchase of paid media from a channel by the current user; relevant for regular users only.
TdApi.StarTransactionTypeChannelPaidMediaSale
The transaction is a sale of paid media by the channel chat; relevant for channel chats only.
TdApi.StarTransactionTypeChannelPaidReactionReceive
The transaction is a receiving of a paid reaction to a message by the channel chat; relevant for channel chats only.
TdApi.StarTransactionTypeChannelPaidReactionSend
The transaction is a sending of a paid reaction to a message in a channel chat by the current user; relevant for regular users only.
TdApi.StarTransactionTypeChannelSubscriptionPurchase
The transaction is a purchase of a subscription to a channel chat by the current user; relevant for regular users only.
TdApi.StarTransactionTypeChannelSubscriptionSale
The transaction is a sale of a subscription by the channel chat; relevant for channel chats only.
TdApi.StarTransactionTypeFragmentDeposit
The transaction is a deposit of Telegram Stars from Fragment; relevant for regular users and bots only.
TdApi.StarTransactionTypeFragmentWithdrawal
The transaction is a withdrawal of earned Telegram Stars to Fragment; relevant for regular users, bots, supergroup and channel chats only.
TdApi.StarTransactionTypeGiftAuctionBid
The transaction is a bid on a gift auction; relevant for regular users only.
TdApi.StarTransactionTypeGiftOriginalDetailsDrop
The transaction is a drop of original details of an upgraded gift; relevant for regular users only.
TdApi.StarTransactionTypeGiftPurchase
The transaction is a purchase of a regular gift; relevant for regular users and bots only.
TdApi.StarTransactionTypeGiftPurchaseOffer
The transaction is an offer of gift purchase; relevant for regular users only.
TdApi.StarTransactionTypeGiftSale
The transaction is a sale of a received gift; relevant for regular users and channel chats only.
TdApi.StarTransactionTypeGiftTransfer
The transaction is a transfer of an upgraded gift; relevant for regular users only.
TdApi.StarTransactionTypeGiftUpgrade
The transaction is an upgrade of a gift; relevant for regular users only.
TdApi.StarTransactionTypeGiftUpgradePurchase
The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.
TdApi.StarTransactionTypeGiveawayDeposit
The transaction is a deposit of Telegram Stars from a giveaway; relevant for regular users only.
TdApi.StarTransactionTypeGooglePlayDeposit
The transaction is a deposit of Telegram Stars from Google Play; relevant for regular users only.
TdApi.StarTransactionTypePaidGroupCallMessageReceive
The transaction is a receiving of a paid group call message; relevant for regular users and channel chats only.
TdApi.StarTransactionTypePaidGroupCallMessageSend
The transaction is a sending of a paid group call message; relevant for regular users only.
TdApi.StarTransactionTypePaidGroupCallReactionReceive
The transaction is a receiving of a paid group call reaction; relevant for regular users and channel chats only.
TdApi.StarTransactionTypePaidGroupCallReactionSend
The transaction is a sending of a paid group reaction; relevant for regular users only.
TdApi.StarTransactionTypePaidMessageReceive
The transaction is a receiving of a paid message; relevant for regular users, supergroup and channel chats only.
TdApi.StarTransactionTypePaidMessageSend
The transaction is a sending of a paid message; relevant for regular users only.
TdApi.StarTransactionTypePremiumBotDeposit
The transaction is a deposit of Telegram Stars from the Premium bot; relevant for regular users only.
TdApi.StarTransactionTypePremiumPurchase
The transaction is a purchase of Telegram Premium subscription; relevant for regular users and bots only.
TdApi.StarTransactionTypePublicPostSearch
The transaction is a payment for search of posts in public Telegram channels; relevant for regular users only.
TdApi.StarTransactionTypeSuggestedPostPaymentReceive
The transaction is a receiving of a payment for a suggested post by the channel chat; relevant for channel chats only.
TdApi.StarTransactionTypeSuggestedPostPaymentSend
The transaction is a payment for a suggested post; relevant for regular users only.
TdApi.StarTransactionTypeTelegramAdsWithdrawal
The transaction is a withdrawal of earned Telegram Stars to Telegram Ad platform; relevant for bots and channel chats only.
TdApi.StarTransactionTypeTelegramApiUsage
The transaction is a payment for Telegram API usage; relevant for bots only.
TdApi.StarTransactionTypeUnsupported
The transaction is a transaction of an unsupported type.
TdApi.StarTransactionTypeUpgradedGiftPurchase
The transaction is a purchase of an upgraded gift for some user or channel; relevant for regular users only.
TdApi.StarTransactionTypeUpgradedGiftSale
The transaction is a sale of an upgraded gift; relevant for regular users only.
TdApi.StarTransactionTypeUserDeposit
The transaction is a deposit of Telegram Stars by another user; relevant for regular users only.
TdApi.StartScheduledVideoChat
Starts a scheduled video chat.
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.StorePaymentPurposeGiftedStars
The user buying Telegram Stars for other users.
TdApi.StorePaymentPurposePremiumGift
The user gifting Telegram Premium to another user.
TdApi.StorePaymentPurposePremiumGiftCodes
The user boosting a chat by 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.StorePaymentPurposeStarGiveaway
The user creating a Telegram Star giveaway.
TdApi.StorePaymentPurposeStars
The user buying Telegram Stars.
TdApi.StoreTransaction
This class is an abstract base class.
TdApi.StoreTransaction.Constructors
Describes possible values returned by getConstructor().
TdApi.StoreTransactionAppStore
A purchase through App Store.
TdApi.StoreTransactionGooglePlay
A purchase through Google Play.
TdApi.Stories
Represents a list of stories.
TdApi.Story
Represents a story.
TdApi.StoryAlbum
Describes album of stories.
TdApi.StoryAlbums
Represents a list of story albums.
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.StoryAreaTypeUpgradedGift
An area with an upgraded gift.
TdApi.StoryAreaTypeVenue
An area pointing to a venue.
TdApi.StoryAreaTypeWeather
An area with information about weather.
TdApi.StoryContent
This class is an abstract base class.
TdApi.StoryContent.Constructors
Describes possible values returned by getConstructor().
TdApi.StoryContentLive
A live story.
TdApi.StoryContentPhoto
A photo story.
TdApi.StoryContentType
This class is an abstract base class.
TdApi.StoryContentType.Constructors
Describes possible values returned by getConstructor().
TdApi.StoryContentTypeLive
A live story.
TdApi.StoryContentTypePhoto
A photo story.
TdApi.StoryContentTypeUnsupported
A story of unknown content type.
TdApi.StoryContentTypeVideo
A video 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 the chat that posted it.
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 posted by an unknown user.
TdApi.StoryOriginPublicStory
The original story was a public story that was posted by a known chat.
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 posted as a story.
TdApi.SuggestedAction
This class is an abstract base class.
TdApi.SuggestedAction.Constructors
Describes possible values returned by getConstructor().
TdApi.SuggestedActionAddLoginPasskey
Suggests the user to add a passkey for login using addLoginPasskey.
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.SuggestedActionCustom
A custom suggestion to be shown at the top of the chat list.
TdApi.SuggestedActionEnableArchiveAndMuteNewChats
Suggests the user to enable archiveAndMuteNewChatsFromUnknownUsers setting in archiveChatListSettings.
TdApi.SuggestedActionExtendPremium
Suggests the user to extend their expiring Telegram Premium subscription.
TdApi.SuggestedActionExtendStarSubscriptions
Suggests the user to extend their expiring Telegram Star subscriptions.
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.SuggestedActionSetLoginEmailAddress
Suggests the user to add login email address.
TdApi.SuggestedActionSetPassword
Suggests the user to set a 2-step verification password to be able to log in again.
TdApi.SuggestedActionSetProfilePhoto
Suggests the user to set profile photo.
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.SuggestedPostInfo
Contains information about a suggested post.
TdApi.SuggestedPostPrice
This class is an abstract base class.
TdApi.SuggestedPostPrice.Constructors
Describes possible values returned by getConstructor().
TdApi.SuggestedPostPriceStar
Describes price of a suggested post in Telegram Stars.
TdApi.SuggestedPostPriceTon
Describes price of a suggested post in Toncoins.
TdApi.SuggestedPostRefundReason
This class is an abstract base class.
TdApi.SuggestedPostRefundReason.Constructors
Describes possible values returned by getConstructor().
TdApi.SuggestedPostRefundReasonPaymentRefunded
The post was refunded, because the payment for the post was refunded.
TdApi.SuggestedPostRefundReasonPostDeleted
The post was refunded, because it was deleted by channel administrators in less than getOption("suggested_post_lifetime_min") seconds.
TdApi.SuggestedPostState
This class is an abstract base class.
TdApi.SuggestedPostState.Constructors
Describes possible values returned by getConstructor().
TdApi.SuggestedPostStateApproved
The post was approved.
TdApi.SuggestedPostStateDeclined
The post was declined.
TdApi.SuggestedPostStatePending
The post must be approved or declined.
TdApi.SuggestUserBirthdate
Suggests a birthdate to another regular user with common messages and allowing non-paid messages.
TdApi.SuggestUserProfilePhoto
Suggests a profile photo to another regular user with common messages and allowing non-paid messages.
TdApi.SummarizeMessage
Summarizes content of the message with non-empty summaryLanguageCode.
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 and forum topic must be kept.
TdApi.TargetChatInternalLink
The chat needs to be open with the provided internal link.
TdApi.TargetChatTypes
Describes allowed types for the target chat.
TdApi.TelegramPaymentPurpose
This class is an abstract base class.
TdApi.TelegramPaymentPurpose.Constructors
Describes possible values returned by getConstructor().
TdApi.TelegramPaymentPurposeGiftedStars
The user buying Telegram Stars for other users.
TdApi.TelegramPaymentPurposeJoinChat
The user joins a chat and subscribes to regular payments in Telegram Stars.
TdApi.TelegramPaymentPurposePremiumGift
The user gifting Telegram Premium to another user.
TdApi.TelegramPaymentPurposePremiumGiftCodes
The user boosting a chat by creating Telegram Premium gift codes for other users.
TdApi.TelegramPaymentPurposePremiumGiveaway
The user creating a Telegram Premium giveaway.
TdApi.TelegramPaymentPurposeStarGiveaway
The user creating a Telegram Star 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.TextCompositionStyle
Describes a style that can be used to compose a text.
TdApi.TextCompositionStyleExample
Contains an example of text composition style usage.
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 "$", consisting of capital English letters (e.g., "$USD"), and optionally containing a chat username at the end.
TdApi.TextEntityTypeCode
Text that must be formatted as if inside a code HTML tag.
TdApi.TextEntityTypeCustomEmoji
A custom emoji.
TdApi.TextEntityTypeDateTime
A date and time.
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 "#" and optionally containing a chat username at the end.
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.ToggleBotCanManageEmojiStatus
Toggles whether the bot can manage emoji status of the current user.
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.ToggleChatGiftNotifications
Toggles whether notifications for new gifts received by a channel chat are sent to the current user; requires canPostMessages administrator right in the chat.
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.ToggleDirectMessagesChatTopicCanSendUnpaidMessages
Allows to send unpaid messages to the given topic of the channel direct messages chat administered by the current user.
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 administrator right in the supergroup unless the user is creator of the topic.
TdApi.ToggleForumTopicIsPinned
Changes the pinned state of a topic in a forum supergroup chat or a chat with a bot with topics; requires canManageTopics administrator right in the supergroup.
TdApi.ToggleGeneralForumTopicIsHidden
Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup.
TdApi.ToggleGiftIsSaved
Toggles whether a gift is shown on the current user's or the channel's profile page; requires canPostMessages administrator right in the channel chat.
TdApi.ToggleGroupCallAreMessagesAllowed
Toggles whether participants of a group call can send messages there.
TdApi.ToggleGroupCallIsMyVideoEnabled
Toggles whether current user's video is enabled.
TdApi.ToggleGroupCallIsMyVideoPaused
Toggles whether current user's video is paused.
TdApi.ToggleGroupCallParticipantIsHandRaised
Toggles whether a group call participant hand is rased; for video chats only.
TdApi.ToggleGroupCallParticipantIsMuted
Toggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves; not supported for live stories.
TdApi.ToggleGroupCallScreenSharingIsPaused
Pauses or unpauses screen sharing in a joined group call; not supported in live stories.
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.ToggleSupergroupHasAutomaticTranslation
Toggles whether messages are automatically translated in the channel chat; requires canChangeInfo administrator right in the channel.
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 or link to the account 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.ToggleVideoChatEnabledStartNotification
Toggles whether the current user will receive a notification when the video chat starts; for scheduled video chats only.
TdApi.ToggleVideoChatMuteNewParticipants
Toggles whether new participants of a video chat can be unmuted only by administrators of the video chat.
TdApi.TonRevenueStatistics
A detailed statistics about Toncoins earned by the current user.
TdApi.TonRevenueStatus
Contains information about Toncoins earned by the current user.
TdApi.TonTransaction
Represents a transaction changing the amount of owned Toncoins.
TdApi.TonTransactions
Represents a list of Toncoin transactions.
TdApi.TonTransactionType
This class is an abstract base class.
TdApi.TonTransactionType.Constructors
Describes possible values returned by getConstructor().
TdApi.TonTransactionTypeFragmentDeposit
The transaction is a deposit of Toncoins from Fragment.
TdApi.TonTransactionTypeFragmentWithdrawal
The transaction is a withdrawal of earned Toncoins to Fragment.
TdApi.TonTransactionTypeGiftPurchaseOffer
The transaction is an offer of gift purchase.
TdApi.TonTransactionTypeStakeDicePayout
The transaction is a payment for successful stake dice throw.
TdApi.TonTransactionTypeStakeDiceStake
The transaction is a payment for stake dice throw.
TdApi.TonTransactionTypeSuggestedPostPayment
The transaction is a payment for a suggested post.
TdApi.TonTransactionTypeUnsupported
The transaction is a transaction of an unsupported type.
TdApi.TonTransactionTypeUpgradedGiftPurchase
The transaction is a purchase of an upgraded gift for some user or channel.
TdApi.TonTransactionTypeUpgradedGiftSale
The transaction is a sale of an upgraded gift.
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.TopChatCategoryGuestBots
A category containing frequently used chats with bots, which were used as guest bots.
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.TopChatCategoryWebAppBots
A category containing frequently used chats with bots, which Web Apps were opened.
TdApi.TransactionDirection
This class is an abstract base class.
TdApi.TransactionDirection.Constructors
Describes possible values returned by getConstructor().
TdApi.TransactionDirectionIncoming
The transaction is incoming and increases the amount of owned currency.
TdApi.TransactionDirectionOutgoing
The transaction is outgoing and decreases the amount of owned currency.
TdApi.TransferBusinessAccountStars
Transfers Telegram Stars from the business account to the business bot; for bots only.
TdApi.TransferChatOwnership
Changes the owner of a chat; for basic groups, supergroups and channel chats only; requires owner privileges in the chat.
TdApi.TransferGift
Sends an upgraded gift to another user or channel chat.
TdApi.TranslateMessageText
Extracts text or caption of the given message and translates it to the given language; must not be used in secret chats.
TdApi.TranslateText
Translates a text to the given language; must not be used in secret chats.
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.UnpinAllDirectMessagesChatTopicMessages
Removes all pinned messages from the topic in a channel direct messages chat administered by the current user.
TdApi.UnpinAllForumTopicMessages
Removes all pinned messages from a topic in a forum supergroup chat or a chat with a bot with topics; 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.UpdateActiveGiftAuctions
The list of auctions in which participate the current user has changed.
TdApi.UpdateActiveLiveLocationMessages
The list of messages with active live location that need to be updated by the application has changed.
TdApi.UpdateActiveNotifications
Contains active notifications that were shown on previous application launches.
TdApi.UpdateAgeVerificationParameters
The parameters for age verification of the current user's account has changed.
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.UpdateApplicationRecaptchaVerificationRequired
A request can't be completed unless reCAPTCHA verification is performed; for official mobile applications only.
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 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.UpdateChatTitle
The title of a chat was changed.
TdApi.UpdateChatUnreadMentionCount
The chat unreadMentionCount has changed.
TdApi.UpdateChatUnreadPollVoteCount
The chat unreadPollVoteCount 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.UpdateDefaultPaidReactionType
The type of default paid reaction 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.UpdateDirectMessagesChatTopic
Basic information about a topic in a channel direct messages chat administered by the current user has changed.
TdApi.UpdateEmojiChatThemes
The list of available emoji chat themes 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.UpdateForumTopic
Information about a topic in a forum chat was changed.
TdApi.UpdateForumTopicInfo
Basic information about a topic in a forum chat was changed.
TdApi.UpdateFreezeState
The freeze state of the current user's account has changed.
TdApi.UpdateGiftAuctionState
State of a gift auction was updated.
TdApi.UpdateGroupCall
Information about a group call was updated.
TdApi.UpdateGroupCallMessageLevels
The levels of live story group call messages have changed.
TdApi.UpdateGroupCallMessagesDeleted
Some group call messages were deleted.
TdApi.UpdateGroupCallMessageSendFailed
A group call message failed to send.
TdApi.UpdateGroupCallParticipant
Information about a group call participant was changed.
TdApi.UpdateGroupCallParticipants
The list of group call participants that can send and receive encrypted call data has changed; for group calls not bound to a chat only.
TdApi.UpdateGroupCallVerificationState
The verification state of an encrypted group call has changed; for group calls not bound to a chat only.
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.UpdateLiveStoryTopDonors
The list of top donors in live story group call has changed.
TdApi.UpdateManagedBot
A bot that can be managed by the current bot was created or updated; for bots only.
TdApi.UpdateMessageContainsUnreadPollVotes
Unread votes were added or removed from a poll message.
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.UpdateMessageSuggestedPostInfo
Information about suggested post of a message was changed.
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.UpdateNewGroupCallMessage
A new message was received in a group call.
TdApi.UpdateNewGroupCallPaidReaction
A new paid reaction was received in a live story group call.
TdApi.UpdateNewGuestQuery
A new incoming guest 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.UpdateNewOauthRequest
An OAuth authorization request was received.
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.UpdateOwnedTonCount
The number of Toncoins owned by the current user has changed.
TdApi.UpdatePaidMediaPurchased
Paid media were purchased by a user; for bots only.
TdApi.UpdatePendingTextMessage
A new pending text message was received in a chat with a bot.
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.UpdateStakeDiceState
The stake dice state has changed.
TdApi.UpdateStarRevenueStatus
The Telegram Star revenue earned by a user 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.UpdateStoryPostFailed
A story failed to post.
TdApi.UpdateStoryPostSucceeded
A story has been successfully posted.
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.UpdateTextCompositionStyles
The styles supported for text composition have changed.
TdApi.UpdateTonRevenueStatus
The Toncoin revenue earned by the current user has changed.
TdApi.UpdateTopicMessageCount
Number of messages in a topic has changed; for Saved Messages and channel direct messages chat topics only.
TdApi.UpdateTrendingStickerSets
The list of trending sticker sets was updated or some of them were viewed.
TdApi.UpdateTrustedMiniAppBots
Lists of bots which Mini Apps must be allowed to read text from clipboard and must be opened without a warning.
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.UpdateUserStatus
The user went online or offline.
TdApi.UpdateVideoPublished
An automatically scheduled message with video has been successfully sent after conversion.
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.UpgradedGift
Describes an upgraded gift that can be transferred to another owner or transferred to the TON blockchain as an NFT.
TdApi.UpgradedGiftAttributeId
This class is an abstract base class.
TdApi.UpgradedGiftAttributeId.Constructors
Describes possible values returned by getConstructor().
TdApi.UpgradedGiftAttributeIdBackdrop
Identifier of a gift backdrop.
TdApi.UpgradedGiftAttributeIdModel
Identifier of a gift model.
TdApi.UpgradedGiftAttributeIdSymbol
Identifier of a gift symbol.
TdApi.UpgradedGiftAttributeRarity
This class is an abstract base class.
TdApi.UpgradedGiftAttributeRarity.Constructors
Describes possible values returned by getConstructor().
TdApi.UpgradedGiftAttributeRarityEpic
The attribute is epic.
TdApi.UpgradedGiftAttributeRarityLegendary
The attribute is legendary.
TdApi.UpgradedGiftAttributeRarityPerMille
The rarity is represented as the numeric frequency of the model.
TdApi.UpgradedGiftAttributeRarityRare
The attribute is rare.
TdApi.UpgradedGiftAttributeRarityUncommon
The attribute is uncommon.
TdApi.UpgradedGiftBackdrop
Describes a backdrop of an upgraded gift.
TdApi.UpgradedGiftBackdropColors
Describes colors of a backdrop of an upgraded gift.
TdApi.UpgradedGiftBackdropCount
Describes a backdrop of an upgraded gift.
TdApi.UpgradedGiftColors
Contains information about color scheme for user's name, background of empty chat photo, replies to messages and link previews.
TdApi.UpgradedGiftModel
Describes a model of an upgraded gift.
TdApi.UpgradedGiftModelCount
Describes a model of an upgraded gift with the number of gifts found.
TdApi.UpgradedGiftOrigin
This class is an abstract base class.
TdApi.UpgradedGiftOrigin.Constructors
Describes possible values returned by getConstructor().
TdApi.UpgradedGiftOriginalDetails
Describes the original details about the gift.
TdApi.UpgradedGiftOriginBlockchain
The gift was assigned from blockchain and isn't owned by the current user.
TdApi.UpgradedGiftOriginCraft
The gift was crafted from other gifts.
TdApi.UpgradedGiftOriginOffer
The gift was bought through an offer.
TdApi.UpgradedGiftOriginPrepaidUpgrade
The sender or receiver of the message has paid for upgraid of the gift, which has been completed.
TdApi.UpgradedGiftOriginResale
The gift was bought from another user.
TdApi.UpgradedGiftOriginTransfer
The gift was transferred from another owner.
TdApi.UpgradedGiftOriginUpgrade
The gift was obtained by upgrading of a previously received gift.
TdApi.UpgradedGiftSymbol
Describes a symbol shown on the pattern of an upgraded gift.
TdApi.UpgradedGiftSymbolCount
Describes a symbol shown on the pattern of an upgraded gift.
TdApi.UpgradedGiftValueInfo
Contains information about value of an upgraded gift.
TdApi.UpgradeGift
Upgrades a regular gift.
TdApi.UpgradeGiftResult
Contains result of gift upgrading.
TdApi.UploadStickerFile
Uploads a file with a sticker; returns the uploaded file.
TdApi.User
Represents a user.
TdApi.UserAuctionBid
Describes a bid of the current user in an auction.
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.UserPrivacySettingAllowUnpaidMessages
A privacy setting for managing whether the user can receive messages without additional payment.
TdApi.UserPrivacySettingAutosaveGifts
A privacy setting for managing whether received gifts are automatically shown on the user's profile page.
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.UserPrivacySettingRuleAllowBots
A rule to allow all bots 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.UserPrivacySettingRuleRestrictBots
A rule to restrict all bots 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.UserPrivacySettingShowProfileAudio
A privacy setting for managing whether the user's profile audio files are 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.UserRating
Contains description of user rating.
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.VerificationStatus
Contains information about verification status of a chat or a user.
TdApi.Video
Describes a video file.
TdApi.VideoChat
Describes a video chat, i.e.
TdApi.VideoMessageAdvertisement
Describes an advertisement to be shown while a video from a message is watched.
TdApi.VideoMessageAdvertisements
Contains a list of advertisements to be shown while a video from a message is watched.
TdApi.VideoNote
Describes a video note.
TdApi.VideoStoryboard
Describes a storyboard for a video.
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.ViewSponsoredChat
Informs TDLib that the user fully viewed a sponsored chat.
TdApi.ViewTrendingStickerSets
Informs the server that some trending sticker sets have been viewed by the user.
TdApi.ViewVideoMessageAdvertisement
Informs TDLib that the user viewed a video message advertisement.
TdApi.VoiceNote
Describes a voice note.
TdApi.WebApp
Describes a Web App.
TdApi.WebAppInfo
Contains information about a Web App.
TdApi.WebAppOpenMode
This class is an abstract base class.
TdApi.WebAppOpenMode.Constructors
Describes possible values returned by getConstructor().
TdApi.WebAppOpenModeCompact
The Web App is opened in the compact mode.
TdApi.WebAppOpenModeFullScreen
The Web App is opened in the full-screen mode.
TdApi.WebAppOpenModeFullSize
The Web App is opened in the full-size mode.
TdApi.WebAppOpenParameters
Options to be used when a Web App is opened.
TdApi.WebPageInstantView
Describes an instant view page for a web page.
TdApi.WriteGeneratedFilePart
Writes a part of a generated file.