All Classes and Interfaces

Class
Description
This class simplifies the use of TelegramClient for chat related objects.
Main class for interaction with the TDLib.
Interface for handler of exceptions thrown while invoking ResultHandler.
Exception class thrown when TDLib error occurred while performing Client.execute(TdApi.Function).
Interface for handler of messages that are added to the internal TDLib log.
Interface for handler for results of queries to TDLib and incoming updates from TDLib.
Authorization state of the client.
Implementation of ClientAuthorizationState.
Interface for handler for results of queries with callback to TDLib.
Response wrapper for queries.
This class contains as static nested classes all other TDLib interface type-classes and function-classes.
Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews.
Accepts an incoming call.
Describes gift types that are accepted by a user.
Accepts Telegram terms of services.
Contains basic information about another user that started a chat with the current user.
Contains information about the period of inactivity after which the current user's account will automatically be deleted.
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.
Adds a new media preview to the beginning of the list of media previews of a bot.
Adds a chat folder by an invite link.
Adds a new member to a chat; requires canInviteUsers member right.
Adds multiple new members to a chat; requires canInviteUsers member right.
Adds a chat to a chat list.
Adds a user to the contact list or edits an existing contact by their user identifier.
Adds a custom server language pack to the list of installed language packs in current localization target.
Represents a reaction applied to a message.
Represents a list of reactions added to a message.
Adds a new sticker to the list of favorite stickers.
Adds a file from a message to the list of file downloads.
Adds a local message to a chat.
Adds a message to TDLib internal log.
Adds a reaction or a tag to a message.
Adds the specified data to data usage statistics.
Adds the paid message reaction to a message.
Adds a proxy server for network requests.
Adds a message to a quick reply shortcut via inline bot.
Adds a message to a quick reply shortcut.
Adds 2-10 messages grouped together into an album to a quick reply shortcut.
Adds a chat to the list of recently found chats.
Manually adds a new sticker to the list of recently used stickers.
Describes an address.
Manually adds a new animation to the list of saved animations.
Adds a new notification sound to the list of saved notification sounds.
Adds a new sticker to a set.
Contains information about an affiliate that received commission from a Telegram Star transaction.
Contains information about an active affiliate program.
Describes parameters of an affiliate program.
This class is an abstract base class.
The affiliate programs must be sorted by creation date.
The affiliate programs must be sorted by the profitability.
The affiliate programs must be sorted by the expected revenue.
This class is an abstract base class.
The affiliate is a bot owned by the current user.
The affiliate is a channel chat where the current user has canPostMessages administrator right.
The affiliate is the current user.
Allows the specified bot to send messages to the user.
Allows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages.
Describes an alternative re-encoded quality of a video file.
Animated variant of a chat photo in MPEG4 format.
Describes an animated or custom representation of an emoji.
Describes an animation file.
Represents a list of animations.
Sets the result of a callback query; for bots only.
Answers a custom query; for bots only.
Sets the result of an inline query; for bots only.
Sets the result of a pre-checkout query; for bots only.
Sets the result of a shipping query; for bots only.
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.
Applies a Telegram Premium gift code.
Contains settings for automatic moving of chats to and from the Archive chat lists.
Informs server about an in-store purchase.
Represents a bot, which can be added to attachment or side menu.
Describes a color to highlight a bot added to attachment menu.
Describes an audio file.
Information about the authentication code that was sent.
This class is an abstract base class.
A digit-only authentication code is delivered via a phone call to the specified phone number.
A digit-only authentication code is delivered via Firebase Authentication to the official Android application.
A digit-only authentication code is delivered via Firebase Authentication to the official iOS application.
An authentication code is delivered by an immediately canceled call to the specified phone number.
A digit-only authentication code is delivered to https://fragment.com.
An authentication code is delivered by an immediately canceled call to the specified phone number.
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.
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.
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.
A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session.
This class is an abstract base class.
TDLib client is in its final state.
TDLib is closing, all subsequent queries will be answered with the error 500.
The user is currently logging out.
The user has been successfully authorized.
TDLib needs the user's authentication code to authorize.
TDLib needs the user's email address to authorize.
TDLib needs the user's authentication code sent to an email address to authorize.
The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
The user has been authorized, but needs to enter a 2-step verification password to start using the application.
TDLib needs the user's phone number to authorize.
The user must buy Telegram Premium as an in-store purchase to log in.
The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration.
Initialization parameters are needed.
Contains auto-download settings.
Contains auto-download settings presets for the current user.
Describes autosave settings.
Contains autosave settings for a chat, which overrides default settings for the corresponding scope.
This class is an abstract base class.
Autosave settings applied to all channel chats without chat-specific settings.
Autosave settings applied to a chat.
Autosave settings applied to all basic group and supergroup chats without chat-specific settings.
Autosave settings applied to all private chats without chat-specific settings.
Describes a gift that is available for purchase.
Contains a list of gifts that can be sent to another user or channel chat.
Represents an available reaction.
Represents a list of reactions that can be added to a message.
Describes a chat background.
This class is an abstract base class.
Describes a freeform gradient fill of a background.
Describes a gradient fill of a background.
Describes a solid fill of a background.
Contains a list of backgrounds.
This class is an abstract base class.
A background from a chat theme; can be used only as a chat background in channels.
A filled background.
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.
A wallpaper in JPEG format.
Bans a member in a chat; requires canRestrictMembers administrator right.
Bans users from a group call not bound to a chat; requires groupCall.isOwned.
Describes an action associated with a bank card number.
Information about a bank card.
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
Contains full information about a basic group.
Represents a birthdate of a user.
This class is an abstract base class.
The main block list that disallows writing messages to the current user, receiving their status and photo, viewing of stories, and some other actions.
The block list that disallows viewing of stories of the current user.
Blocks an original sender of a message in the Replies chat.
Boosts a chat and returns the list of available chat boost slots for the current user after the boost.
Represents a command supported by a bot.
Contains a list of bot commands.
This class is an abstract base class.
A scope covering all group and supergroup chat administrators.
A scope covering all group and supergroup chats.
A scope covering all private chats.
A scope covering all members of a chat.
A scope covering all administrators of a chat.
A scope covering a member of a chat.
A scope covering all users.
Contains information about a bot.
Describes media previews of a bot.
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.
Contains a list of media previews of a bot.
Describes a button to be shown instead of bot commands menu button.
Describes verification status provided by a bot.
Describes parameters of verification that is provided by a bot.
This class is an abstract base class.
The user accepted bot's request to send messages with allowBotToSendMessages.
The user added the bot to attachment or side menu using toggleBotIsAddedToAttachmentMenu.
The user connected a website by logging in using Telegram Login Widget on it.
The user launched a Web App using getWebAppLinkUrl.
This class is an abstract base class.
Send away messages always.
Send away messages only in the specified time span.
Send away messages outside of the business opening hours.
Describes settings for messages that are automatically sent by a Telegram Business account when it is away.
Contains information about a business bot that manages the chat.
Describes rights of a business bot.
Contains information about a business chat link.
Contains information about a business chat link.
Contains a list of business chat links created by the user.
Describes a bot connected to a business account.
Describes a connection of the bot with a business account.
This class is an abstract base class.
The ability to create links to the business account with predefined message text.
The ability to set up an away message.
The ability to connect a bot to the account.
The ability to display folder names for each chat in the chat list.
The ability to show an emoji status along with the business name.
The ability to set up a greeting message.
The ability to set location.
The ability to set opening hours.
Describes a promotion animation for a Business feature.
The ability to use quick replies.
Contains information about features, available to Business user accounts.
The ability to customize start page.
Allowed to use many additional features for stories.
Describes settings for greeting messages that are automatically sent by a Telegram Business account as response to incoming messages in an inactive private chat.
Contains information about a Telegram Business account.
Represents a location of a business.
Describes a message from a business account as received by a bot.
Contains a list of messages from a business account as received by a bot.
Describes opening hours of a business.
Describes an interval of time when the business is open.
Describes private chats chosen for automatic interaction with a business.
Describes settings for a business account start page.
Describes a call.
Contains a bot's answer to a callback query.
This class is an abstract base class.
The payload for a general callback button.
The payload for a callback button requiring password.
The payload for a game callback button.
This class is an abstract base class.
The call was ended before the conversation started.
The call was ended during the conversation because the users were disconnected.
The call wasn't discarded, or the reason is unknown.
The call was ended because one of the parties hung up.
The call was ended before the conversation started.
The call was ended because it has been upgraded to a group call.
Contains the call identifier.
This class is an abstract base class.
The speech was distorted.
The video was distorted.
The call ended unexpectedly.
The user heard their own voice.
The other side kept disappearing.
The user heard background noise.
The video was pixelated.
The user couldn't hear the other side.
The other side couldn't hear the user.
Specifies the supported call protocols.
Describes a server for relaying call data.
This class is an abstract base class.
A Telegram call reflector.
A WebRTC server.
This class is an abstract base class.
The call has ended successfully.
The call has ended with an error.
The call has been answered and encryption keys are being exchanged.
The call is hanging up after discardCall has been called.
The call is pending, waiting to be accepted by a user.
The call is ready to use.
Checks whether the specified bot can send messages to the user.
Stops the downloading of a file.
Cancels reset of 2-step verification password.
Stops the preliminary uploading of a file.
Cancels verification of the 2-step verification recovery email address.
Checks whether the current user can post a story on behalf of a chat; requires canPostStories right for supergroup and channel chats.
This class is an abstract base class.
The limit for the number of active stories exceeded.
The chat must be boosted first by Telegram Premium subscribers to post more stories.
The monthly limit for the number of posted stories exceeded.
A story can be sent.
The user must subscribe to Telegram Premium to be able to post stories.
The weekly limit for the number of posted stories exceeded.
Checks whether an in-store purchase is possible.
Check whether the current user can message another user or try to create a chat with them.
This class is an abstract base class.
The user can be messaged.
The user can be messaged, but the messages are paid.
The user can't be messaged, because they are deleted or unknown.
The user can't be messaged, because they restrict new chats with non-contacts.
Checks whether the current session can be used to transfer a chat ownership to another user.
This class is an abstract base class.
The session can be used.
The 2-step verification needs to be enabled first.
The 2-step verification was enabled recently, user needs to wait.
The session was created recently, user needs to wait.
Changes imported contacts using the list of contacts saved on the device.
Installs/uninstalls or activates/archives a sticker set.
A chat.
This class is an abstract base class.
This class is an abstract base class.
The chat is a private or secret chat and the other user can be added to the contact list using the method addContact.
The chat is a recently created group chat to which new members can be invited.
The chat is a private chat with an administrator of a chat to which the user sent join request.
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.
The chat can be reported as spam using the method reportChat with an empty optionId and messageIds.
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.
The user has canceled the previous action.
The user is picking a contact to send.
The user is picking a location or venue to send.
The user is picking a sticker to send.
The user is recording a video.
The user is recording a video note.
The user is recording a voice note.
The user has started to play a game.
The user is typing a message.
The user is uploading a document.
The user is uploading a photo.
The user is uploading a video.
The user is uploading a video note.
The user is uploading a voice note.
The user is watching animations sent by the other party by clicking on an animated emoji.
Describes active stories posted by a chat.
Contains information about a chat administrator.
Describes rights of the administrator.
Represents a list of chat administrators.
This class is an abstract base class.
All reactions are available in the chat, excluding the paid reaction and custom reactions in channel chats.
Only specific reactions are available in the chat.
Describes a background set for a specific chat.
Describes a boost applied to a chat.
Contains a list of features available on the first chat boost levels.
Contains a list of features available on a specific chat boost level.
Contains an HTTPS link to boost a chat.
Contains information about a link to boost a chat.
Describes a slot for chat boost.
Contains a list of chat boost slots.
This class is an abstract base class.
The chat created a Telegram Premium gift code for a user.
The chat created a giveaway.
A user with Telegram Premium subscription or gifted Telegram Premium boosted the chat.
Describes current boost status of a chat.
Represents a chat event.
The chat accent color or background custom emoji were changed.
This class is an abstract base class.
The chat active usernames were changed.
The hasAutomaticTranslation setting of a channel was toggled.
The chat available reactions were changed.
The chat background was changed.
The supergroup sticker set with allowed custom emoji was changed.
The chat description was changed.
The chat emoji status was changed.
A new forum topic was created.
A forum topic was deleted.
A forum topic was edited.
A pinned forum topic was changed.
A forum topic was closed or reopened.
The General forum topic was hidden or unhidden.
The hasAggressiveAntiSpamEnabled setting of a supergroup was toggled.
The hasProtectedContent setting of a channel was toggled.
A revoked chat invite link was deleted.
A chat invite link was edited.
A chat invite link was revoked.
The canInviteUsers permission of a supergroup chat was toggled.
The isAllHistoryAvailable setting of a supergroup was toggled.
The isForum setting of a channel was toggled.
The linked chat of a supergroup was changed.
The supergroup location was changed.
Represents a set of filters used to obtain a chat event log.
A new chat member was invited.
A new member joined the chat.
A new member joined the chat via an invite link.
A new member was accepted to the chat by an administrator.
A member left the chat.
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
A chat member extended their subscription to the chat.
The message auto-delete timer was changed.
A message was deleted.
A message was edited.
A message was pinned.
A message was unpinned.
The chat permissions were changed.
The chat photo was changed.
A poll in a message was stopped.
The chat's profile accent color or profile background custom emoji were changed.
Contains a list of chat events.
The showMessageSender setting of a channel was toggled.
The signMessages setting of a channel was toggled.
The slowModeDelay setting of a supergroup was changed.
The supergroup sticker set was changed.
The chat title was changed.
The chat editable username was changed.
A video chat was created.
A video chat was ended.
The muteNewParticipants setting of a video chat was toggled.
A video chat participant was muted or unmuted.
A video chat participant volume level was changed.
Represents a folder for user chats.
Represents an icon for a chat folder.
Contains basic information about a chat folder.
Contains a chat folder invite link.
Contains information about an invite link to a chat folder.
Represents a list of chat folder invite links.
Describes name of a chat folder.
Contains a chat invite link.
Describes a chat administrator with a number of active and revoked chat invite links.
Contains a list of chat invite link counts.
Contains information about a chat invite link.
Describes a chat member joined a chat via an invite link.
Contains a list of chat members joined a chat via an invite link.
Contains a list of chat invite links.
Contains information about subscription plan that must be paid by the user to use a chat invite link.
Describes a user that sent a join request and waits for administrator approval.
Contains a list of requests to join a chat.
Contains information about pending join requests for a chat.
This class is an abstract base class.
A list of chats usually located at the top of the main chat list.
A list of chats added to a chat folder.
A main list of chats.
Contains a list of chat lists.
Represents a location to which a chat is connected.
Describes a user or a chat as a member of another chat.
Contains a list of chat members.
This class is an abstract base class.
Returns the owner and administrators.
Returns users banned from the chat; can be used only by administrators in a supergroup or in a channel.
Returns bot members of the chat.
Returns contacts of the user.
Returns all chat members, including restricted chat members.
Returns users which can be mentioned in the chat.
Returns users under certain restrictions in the chat; can be used only by administrators in a supergroup.
This class is an abstract base class.
The user is a member of the chat and has some additional privileges.
The user or the chat was banned (and hence is not a member of the chat).
The user is the owner of the chat and has all the administrator privileges.
The user or the chat is not a chat member.
The user is a member of the chat, without any additional privileges or restrictions.
The user is under certain restrictions in the chat.
Represents a message sender, which can be used to send messages in a chat.
Represents a list of message senders, which can be used to send messages in a chat.
Contains information about notification settings for a chat or a forum topic.
Describes actions that a user is allowed to take in a chat.
Describes a chat or user profile photo.
Contains basic information about the photo of a chat.
Contains a list of chat or user profile photos.
Information about the sticker, which was used to create the chat photo.
This class is an abstract base class.
Information about the custom emoji, which was used to create the chat photo.
Information about the sticker, which was used to create the chat photo.
Describes a position of a chat in a chat list.
Contains information about revenue earned from sponsored messages in a chat.
A detailed statistics about revenue earned from sponsored messages in a chat.
Contains a chat revenue transactions.
Contains a list of chat revenue transactions.
This class is an abstract base class.
Describes earnings from sponsored messages in a chat in some time frame.
Describes a refund for failed withdrawal of earnings.
Describes a withdrawal of earnings.
Represents a list of chats.
This class is an abstract base class.
The chat is sponsored by the user's MTProxy server.
The chat contains a public service announcement.
This class is an abstract base class.
Contains statistics about administrator actions done by a user.
A detailed statistics about a channel chat.
Contains statistics about interactions with a message sent in the chat or a story posted on behalf of the chat.
Contains statistics about number of new members invited by a user.
Contains statistics about messages sent by a user.
This class is an abstract base class.
Describes a message sent in the chat.
Describes a story posted on behalf of the chat.
A detailed statistics about a supergroup chat.
Describes a chat theme.
This class is an abstract base class.
A basic group (a chat with 0-200 other users).
An ordinary chat with a user.
A secret chat with a user.
A supergroup or channel (with unlimited members).
Checks the authentication token of a bot; to log in as a bot.
Checks the authentication code.
Checks the authentication of an email address.
Checks the 2-step verification password for correctness.
Checks whether a 2-step verification password recovery code sent to an email address is valid.
Checks whether an in-store purchase of Telegram Premium is possible before authorization.
Checks the validity of an invite link for a chat folder and returns information about the corresponding chat folder.
Checks the validity of an invite link for a chat and returns information about the corresponding chat.
Checks whether a username can be set for a chat.
This class is an abstract base class.
The username can be set.
The user has too many chats with username, one of them must be made private first.
The user can't be a member of a public supergroup.
The username is invalid.
The username is occupied.
The username can be purchased at https://fragment.com.
Checks whether the maximum number of owned public chats has been reached.
Checks the email address verification code for Telegram Passport.
Checks the login email address authentication.
Checks whether a 2-step verification password recovery code sent to an email address is valid.
Check the authentication code and completes the request for which the code was sent if appropriate.
Return information about a Telegram Premium gift code.
Checks validness of a name for a quick reply shortcut.
Checks the 2-step verification recovery email address verification code.
Checks whether a name can be used for a new sticker set.
This class is an abstract base class.
The name is invalid.
The name is occupied.
The name can be set.
Checks whether a file can be downloaded and saved locally by Web App request.
Removes potentially dangerous characters from the name of a file.
Clears message drafts in all chats.
Clears the list of all autosave settings exceptions.
Clears all imported contacts, contact list remains unchanged.
Clears the list of recently used emoji statuses for self status.
Clears the list of recently found chats.
Clears the list of recently used reactions.
Clears the list of recently used stickers.
Clears the list of recently searched for hashtags or cashtags.
Informs TDLib that a message with an animated emoji was clicked by the user.
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.
Informs TDLib that the user clicked Premium subscription button on the Premium features screen.
Closes the TDLib instance.
Describes a user that had or will have a birthday soon.
Informs TDLib that the chat is closed by the user.
Represents a closed vector path.
Closes a secret chat, effectively transferring its state to secretChatStateClosed.
Informs TDLib that a story is closed by the user.
Informs TDLib that a previously opened Web App was closed.
Contains information about a collectible item and its last purchase.
This class is an abstract base class.
A phone number.
A username.
Applies all pending paid reactions on a message.
Confirms QR code authentication on another device.
Confirms an unconfirmed session of the current user from another device.
Connects an affiliate program to the given affiliate.
Describes an affiliate program that was connected to an affiliate.
Represents a list of affiliate programs that were connected to an affiliate.
Contains information about one website the current user is logged in with Telegram.
Contains a list of websites the current user is logged in with Telegram.
This class is an abstract base class.
Establishing a connection to the Telegram servers.
Establishing a connection with a proxy server.
There is a working connection to the Telegram servers.
Downloading data expected to be received while the application was offline.
Waiting for the network to become available.
Describes a user contact.
Contains a counter.
Contains information about countries.
Contains information about a country.
Returns an existing chat corresponding to a known basic group.
Creates a business chat link for the current account.
Creates a new call.
Creates new chat folder.
Creates a new invite link for a chat folder.
Creates a new invite link for a chat.
Creates a new subscription invite link for a channel chat.
Contains information about a newly created basic group chat.
Creates a topic in a forum supergroup chat; requires canManageTopics administrator or canCreateTopics member right in the supergroup.
Creates a new group call that isn't bound to a chat.
Creates a link for the given invoice; for bots only.
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate.
Creates a new secret chat.
Creates a new sticker set.
Creates a new supergroup or channel and sends a corresponding messageSupergroupChatCreate.
Returns an existing chat corresponding to a given user.
Returns an existing chat corresponding to a known secret chat.
Returns an existing chat corresponding to a known supergroup or channel.
Creates a new temporary password for processing payments.
Creates a video chat (a group call bound to a chat).
Describes the current weather.
Contains the result of a custom request.
Contains some binary data.
Contains database statistics.
Represents a date according to the Gregorian calendar.
File with the date it was uploaded.
Represents a date range.
Declines an invitation to an active group call via messageGroupCall.
Decrypts group call data received by tgcalls.
Contains information about a tg: deep link.
Deletes the account of the current user, deleting all information associated with the user from the server.
Deletes all call messages.
Deletes all revoked chat invite links created by a given chat administrator.
Delete media previews from the list of media previews of a bot.
Deletes a business chat link of the current account.
Deletes the business bot that is connected to the current user account.
Deletes messages on behalf of a business account; for bots only.
Deletes a story posted by the bot on behalf of a business account; for bots only.
Deletes a chat along with all messages in the corresponding chat for all chat members.
Deletes background in a specific chat.
Deletes existing chat folder.
Deletes an invite link for a chat folder.
Deletes all messages in the chat.
Deletes all messages between the specified dates in a chat.
Deletes all messages sent by the specified message sender in a chat.
Deletes the default reply markup from a chat.
Deletes commands supported by the bot for the given user scope and language; for bots only.
Deletes default background for chats.
Deletes a file from the TDLib file cache.
Deletes all messages in a forum topic; requires canDeleteMessages administrator right in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages.
Deletes all information about a language pack in the current localization target.
Deletes messages.
Deletes a Telegram Passport element.
Deletes a profile photo.
Deletes a quick reply shortcut.
Deletes specified quick reply messages.
Deletes revoked chat invite links.
Deletes saved credentials for all payment provider bots.
Deletes all messages in a Saved Messages topic.
Deletes all messages between the specified dates in a Saved Messages topic.
Deletes saved order information.
Completely deletes a sticker set.
Deletes a previously posted story.
Closes the TDLib instance, destroying all local data without a proper logout.
This class is an abstract base class.
A token for Apple Push Notification service.
A token for Apple Push Notification service VoIP notifications.
A token for BlackBerry Push Service.
A token for Firebase Cloud Messaging.
A token for HUAWEI Push Service.
A token for Microsoft Push Notification Service.
A token for Microsoft Push Notification Service VoIP channel.
A token for Simple Push API for Firefox OS.
A token for Tizen Push Service.
A token for Ubuntu Push Client service.
A token for web Push API.
A token for Windows Push Notification Services.
This class is an abstract base class.
A regular animated sticker.
Animated stickers to be combined into a slot machine.
Disables all active non-editable usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.
Disables the currently enabled proxy.
Discards a call.
Disconnects an affiliate program from the given affiliate and immediately deactivates its referral link.
Disconnects all websites from the current user's Telegram account.
Disconnects website from the current user's Telegram account.
Describes a document of any type.
Contains number of being downloaded and recently downloaded files found.
Downloads a file from the cloud.
Contains information about a message draft.
Replaces media preview in the list of media previews of a bot.
Edits a business chat link of the current account.
Edits the caption of a message sent on behalf of a business account; for bots only.
Edits the content of a live location in a message sent on behalf of a business account; for bots only.
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.
Edits the reply markup of a message sent on behalf of a business account; for bots only.
Edits the text of a text or game message sent on behalf of a business account; for bots only.
Changes a story posted by the bot on behalf of a business account; for bots only.
Edits existing chat folder.
Edits an invite link for a chat folder.
Edits a non-primary invite link for a chat.
Edits a subscription invite link for a channel chat.
Edits information about a custom local language pack in the current localization target.
Edits title and icon of a topic in a forum supergroup chat; requires canManageTopics right in the supergroup unless the user is creator of the topic.
Edits the caption of an inline message sent via a bot; for bots only.
Edits the content of a live location in an inline message sent via a bot; for bots only.
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.
Edits the reply markup of an inline message sent via a bot; for bots only.
Edits the text of an inline text or game message sent via a bot; for bots only.
Edits the message content caption.
Edits the message content of a live location.
Edits the media content of a message, including message caption.
Edits the message reply markup; for bots only.
Edits the time when a scheduled message will be sent.
Edits the text of a message (or a text of a game message).
Edits an existing proxy server for network requests.
Asynchronously edits the text, media or caption of a quick reply message.
Cancels or re-enables Telegram Star subscription.
Changes content and caption of a story.
Changes cover of a video story.
Cancels or re-enables Telegram Star subscription for a user; for bots only.
This class is an abstract base class.
An authentication token received through Apple ID.
An authentication code delivered to a user's email address.
Information about the email address authentication code that was sent.
An authentication token received through Google ID.
This class is an abstract base class.
Email address can be reset after the given period.
Email address reset has already been requested.
Represents a list of emoji categories.
Describes an emoji category.
This class is an abstract base class.
The category contains premium stickers that must be found by getPremiumStickers.
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.
This class is an abstract base class.
The category must be used for chat photo emoji selection.
The category must be used by default (e.g., for custom emoji or animation search).
The category must be used for emoji status selection.
The category must be used by default for regular sticker selection.
Represents an emoji with its keyword.
Represents a list of emojis with their keywords.
Contains information about an emoji reaction.
Represents a list of emojis.
Describes an emoji to be shown instead of the Telegram Premium badge.
Contains a list of custom emoji identifiers for emoji statuses.
Contains a list of emoji statuses.
This class is an abstract base class.
A custom emoji set as emoji status.
An upgraded gift set as emoji status.
Enables a proxy.
Contains encrypted Telegram Passport data credentials.
Contains information about an encrypted Telegram Passport element; for bots only.
Encrypts group call data before sending them over network using tgcalls.
Ends a group call.
Ends recording of an active group call; for video chats only.
Ends screen sharing in a joined group call.
An object of this type can be returned on every function call, in case of an error.
Describes a fact-check added to the message by an independent checker.
Contains information about a user that has failed to be added to a chat.
Represents a list of users that has failed to be added to a chat.
Represents a file.
Describes a file added to file download list.
Contains size of downloaded prefix of a file.
This class is an abstract base class.
The file is an animation.
The file is an audio file.
The file is a document.
The data is not a file.
The file is a notification sound.
The file is a photo.
The file is a photo published as a story.
The file is a profile photo.
The file was sent to a secret chat (the file type is not known to the server).
The file is a thumbnail of a file from a secret chat.
The file is a file from Secure storage used for storing Telegram Passport files.
The file is a self-destructing photo in a private chat.
The file is a self-destructing video in a private chat.
The file is a self-destructing video note in a private chat.
The file is a self-destructing voice note in a private chat.
The file is a sticker.
The file is a thumbnail of another file.
The file type is not yet known.
The file is a video.
The file is a video note.
The file is a video published as a story.
The file is a voice note.
The file is a wallpaper or a background pattern.
Finishes the file generation.
This class is an abstract base class.
Settings for Firebase Authentication in the official Android application.
Settings for Firebase Authentication in the official iOS application.
This class is an abstract base class.
Device verification must be performed with the classic Play Integrity verification (https://developer.android.com/google/play/integrity/classic).
Device verification must be performed with the SafetyNet Attestation API.
A text with some entities.
Describes a forum topic.
Describes a forum topic icon.
Contains basic information about a forum topic.
Describes a list of forum topics.
Forwards previously sent messages.
Contains information about the last message from which a new message was forwarded last time.
Describes a found affiliate program.
Represents a list of found affiliate programs.
Contains a list of boosts applied to a chat.
Contains a list of messages found by a search in a given chat.
Contains a list of downloaded files, found by a search.
Contains a list of messages found by a search.
Contains 0-based match position.
Contains 0-based positions of matched objects.
Contains a list of stories found by a search.
Represents a list of found users.
Contains information about a Web App found by its short name.
This class is a base class for all TDLib interface function-classes.
Describes a game.
Contains one row of the game high score table.
Contains a list of game high scores.
Returns the period of inactivity after which the account of the current user will automatically be deleted.
Returns all active sessions of the current user.
Returns all available Telegram Passport elements.
Returns unique emoji that correspond to stickers to be found by the getStickers(stickerType, query, 1000000, chatId).
Returns an animated emoji corresponding to a given emoji.
Returns application config, provided by the server.
Returns the link for downloading official Telegram application to be used when the current user invites friends to Telegram.
Returns settings for automatic moving of chats to and from the Archive chat lists.
Returns a list of archived sticker sets.
Returns a list of sticker sets attached to a file, including regular, mask, and emoji sticker sets.
Returns information about a bot that can be added to attachment or side menu.
Returns the current authorization state.
Returns auto-download settings presets for the current user.
Returns autosave settings for the current user.
Returns the list of available chat boost slots for the current user.
Returns gifts that can be sent to other users and channel chats.
Constructs a persistent HTTP URL for a background.
Returns information about a bank card.
Returns information about a basic group by its identifier.
Returns full information about a basic group by its identifier.
Returns users and chats that were blocked by the current user.
Returns the text shown in the chat with a bot if the chat is empty in the given language.
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.
Returns the list of media previews for the given language and the list of languages for which the bot has dedicated previews.
Returns the list of media previews of a bot.
Returns the name of a bot in the given language.
Returns approximate number of bots similar to the given bot.
Returns a list of bots similar to the given bot.
Returns the amount of Telegram Stars owned by a business account; for bots only.
Returns information about a business chat link.
Returns business chat links created for the current account.
Returns the business bot that is connected to the current user account.
Returns information about a business connection by its identifier; for bots only.
Returns information about features, available to Business users.
Sends a callback query to a bot and returns an answer.
Returns information about a message with the callback button that originated a callback query; for bots only.
Returns information about a chat by its identifier.
Returns the list of active stories posted by the given chat.
Returns a list of administrators of the chat with their custom titles.
Returns the list of all stories posted by the given chat; requires canEditStories right in the chat.
Returns the list of message sender identifiers, which can be used to send messages in a chat.
Returns the list of message sender identifiers, which can be used to send a paid reaction in a chat.
Returns the list of features available for different chat boost levels.
Returns the list of features available on the specific chat boost level.
Returns an HTTPS link to boost the specified supergroup or channel chat.
Returns information about a link to boost a chat.
Returns the list of boosts applied to a chat; requires administrator rights in the chat.
Returns the current boost status for a supergroup or a channel chat.
Returns a list of service actions taken by chat members and administrators in the last 48 hours.
Returns information about a chat folder by its identifier.
Returns approximate number of chats in a being created chat folder.
Returns identifiers of pinned or always included chats from a chat folder, which are suggested to be left when the chat folder is deleted.
Returns default icon name for a folder.
Returns invite links created by the current user for a shareable chat folder.
Returns new chats added to a shareable chat folder by its owner.
Returns messages in a chat.
Returns information about an invite link.
Returns the list of chat administrators with number of their invite links.
Returns chat members joined a chat via an invite link.
Returns invite links for a chat created by specified administrator.
Returns pending join requests in a chat.
Returns chat lists to which the chat can be added.
Returns information about a single member of a chat.
Returns the last message sent in a chat no later than the specified date.
Returns information about the next messages of the specified type in the chat split by days.
Returns approximate number of messages of the specified type in the chat.
Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat.
Returns the list of chats with non-default notification settings for new messages.
Returns information about a newest pinned message in the chat.
Returns the list of stories that posted by the given chat to its chat page.
Returns detailed revenue statistics about a chat.
Returns the list of revenue transactions for a chat.
Returns a URL for chat revenue withdrawal; requires owner privileges in the channel chat or the bot.
Returns an ordered list of chats from the beginning of a chat list.
Returns all scheduled messages in a chat.
Returns identifiers of chats from a chat folder, suitable for adding to a chat folder invite link.
Returns approximate number of chats similar to the given chat.
Returns a list of chats similar to the given chat.
Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.
Returns sponsored messages to be shown in a chat; for channel chats and chats with bots only.
Returns detailed statistics about a chat.
Returns supergroup and channel chats in which the current user has the right to post stories.
Returns interactions with a story posted in a chat.
Returns all close friends of the current user.
Returns information about a given collectible item that was purchased at https://fragment.com.
Returns the list of commands supported by the bot for the given user scope and language; for bots only.
Returns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program.
Returns affiliate programs that were connected to the given affiliate.
Returns all website where the current user used Telegram to log in.
Returns all contacts of the user.
Returns information about existing countries.
Uses the current IP address to find the current country.
Returns an emoji for the given country.
Returns a list of public chats of the specified type, owned by the user.
Returns all updates needed to restore current TDLib state, i.e. all actual updateAuthorizationState/updateUser/updateNewChat and others.
Returns the current weather in the given location.
Returns TGS stickers with generic animations for custom emoji reactions.
Returns the list of custom emoji stickers by their identifiers.
Returns database statistics.
Returns information about a tg:// deep link.
Returns default list of custom emoji stickers for reply background.
Returns default emoji statuses for chats.
Returns default list of custom emoji stickers for placing on a chat photo.
Returns default emoji statuses for self status.
Returns default message auto-delete time setting for new chats.
Returns default list of custom emoji stickers for placing on a profile photo.
Returns the list of emoji statuses, which can't be used as chat emoji status, even they are from a sticker set with isAllowedAsChatEmojiStatus == true.
Returns available emoji categories.
Returns information about an emoji reaction.
Returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements.
Returns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link.
Returns information about an action to be done when the current user clicks an external link.
Returns favorite stickers.
Returns information about a file.
Returns file downloaded prefix size from a given offset, in bytes.
Returns the extension of a file, guessed by its MIME type.
Returns the MIME type of a file, guessed by its extension.
Returns information about a forum topic.
Returns the list of custom emoji, which can be used as forum topic icon by all users.
Returns an HTTPS link to a topic in a forum chat.
Returns found forum topics in a forum chat.
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.
Returns examples of possible upgraded gifts for a regular gift.
Returns information about a giveaway.
Returns greeting stickers from regular sticker sets that can be used for the start page of other users.
Returns the most grossing Web App bots.
Returns information about a group call.
Returns information about participants of a non-joined group call that is not bound to a chat.
Returns a list of common group chats with a given user.
Returns the total number of imported contacts.
Returns a list of recently inactive supergroups and channels.
Returns game high scores and some part of the high score table in the range of the specified user; for bots only.
Sends an inline query to a bot and returns its results.
Returns backgrounds installed by the user.
Returns a list of installed sticker sets.
Returns an HTTPS or a tg: link with the given type.
Returns information about the type of internal link.
Converts a JsonValue object to corresponding JSON-serialized string.
Converts a JSON-serialized string to corresponding JsonValue object.
Return emojis matching the keyword.
Returns information about a language pack.
Returns a string stored in the local database from the specified localization target and language pack by its key.
Returns strings from a language pack in the current localization target by their keys.
Returns a link preview by the text of a message.
Returns information about the current localization target.
Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl.
Returns information about currently used log stream for internal logging of TDLib.
Returns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"].
Returns current verbosity level for a specified TDLib internal log tag.
Returns current verbosity level of the internal logging of TDLib.
Returns information needed to open the main Web App of a bot.
Returns information about a file with a map thumbnail in PNG format.
Replaces text entities with Markdown formatting in a human-friendly format.
Returns the current user.
Returns menu button set by the bot for the given user; for bots only.
Returns information about a message.
Returns reactions added for a message, along with their sender.
Returns reactions, which can be added to a message.
Returns information about a message effect.
Returns an HTML code for embedding the message.
Returns information about a file with messages exported from another application.
Returns a confirmation text to be shown to the user before starting message import.
Returns an HTTPS link to a message in a chat.
Returns information about a public or private message link.
Returns information about a message, if it is available without sending network request.
Returns properties of a message.
Returns forwarded copies of a channel message to different public channels and public reposts as a story.
Returns read date of a recent outgoing message in a private chat.
Returns information about messages.
Returns detailed statistics about a message.
Returns information about a message thread.
Returns messages in a message thread of a message.
Returns viewers of a recent outgoing message in a basic group or a supergroup chat.
Returns network data usage statistics.
Returns privacy settings for new chat creation.
Returns the value of an option by its name.
Returns the list of bots owned by the current user.
Returns sticker sets owned by the current user.
Returns the total number of Telegram Stars received by the current user for paid messages from the given user.
Returns a Telegram Passport authorization form for sharing data with a service.
Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form.
Returns one of the available Telegram Passport elements.
Returns the current state of 2-step verification.
Returns an invoice payment form.
Returns information about a successful payment.
Returns information about a phone number by its prefix.
Returns information about a phone number by its prefix synchronously. getCountries must be called at least once after changing localization to the specified language if properly localized country information is expected.
Returns message senders voted for the specified option in a non-anonymous polls.
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.
Returns information about features, available to Premium users.
Returns available options for gifting Telegram Premium to a user.
Returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
Returns the sticker to be used as representation of the Telegram Premium subscription.
Returns information about a limit, increased for Premium users.
Returns state of Telegram Premium subscription and promotion videos for Premium features.
Returns examples of premium stickers for demonstration purposes.
Returns premium stickers from regular sticker sets.
Saves an inline message to be sent by the given user.
Returns the list of proxies that are currently set up.
Returns an HTTPS link, which can be used to add a proxy.
Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
Returns privacy settings for message read date.
Returns information about a received gift.
Returns gifts received by the given user or chat.
Returns recent emoji statuses for self status.
Returns up to 20 recently used inline bots in the order of their last usage.
Returns recently opened chats.
Returns t.me URLs recently visited by a newly registered user.
Returns a list of recently used stickers.
Returns recommended chat folders for the current user.
Returns a list of channel chats recommended to the current user.
Returns a 2-step verification recovery email address that was previously set up.
Returns information about a file by its remote identifier.
Returns information about a non-bundled message that is replied by a given message.
Returns saved animations.
Returns tags used in Saved Messages or a Saved Messages topic.
Returns messages in a Saved Messages topic.
Returns the last message sent in a Saved Messages topic no later than the specified date.
Returns saved notification sound by its identifier.
Returns the list of saved notification sounds.
Returns saved order information.
Returns the notification settings for chats of a given type.
Returns recently searched for hashtags or cashtags by their prefix.
Returns sponsored chats to be shown in the search results.
Returns information about a secret chat by its identifier.
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.
Returns available options for Telegram Stars gifting.
Returns available options for Telegram Star giveaway creation.
Returns available options for Telegram Stars purchase.
Returns detailed Telegram Star revenue statistics.
Returns the list of Telegram Star subscriptions for the current user.
Returns the list of Telegram Star transactions for the specified owner.
Returns a URL for Telegram Star withdrawal.
Loads an asynchronous or a zoomed in statistical graph.
Returns emoji corresponding to a sticker.
Returns outline of a sticker.
Returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords.
Returns information about a sticker set by its identifier.
Returns name of a sticker set by its identifier.
Returns storage usage statistics.
Quickly returns approximate storage usage statistics.
Returns a story.
Returns reactions, which can be chosen for a story.
Returns interactions with a story.
Returns the list of chats with non-default notification settings for stories.
Returns forwards of a story as a message to public chats and reposts by public channels.
Returns detailed statistics about a story.
Returns suggested name for saving a file in a given directory.
Returns a suggested name for a new sticker set with a given title.
Returns a list of basic group and supergroup chats, which can be used as a discussion group for a channel.
Returns a list of channel chats, which can be used as a personal chat.
Returns information about a supergroup or a channel by its identifier.
Returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.
Returns information about members or banned users in a supergroup or channel.
Returns localized name of the Telegram support user; for Telegram support only.
Returns a user that can be contacted to get support.
Returns information about the current temporary password.
Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text.
Returns up to 8 emoji statuses, which must be shown in the emoji status list for chats.
Returns up to 8 emoji statuses, which must be shown right after the default Premium Badge in the emoji status list for self status.
Converts a themeParameters object to corresponding JSON-serialized string.
Returns the list of supported time zones.
Returns a list of frequently used chats.
Returns a list of trending sticker sets.
Returns information about an upgraded gift by its name.
Returns available upgraded gift emoji statuses for self status.
Returns a URL for upgraded gift withdrawal in the TON blockchain as an NFT; requires owner privileges for gifts owned by a chat.
Returns information about a user by their identifier.
Returns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only.
Returns full information about a user by their identifier.
Returns an HTTPS link, which can be used to get information about the current user.
Returns the current privacy settings.
Returns the profile photos of a user.
Returns support information for the given user; for Telegram support only.
Returns the list of participant identifiers, on whose behalf a video chat in the chat can be joined.
Returns invite link to a video chat in a public chat.
Returns RTMP URL for streaming to the video chat of a chat; requires canManageVideoChats administrator right.
Returns information about available video chat streams.
Returns a file with a segment of a video chat stream in a modified OGG format for audio or MPEG-4 format for video.
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
Returns a default placeholder for Web Apps of a bot.
Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button.
Returns an instant view version of a web page if available.
Describes a gift that can be sent to another user or channel chat.
Describes a gift available for resale.
This class is an abstract base class.
The gifts will be sorted by their number from the smallest to the largest.
The gifts will be sorted by their price from the lowest to the highest.
The gifts will be sorted by the last date when their price was changed from the newest to the oldest.
Allows to buy a Telegram Premium subscription for another user with payment in Telegram Stars; for bots only.
Contains settings for gift receiving for a user.
Describes gifts available for resale.
Contains examples of possible upgraded gifts for the given regular gift.
This class is an abstract base class.
Describes a completed giveaway.
Describes an ongoing giveaway.
Describes parameters of a giveaway.
This class is an abstract base class.
The user can't participate in the giveaway, because they are an administrator in one of the chats that created the giveaway.
The user can't participate in the giveaway, because they have already been member of the chat.
The user can't participate in the giveaway, because they phone number is from a disallowed country.
The user is eligible for the giveaway.
The user participates in the giveaway.
This class is an abstract base class.
The giveaway sends Telegram Premium subscriptions to the winners.
The giveaway sends Telegram Stars to the winners.
Describes a group call.
This class is an abstract base class.
The main data channel for audio and video data.
The data channel for screen sharing.
Contains the group call identifier.
Contains information about a just created or just joined group call.
Describes parameters used to join a group call.
Represents a group call participant.
Contains identifiers of group call participants.
Contains information about a group call participant's video channel.
Describes a recently speaking participant in a group call.
This class is an abstract base class.
The best available video quality.
The medium video quality.
The worst available video quality.
Describes a group of video synchronization source identifiers.
Contains a list of hashtags.
Hides the list of contacts that have close birthdays for 24 hours.
Hides a suggested action.
Contains an HTTP URL.
An identity document.
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.
Represents the result of an importContacts request.
Imports messages exported from another app.
Represents a single button in an inline keyboard.
This class is an abstract base class.
A button to buy something.
A button that sends a callback query to a bot.
A button with a game that sends a callback query to a bot.
A button that asks for the 2-step verification password of the current user and then sends a callback query to a bot.
A button that copies specified text to clipboard.
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
A button that forces an inline query to the bot to be inserted in the input field.
A button that opens a specified URL.
A button with a user reference to be handled in the same way as textEntityTypeMentionName entities.
A button that opens a Web App by calling openWebApp.
This class is an abstract base class.
Represents an animation file.
Represents a link to an article or web page.
Represents an audio file.
Represents a user contact.
Represents a document.
Represents information about a game.
Represents a point on the map.
Represents a photo.
Represents the results of the inline query.
Represents a button to be shown above inline query results.
This class is an abstract base class.
Describes the button that opens a private chat with the bot and sends a start message to the bot with the given parameter.
Describes the button that opens a Web App by calling getWebAppUrl.
Represents a sticker.
Represents information about a venue.
Represents a video.
Represents a voice note.
This class is an abstract base class.
A background from a local file.
A background previously set in the chat; for chat backgrounds only.
A background from the server.
Describes a business chat link to create or edit.
Describes settings for a business account start page to set.
This class is an abstract base class.
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.
A previously used profile photo of the current user.
A static photo in JPEG format.
A sticker on a custom background.
This class is an abstract base class.
Applies if a user enters new credentials using Apple Pay.
Applies if a user enters new credentials using Google Pay.
Applies if a user enters new credentials on a payment provider website.
Applies if a user chooses some previously saved payment credentials.
This class is an abstract base class.
A file generated by the application.
A file defined by its unique identifier.
A file defined by a local path.
A file defined by its remote identifier.
This class is an abstract base class.
The group call is accessible through a link.
The group call is accessible through a message of the type messageGroupCall.
An identity document to be saved to Telegram Passport.
This class is an abstract base class.
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.
Represents a link to an article or web page.
Represents a link to an MP3 audio file.
Represents a user contact.
Represents a link to a file.
Represents a game.
Represents a point on the map.
Represents link to a JPEG image.
Represents a link to a WEBP, TGS, or WEBM sticker.
Represents information about a venue.
Represents a link to a page containing an embedded video player or a video file.
Represents a link to an opus-encoded audio file within an OGG container, single channel audio.
This class is an abstract base class.
An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia.
An invoice from a link of the type internalLinkTypeInvoice.
An invoice for a payment toward Telegram; must not be used in the in-store apps.
An animation message (GIF-style).
An audio message.
A message containing a user contact.
This class is an abstract base class.
A dice message.
A document message (general file).
A forwarded message.
A message with a game; not supported for channels or secret chats.
A message with an invoice; can be used only by bots.
A message with a location.
A message with paid media; can be used only in channel chats with supergroupFullInfo.hasPaidMediaAllowed.
A photo message.
A message with a poll.
This class is an abstract base class.
Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.
Describes a message to be replied in the same chat and forum topic.
Describes a story to be replied.
A sticker message.
A message with a forwarded story.
A text message.
A message with information about a venue.
A video message.
A video note message.
A voice note message.
Describes a paid media to be sent.
This class is an abstract base class.
The media is a photo.
The media is a video.
This class is an abstract base class.
A Telegram Passport element to be saved containing the user's address.
A Telegram Passport element to be saved containing the user's bank statement.
A Telegram Passport element to be saved containing the user's driver license.
A Telegram Passport element to be saved containing the user's email address.
Contains the description of an error in a Telegram Passport element; for bots only.
This class is an abstract base class.
A data field contains an error.
The file contains an error.
The list of attached files contains an error.
The front side of the document contains an error.
The reverse side of the document contains an error.
The selfie contains an error.
One of the files containing the translation of the document contains an error.
The translation of the document contains an error.
The element contains an error in an unspecified place.
A Telegram Passport element to be saved containing the user's identity card.
A Telegram Passport element to be saved containing the user's internal passport.
A Telegram Passport element to be saved containing the user's passport.
A Telegram Passport element to be saved containing the user's passport registration.
A Telegram Passport element to be saved containing the user's personal details.
A Telegram Passport element to be saved containing the user's phone number.
A Telegram Passport element to be saved containing the user's rental agreement.
A Telegram Passport element to be saved containing the user's temporary registration.
A Telegram Passport element to be saved containing the user's utility bill.
A personal document to be saved to Telegram Passport.
A sticker to be added to a sticker set.
Describes a clickable rectangle area on a story media to be added.
Contains a list of story areas to be added.
This class is an abstract base class.
An area pointing to a venue found by the bot getOption("venue_search_bot_username").
An area pointing to a HTTP or tg:// link.
An area pointing to a location.
An area pointing to a message.
An area pointing to a venue already added to the story.
An area pointing to a suggested reaction.
An area with an upgraded gift.
An area with information about weather.
This class is an abstract base class.
A photo story.
A video story.
Describes manually chosen quote from another message.
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.
This class is an abstract base class.
The link is a link to the Devices section of the application.
The link is a link to an attachment menu bot to be opened in the specified or a chosen chat.
The link contains an authentication code.
The link is a link to a background.
The link is a link to a Telegram bot, which is expected to be added to a channel chat as an administrator.
The link is a link to a chat with a Telegram bot.
The link is a link to a Telegram bot, which is expected to be added to a group chat.
The link is a link to a business chat.
The link is a link to the Telegram Star purchase section of the application.
The link is a link to the change phone number section of the application.
The link is an affiliate program link.
The link is a link to boost a Telegram chat.
The link is an invite link to a chat folder.
The link is a link to the folder section of the application settings.
The link is a chat invite link.
The link is a link to the default message auto-delete timer settings section of the application settings.
The link is a link to the edit profile section of the application settings.
The link is a link to a game.
The link is a link to a group call that isn't bound to a chat.
The link must be opened in an Instant View.
The link is a link to an invoice.
The link is a link to a language pack.
The link is a link to the language section of the application settings.
The link is a link to the main Web App of a bot.
The link is a link to a Telegram message or a forum topic.
The link contains a message draft text.
The link is a link to the screen with information about Telegram Star balance and transactions of the current user.
The link contains a request of Telegram passport data.
The link can be used to confirm ownership of a phone number to prevent account deletion.
The link is a link to the Premium features screen of the application from which the user can subscribe to Telegram Premium.
The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram with telegramPaymentPurposePremiumGift payments or in-store purchases.
The link is a link with a Telegram Premium gift code.
The link is a link to the privacy and security section of the application settings.
The link is a link to a proxy.
The link is a link to a chat by its username.
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.
The link forces restore of App Store purchases when opened.
The link is a link to application settings.
The link is a link to a sticker set.
The link is a link to a story.
The link is a link to a cloud theme.
The link is a link to the theme section of the application settings.
The link is an unknown tg: link.
The link is a link to an unsupported proxy.
The link is a link to an upgraded gift.
The link is a link to a user by its phone number.
The link is a link to a user by a temporary token.
The link is a link to a video chat.
The link is a link to a Web App.
Invites a user to an active group call; for group calls not bound to a chat only.
This class is an abstract base class.
The user was invited and a service message of the type messageGroupCall was sent which can be used in declineGroupCallInvitation to cancel the invitation.
The user can't be invited because they are already a participant of the call.
The user can't be invited due to their privacy settings.
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.
This class is an abstract base class.
The link is an invite link for a basic group.
The link is an invite link for a channel.
The link is an invite link for a supergroup.
Invites users to an active video chat.
Product invoice.
Adds the current user as a new member to a chat.
Uses an invite link to add the current user to the chat if possible.
Joins a group call that is not bound to a chat.
Joins an active video chat.
Represents one member of a JSON object.
This class is an abstract base class.
Represents a JSON array.
Represents a boolean JSON value.
Represents a null JSON value.
Represents a numeric JSON value.
Represents a JSON object.
Represents a string JSON value.
Represents a single button in a bot keyboard.
This class is an abstract base class.
A button that requests a chat to be shared by the current user; available only in private chats.
A button that sends the user's location when pressed; available only in private chats.
A button that sends the user's phone number when pressed; available only in private chats.
A button that allows the user to create and send a poll when pressed; available only in private chats.
A button that requests users to be shared by the current user; available only in private chats.
A simple button, with text that must be sent when the button is pressed.
A button that opens a Web App by calling getWebAppUrl.
Portion of the price of a product (e.g., "delivery cost", "tax amount").
Contains information about a language pack.
Represents one language pack string.
Contains a list of language pack strings.
This class is an abstract base class.
A deleted language pack string, the value must be taken from the built-in English language pack.
An ordinary language pack string.
A language pack string which has different forms based on the number of some object it mentions.
Launches a prepaid giveaway.
Removes the current user from chat members.
Leaves a group call.
Describes a link preview.
This class is an abstract base class.
The media is a photo.
The media is a video.
Options to be used for generation of a link preview.
This class is an abstract base class.
The link is a link to a media album consisting of photos and videos.
The link is a link to an animation.
The link is a link to an app at App Store or Google Play.
The link is a link to a web site.
The link is a link to an audio.
The link is a link to a background.
The link is a link to boost a channel chat.
The link is a link to a chat.
The link is a link to a general file.
The link is a link to an animation player.
The link is a link to an audio player.
The link is a link to a video player.
The link is a link to an audio file.
The link is a link to a video file.
The link is a link to a group call that isn't bound to a chat.
The link is a link to an invoice.
The link is a link to a text or a poll Telegram message.
The link is a link to a photo.
The link is a link to a Telegram Premium gift code.
The link is a link to a shareable chat folder.
The link is a link to a sticker.
The link is a link to a sticker set.
The link is a link to a story.
The link is a link to boost a supergroup chat.
The link is a link to a cloud theme.
The link preview type is unsupported yet.
The link is a link to an upgraded gift.
The link is a link to a user.
The link is a link to a video.
The link is a link to a video chat.
The link is a link to a video note message.
The link is a link to a voice note message.
The link is a link to a Web App.
Loads more active stories from a story list.
Loads more chats from a chat list.
Loads more participants of a group call.
Loads quick reply messages that can be sent by a given quick reply shortcut.
Loads quick reply shortcuts created by the current user.
Loads more Saved Messages topics.
Represents a local file.
Contains information about the current localization target.
Describes a location on planet Earth.
Describes an address of a location.
This class is an abstract base class.
An HTTP URL needs to be open.
An authorization confirmation dialog needs to be shown to the user.
Closes the TDLib instance after a proper logout.
This class is an abstract base class.
The log is written to stderr or an OS specific log.
The log is written nowhere.
The log is written to a file.
Contains a list of available TDLib internal log tags.
Contains a TDLib internal log verbosity level.
Contains information about the main Web App of a bot.
This class is an abstract base class.
The mask is placed relatively to the chin.
The mask is placed relatively to the eyes.
The mask is placed relatively to the forehead.
The mask is placed relatively to the mouth.
Position on a photo where a mask is placed.
Describes a message.
A message with an animated emoji.
An animation message (GIF-style).
An audio message.
Contains default auto-delete timer setting for new chats.
A newly created basic group.
The user allowed the bot to send messages.
Contains information about found messages, split by days according to the option "utc_time_offset".
Contains information about found messages sent on a specific day.
A message with information about an ended call.
New chat members were added.
The chat was boosted by the sender of the message.
An updated chat photo.
An updated chat title.
A chat member was deleted.
A deleted chat photo.
A new member joined the chat via an invite link.
A new member was accepted to the chat by an administrator.
A new background was set in the chat.
The auto-delete or self-destruct timer for messages in the chat has been changed.
A theme in the chat has been changed.
The current user shared a chat, which was requested by the bot.
A supergroup has been created from a basic group.
A basic group was upgraded to a supergroup and was deactivated as the result.
A message with a user contact.
A contact has registered with Telegram.
This class is an abstract base class.
Options to be used when a message content is copied without reference to the original sender.
A non-standard action has happened in the chat.
A dice message.
A document message (general file).
Contains information about an effect added to a message.
This class is an abstract base class.
An effect from an emoji reaction.
An effect from a premium sticker.
A self-destructed photo message.
A self-destructed video message.
A self-destructed video note message.
A self-destructed voice note message.
This class is an abstract base class.
The messages were exported from a group chat.
The messages were exported from a private chat.
The messages were exported from a chat of unknown type.
A forum topic has been created.
A forum topic has been edited.
A forum topic has been closed or opened.
A General forum topic has been hidden or unhidden.
Contains information about a forwarded message.
A message with a game.
A new high score was achieved in a game.
A regular gift was received or sent by the current user, or the current user was notified about a channel gift.
Telegram Premium was gifted to a user.
Telegram Stars were gifted to a user.
A giveaway.
A giveaway without public winners has been completed for the chat.
A giveaway was created for the chat.
A Telegram Stars were received by the current user from a giveaway.
A giveaway with public winners has been completed for the chat.
A message with information about a group call not bound to a chat.
Contains information about a message created with importMessages.
Contains information about interactions with a message.
A message with information about an invitation to a video chat.
A message with an invoice from a bot.
Contains an HTTPS link to a message in a supergroup or channel, or a forum topic.
Contains information about a link to a message or a forum topic in a chat.
A message with a location.
This class is an abstract base class.
The message was originally a post in a channel.
The message was originally sent on behalf of a chat.
The message was originally sent by a user, which is hidden by their privacy settings.
The message was originally sent by a known user.
A message with paid media.
A price for paid messages was changed in the supergroup chat.
Paid messages were refunded.
Telegram Passport data has been received; for bots only.
Telegram Passport data has been sent to a bot.
A payment has been refunded.
A payment has been sent to a bot or a business account.
A payment has been received by the bot or the business account.
A photo message.
A message has been pinned.
A message with a poll.
Contains information about a message in a specific position.
Contains a list of message positions.
A Telegram Premium gift code was created for the user.
Contains properties of a message and describes actions that can be done with the message right now.
A user in the chat came within proximity alert range.
Contains information about a reaction to a message.
Contains a list of reactions added to a message.
This class is an abstract base class.
The read date is unknown due to privacy settings of the current user, but will be known if the user subscribes to Telegram Premium.
Contains read date of the message.
The message is too old to get read date.
The message is unread yet.
The read date is unknown due to privacy settings of the other user.
A gift which purchase, upgrade or transfer were refunded.
Contains information about replies to a message.
This class is an abstract base class.
Describes a message replied by a given message.
Describes a story replied by a given message.
Contains a list of messages.
This class is an abstract base class.
The message will be sent at the specified date.
The message will be sent when the other user is online.
The message will be sent when the video in the message is converted and optimized; can be used only by the server.
A screenshot of a message in the chat has been taken.
This class is an abstract base class.
The message can be opened only once and will be self-destructed once closed.
The message will be self-destructed in the specified time after its content was opened.
This class is an abstract base class.
The message was sent on behalf of a chat.
Represents a list of message senders.
The message was sent by a known user.
This class is an abstract base class.
The message failed to be sent.
The message is being sent now, but has not yet been delivered to the server.
Options to be used when a message is sent.
This class is an abstract base class.
The message is from a chat event log.
The message is from a chat history.
The message is from a chat list or a forum topic list.
The message is from a forum topic history.
The message is from chat, message thread or forum topic history preview.
The message is from a message thread history.
The message is from a notification.
The message is from some other source.
The message was screenshotted; the source must be used only if the message content was visible during the screenshot.
The message is from search results, including file downloads, local file list, outgoing document messages, calendar.
Information about the sponsor of a message.
A detailed statistics about a message.
A sticker message.
A message with a forwarded story.
A profile photo was suggested to a user in a private chat.
A newly created supergroup or channel.
A text message.
Contains information about a message thread.
A message content that is not supported in the current TDLib version.
An upgraded gift was received or sent by the current user, or the current user was notified about a channel gift.
The current user shared users, which were requested by the bot.
A message with information about a venue.
A video message.
A message with information about an ended video chat.
A new video chat was scheduled.
A newly created video chat.
A video note message.
Represents a viewer of a message.
Represents a list of message viewers.
A voice note message.
Data from a Web App has been received; for bots only.
Data from a Web App has been sent to a bot.
Thumbnail image of a very poor quality and low resolution.
A full list of available network statistic entries.
This class is an abstract base class.
Contains information about the total amount of data that was used for calls.
Contains information about the total amount of data that was used to send and receive files.
This class is an abstract base class.
A mobile network.
A mobile roaming network.
The network is not available.
A different network type (e.g., Ethernet network).
A Wi-Fi network.
Contains privacy settings for chats with non-contacts.
Contains information about a notification.
Describes a group of notifications.
This class is an abstract base class.
A group containing notifications of type notificationTypeNewCall.
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message.
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages.
A group containing a notification of type notificationTypeNewSecretChat.
This class is an abstract base class.
Notification settings applied to all channel chats when the corresponding chat setting has a default value.
Notification settings applied to all basic group and supergroup chats when the corresponding chat setting has a default value.
Notification settings applied to all private and secret chats when the corresponding chat setting has a default value.
Describes a notification sound in MP3 format.
Contains a list of notification sounds.
This class is an abstract base class.
New call was received.
New message was received.
New message was received through a push notification.
New secret chat was created.
This class is a base class for all TDLib interface classes.
An object of this type is returned on a successful function call for certain functions.
Informs TDLib that a bot was opened from the list of similar bots.
Informs TDLib that the chat is opened by the user.
Informs TDLib that a chat was opened from the list of similar chats.
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).
Informs TDLib that the user opened a sponsored chat.
Informs TDLib that a story is opened and is being viewed by the user.
Informs TDLib that a Web App is being opened from the attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button.
Optimizes storage usage, i.e. deletes some files and returns new storage usage statistics.
This class is an abstract base class.
Represents a boolean option.
Represents an unknown option or an option which has a default value.
Represents an integer option.
Represents a string option.
Order information.
Represents outline of an image.
This class is an abstract base class.
An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor.
An animation.
An audio file.
The author and publishing date of a page.
A block quote.
Contains a caption of another block.
A link to a chat.
A collage.
A page cover.
A collapsible block.
An empty block separating a page.
An embedded web page.
An embedded post.
The footer of a page.
A header.
This class is an abstract base class.
The content must be center-aligned.
The content must be left-aligned.
The content must be right-aligned.
A kicker.
A list of data blocks.
Describes an item of a list page block.
A map.
A text paragraph.
A photo.
A preformatted text paragraph.
A pull quote.
Contains information about a related article.
Related articles.
A slideshow.
A subheader.
The subtitle of a page.
A table.
Represents a cell of a table.
The title of a page.
This class is an abstract base class.
The content must be bottom-aligned.
The content must be middle-aligned.
The content must be top-aligned.
A video.
A voice note.
This class is an abstract base class.
The media is a photo.
The media is hidden until the invoice is paid.
The media is unsupported.
The media is a video.
This class is an abstract base class.
An anonymous paid reaction.
A paid reaction on behalf of an owned chat.
A paid reaction on behalf of the current user.
Contains information about a user that added paid reactions.
Parses Markdown entities in a human-friendly format, ignoring markup errors.
Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.
Contains information about a Telegram Passport authorization form that was requested.
This class is an abstract base class.
A Telegram Passport element containing the user's address.
A Telegram Passport element containing the user's bank statement.
A Telegram Passport element containing the user's driver license.
A Telegram Passport element containing the user's email address.
Contains the description of an error in a Telegram Passport element.
This class is an abstract base class.
One of the data fields contains an error.
The file contains an error.
The list of attached files contains an error.
The front side of the document contains an error.
The reverse side of the document contains an error.
The selfie with the document contains an error.
One of files with the translation of the document contains an error.
The translation of the document contains an error.
The element contains an error in an unspecified place.
A Telegram Passport element containing the user's identity card.
A Telegram Passport element containing the user's internal passport.
A Telegram Passport element containing the user's passport.
A Telegram Passport element containing the user's passport registration pages.
A Telegram Passport element containing the user's personal details.
A Telegram Passport element containing the user's phone number.
A Telegram Passport element containing the user's rental agreement.
Contains information about saved Telegram Passport elements.
Contains information about a Telegram Passport elements and corresponding errors.
A Telegram Passport element containing the user's temporary registration.
This class is an abstract base class.
A Telegram Passport element containing the user's address.
A Telegram Passport element containing the user's bank statement.
A Telegram Passport element containing the user's driver license.
A Telegram Passport element containing the user's email address.
A Telegram Passport element containing the user's identity card.
A Telegram Passport element containing the user's internal passport.
A Telegram Passport element containing the user's passport.
A Telegram Passport element containing the registration page of the user's passport.
A Telegram Passport element containing the user's personal details.
A Telegram Passport element containing the user's phone number.
A Telegram Passport element containing the user's rental agreement.
A Telegram Passport element containing the user's temporary registration.
A Telegram Passport element containing the user's utility bill.
A Telegram Passport element containing the user's utility bill.
Contains a description of the required Telegram Passport element that was requested by a service.
Contains information about a Telegram Passport element that was requested by a service.
Represents the current state of 2-step verification.
Contains information about an invoice payment form.
This class is an abstract base class.
The payment form is for a regular payment.
The payment form is for a payment in Telegram Stars.
The payment form is for a payment in Telegram Stars for subscription.
Describes an additional payment option.
This class is an abstract base class.
Some other payment provider, for which a web payment form must be shown.
Smart Glocal payment provider.
Stripe payment provider.
Contains information about a successful payment.
This class is an abstract base class.
The payment was done using a third-party payment provider.
The payment was done using Telegram Stars.
Contains the result of a payment request.
Contains the user's personal details.
A personal document, containing some information about a user.
Contains settings for the authentication of the user's phone number.
This class is an abstract base class.
Checks ownership of a new phone number to change the user's authentication phone number; for official Android and iOS applications only.
Confirms ownership of a phone number to prevent account deletion while handling links of the type internalLinkTypePhoneNumberConfirmation.
Verifies ownership of a phone number to be added to the user's Telegram Passport.
Contains information about a phone number.
Describes a photo.
Describes an image in JPEG format.
Pins a message in a chat.
Computes time needed to receive a response from a Telegram server through a proxy.
A point on a Cartesian plane.
Describes a poll.
Describes one answer option of a poll.
This class is an abstract base class.
A poll in quiz mode, which has exactly one correct answer option and can be answered only once.
A regular poll.
Posts a new story on behalf of a chat; requires canPostStories right for supergroup and channel chats.
Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes.
This class is an abstract base class.
The ability to choose accent color for replies and user profile.
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.
Profile photo animation on message and chat screens.
Allowed to set a premium application icons.
The ability to set private chat background for both users.
The ability to use Business features.
The ability to boost chats.
Allowed to use custom emoji stickers in message texts and captions.
Disabled ads.
The ability to show an emoji status along with the user's name.
The ability to set a custom emoji as a forum topic icon.
Improved download speed.
Increased limits.
Increased maximum upload file size.
The ability to view last seen and read times of other users even they can't view last seen or read time for the current user.
The ability to use all available message effects.
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.
A badge in the user's profile.
Describes a promotion animation for a Premium feature.
Allowed to translate chat messages real-time.
Contains information about features, available to Premium users.
The ability to use tags in Saved Messages.
Allowed to use more reactions.
Allowed to use premium stickers with unique effects.
Allowed to use many additional features for stories.
The ability to convert voice notes to text.
Contains information about a Telegram Premium gift code.
Describes an option for gifting Telegram Premium to a user.
Contains a list of options for gifting Telegram Premium to a user.
Describes an option for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
Contains a list of options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.
Contains information about a limit, increased for Premium users.
This class is an abstract base class.
The maximum number of active stories.
The maximum length of the user's bio.
The maximum length of sent media caption.
The maximum number of pinned and always included, or always excluded chats in a chat folder.
The maximum number of chat folders.
The maximum number of invite links for a chat folder.
The maximum number of created public chats.
The maximum number of favorite stickers.
The maximum number of stories posted per month.
The maximum number of pinned chats in the archive chat list.
The maximum number of pinned chats in the main chat list.
The maximum number of pinned Saved Messages topics.
The maximum number of saved animations.
The maximum number of added shareable chat folders.
The maximum number of received similar chats.
The maximum length of captions of posted stories.
The maximum number of suggested reaction areas on a story.
The maximum number of joined supergroups and channels.
The maximum number of stories posted per week.
Describes an option for buying Telegram Premium to a user.
This class is an abstract base class.
A user tried to use a Business feature.
A user tried to use a Premium feature.
A limit was exceeded.
A user opened an internal link of the type internalLinkTypePremiumFeatures.
A user opened the Premium features screen from settings.
A user tried to use a Premium story feature.
Contains state of Telegram Premium subscription and promotion videos for Premium features.
Describes an option for buying or upgrading Telegram Premium for self.
This class is an abstract base class.
The ability to set custom expiration duration for stories.
The ability to use links and formatting in story caption, and use inputStoryAreaTypeLink areas.
The ability to check who opened the current user's stories after they expire.
Stories of the current user are displayed before stories of non-Premium contacts, supergroups, and channels.
The ability to save other's unprotected stories.
The ability to hide the fact that the user viewed other's stories.
The ability to choose better quality for viewed stories.
Describes a prepaid giveaway.
Represents a ready to send inline message.
Represents an inline message that can be sent via the bot.
Process new chats added to a shareable chat folder by its owner.
Handles a pending join request in a chat.
Handles all pending join requests for a given link in a chat.
Handles a push notification.
Contains information about a product that can be paid with invoice.
Contains information about supported accent color for user profile photo background.
Contains information about supported accent colors for user profile photo background in RGB format.
Describes a user profile photo.
Represents a list of proxy servers.
Contains information about a proxy server.
This class is an abstract base class.
A HTTP transparent proxy server.
An MTProto proxy server.
A SOCKS5 proxy server.
This class is an abstract base class.
The chat is public, because it has an active username.
The chat is public, because it is a location-based supergroup.
This class is an abstract base class.
Contains a public forward as a message.
Represents a list of public forwards and reposts as a story of a message or a story.
Contains a public repost to a story.
This class is an abstract base class.
An animation message (GIF-style).
An audio message.
A newly created basic group.
New chat members were invited to a group.
A chat photo was edited.
A chat title was edited.
A chat member was deleted.
A new member joined the chat via an invite link.
A new member was accepted to the chat by an administrator.
A chat background was edited.
A chat theme was edited.
A message with a user contact.
A contact has registered with Telegram.
A document message (a general file).
A message with a game.
A new high score was achieved in a game.
A message with a gift.
A message with a giveaway.
A general message with hidden content.
An invitation of participants to a video chat or live stream.
A message with an invoice from a bot.
A message with a location.
A media album.
A forwarded messages.
A message with paid media.
A photo message.
A message with a poll.
A message with a Telegram Premium gift code created for the user.
A user in the chat came within proximity alert range from the current user.
A new recurring payment was made by the current user.
A screenshot of a message in the chat has been taken.
A message with a sticker.
A message with a story.
A profile photo was suggested to the user.
A text message.
A message with an upgraded gift.
A video message.
A video chat or live stream has ended.
A video chat or live stream was started.
A video note message.
A voice note message.
Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.
Describes a message that can be used for quick reply.
Contains a list of quick reply messages.
Describes a shortcut that can be used for a quick reply.
Rates recognized speech in a video note or a voice note message.
Contains information about notification settings for reactions.
This class is an abstract base class.
Notifications for reactions are shown for all reactions.
Notifications for reactions are shown only for reactions from contacts.
Notifications for reactions are disabled.
This class is an abstract base class.
A reaction with a custom emoji.
A reaction with an emoji.
The paid reaction in a channel chat.
This class is an abstract base class.
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.
The user isn't a member of the supergroup and can't send messages and reactions there without joining.
Marks all mentions in a chat as read.
Marks all reactions in a chat or a forum topic as read.
Marks all mentions in a forum topic as read.
Marks all reactions in a forum topic as read.
Reads a message on behalf of a business account; for bots only.
Traverse all chats in a chat list and marks all messages in the chats as read.
Contains privacy settings for message read date in private chats.
Readds quick reply messages which failed to add.
Reads a part of a file from the TDLib file cache and returns read bytes.
Represents a gift received by a user or a chat.
Represents a list of gifts received by a user or a chat.
Recognizes speech in a video note or a voice note message.
Describes a recommended chat folder.
Contains a list of recommended chat folders.
Recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up.
Recovers the 2-step verification password using a recovery code sent to an email address that was previously set up.
Contains information about the current recovery email address.
Refunds a previously done payment in Telegram Stars; for bots only.
Registers the currently used device for receiving push notifications.
Finishes user registration.
Represents a remote file.
Removes all files from the file download list.
Removes the connected business bot from a specific chat by adding the chat to businessRecipients.excludedChatIds.
Removes a chat action bar without any other action.
Removes users from the contact list.
Removes a sticker from the list of favorite stickers.
Removes a file from the file download list.
Removes background from the list of installed backgrounds.
Removes a reaction from a message.
Removes the verification status of a user or a chat by an owned bot.
Removes an active notification from notification list.
Removes a group of active notifications.
Removes all pending paid reactions on a message.
Removes a proxy server.
Removes a hashtag from the list of recently used hashtags.
Removes a chat from the list of recently found chats.
Removes a sticker from the list of recently used stickers.
Removes an animation from the list of saved animations.
Removes a notification sound from the list of saved notification sounds.
Removes a hashtag or a cashtag from the list of recently searched for hashtags or cashtags.
Removes a sticker from the set to which it belongs.
Removes a chat from the list of frequently used chats.
Changes order of active usernames of the current user.
Changes order of active usernames of a bot.
Changes order of media previews in the list of media previews of a bot.
Changes the order of chat folders.
Changes the order of installed sticker sets.
Changes the order of quick reply shortcuts.
Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.
Replaces current primary invite link for a chat with a new primary invite link.
Replaces existing sticker in a set.
Replaces the current RTMP URL for streaming to the video chat of a chat; requires owner privileges in the chat.
This class is an abstract base class.
Instructs application to force a reply to this message.
Contains an inline keyboard layout.
Instructs application to remove the keyboard once this message has been received.
Contains a custom keyboard layout to quickly reply to bots.
Reports that authentication code wasn't delivered via SMS; for official mobile applications only.
Reports a chat to the Telegram moderators.
Reports a chat photo to the Telegram moderators.
This class is an abstract base class.
The user must choose messages to report and repeat the reportChat request with the chosen messages.
The chat was reported successfully.
The user must choose an option to report the chat and repeat request with the chosen option.
The user must add additional text details to the report.
Reports a sponsored message to Telegram moderators.
Reports reactions set on a message to the Telegram moderators.
Describes an option to report an entity to Telegram.
Reports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile applications only.
This class is an abstract base class.
The chat has child abuse related content.
The chat contains copyrighted content.
A custom reason provided by the user.
The chat represents a fake account.
The chat has illegal drugs related content.
The chat contains messages with personal details.
The chat contains pornographic messages.
The chat contains spam messages.
The location-based chat is unrelated to its stated location.
The chat promotes violence.
Reports a sponsored chat to Telegram moderators.
This class is an abstract base class.
Sponsored messages were hidden for the user in all chats.
The sponsored message is too old or not found.
The message was reported successfully.
The user must choose an option to report the message and repeat request with the chosen option.
The user asked to hide sponsored messages, but Telegram Premium is required for this.
Reports a story to the Telegram moderators.
This class is an abstract base class.
The story was reported successfully.
The user must choose an option to report the story and repeat request with the chosen option.
The user must add additional text details to the report.
Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup.
Reports messages in a supergroup as spam; requires administrator rights in the supergroup.
Requests to send a 2-step verification password recovery code to an email address that was previously set up.
Requests to send a 2-step verification password recovery code to an email address that was previously set up.
Requests QR code authentication by scanning a QR code on another logged in device.
Resends an authentication code to the user.
This class is an abstract base class.
The user requested to resend the code.
The code is re-sent, because device verification has failed.
Resends the code to verify an email address to be added to a user's Telegram Passport.
Resends the login email address verification code.
Resends messages which failed to send.
Resends the authentication code sent to a phone number.
Resends the 2-step verification recovery email address verification code.
Resets all chat and scope notification settings to their default values.
Resets the login email address.
Resets list of installed backgrounds to its default value.
Resets all network data usage statistics to zero.
Removes 2-step verification password without previous password and access to recovery email address.
This class is an abstract base class.
The password reset request was declined.
The password was reset.
The password reset request is pending.
Reuses an active Telegram Star subscription to a channel chat and joins the chat again.
This class is an abstract base class.
Withdrawal failed.
Withdrawal is pending.
Withdrawal succeeded.
Revokes invite link for a chat.
Revokes invite link for a group call.
This class is an abstract base class.
An anchor.
A link to an anchor on the same page.
A bold rich text.
A rich text email link.
A fixed-width rich text.
A small image inside the text.
An italicized rich text.
A marked rich text.
A rich text phone number.
A plain text.
A reference to a richTexts object on the same page.
A concatenation of rich texts.
A strikethrough rich text.
A subscript rich text.
A superscript rich text.
An underlined rich text.
A rich text URL link.
Represents an RTMP URL.
Saves application log event on the server.
Contains information about saved payment credentials.
Represents a tag used in Saved Messages or a Saved Messages topic.
Contains a list of tags used in Saved Messages.
Contains information about a Saved Messages topic.
This class is an abstract base class.
Topic containing messages forwarded from a user with hidden privacy.
Topic containing messages sent by the current user of forwarded from an unknown chat.
Topic containing messages forwarded from a specific chat.
Saves an inline message to be sent by the given user; for bots only.
Contains autosave settings for an autosave settings scope.
Contains information about notification settings for several chats.
Searches affiliate programs that can be connected to the given affiliate.
Searches for a background by its name.
Searches for call and group call messages.
Searches a chat with an affiliate program.
Searches for a specified query in the first name, last name and usernames of the members of a specified chat.
Searches for messages with given words in the chat.
Returns information about the recent locations of chat members that were sent to the chat.
Searches for the specified query in the title and username of already known chats.
Searches for the specified query in the title and username of already known chats via request to the server.
Searches for the specified query in the first names, last names and usernames of the known user contacts.
Searches for emojis by keywords.
Searches for files in the file download list or recently downloaded files from the list.
Returns upgraded gifts that can be bought from other owners.
Searches for recently used hashtags by their prefix.
Searches for installed sticker sets by looking for specified query in their title and name.
Searches for messages in all chats except secret chats.
This class is an abstract base class.
Returns only messages in channel chats.
Returns only messages in basic group and supergroup chats.
Returns only messages in private chats.
This class is an abstract base class.
Returns only animation messages.
Returns only audio messages.
Returns only messages containing chat photos.
Returns only document messages.
Returns all found messages, no filter is applied.
Returns only failed to send messages.
Returns only messages with mentions of the current user, or messages that are replies to their messages.
Returns only photo messages.
Returns only photo and video messages.
Returns only pinned messages.
Returns only messages with unread mentions of the current user, or messages that are replies to their messages.
Returns only messages with unread reactions for the current user.
Returns only messages containing URLs.
Returns only video messages.
Returns only video note messages.
Returns only voice and video note messages.
Returns only voice note messages.
Searches for outgoing messages with content of the type messageDocument in all chats except secret chats.
Searches a public chat by its username.
Searches public chats by looking for specified query in their username and title.
Searches for public channel posts containing the given hashtag or cashtag.
Searches for public stories by the given address location.
Searches for public stories containing the given hashtag or cashtag.
Searches for public stories from the given venue.
Searches for a given quote in a text.
Searches for the specified query in the title and username of up to 50 recently found chats.
Searches for messages tagged by the given reaction and with the given words in the Saved Messages chat; for Telegram Premium users only.
Searches for messages in secret chats.
Searches for stickers from public sticker sets that correspond to any of the given emoji.
Searches for a sticker set by its name.
Searches for sticker sets by looking for specified query in their title and name.
Searches specified query by word prefixes in the provided strings.
Searches a user by their phone number.
Searches a user by a token from the user's link.
Returns information about a Web App by its short name.
Contains a value representing a number of seconds.
Represents a secret chat.
This class is an abstract base class.
The secret chat is closed.
The secret chat is not yet created; waiting for the other user to get online.
The secret chat is ready to use.
Sells a gift for Telegram Stars.
Sends Firebase Authentication SMS to the phone number of the user.
Invites a bot to a chat (if it is not yet a member) and sends it the /start command; requires canInviteUsers member right.
Sends a message on behalf of a business account; for bots only.
Sends 2-10 messages grouped together into an album on behalf of a business account; for bots only.
Sends debug information for a call to Telegram servers.
Sends log file for a call to Telegram servers.
Sends a call rating.
Sends call signaling data.
Sends a notification about user activity in a chat.
Sends a custom request; for bots only.
Sends a code to verify an email address to be added to a user's Telegram Passport.
Sends a gift to another user or channel chat.
Sends the result of an inline query as a message.
Sends a message.
Sends 2-10 messages grouped together into an album.
Sends a Telegram Passport authorization form, effectively sharing data with the service.
Sends a filled-out payment form to the bot for final verification.
Sends a code to the specified phone number.
Sends Firebase Authentication SMS to the specified phone number.
Sends messages from a quick reply shortcut.
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.
Sends a custom request from a Web App.
Sends data received from a keyboardButtonTypeWebApp Web App to a bot.
This class is an abstract base class.
Regular gift.
Upgraded gift.
Information about the message sent by answerWebAppQuery.
Contains information about one session in a Telegram application used by the current user.
Contains a list of sessions.
This class is an abstract base class.
The session is running on an Android device.
The session is running on a generic Apple device.
The session is running on the Brave browser.
The session is running on the Chrome browser.
The session is running on the Edge browser.
The session is running on the Firefox browser.
The session is running on an iPad device.
The session is running on an iPhone device.
The session is running on a Linux device.
The session is running on a Mac device.
The session is running on the Opera browser.
The session is running on the Safari browser.
The session is running on an Ubuntu device.
The session is running on an unknown type of device.
The session is running on the Vivaldi browser.
The session is running on a Windows device.
The session is running on an Xbox console.
Changes accent color and background custom emoji for the current user; for Telegram Premium users only.
Changes the period of inactivity after which the account of the current user will automatically be deleted.
Succeeds after a specified amount of time has passed.
Application or reCAPTCHA verification has been completed.
Changes settings for automatic moving of chats to and from the Archive chat lists.
Sets the email address of the user and sends an authentication code to the email address.
Sets the phone number of the user and sends an authentication code to the user.
Informs server about an in-store purchase of Telegram Premium before authorization.
Sets auto-download settings.
Sets autosave settings for the given scope.
Changes the bio of the current user.
Changes the birthdate of the current user.
Sets the text shown in the chat with a bot if the chat is empty.
Sets the text shown on a bot's profile page and sent together with the link when users share the bot.
Sets the name of a bot.
Changes a profile photo for a bot.
Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.
Changes the bio of a business account; for bots only.
Changes settings for gift receiving of a business account; for bots only.
Changes the first and last name of a business account; for bots only.
Changes a profile photo of a business account; for bots only.
Changes the editable username of a business account; for bots only.
Changes the business away message settings of the current user.
Adds or changes business bot that is connected to the current user account.
Changes the business greeting message settings of the current user.
Changes the business location of the current user.
Pins or unpins a message sent on behalf of a business account; for bots only.
Changes the business opening hours of the current user.
Changes the business start page of the current user.
Changes accent color and background custom emoji of a channel chat.
Changes story list in which stories from the chat are shown.
Changes affiliate program for a bot.
Changes reactions, available in a chat.
Sets the background in a specific chat.
Changes application-specific data associated with a chat.
Changes information about a chat.
Changes the discussion group of a channel chat; requires canChangeInfo administrator right in the channel if it is specified.
Changes the draft message in a chat.
Changes the emoji status of a chat.
Changes the location of a chat.
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.
Changes the message auto-delete or self-destruct (for secret chats) time in a chat.
Selects a message sender to send messages in a chat.
Changes the notification settings of a chat.
Changes the amount of Telegram Stars that must be paid to send a message to a supergroup chat; requires canRestrictMembers administrator right and supergroupFullInfo.canEnablePaidMessages.
Changes the chat members permissions.
Changes the photo of a chat.
Changes the list of pinned stories on a chat page; requires canEditStories right in the chat.
Changes accent color and background custom emoji for profile of a supergroup or channel chat.
Changes the slow mode delay of a chat.
Changes the chat theme.
Changes the chat title.
Changes the list of close friends of the current user.
Sets the list of commands supported by the bot for the given user scope and language; for bots only.
Sets a custom emoji sticker set thumbnail.
Adds or changes a custom local language pack to the current localization target.
Adds, edits or deletes a string in a custom local language pack.
Changes the database encryption key.
Sets default background for chats; adds the background to the list of installed backgrounds.
Sets default administrator rights for adding the bot to channel chats; for bots only.
Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.
Changes the default message auto-delete time for new chats.
Changes type of default reaction for the current user.
Changes the emoji status of the current user; for Telegram Premium users only.
Informs TDLib on a file generation progress.
Changes the notification settings of a forum topic.
Updates the game score of the specified user in the game; for bots only.
Changes resale price of a unique gift owned by the current user.
Changes settings for gift receiving for the current user.
Informs TDLib that speaking state of a participant of an active group call has changed.
Changes volume level of a participant of an active group call.
Changes the period of inactivity after which sessions will automatically be terminated.
Updates the game score of the specified user in a game; for bots only.
Changes the login email address of the user.
Sets new log stream for internal logging of TDLib.
Sets the verbosity level for a specified TDLib internal log tag.
Sets the verbosity level of the internal logging of TDLib.
Sets menu button for the given user or for all users; for bots only.
Changes the fact-check of a message.
Sets reactions on a message; for bots only.
Changes the block list of a message sender.
Changes the verification status of a user or a chat by an owned bot.
Changes the first and last name of the current user.
Sets the current network type.
Changes privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").
Sets the value of an option.
Changes type of paid message reaction of the current user on a message.
Adds an element to the user's Telegram Passport.
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.
Changes the 2-step verification password for the current user.
Changes the personal chat of the current user.
Changes the order of pinned chats.
Changes the order of pinned forum topics; requires canManageTopics right in the supergroup.
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.
Changes the order of pinned Saved Messages topics.
Changes the user answer to a poll.
Changes accent color and background custom emoji for profile of the current user; for Telegram Premium users only.
Changes a profile photo for the current user.
Changes name of a quick reply shortcut.
Changes notification settings for reactions.
Changes privacy settings for message read date.
Changes the 2-step verification recovery email address of the user.
Changes label of a Saved Messages tag; for Telegram Premium users only.
Changes notification settings for chats of a given type.
Changes the list of emojis corresponding to a sticker.
Changes the list of keywords of a sticker.
Changes the mask position of a mask sticker.
Changes the position of a sticker in the set to which it belongs.
Sets a sticker set thumbnail.
Sets a sticker set title.
Changes privacy settings of a story.
Changes chosen reaction on a story that has already been sent.
Changes the custom emoji sticker set of a supergroup; requires canChangeInfo administrator right.
Changes the sticker set of a supergroup; requires canChangeInfo administrator right.
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.
Changes the editable username of a supergroup or channel, requires owner privileges in the supergroup or channel.
Sets the parameters for TDLib initialization.
Changes the emoji status of a user; for bots only.
Changes the editable username of the current user.
Changes a personal profile photo of a contact user.
Changes user privacy settings.
Sets support information for the given user; for Telegram support only.
Changes default participant identifier, on whose behalf a video chat in the chat will be joined.
Sets title of a video chat; requires groupCall.canBeManaged right.
Shares a chat after pressing a keyboardButtonTypeRequestChat button with the bot.
Contains information about a chat shared with a bot.
Contains information about a user shared with a bot.
Shares the phone number of the current user with a mutual contact.
Shares users after pressing a keyboardButtonTypeRequestUsers button with the bot.
One shipping option.
This class is an abstract base class.
The speech recognition failed.
The speech recognition is ongoing.
The speech recognition successfully finished.
Describes a sponsored chat.
Contains a list of sponsored chats.
Describes a sponsored message.
Contains a list of sponsored messages.
Describes a possibly non-integer amount of Telegram Stars.
Contains a number of Telegram Stars.
Describes an option for creating of Telegram Star giveaway.
Contains a list of options for creating of Telegram Star giveaway.
Describes an option for the number of winners of a Telegram Star giveaway.
Describes an option for buying Telegram Stars.
Contains a list of options for buying Telegram Stars.
A detailed statistics about Telegram Stars earned by a bot or a chat.
Contains information about Telegram Stars earned by a bot or a chat.
Contains information about subscription to a channel chat, a bot, or a business account that was paid in Telegram Stars.
Describes subscription plan paid in Telegram Stars.
Represents a list of Telegram Star subscriptions.
This class is an abstract base class.
Describes a subscription in a bot or a business account.
Describes a subscription to a channel chat.
Starts recording of an active group call; for video chats only.
Starts screen sharing in a joined group call.
Represents a transaction changing the amount of owned Telegram Stars.
This class is an abstract base class.
The transaction is incoming and increases the number of owned Telegram Stars.
The transaction is outgoing and decreases the number of owned Telegram Stars.
Represents a list of Telegram Star transactions.
This class is an abstract base class.
The transaction is a receiving of a commission from an affiliate program; for regular users, bots and channel chats only.
The transaction is a deposit of Telegram Stars from App Store; for regular users only.
The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only.
The transaction is a sale of a product by the bot; for bots only.
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
The transaction is a sale of paid media by the bot or a business account managed by the bot; for bots only.
The transaction is a purchase of a subscription from a bot or a business account by the current user; for regular users only.
The transaction is a sale of a subscription by the bot; for bots only.
The transaction is a transfer of Telegram Stars from a business account; for bots only.
The transaction is a transfer of Telegram Stars to a business bot; for regular users only.
The transaction is a purchase of paid media from a channel by the current user; for regular users only.
The transaction is a sale of paid media by the channel chat; for channel chats only.
The transaction is a receiving of a paid reaction to a message by the channel chat; for channel chats only.
The transaction is a sending of a paid reaction to a message in a channel chat by the current user; for regular users only.
The transaction is a purchase of a subscription to a channel chat by the current user; for regular users only.
The transaction is a sale of a subscription by the channel chat; for channel chats only.
The transaction is a deposit of Telegram Stars from Fragment; for regular users and bots only.
The transaction is a withdrawal of earned Telegram Stars to Fragment; for regular users, bots, supergroup and channel chats only.
The transaction is a purchase of a regular gift; for regular users and bots only.
The transaction is a sale of a received gift; for regular users and channel chats only.
The transaction is a transfer of an upgraded gift; for regular users only.
The transaction is an upgrade of a gift; for regular users only.
The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.
The transaction is a deposit of Telegram Stars from Google Play; for regular users only.
The transaction is a receiving of a paid message; for regular users and supergroup chats only.
The transaction is a sending of a paid message; for regular users only.
The transaction is a deposit of Telegram Stars from the Premium bot; for regular users only.
The transaction is a purchase of Telegram Premium subscription; for regular users and bots only.
The transaction is a withdrawal of earned Telegram Stars to Telegram Ad platform; for bots and channel chats only.
The transaction is a payment for Telegram API usage; for bots only.
The transaction is a transaction of an unsupported type.
The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
The transaction is a sale of an upgraded gift; for regular users only.
The transaction is a deposit of Telegram Stars by another user; for regular users only.
Starts a scheduled video chat.
This class is an abstract base class.
The graph data to be asynchronously loaded through getStatisticalGraph.
A graph data.
An error message to be shown to the user instead of the graph.
A value with information about its recent changes.
Describes a sticker.
This class is an abstract base class.
The sticker is an animation in TGS format.
The sticker is a video in WEBM format.
The sticker is an image in WEBP format.
This class is an abstract base class.
The sticker is a custom emoji to be used inside message text and caption.
The sticker is a mask in WEBP format to be placed on photos or videos.
The sticker is a regular sticker.
Represents a list of stickers.
Represents a sticker set.
Represents short information about a sticker set.
Represents a list of sticker sets.
This class is an abstract base class.
The sticker is a custom emoji to be used inside message text and caption.
The sticker is a mask in WEBP format to be placed on photos or videos.
The sticker is a regular sticker.
Stops a poll sent on behalf of a business account; for bots only.
Stops a poll.
Contains the exact storage usage statistics split by chats and file type.
Contains the storage usage statistics for a specific chat.
Contains the storage usage statistics for a specific file type.
Contains approximate storage usage statistics, excluding files of unknown file type.
This class is an abstract base class.
The user buying Telegram Stars for other users.
The user gifting Telegram Premium to another user.
The user boosting a chat by creating Telegram Premium gift codes for other users.
The user creating a Telegram Premium giveaway.
The user subscribing to Telegram Premium.
The user creating a Telegram Star giveaway.
The user buying Telegram Stars.
This class is an abstract base class.
A purchase through App Store.
A purchase through Google Play.
Represents a list of stories.
Represents a story.
Describes a clickable rectangle area on a story media.
Describes position of a clickable rectangle area on a story media.
This class is an abstract base class.
An area pointing to a HTTP or tg:// link.
An area pointing to a location.
An area pointing to a message.
An area pointing to a suggested reaction.
An area with an upgraded gift.
An area pointing to a venue.
An area with information about weather.
This class is an abstract base class.
A photo story.
A story content that is not supported in the current TDLib version.
A video story.
Contains identifier of a story along with identifier of the chat that posted it.
Contains basic information about a story.
Represents interaction with a story.
Contains information about interactions with a story.
Represents a list of interactions with a story.
This class is an abstract base class.
A forward of the story as a message.
A repost of the story as a story.
A view of the story.
This class is an abstract base class.
The list of stories, shown in the Arvhive chat list.
The list of stories, shown in the main chat list and folder chat lists.
This class is an abstract base class.
The original story was posted by an unknown user.
The original story was a public story that was posted by a known chat.
This class is an abstract base class.
The story can be viewed by all close friends.
The story can be viewed by all contacts except chosen users.
The story can be viewed by everyone.
The story can be viewed by certain specified users.
Contains information about original story that was reposted.
A detailed statistics about a story.
Describes a video file posted as a story.
This class is an abstract base class.
Suggests the user to check whether they still remember their 2-step verification password.
Suggests the user to check whether authorization phone number is correct and change the phone number if it is inaccessible.
Suggests the user to convert specified supergroup to a broadcast group.
A custom suggestion to be shown at the top of the chat list.
Suggests the user to enable archiveAndMuteNewChatsFromUnknownUsers setting in archiveChatListSettings.
Suggests the user to extend their expiring Telegram Premium subscription.
Suggests the user to extend their expiring Telegram Star subscriptions.
Suggests the user to gift Telegram Premium to friends for Christmas.
Suggests the user to restore a recently expired Premium subscription.
Suggests the user to set birthdate.
Suggests the user to set a 2-step verification password to be able to log in again.
Suggests the user to set profile photo.
Suggests the user to subscribe to the Premium subscription with annual payments.
Suggests the user to upgrade the Premium subscription from monthly payments to annual payments.
Suggests the user to view a hint about the meaning of one and two check marks on sent messages.
Suggests a profile photo to another regular user with common messages and allowing non-paid messages.
Represents a supergroup or channel with zero or more members (subscribers in the case of channels).
Contains full information about a supergroup or channel.
This class is an abstract base class.
Returns the owner and administrators.
Returns users banned from the supergroup or channel; can be used only by administrators.
Returns bot members of the supergroup or channel.
Returns contacts of the user, which are members of the supergroup or channel.
Returns users which can be mentioned in the supergroup.
Returns recently active users in reverse chronological order.
Returns restricted supergroup members; can be used only by administrators.
Used to search for supergroup or channel members via a (string) query.
Fetches the latest versions of all strings from a language pack in the current localization target from the server.
This class is an abstract base class.
The chat needs to be chosen by the user among chats of the specified types.
The currently opened chat and forum topic must be kept.
The chat needs to be open with the provided internal link.
Describes allowed types for the target chat.
This class is an abstract base class.
The user buying Telegram Stars for other users.
The user joins a chat and subscribes to regular payments in Telegram Stars.
The user gifting Telegram Premium to another user.
The user boosting a chat by creating Telegram Premium gift codes for other users.
The user creating a Telegram Premium giveaway.
The user creating a Telegram Star giveaway.
The user buying Telegram Stars.
Returns information about the availability of a temporary password, which can be used for payments.
Terminates all other sessions of the current user.
Terminates a session of the current user.
Contains Telegram terms of service.
A simple object containing a sequence of bytes; for testing only.
Returns the received bytes; for testing only.
Does nothing; for testing only.
Returns the received string; for testing only.
Returns the received vector of numbers; for testing only.
Returns the received vector of objects containing a number; for testing only.
Returns the received vector of strings; for testing only.
Returns the received vector of objects containing a string; for testing only.
Forces an updates.getDifference call to the Telegram servers; for testing only.
A simple object containing a number; for testing only.
Sends a simple network request to the Telegram servers; for testing only.
Sends a simple network request to the Telegram servers via proxy; for testing only.
Returns the specified error and ensures that the Error object is used; for testing only.
Returns the squared received number; for testing only.
A simple object containing a string; for testing only.
Does nothing and ensures that the Update object is used; for testing only.
A simple object containing a vector of numbers; for testing only.
A simple object containing a vector of objects that hold a number; for testing only.
A simple object containing a vector of strings; for testing only.
A simple object containing a vector of objects that hold a string; for testing only.
Contains some text.
Contains a list of text entities.
Represents a part of the text that needs to be formatted in some unusual way.
This class is an abstract base class.
A bank card number.
Text that must be formatted as if inside a blockquote HTML tag; not supported in secret chats.
A bold text.
A bot command, beginning with "/".
A cashtag text, beginning with "$", consisting of capital English letters (e.g., "$USD"), and optionally containing a chat username at the end.
Text that must be formatted as if inside a code HTML tag.
A custom emoji.
An email address.
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.
A hashtag text, beginning with "#" and optionally containing a chat username at the end.
An italic text.
A media timestamp.
A mention of a user, a supergroup, or a channel by their username.
A text shows instead of a raw mention of the user (e.g., when the user has no username).
A phone number.
Text that must be formatted as if inside a pre HTML tag.
Text that must be formatted as if inside pre, and code HTML tags.
A spoiler text.
A strikethrough text.
A text description shown instead of a raw URL.
An underlined text.
An HTTP URL.
This class is an abstract base class.
The text uses HTML-style formatting.
The text uses Markdown-style formatting.
Describes manually or automatically chosen quote from another message.
Contains parameters of the application theme.
Describes theme settings.
Represents a thumbnail.
This class is an abstract base class.
The thumbnail is in static GIF format.
The thumbnail is in JPEG format.
The thumbnail is in MPEG4 format.
The thumbnail is in PNG format.
The thumbnail is in TGS format.
The thumbnail is in WEBM format.
The thumbnail is in WEBP format.
Describes a time zone.
Contains a list of time zones.
Represents a URL linking to an internal Telegram entity.
Contains a list of t.me URLs.
This class is an abstract base class.
A chat invite link.
A URL linking to a sticker set.
A URL linking to a public supergroup or channel.
A URL linking to a user.
Changes pause state of all files in the file download list.
Toggles whether the bot can manage emoji status of the current user.
Adds or removes a bot to attachment and side menu.
Changes active state for a username of a bot.
Pauses or resumes the connected business bot in a specific chat.
Changes the value of the default disableNotification parameter, used when a message is sent to a chat.
Toggles whether chat folder tags are enabled.
Toggles whether notifications for new gifts received by a channel chat are sent to the current user; requires canPostMessages administrator right in the chat.
Changes the ability of users to save, forward, or copy chat content.
Changes the marked as unread state of a chat.
Changes the pinned state of a chat.
Changes the translatable state of a chat.
Changes the viewAsTopics setting of a forum chat or Saved Messages.
Changes pause state of a file in the file download list.
Toggles whether a topic is closed in a forum supergroup chat; requires canManageTopics right in the supergroup unless the user is creator of the topic.
Changes the pinned state of a forum topic; requires canManageTopics right in the supergroup.
Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics right in the supergroup.
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.
Toggles whether current user's video is enabled.
Toggles whether current user's video is paused.
Toggles whether a group call participant hand is rased; for video chats only.
Toggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves.
Pauses or unpauses screen sharing in a joined group call.
Toggles whether the current user has sponsored messages enabled.
Changes the pinned state of a Saved Messages topic.
Toggles whether a session can accept incoming calls.
Toggles whether a session can accept incoming secret chats.
Toggles whether a story is accessible after expiration.
Toggles whether sponsored messages are shown in the channel chat; requires owner privileges in the channel.
Toggles whether aggressive anti-spam checks are enabled in the supergroup.
Toggles whether messages are automatically translated in the channel chat; requires canChangeInfo administrator right in the channel.
Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.
Toggles whether the message history of a supergroup is available to new members; requires canChangeInfo member right.
Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.
Toggles whether the supergroup is a forum; requires owner privileges in the supergroup.
Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right.
Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right.
Toggles whether sender signature or link to the account is added to sent messages in a channel; requires canChangeInfo member right.
Changes active state for a username of a supergroup or channel, requires owner privileges in the supergroup or channel.
Changes active state for a username of the current user.
Toggles whether the current user will receive a notification when the video chat starts; for scheduled video chats only.
Toggles whether new participants of a video chat can be unmuted only by administrators of the video chat.
This class is an abstract base class.
A category containing frequently used private chats with bot users.
A category containing frequently used chats used for calls.
A category containing frequently used channels.
A category containing frequently used chats used to forward messages.
A category containing frequently used basic groups and supergroups.
A category containing frequently used chats with inline bots sorted by their usage in inline mode.
A category containing frequently used private chats with non-bot users.
A category containing frequently used chats with bots, which Web Apps were opened.
Transfer Telegram Stars from the business account to the business bot; for bots only.
Changes the owner of a chat; requires owner privileges in the chat.
Sends an upgraded gift to another user or a channel chat.
Extracts text or caption of the given message and translates it to the given language.
Translates a text to the given language.
Represents a list of trending sticker sets.
Contains information about an unconfirmed session.
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.
Removes all pinned messages from a forum topic; requires canPinMessages member right in the supergroup.
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.
Contains information about an unread reaction to a message.
This class is an abstract base class.
The list of supported accent colors has changed.
The list of active emoji reactions has changed.
The list of messages with active live location that need to be updated by the application has changed.
Contains active notifications that were shown on previous application launches.
Some animated emoji message was clicked and a big animated sticker must be played if the message is visible on the screen. chatActionWatchingAnimations with the text of the message needs to be sent if the sticker is played.
The parameters of animation search through getOption("animation_search_bot_username") bot has changed.
A request can't be completed unless reCAPTCHA verification is performed; for official mobile applications only.
A request can't be completed unless application verification is performed; for official mobile applications only.
The list of bots added to attachment or side menu has changed.
The user authorization state has changed.
Autosave settings for some type of chats were updated.
The list of available message effects has changed.
Some data of a basic group has changed.
Some data in basicGroupFullInfo has been changed.
A business connection has changed; for bots only.
A message in a business account was edited; for bots only.
Messages in a business account were deleted; for bots only.
New call was created or information about a call was updated.
Chat accent colors have changed.
A message sender activity in the chat has changed.
The chat action bar was changed.
The list of active stories posted by a specific chat has changed.
A chat was added to a chat list.
The chat available reactions were changed.
The chat background was changed.
A chat was blocked or unblocked.
A chat boost has changed; for bots only.
The bar for managing business bot was changed in a chat.
The value of the default disableNotification parameter, used when a message is sent to the chat, was changed.
A chat draft has changed.
Chat emoji status has changed.
The list of chat folders or a chat folder has changed.
A chat content was allowed or restricted for saving.
A chat's hasScheduledMessages field has changed.
A chat was marked as unread or was read.
Translation of chat messages was enabled or disabled.
The last message of a chat was changed.
User rights changed in a chat; for bots only.
The message auto-delete or self-destruct timer setting for a chat was changed.
The message sender that is selected to send messages in a chat has changed.
Notification settings for a chat were changed.
The number of online group members has changed.
The chat pending join requests were changed.
Chat permissions were changed.
A chat photo was changed.
The position of a chat in a chat list has changed.
Incoming messages were read or the number of unread messages has been changed.
Outgoing messages were read.
A chat was removed from a chat list.
The default chat reply markup was changed.
The revenue earned from sponsored messages in a chat has changed.
The chat theme was changed.
The list of available chat themes has changed.
The title of a chat was changed.
The chat unreadMentionCount has changed.
The chat unreadReactionCount has changed.
A chat video chat state has changed.
A chat default appearance has changed.
The connection state has changed.
The list of contacts that had birthdays recently or will have birthday soon has changed.
The default background has changed.
The type of default paid reaction has changed.
The type of default reaction has changed.
Some messages were deleted.
The list of supported dice emojis has changed.
The list of favorite stickers was updated.
Information about a file was updated.
A file was added to the file download list.
A file download was changed.
The state of the file download list has changed.
The file generation process needs to be started by the application.
File generation is no longer needed.
A file was removed from the file download list.
Information about a topic in a forum chat was changed.
Basic information about a topic in a forum chat was changed.
The freeze state of the current user's account has changed.
Information about a group call was updated.
Information about a group call participant was changed.
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.
The verification state of an encrypted group call has changed; for group calls not bound to a chat only.
Describes whether there are some pending notification updates.
The list of installed sticker sets was updated.
Some language pack strings have been updated.
The message content has changed.
The message content was opened.
A message was edited.
A fact-check added to a message was changed.
The information about interactions with a message has changed.
The message pinned state was changed.
A message with a live location was viewed.
A message with an unread mention was read.
User changed its reactions on a message with public reactions; for bots only.
Reactions added to a message with anonymous reactions have changed; for bots only.
A request to send a message has reached the Telegram server.
A message failed to send.
A message has been successfully sent.
The list of unread reactions added to a message was changed.
A new incoming callback query from a business message; for bots only.
A new message was added to a business account; for bots only.
A new incoming callback query; for bots only.
New call signaling data arrived.
A new chat has been loaded/created.
A user sent a join request to a chat; for bots only.
The user has chosen a result of an inline query; for bots only.
A new incoming event; for bots only.
A new incoming query; for bots only.
A new incoming callback query from a message sent via a bot; for bots only.
A new incoming inline query; for bots only.
A new message was received; can also be an outgoing message.
A new incoming pre-checkout query; for bots only.
A new incoming shipping query; for bots only.
A notification was changed.
A list of active notifications in a notification group has changed.
An option changed its value.
The number of Telegram Stars owned by the current user has changed.
Paid media were purchased by a user; for bots only.
A poll was updated; for bots only.
A user changed the answer to a poll; for bots only.
The list of supported accent colors for user profiles has changed.
Basic information about a quick reply shortcut has changed.
A quick reply shortcut and all its messages were deleted.
The list of quick reply shortcut messages has changed.
The list of quick reply shortcuts has changed.
Notification settings for reactions were updated.
The list of recently used stickers was updated.
Contains a list of updates.
The list of saved animations was updated.
Tags used in Saved Messages or a Saved Messages topic have changed.
Basic information about a Saved Messages topic has changed.
Number of Saved Messages topics has changed.
The list of saved notification sounds was updated.
Notification settings for some type of chats were updated.
Some data of a secret chat has changed.
A service notification from the server was received.
The parameters of speech recognition without Telegram Premium subscription has changed.
Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium.
The Telegram Star revenue earned by a bot or a chat has changed.
A sticker set has changed.
A story was changed.
A story became inaccessible.
Number of chats in a story list has changed.
A story failed to post.
A story has been successfully posted.
Story stealth mode settings have changed.
The list of suggested to the user actions has changed.
Some data of a supergroup or a channel has changed.
Some data in supergroupFullInfo has been changed.
New terms of service must be accepted by the user.
The list of trending sticker sets was updated or some of them were viewed.
The first unconfirmed session has changed.
Number of unread chats, i.e. with unread messages or marked as unread, has changed.
Number of unread messages in a chat list has changed.
Some data of a user has changed.
Some data in userFullInfo has been changed.
Some privacy setting rules have been changed.
The user went online or offline.
An automatically scheduled message with video has been successfully sent after conversion.
A message was sent by an opened Web App, so the Web App needs to be closed.
Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires owner privileges.
Describes an upgraded gift that can be transferred to another owner or transferred to the TON blockchain as an NFT.
This class is an abstract base class.
Identifier of a gift backdrop.
Identifier of a gift model.
Identifier of a gift symbol.
Describes a backdrop of an upgraded gift.
Describes colors of a backdrop of an upgraded gift.
Describes a backdrop of an upgraded gift.
Describes a model of an upgraded gift.
Describes a model of an upgraded gift with the number of gifts found.
Describes the original details about the gift.
Describes a symbol shown on the pattern of an upgraded gift.
Describes a symbol shown on the pattern of an upgraded gift.
Upgrades a regular gift.
Contains result of gift upgrading.
Uploads a file with a sticker; returns the uploaded file.
Represents a user.
Contains full information about a user.
Contains an HTTPS URL, which can be used to get information about a user.
Describes usernames assigned to a user, a supergroup, or a channel.
This class is an abstract base class.
A privacy setting for managing whether the user can be called.
A privacy setting for managing whether the user can be invited to chats.
A privacy setting for managing whether the user can be found by their phone number.
A privacy setting for managing whether peer-to-peer connections can be used for calls.
A privacy setting for managing whether the user can receive voice and video messages in private chats; for Telegram Premium users only.
A privacy setting for managing whether the user can receive messages without additional payment.
A privacy setting for managing whether received gifts are automatically shown on the user's profile page.
This class is an abstract base class.
A rule to allow all users to do something.
A rule to allow all bots to do something.
A rule to allow all members of certain specified basic groups and supergroups to doing something.
A rule to allow all contacts of the user to do something.
A rule to allow all Premium Users to do something; currently, allowed only for userPrivacySettingAllowChatInvites.
A rule to allow certain specified users to do something.
A rule to restrict all users from doing something.
A rule to restrict all bots from doing something.
A rule to restrict all members of specified basic groups and supergroups from doing something.
A rule to restrict all contacts of the user from doing something.
A rule to restrict all specified users from doing something.
A list of privacy rules.
A privacy setting for managing whether the user's bio is visible.
A privacy setting for managing whether the user's birthdate is visible.
A privacy setting for managing whether a link to the user's account is included in forwarded messages.
A privacy setting for managing whether the user's phone number is visible.
A privacy setting for managing whether the user's profile photo is visible.
A privacy setting for managing whether the user's online status is visible.
Represents a list of users.
This class is an abstract base class.
The user's status has never been changed.
The user is offline, but was online last month.
The user is offline, but was online last week.
The user is offline.
The user is online.
The user was online recently.
Contains custom information about the user.
This class is an abstract base class.
A bot (see https://core.telegram.org/bots).
A deleted user or deleted bot.
A regular user.
No information on the user besides the user identifier is available, yet this user has not been deleted.
Contains a temporary identifier of validated order information, which is stored for one hour, and the available shipping options.
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.
This class is an abstract base class.
A cubic Bézier curve to a given point.
A straight line to a given point.
Describes a venue.
Contains information about verification status of a chat or a user.
Describes a video file.
Describes a video chat, i.e. a group call bound to a chat.
Describes an available stream in a video chat.
Represents a list of video chat streams.
Describes a video note.
Informs TDLib that messages are being viewed by the user.
Informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.
Informs TDLib that the user fully viewed a sponsored chat.
Informs the server that some trending sticker sets have been viewed by the user.
Describes a voice note.
Describes a Web App.
Contains information about a Web App.
This class is an abstract base class.
The Web App is opened in the compact mode.
The Web App is opened in the full-screen mode.
The Web App is opened in the full-size mode.
Options to be used when a Web App is opened.
Describes an instant view page for a web page.
Writes a part of a generated file.
Telegram client component.
Telegram Spring Boot client AutoConfiguration.
Telegram client configuration exception.
Telegram TDLib exceptions.
Telegram client configuration properties.
 
 
 
 
Interface indicates that bean should be run when application starts and TdApi.AuthorizationStateReady received by the client.
Consumer of TelegramRunner implementations.
 
Handler of TdApi.AuthorizationState updates.
Interface for incoming updates from TDLib.
This class simplifies the use of TelegramClient for TdApi.User related objects.