java.lang.Object
it.tdlight.jni.TdApi
This class contains as static nested classes all other TDLib interface
type-classes and function-classes.
It has no inner classes, functions or public members.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Accepts an incoming call.static final class
Accepts Telegram terms of services.static final class
Access hash.static class
This class is an abstract base class.static final class
An access hash of a channel.static final class
An access hash of an user.static final class
Contains information about the period of inactivity after which the current user's account will automatically be deleted.static final class
Adds server-provided application changelog as messages to the chat 777000 (Telegram); for official applications only.static final class
Adds a chat folder by an invite link.static final class
Adds a new member to a chat.static final class
Adds multiple new members to a chat.static final class
Adds a chat to a chat list.static final class
Adds a user to the contact list or edits an existing contact by their user identifier.static final class
Adds a custom server language pack to the list of installed language packs in current localization target.static final class
Represents a reaction applied to a message.static final class
Represents a list of reactions added to a message.static final class
Adds a new sticker to the list of favorite stickers.static final class
Adds a file from a message to the list of file downloads.static final class
Adds a local message to a chat.static final class
Adds a message to TDLib internal log.static final class
Adds a reaction to a message.static final class
Adds the specified data to data usage statistics.static final class
Adds a proxy server for network requests.static final class
Adds a chat to the list of recently found chats.static final class
Manually adds a new sticker to the list of recently used stickers.static final class
Describes an address.static final class
Manually adds a new animation to the list of saved animations.static final class
Adds a new notification sound to the list of saved notification sounds.static final class
Adds a new sticker to a set; for bots only.static final class
Animated variant of a chat photo in MPEG4 format.static final class
Describes an animated or custom representation of an emoji.static final class
Describes an animation file.static final class
Represents a list of animations.static final class
Sets the result of a callback query; for bots only.static final class
Answers a custom query; for bots only.static final class
Sets the result of an inline query; for bots only.static final class
Sets the result of a pre-checkout query; for bots only.static final class
Sets the result of a shipping query; for bots only.static final class
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.static final class
Informs server about a purchase through App Store.static final class
Informs server about a purchase through Google Play.static final class
Represents a bot, which can be added to attachment menu.static final class
Describes a color to highlight a bot added to attachment menu.static final class
Describes an audio file.static final class
Information about the authentication code that was sent.static class
This class is an abstract base class.static final class
An authentication code is delivered via a phone call to the specified phone number.static final class
An authentication code is delivered via Firebase Authentication to the official Android application.static final class
An authentication code is delivered via Firebase Authentication to the official iOS application.static final class
An authentication code is delivered by an immediately canceled call to the specified phone number.static final class
An authentication code is delivered to https://fragment.com.static final class
An authentication code is delivered by an immediately canceled call to the specified phone number.static final class
An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code.static final class
An authentication code is delivered via a private Telegram message, which can be viewed from another active session.static class
This class is an abstract base class.static final class
TDLib client is in its final state.static final class
TDLib is closing, all subsequent queries will be answered with the error 500.static final class
The user is currently logging out.static final class
The user has been successfully authorized.static final class
TDLib needs the user's authentication code to authorize.static final class
TDLib needs the user's email address to authorize.static final class
TDLib needs the user's authentication code sent to an email address to authorize.static final class
The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.static final class
The user has been authorized, but needs to enter a 2-step verification password to start using the application.static final class
TDLib needs the user's phone number to authorize.static final class
The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration.static final class
Initialization parameters are needed.static final class
Contains auto-download settings.static final class
Contains auto-download settings presets for the current user.static final class
Describes autosave settings.static final class
Contains autosave settings for a chat, which overrides default settings for the corresponding scope.static class
This class is an abstract base class.static final class
Autosave settings applied to all channel chats without chat-specific settings.static final class
Autosave settings applied to a chat.static final class
Autosave settings applied to all basic group and supergroup chats without chat-specific settings.static final class
Autosave settings applied to all private chats without chat-specific settings.static final class
Represents an available reaction.static final class
Represents a list of reactions that can be added to a message.static final class
Describes a chat background.static class
This class is an abstract base class.static final class
Describes a freeform gradient fill of a background.static final class
Describes a gradient fill of a background.static final class
Describes a solid fill of a background.static final class
Contains a list of backgrounds.static class
This class is an abstract base class.static final class
A filled background.static final class
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.static final class
A wallpaper in JPEG format.static final class
Bans a member in a chat.static final class
Describes an action associated with a bank card number.static final class
Information about a bank card.static final class
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).static final class
Contains full information about a basic group.static final class
Blocks an original sender of a message in the Replies chat.static final class
Represents a command supported by a bot.static final class
Contains a list of bot commands.static class
This class is an abstract base class.static final class
A scope covering all group and supergroup chat administrators.static final class
A scope covering all group and supergroup chats.static final class
A scope covering all private chats.static final class
A scope covering all members of a chat.static final class
A scope covering all administrators of a chat.static final class
A scope covering a member of a chat.static final class
A scope covering all users.static final class
Contains information about a bot.static final class
Describes a button to be shown instead of bot commands menu button.static final class
Describes a call.static final class
Contains a bot's answer to a callback query.static class
This class is an abstract base class.static final class
The payload for a general callback button.static final class
The payload for a callback button requiring password.static final class
The payload for a game callback button.static class
This class is an abstract base class.static final class
The call was ended before the conversation started.static final class
The call was ended during the conversation because the users were disconnected.static final class
The call wasn't discarded, or the reason is unknown.static final class
The call was ended because one of the parties hung up.static final class
The call was ended before the conversation started.static final class
Contains the call identifier.static class
This class is an abstract base class.static final class
The speech was distorted.static final class
The video was distorted.static final class
The call ended unexpectedly.static final class
The user heard their own voice.static final class
The other side kept disappearing.static final class
The user heard background noise.static final class
The video was pixelated.static final class
The user couldn't hear the other side.static final class
The other side couldn't hear the user.static final class
Specifies the supported call protocols.static final class
Describes a server for relaying call data.static class
This class is an abstract base class.static final class
A Telegram call reflector.static final class
A WebRTC server.static class
This class is an abstract base class.static final class
The call has ended successfully.static final class
The call has ended with an error.static final class
The call has been answered and encryption keys are being exchanged.static final class
The call is hanging up after discardCall has been called.static final class
The call is pending, waiting to be accepted by a user.static final class
The call is ready to use.static final class
Stops the downloading of a file.static final class
Cancels reset of 2-step verification password.static final class
Stops the preliminary uploading of a file.static final class
Checks whether Telegram Premium purchase is possible.static final class
Checks whether the current session can be used to transfer a chat ownership to another user.static class
This class is an abstract base class.static final class
The session can be used.static final class
The 2-step verification needs to be enabled first.static final class
The 2-step verification was enabled recently, user needs to wait.static final class
The session was created recently, user needs to wait.static final class
Changes imported contacts using the list of contacts saved on the device.static final class
Changes the phone number of the user and sends an authentication code to the user's new phone number.static final class
Installs/uninstalls or activates/archives a sticker set.static final class
A chat.static class
This class is an abstract base class.static class
This class is an abstract base class.static final class
The chat is a private or secret chat and the other user can be added to the contact list using the method addContact.static final class
The chat is a recently created group chat to which new members can be invited.static final class
The chat is a private chat with an administrator of a chat to which the user sent join request.static final class
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 toggleMessageSenderIsBlocked, or the other user can be added to the contact list using the method addContact.static final class
The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam.static final class
The chat is a location-based supergroup, which can be reported as having unrelated location using the method reportChat with the reason chatReportReasonUnrelatedLocation.static final class
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.static final class
The user has canceled the previous action.static final class
The user is picking a contact to send.static final class
The user is picking a location or venue to send.static final class
The user is picking a sticker to send.static final class
The user is recording a video.static final class
The user is recording a video note.static final class
The user is recording a voice note.static final class
The user has started to play a game.static final class
The user is typing a message.static final class
The user is uploading a document.static final class
The user is uploading a photo.static final class
The user is uploading a video.static final class
The user is uploading a video note.static final class
The user is uploading a voice note.static final class
The user is watching animations sent by the other party by clicking on an animated emoji.static final class
Contains information about a chat administrator.static final class
Describes rights of the administrator.static final class
Represents a list of chat administrators.static class
This class is an abstract base class.static final class
All reactions are available in the chat.static final class
Only specific reactions are available in the chat.static final class
Describes a background set for a specific chat.static final class
Represents a chat event.static class
This class is an abstract base class.static final class
The chat active usernames were changed.static final class
The chat available reactions were changed.static final class
The chat description was changed.static final class
A new forum topic was created.static final class
A forum topic was deleted.static final class
A forum topic was edited.static final class
A pinned forum topic was changed.static final class
A forum topic was closed or reopened.static final class
The General forum topic was hidden or unhidden.static final class
The hasAggressiveAntiSpamEnabled setting of a supergroup was toggled.static final class
The hasProtectedContent setting of a channel was toggled.static final class
A revoked chat invite link was deleted.static final class
A chat invite link was edited.static final class
A chat invite link was revoked.static final class
The canInviteUsers permission of a supergroup chat was toggled.static final class
The isAllHistoryAvailable setting of a supergroup was toggled.static final class
The isForum setting of a channel was toggled.static final class
The linked chat of a supergroup was changed.static final class
The supergroup location was changed.static final class
Represents a set of filters used to obtain a chat event log.static final class
A new chat member was invited.static final class
A new member joined the chat.static final class
A new member joined the chat via an invite link.static final class
A new member was accepted to the chat by an administrator.static final class
A member left the chat.static final class
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.static final class
A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.static final class
The message auto-delete timer was changed.static final class
A message was deleted.static final class
A message was edited.static final class
A message was pinned.static final class
A message was unpinned.static final class
The chat permissions was changed.static final class
The chat photo was changed.static final class
A poll in a message was stopped.static final class
Contains a list of chat events.static final class
The signMessages setting of a channel was toggled.static final class
The slowModeDelay setting of a supergroup was changed.static final class
The supergroup sticker set was changed.static final class
The chat title was changed.static final class
The chat editable username was changed.static final class
A video chat was created.static final class
A video chat was ended.static final class
The muteNewParticipants setting of a video chat was toggled.static final class
A video chat participant was muted or unmuted.static final class
A video chat participant volume level was changed.static final class
Represents a folder for user chats.static final class
Represents an icon for a chat folder.static final class
Contains basic information about a chat folder.static final class
Contains a chat folder invite link.static final class
Contains information about an invite link to a chat folder.static final class
Represents a list of chat folder invite links.static final class
Contains a chat invite link.static final class
Describes a chat administrator with a number of active and revoked chat invite links.static final class
Contains a list of chat invite link counts.static final class
Contains information about a chat invite link.static final class
Describes a chat member joined a chat via an invite link.static final class
Contains a list of chat members joined a chat via an invite link.static final class
Contains a list of chat invite links.static final class
Describes a user that sent a join request and waits for administrator approval.static final class
Contains a list of requests to join a chat.static final class
Contains information about pending join requests for a chat.static class
This class is an abstract base class.static final class
A list of chats usually located at the top of the main chat list.static final class
A list of chats added to a chat folder.static final class
A main list of chats.static final class
Contains a list of chat lists.static final class
Represents a location to which a chat is connected.static final class
Describes a user or a chat as a member of another chat.static final class
Contains a list of chat members.static class
This class is an abstract base class.static final class
Returns the owner and administrators.static final class
Returns users banned from the chat; can be used only by administrators in a supergroup or in a channel.static final class
Returns bot members of the chat.static final class
Returns contacts of the user.static final class
Returns all chat members, including restricted chat members.static final class
Returns users which can be mentioned in the chat.static final class
Returns users under certain restrictions in the chat; can be used only by administrators in a supergroup.static class
This class is an abstract base class.static final class
The user is a member of the chat and has some additional privileges.static final class
The user or the chat was banned (and hence is not a member of the chat).static final class
The user is the owner of the chat and has all the administrator privileges.static final class
The user or the chat is not a chat member.static final class
The user is a member of the chat, without any additional privileges or restrictions.static final class
The user is under certain restrictions in the chat.static final class
Represents a message sender, which can be used to send messages in a chat.static final class
Represents a list of message senders, which can be used to send messages in a chat.static final class
Describes a chat located nearby.static final class
Contains information about notification settings for a chat or a forum topic.static final class
Describes actions that a user is allowed to take in a chat.static final class
Describes a chat or user profile photo.static final class
Contains basic information about the photo of a chat.static final class
Contains a list of chat or user profile photos.static final class
Information about the sticker, which was used to create the chat photo.static class
This class is an abstract base class.static final class
Information about the custom emoji, which was used to create the chat photo.static final class
Information about the sticker, which was used to create the chat photo.static final class
Describes a position of a chat in a chat list.static class
This class is an abstract base class.static final class
The chat has child abuse related content.static final class
The chat contains copyrighted content.static final class
A custom reason provided by the user.static final class
The chat represents a fake account.static final class
The chat has illegal drugs related content.static final class
The chat contains messages with personal details.static final class
The chat contains pornographic messages.static final class
The chat contains spam messages.static final class
The location-based chat is unrelated to its stated location.static final class
The chat promotes violence.static final class
Represents a list of chats.static final class
Represents a list of chats located nearby.static class
This class is an abstract base class.static final class
The chat is sponsored by the user's MTProxy server.static final class
The chat contains a public service announcement.static class
This class is an abstract base class.static final class
Contains statistics about administrator actions done by a user.static final class
A detailed statistics about a channel chat.static final class
Contains statistics about number of new members invited by a user.static final class
Contains statistics about interactions with a message.static final class
Contains statistics about messages sent by a user.static final class
A detailed statistics about a supergroup chat.static final class
Describes a chat theme.static class
This class is an abstract base class.static final class
A basic group (a chat with 0-200 other users).static final class
An ordinary chat with a user.static final class
A secret chat with a user.static final class
A supergroup or channel (with unlimited members).static final class
Checks the authentication token of a bot; to log in as a bot.static final class
Checks the authentication code.static final class
Checks the authentication of a email address.static final class
Checks the 2-step verification password for correctness.static final class
Checks whether a 2-step verification password recovery code sent to an email address is valid.static final class
Checks the authentication code sent to confirm a new phone number of the user.static final class
Checks the validity of an invite link for a chat folder and returns information about the corresponding chat folder.static final class
Checks the validity of an invite link for a chat and returns information about the corresponding chat.static final class
Checks whether a username can be set for a chat.static class
This class is an abstract base class.static final class
The username can be set.static final class
The user has too many chats with username, one of them must be made private first.static final class
The user can't be a member of a public supergroup.static final class
The username is invalid.static final class
The username is occupied.static final class
The username can be purchased at fragment.com.static final class
Checks whether the maximum number of owned public chats has been reached.static final class
Checks the email address verification code for Telegram Passport.static final class
Checks the login email address authentication.static final class
Checks whether a 2-step verification password recovery code sent to an email address is valid.static final class
Checks phone number confirmation code.static final class
Checks the phone number verification code for Telegram Passport.static final class
Checks the 2-step verification recovery email address verification code.static final class
Checks whether a name can be used for a new sticker set.static class
This class is an abstract base class.static final class
The name is invalid.static final class
The name is occupied.static final class
The name can be set.static final class
Removes potentially dangerous characters from the name of a file.static final class
Clears message drafts in all chats.static final class
Clears the list of all autosave settings exceptions.static final class
Clears all imported contacts, contact list remains unchanged.static final class
Clears the list of recently used emoji statuses.static final class
Clears the list of recently found chats.static final class
Clears the list of recently used reactions.static final class
Clears the list of recently used stickers.static final class
Informs TDLib that a message with an animated emoji was clicked by the user.static final class
Informs TDLib that the user clicked Premium subscription button on the Premium features screen.static final class
Closes the TDLib instance.static final class
Informs TDLib that the chat is closed by the user.static final class
Represents a closed vector path.static final class
Closes a secret chat, effectively transferring its state to secretChatStateClosed.static final class
Informs TDLib that a previously opened Web App was closed.static final class
Confirms QR code authentication on another device.static final class
Contains information about one website the current user is logged in with Telegram.static final class
Contains a list of websites the current user is logged in with Telegram.static class
This class is an abstract base class.static final class
Currently establishing a connection to the Telegram servers.static final class
Currently establishing a connection with a proxy server.static final class
There is a working connection to the Telegram servers.static final class
Downloading data received while the application was offline.static final class
Currently waiting for the network to become available.static final class
Describes a user contact.static final class
Contains a counter.static final class
Contains information about countries.static final class
Contains information about a country.static final class
Returns an existing chat corresponding to a known basic group.static final class
Creates a new call.static final class
Creates new chat folder.static final class
Creates a new invite link for a chat folder.static final class
Creates a new invite link for a chat.static final class
Creates a topic in a forum supergroup chat; requires canManageTopics rights in the supergroup.static final class
Creates a link for the given invoice; for bots only.static final class
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate.static final class
Creates a new secret chat.static final class
Creates a new sticker set.static final class
Creates a new supergroup or channel and sends a corresponding messageSupergroupChatCreate.static final class
Returns an existing chat corresponding to a given user.static final class
Returns an existing chat corresponding to a known secret chat.static final class
Returns an existing chat corresponding to a known supergroup or channel.static final class
Creates a new temporary password for processing payments.static final class
Creates a video chat (a group call bound to a chat).static final class
Contains the result of a custom request.static final class
Contains database statistics.static final class
Represents a date according to the Gregorian calendar.static final class
File with the date it was uploaded.static final class
Represents a date range.static final class
Contains information about a tg: deep link.static final class
Deletes the account of the current user, deleting all information associated with the user from the server.static final class
Deletes all call messages.static final class
Deletes all revoked chat invite links created by a given chat administrator.static final class
Deletes a chat along with all messages in the corresponding chat for all chat members.static final class
Deletes existing chat folder.static final class
Deletes an invite link for a chat folder.static final class
Deletes all messages in the chat.static final class
Deletes all messages between the specified dates in a chat.static final class
Deletes all messages sent by the specified message sender in a chat.static final class
Deletes the default reply markup from a chat.static final class
Deletes commands supported by the bot for the given user scope and language; for bots only.static final class
Deletes a file from the TDLib file cache.static final class
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.static final class
Deletes all information about a language pack in the current localization target.static final class
Deletes messages.static final class
Deletes a Telegram Passport element.static final class
Deletes a profile photo.static final class
Deletes revoked chat invite links.static final class
Deletes saved credentials for all payment provider bots.static final class
Deletes saved order information.static final class
Deleted a sticker set; for bots only.static class
This class deserializes TDLib classesstatic final class
Closes the TDLib instance, destroying all local data without a proper logout.static class
This class is an abstract base class.static final class
A token for Apple Push Notification service.static final class
A token for Apple Push Notification service VoIP notifications.static final class
A token for BlackBerry Push Service.static final class
A token for Firebase Cloud Messaging.static final class
A token for HUAWEI Push Service.static final class
A token for Microsoft Push Notification Service.static final class
A token for Microsoft Push Notification Service VoIP channel.static final class
A token for Simple Push API for Firefox OS.static final class
A token for Tizen Push Service.static final class
A token for Ubuntu Push Client service.static final class
A token for web Push API.static final class
A token for Windows Push Notification Services.static class
This class is an abstract base class.static final class
A regular animated sticker.static final class
Animated stickers to be combined into a slot machine.static final class
Disables all active non-editable usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.static final class
Disables the currently enabled proxy.static final class
Discards a call.static final class
Disconnects all websites from the current user's Telegram account.static final class
Disconnects website from the current user's Telegram account.static final class
Describes a document of any type.static final class
Contains number of being downloaded and recently downloaded files found.static final class
Downloads a file from the cloud.static final class
Contains information about a message draft.static final class
Edits existing chat folder.static final class
Edits an invite link for a chat folder.static final class
Edits a non-primary invite link for a chat.static final class
Edits information about a custom local language pack in the current localization target.static final class
Edits title and icon of a topic in a forum supergroup chat; requires canManageTopics administrator right in the supergroup unless the user is creator of the topic.static final class
Edits the caption of an inline message sent via a bot; for bots only.static final class
Edits the content of a live location in an inline message sent via a bot; for bots only.static final class
Edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only.static final class
Edits the reply markup of an inline message sent via a bot; for bots only.static final class
Edits the text of an inline text or game message sent via a bot; for bots only.static final class
Edits the message content caption.static final class
Edits the message content of a live location.static final class
Edits the content of a message with an animation, an audio, a document, a photo or a video, including message caption.static final class
Edits the message reply markup; for bots only.static final class
Edits the time when a scheduled message will be sent.static final class
Edits the text of a message (or a text of a game message).static final class
Edits an existing proxy server for network requests.static class
This class is an abstract base class.static final class
An authentication token received through Apple ID.static final class
An authentication code delivered to a user's email address.static final class
Information about the email address authentication code that was sent.static final class
An authentication token received through Google ID.static class
This class is an abstract base class.static final class
Email address can be reset after the given period.static final class
Email address reset has already been requested.static final class
Represents a list of emoji categories.static final class
Contains a list of similar emoji to search for in getStickers and searchStickers.static class
This class is an abstract base class.static final class
The category must be used for chat photo emoji selection.static final class
The category must be used by default.static final class
The category must be used for emoji status selection.static final class
Contains information about a emoji reaction.static final class
Represents a list of emoji.static final class
Describes a custom emoji to be shown instead of the Telegram Premium badge.static final class
Contains a list of emoji statuses.static final class
Enables a proxy.static final class
Contains encrypted Telegram Passport data credentials.static final class
Contains information about an encrypted Telegram Passport element; for bots only.static final class
Ends a group call.static final class
Ends recording of an active group call.static final class
Ends screen sharing in a joined group call.static final class
An object of this type can be returned on every function call, in case of an error.static final class
Represents a file.static final class
Describes a file added to file download list.static final class
Contains size of downloaded prefix of a file.static final class
Contains a part of a file.static class
This class is an abstract base class.static final class
The file is an animation.static final class
The file is an audio file.static final class
The file is a document.static final class
The data is not a file.static final class
The file is a notification sound.static final class
The file is a photo.static final class
The file is a profile photo.static final class
The file was sent to a secret chat (the file type is not known to the server).static final class
The file is a thumbnail of a file from a secret chat.static final class
The file is a file from Secure storage used for storing Telegram Passport files.static final class
The file is a sticker.static final class
The file is a thumbnail of another file.static final class
The file type is not yet known.static final class
The file is a video.static final class
The file is a video note.static final class
The file is a voice note.static final class
The file is a wallpaper or a background pattern.static final class
Finishes the file generation.static class
This class is an abstract base class.static final class
Settings for Firebase Authentication in the official Android application.static final class
Settings for Firebase Authentication in the official iOS application.static final class
A text with some entities.static final class
Describes a forum topic.static final class
Describes a forum topic icon.static final class
Contains basic information about a forum topic.static final class
Describes a list of forum topics.static final class
Forwards previously sent messages.static final class
Contains a list of messages found by a search in a given chat.static final class
Contains a list of downloaded files, found by a search.static final class
Contains a list of messages found by a search.static final class
Contains information about a Web App found by its short name.static class
TdApi.Function<R extends TdApi.Object>
This class is a base class for all TDLib interface function-classes.static final class
Describes a game.static final class
Contains one row of the game high score table.static final class
Contains a list of game high scores.static final class
Returns the period of inactivity after which the account of the current user will automatically be deleted.static final class
Returns all active live locations that need to be updated by the application.static final class
Returns all active sessions of the current user.static final class
Returns all available Telegram Passport elements.static final class
Returns an animated emoji corresponding to a given emoji.static final class
Returns application config, provided by the server.static final class
Returns the link for downloading official Telegram application to be used when the current user invites friends to Telegram.static final class
Returns a list of archived sticker sets.static final class
Returns a list of sticker sets attached to a file, including regular, mask, and emoji sticker sets.static final class
Returns information about a bot that can be added to attachment menu.static final class
Returns the current authorization state; this is an offline request.static final class
Returns auto-download settings presets for the current user.static final class
Returns autosave settings for the current user.static final class
Returns backgrounds installed by the user.static final class
Constructs a persistent HTTP URL for a background.static final class
Returns information about a bank card.static final class
Returns information about a basic group by its identifier.static final class
Returns full information about a basic group by its identifier.static final class
Returns users and chats that were blocked by the current user.static final class
Returns the text shown in the chat with a bot if the chat is empty in the given language.static final class
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.static final class
Returns the name of a bot in the given language.static final class
Sends a callback query to a bot and returns an answer.static final class
Returns information about a message with the callback button that originated a callback query; for bots only.static final class
Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.static final class
Returns a list of administrators of the chat with their custom titles.static final class
Returns list of message sender identifiers, which can be used to send messages in a chat.static final class
Returns a list of service actions taken by chat members and administrators in the last 48 hours.static final class
Returns information about a chat folder by its identifier.static final class
Returns identifiers of pinned or always included chats from a chat folder, which are suggested to be left when the chat folder is deleted.static final class
Returns default icon name for a folder.static final class
Returns invite links created by the current user for a shareable chat folder.static final class
Returns new chats added to a shareable chat folder by its owner.static final class
Returns messages in a chat.static final class
Returns information about an invite link.static final class
Returns list of chat administrators with number of their invite links.static final class
Returns chat members joined a chat via an invite link.static final class
Returns invite links for a chat created by specified administrator.static final class
Returns pending join requests in a chat.static final class
Returns chat lists to which the chat can be added.static final class
Returns information about a single member of a chat.static final class
Returns the last message sent in a chat no later than the specified date.static final class
Returns information about the next messages of the specified type in the chat split by days.static final class
Returns approximate number of messages of the specified type in the chat.static final class
Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat.static final class
Returns list of chats with non-default notification settings.static final class
Returns information about a newest pinned message in the chat.static final class
Returns an ordered list of chats from the beginning of a chat list.static final class
Returns all scheduled messages in a chat.static final class
Returns identifiers of chats from a chat folder, suitable for adding to a chat folder invite link.static final class
Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.static final class
Returns sponsored messages to be shown in a chat; for channel chats only.static final class
Returns detailed statistics about a chat.static final class
Returns list of commands supported by the bot for the given user scope and language; for bots only.static final class
Returns all website where the current user used Telegram to log in.static final class
Returns all user contacts.static final class
Returns information about existing countries.static final class
Uses the current IP address to find the current country.static final class
Returns a list of public chats of the specified type, owned by the user.static final class
Returns all updates needed to restore current TDLib state, i.e.static final class
Returns TGS stickers with generic animations for custom emoji reactions.static final class
Returns list of custom emoji stickers by their identifiers.static final class
Returns database statistics.static final class
Returns information about a tg:// deep link.static final class
Returns default list of custom emoji stickers for placing on a chat photo.static final class
Returns default emoji statuses.static final class
Returns default message auto-delete time setting for new chats.static final class
Returns default list of custom emoji stickers for placing on a profile photo.static final class
Returns available emojis categories.static final class
Returns information about a emoji reaction.static final class
Returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements.static final class
Returns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link.static final class
Returns information about an action to be done when the current user clicks an external link.static final class
Returns favorite stickers.static final class
Returns information about a file; this is an offline request.static final class
Returns file downloaded prefix size from a given offset, in bytes.static final class
Returns the extension of a file, guessed by its MIME type.static final class
Returns the MIME type of a file, guessed by its extension.static final class
Returns information about a forum topic.static final class
Returns list of custom emojis, which can be used as forum topic icon by all users.static final class
Returns an HTTPS link to a topic in a forum chat.static final class
Returns found forum topics in a forum chat.static final class
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.static final class
Returns information about a group call.static final class
Returns invite link to a video chat in a public chat.static final class
Returns information about available group call streams.static final class
Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.static final class
Returns a list of common group chats with a given user.static final class
Returns the total number of imported contacts.static final class
Returns a list of recently inactive supergroups and channels.static final class
Returns game high scores and some part of the high score table in the range of the specified user; for bots only.static final class
Sends an inline query to a bot and returns its results.static final class
Returns a list of installed sticker sets.static final class
Returns an HTTPS or a tg: link with the given type.static final class
Returns information about the type of an internal link.static final class
Converts a JsonValue object to corresponding JSON-serialized string.static final class
Converts a JSON-serialized string to corresponding JsonValue object.static final class
Returns information about a language pack.static final class
Returns a string stored in the local database from the specified localization target and language pack by its key.static final class
Returns strings from a language pack in the current localization target by their keys.static final class
Returns information about the current localization target.static final class
Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.static final class
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl.static final class
Returns information about currently used log stream for internal logging of TDLib.static final class
Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"].static final class
Returns current verbosity level for a specified TDLib internal log tag.static final class
Returns current verbosity level of the internal logging of TDLib.static final class
Returns information about a file with a map thumbnail in PNG format.static final class
Replaces text entities with Markdown formatting in a human-friendly format.static final class
Returns the current user.static final class
Returns memory statistics.static final class
Returns menu button set by the bot for the given user; for bots only.static final class
Returns information about a message.static final class
Returns reactions added for a message, along with their sender.static final class
Returns reactions, which can be added to a message.static final class
Returns an HTML code for embedding the message.static final class
Returns information about a file with messages exported from another application.static final class
Returns a confirmation text to be shown to the user before starting message import.static final class
Returns an HTTPS link to a message in a chat.static final class
Returns information about a public or private message link.static final class
Returns information about a message, if it is available without sending network request.static final class
Returns forwarded copies of a channel message to different public channels.static final class
Returns information about messages.static final class
Returns detailed statistics about a message.static final class
Returns information about a message thread.static final class
Returns messages in a message thread of a message.static final class
Returns viewers of a recent outgoing message in a basic group or a supergroup chat.static final class
Returns network data usage statistics.static final class
Returns the value of an option by its name.static final class
Returns a Telegram Passport authorization form for sharing data with a service.static final class
Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form.static final class
Returns one of the available Telegram Passport elements.static final class
Returns the current state of 2-step verification.static final class
Returns an invoice payment form.static final class
Returns information about a successful payment.static final class
Returns information about a phone number by its prefix.static final class
Returns information about a phone number by its prefix synchronously.static final class
Returns users voted for the specified option in a non-anonymous polls.static final class
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.static final class
Returns information about features, available to Premium users.static final class
Returns information about a limit, increased for Premium users.static final class
Returns state of Telegram Premium subscription and promotion videos for Premium features.static final class
Returns examples of premium stickers for demonstration purposes.static final class
Returns premium stickers from regular sticker sets.static final class
Returns list of proxies that are currently set up.static final class
Returns an HTTPS link, which can be used to add a proxy.static final class
Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.static final class
Returns recent emoji statuses.static final class
Returns up to 20 recently used inline bots in the order of their last usage.static final class
Returns recently opened chats, this is an offline request.static final class
Returns t.me URLs recently visited by a newly registered user.static final class
Returns a list of recently used stickers.static final class
Returns recommended chat folders for the current user.static final class
Returns a 2-step verification recovery email address that was previously set up.static final class
Returns information about a file by its remote ID; this is an offline request.static final class
Returns information about a message that is replied by a given message.static final class
Returns saved animations.static final class
Returns saved notification sound by its identifier.static final class
Returns list of saved notification sounds.static final class
Returns saved order information.static final class
Returns the notification settings for chats of a given type.static final class
Returns information about a secret chat by its identifier.static final class
Loads an asynchronous or a zoomed in statistical graph.static final class
Returns emoji corresponding to a sticker.static final class
Returns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords.static final class
Returns information about a sticker set by its identifier.static final class
Returns storage usage statistics.static final class
Quickly returns approximate storage usage statistics.static final class
Returns suggested name for saving a file in a given directory.static final class
Returns a suggested name for a new sticker set with a given title.static final class
Returns a list of basic group and supergroup chats, which can be used as a discussion group for a channel.static final class
Returns information about a supergroup or a channel by its identifier.static final class
Returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.static final class
Returns information about members or banned users in a supergroup or channel.static final class
Returns localized name of the Telegram support user; for Telegram support only.static final class
Returns a user that can be contacted to get support.static final class
Returns information about the current temporary password.static final class
Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text.static final class
Returns up to 8 emoji statuses, which must be shown right after the default Premium Badge in the emoji status list.static final class
Converts a themeParameters object to corresponding JSON-serialized string.static final class
Returns a list of frequently used chats.static final class
Returns a list of trending sticker sets.static final class
Returns information about a user by their identifier.static final class
Returns full information about a user by their identifier.static final class
Returns an HTTPS link, which can be used to get information about the current user.static final class
Returns the current privacy settings.static final class
Returns the profile photos of a user.static final class
Returns support information for the given user; for Telegram support only.static final class
Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined.static final class
Returns RTMP URL for streaming to the chat; requires creator privileges.static final class
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.static final class
Returns an HTTPS URL of a Web App to open after keyboardButtonTypeWebApp or inlineQueryResultsButtonTypeWebApp button is pressed.static final class
Returns an instant view version of a web page if available.static final class
Returns a web page preview by the text of the message.static final class
Describes a group call.static final class
Contains the group call identifier.static final class
Represents a group call participant.static final class
Contains information about a group call participant's video channel.static final class
Describes a recently speaking participant in a group call.static final class
Describes an available stream in a group call.static final class
Represents a list of group call streams.static class
This class is an abstract base class.static final class
The best available video quality.static final class
The medium video quality.static final class
The worst available video quality.static final class
Describes a group of video synchronization source identifiers.static final class
Contains a list of hashtags.static final class
Hides a suggested action.static final class
Contains an HTTP URL.static final class
An identity document.static final class
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.static final class
Represents the result of an importContacts request.static final class
Imports messages exported from another app.static final class
Represents a single button in an inline keyboard.static class
This class is an abstract base class.static final class
A button to buy something.static final class
A button that sends a callback query to a bot.static final class
A button with a game that sends a callback query to a bot.static final class
A button that asks for the 2-step verification password of the current user and then sends a callback query to a bot.static final class
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.static final class
A button that forces an inline query to the bot to be inserted in the input field.static final class
A button that opens a specified URL.static final class
A button with a user reference to be handled in the same way as textEntityTypeMentionName entities.static final class
A button that opens a Web App by calling openWebApp.static class
This class is an abstract base class.static final class
Represents an animation file.static final class
Represents a link to an article or web page.static final class
Represents an audio file.static final class
Represents a user contact.static final class
Represents a document.static final class
Represents information about a game.static final class
Represents a point on the map.static final class
Represents a photo.static final class
Represents the results of the inline query.static final class
Represents a button to be shown above inline query results.static class
This class is an abstract base class.static final class
Describes the button that opens a private chat with the bot and sends a start message to the bot with the given parameter.static final class
Describes the button that opens a Web App by calling getWebAppUrl.static final class
Represents a sticker.static final class
Represents information about a venue.static final class
Represents a video.static final class
Represents a voice note.static class
This class is an abstract base class.static final class
A background from a local file.static final class
A background previously set in the chat; for chat backgrounds only.static final class
A background from the server.static class
This class is an abstract base class.static final 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.static final class
A previously used profile photo of the current user.static final class
A static photo in JPEG format.static final class
A sticker on a custom background.static class
This class is an abstract base class.static final class
Applies if a user enters new credentials using Apple Pay.static final class
Applies if a user enters new credentials using Google Pay.static final class
Applies if a user enters new credentials on a payment provider website.static final class
Applies if a user chooses some previously saved payment credentials.static class
This class is an abstract base class.static final class
A file generated by the application.static final class
A file defined by its unique ID.static final class
A file defined by a local path.static final class
A file defined by its remote ID.static final class
An identity document to be saved to Telegram Passport.static class
This class is an abstract base class.static final class
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.static final class
Represents a link to an article or web page.static final class
Represents a link to an MP3 audio file.static final class
Represents a user contact.static final class
Represents a link to a file.static final class
Represents a game.static final class
Represents a point on the map.static final class
Represents link to a JPEG image.static final class
Represents a link to a WEBP, TGS, or WEBM sticker.static final class
Represents information about a venue.static final class
Represents a link to a page containing an embedded video player or a video file.static final class
Represents a link to an opus-encoded audio file within an OGG container, single channel audio.static class
This class is an abstract base class.static final class
An invoice from a message of the type messageInvoice.static final class
An invoice from a link of the type internalLinkTypeInvoice.static final class
An animation message (GIF-style).static final class
An audio message.static final class
A message containing a user contact.static class
This class is an abstract base class.static final class
A dice message.static final class
A document message (general file).static final class
A forwarded message.static final class
A message with a game; not supported for channels or secret chats.static final class
A message with an invoice; can be used only by bots.static final class
A message with a location.static final class
A photo message.static final class
A message with a poll.static final class
A sticker message.static final class
A text message.static final class
A message with information about a venue.static final class
A video message.static final class
A video note message.static final class
A voice note message.static class
This class is an abstract base class.static final class
A Telegram Passport element to be saved containing the user's address.static final class
A Telegram Passport element to be saved containing the user's bank statement.static final class
A Telegram Passport element to be saved containing the user's driver license.static final class
A Telegram Passport element to be saved containing the user's email address.static final class
Contains the description of an error in a Telegram Passport element; for bots only.static class
This class is an abstract base class.static final class
A data field contains an error.static final class
The file contains an error.static final class
The list of attached files contains an error.static final class
The front side of the document contains an error.static final class
The reverse side of the document contains an error.static final class
The selfie contains an error.static final class
One of the files containing the translation of the document contains an error.static final class
The translation of the document contains an error.static final class
The element contains an error in an unspecified place.static final class
A Telegram Passport element to be saved containing the user's identity card.static final class
A Telegram Passport element to be saved containing the user's internal passport.static final class
A Telegram Passport element to be saved containing the user's passport.static final class
A Telegram Passport element to be saved containing the user's passport registration.static final class
A Telegram Passport element to be saved containing the user's personal details.static final class
A Telegram Passport element to be saved containing the user's phone number.static final class
A Telegram Passport element to be saved containing the user's rental agreement.static final class
A Telegram Passport element to be saved containing the user's temporary registration.static final class
A Telegram Passport element to be saved containing the user's utility bill.static final class
A personal document to be saved to Telegram Passport.static final class
A sticker to be added to a sticker set.static final class
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.static class
This class is an abstract base class.static final class
The link is a link to the active sessions section of the application.static final class
The link is a link to an attachment menu bot to be opened in the specified or a chosen chat.static final class
The link contains an authentication code.static final class
The link is a link to a background.static final class
The link is a link to a Telegram bot, which is supposed to be added to a channel chat as an administrator.static final class
The link is a link to a chat with a Telegram bot.static final class
The link is a link to a Telegram bot, which is supposed to be added to a group chat.static final class
The link is a link to the change phone number section of the app.static final class
The link is an invite link to a chat folder.static final class
The link is a link to the folder section of the app settings.static final class
The link is a chat invite link.static final class
The link is a link to the default message auto-delete timer settings section of the app settings.static final class
The link is a link to the edit profile section of the app settings.static final class
The link is a link to a game.static final class
The link must be opened in an Instant View.static final class
The link is a link to an invoice.static final class
The link is a link to a language pack.static final class
The link is a link to the language section of the app settings.static final class
The link is a link to a Telegram message or a forum topic.static final class
The link contains a message draft text.static final class
The link contains a request of Telegram passport data.static final class
The link can be used to confirm ownership of a phone number to prevent account deletion.static final class
The link is a link to the Premium features screen of the application from which the user can subscribe to Telegram Premium.static final class
The link is a link to the privacy and security section of the app settings.static final class
The link is a link to a proxy.static final class
The link is a link to a chat by its username.static final class
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.static final class
The link forces restore of App Store purchases when opened.static final class
The link is a link to application settings.static final class
The link is a link to a sticker set.static final class
The link is a link to a theme.static final class
The link is a link to the theme section of the app settings.static final class
The link is an unknown tg: link.static final class
The link is a link to an unsupported proxy.static final class
The link is a link to a user by its phone number.static final class
The link is a link to a user by a temporary token.static final class
The link is a link to a video chat.static final class
The link is a link to a Web App.static final class
Invites users to an active group call.static final class
Product invoice.static final class
Adds the current user as a new member to a chat.static final class
Uses an invite link to add the current user to the chat if possible.static final class
Joins an active group call.static final class
Represents one member of a JSON object.static class
This class is an abstract base class.static final class
Represents a JSON array.static final class
Represents a boolean JSON value.static final class
Represents a null JSON value.static final class
Represents a numeric JSON value.static final class
Represents a JSON object.static final class
Represents a string JSON value.static final class
Represents a single button in a bot keyboard.static class
This class is an abstract base class.static final class
A button that requests a chat to be shared by the current user; available only in private chats.static final class
A button that sends the user's location when pressed; available only in private chats.static final class
A button that sends the user's phone number when pressed; available only in private chats.static final class
A button that allows the user to create and send a poll when pressed; available only in private chats.static final class
A button that requests a user to be shared by the current user; available only in private chats.static final class
A simple button, with text that must be sent when the button is pressed.static final class
A button that opens a Web App by calling getWebAppUrl.static final class
Portion of the price of a product (e.g., "delivery cost", "tax amount").static final class
Contains information about a language pack.static final class
Represents one language pack string.static final class
Contains a list of language pack strings.static class
This class is an abstract base class.static final class
A deleted language pack string, the value must be taken from the built-in English language pack.static final class
An ordinary language pack string.static final class
A language pack string which has different forms based on the number of some object it mentions.static final class
Removes the current user from chat members.static final class
Leaves a group call.static final class
Loads more chats from a chat list.static final class
Loads more participants of a group call.static final class
Represents a local file.static final class
Contains information about the current localization target.static final class
Describes a location on planet Earth.static class
This class is an abstract base class.static final class
An HTTP URL needs to be open.static final class
An authorization confirmation dialog needs to be shown to the user.static final class
Closes the TDLib instance after a proper logout.static class
This class is an abstract base class.static final class
The log is written to stderr or an OS specific log.static final class
The log is written nowhere.static final class
The log is written to a file.static final class
Contains a list of available TDLib internal log tags.static final class
Contains a TDLib internal log verbosity level.static class
This class is an abstract base class.static final class
The mask is placed relatively to the chin.static final class
The mask is placed relatively to the eyes.static final class
The mask is placed relatively to the forehead.static final class
The mask is placed relatively to the mouth.static final class
Position on a photo where a mask is placed.static final class
Contains memory statistics.static final class
Describes a message.static final class
A message with an animated emoji.static final class
An animation message (GIF-style).static final class
An audio message.static final class
Contains default auto-delete timer setting for new chats.static final class
A newly created basic group.static final class
The user allowed the bot to send messages.static final class
Contains information about found messages, split by days according to the option "utc_time_offset".static final class
Contains information about found messages sent on a specific day.static final class
A message with information about an ended call.static final class
New chat members were added.static final class
An updated chat photo.static final class
An updated chat title.static final class
A chat member was deleted.static final class
A deleted chat photo.static final class
A new member joined the chat via an invite link.static final class
A new member was accepted to the chat by an administrator.static final class
A new background was set in the chat.static final class
The auto-delete or self-destruct timer for messages in the chat has been changed.static final class
A theme in the chat has been changed.static final class
The current user shared a chat, which was requested by the bot.static final class
A supergroup has been created from a basic group.static final class
A basic group was upgraded to a supergroup and was deactivated as the result.static final class
A message with a user contact.static final class
A contact has registered with Telegram.static class
This class is an abstract base class.static final class
Options to be used when a message content is copied without reference to the original sender.static final class
A non-standard action has happened in the chat.static final class
A dice message.static final class
A document message (general file).static final class
A self-destructed photo message.static final class
A self-destructed video message.static class
This class is an abstract base class.static final class
The media is a photo.static final class
The media is hidden until the invoice is paid.static final class
The media is unsupported.static final class
The media is a video.static class
This class is an abstract base class.static final class
The messages was exported from a group chat.static final class
The messages was exported from a private chat.static final class
The messages was exported from a chat of unknown type.static final class
A forum topic has been created.static final class
A forum topic has been edited.static final class
A forum topic has been closed or opened.static final class
A General forum topic has been hidden or unhidden.static final class
Contains information about a forwarded message.static class
This class is an abstract base class.static final class
The message was originally a post in a channel.static final class
The message was originally sent on behalf of a chat.static final class
The message was originally sent by a user, which is hidden by their privacy settings.static final class
The message was imported from an exported message history.static final class
The message was originally sent by a known user.static final class
A message with a game.static final class
A new high score was achieved in a game.static final class
Telegram Premium was gifted to the user.static final class
Contains information about interactions with a message.static final class
A message with information about an invite to a video chat.static final class
A message with an invoice from a bot.static final class
Contains an HTTPS link to a message in a supergroup or channel, or a forum topic.static final class
Contains information about a link to a message or a forum topic in a chat.static final class
A message with a location.static final class
Telegram Passport data has been received; for bots only.static final class
Telegram Passport data has been sent to a bot.static final class
A payment has been completed.static final class
A payment has been completed; for bots only.static final class
A photo message.static final class
A message has been pinned.static final class
A message with a poll.static final class
Contains information about a message in a specific position.static final class
Contains a list of message positions.static final class
A user in the chat came within proximity alert range.static final class
Contains information about a reaction to a message.static final class
Contains information about replies to a message.static final class
Contains a list of messages.static class
This class is an abstract base class.static final class
The message will be sent at the specified date.static final class
The message will be sent when the peer will be online.static final class
A screenshot of a message in the chat has been taken.static class
This class is an abstract base class.static final class
The message was sent on behalf of a chat.static final class
Represents a list of message senders.static final class
The message was sent by a known user.static class
This class is an abstract base class.static final class
The message failed to be sent.static final class
The message is being sent now, but has not yet been delivered to the server.static final class
Options to be used when a message is sent.static class
This class is an abstract base class.static final class
The message is from a chat event log.static final class
The message is from a chat history.static final class
The message is from a chat list or a forum topic list.static final class
The message is from a forum topic history.static final class
The message is from chat, message thread or forum topic history preview.static final class
The message is from a message thread history.static final class
The message is from a notification.static final class
The message is from some other source.static final class
The message is from search results, including file downloads, local file list, outgoing document messages, calendar.static final class
A detailed statistics about a message.static final class
A sticker message.static final class
A profile photo was suggested to a user in a private chat.static final class
A newly created supergroup or channel.static final class
A text message.static final class
Contains information about a message thread.static final class
Message content that is not supported in the current TDLib version.static final class
The current user shared a user, which was requested by the bot.static final class
A message with information about a venue.static final class
A video message.static final class
A message with information about an ended video chat.static final class
A new video chat was scheduled.static final class
A newly created video chat.static final class
A video note message.static final class
Represents a viewer of a message.static final class
Represents a list of message viewers.static final class
A voice note message.static final class
Data from a Web App has been received; for bots only.static final class
Data from a Web App has been sent to a bot.static final class
The current user has connected a website by logging in using Telegram Login Widget on it.static final class
Thumbnail image of a very poor quality and low resolution.static final class
A full list of available network statistic entries.static class
This class is an abstract base class.static final class
Contains information about the total amount of data that was used for calls.static final class
Contains information about the total amount of data that was used to send and receive files.static class
This class is an abstract base class.static final class
A mobile network.static final class
A mobile roaming network.static final class
The network is not available.static final class
A different network type (e.g., Ethernet network).static final class
A Wi-Fi network.static final class
Contains information about a notification.static final class
Describes a group of notifications.static class
This class is an abstract base class.static final class
A group containing notifications of type notificationTypeNewCall.static final class
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message.static final class
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages.static final class
A group containing a notification of type notificationTypeNewSecretChat.static class
This class is an abstract base class.static final class
Notification settings applied to all channel chats when the corresponding chat setting has a default value.static final class
Notification settings applied to all basic group and supergroup chats when the corresponding chat setting has a default value.static final class
Notification settings applied to all private and secret chats when the corresponding chat setting has a default value.static final class
Describes a notification sound in MP3 format.static final class
Contains a list of notification sounds.static class
This class is an abstract base class.static final class
New call was received.static final class
New message was received.static final class
New message was received through a push notification.static final class
New secret chat was created.static class
This class is a base class for all TDLib interface classes.static final class
An object of this type is returned on a successful function call for certain functions.static final class
Informs TDLib that the chat is opened by the user.static final class
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).static final class
Informs TDLib that a Web App is being opened from attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button.static final class
Optimizes storage usage, i.e.static class
This class is an abstract base class.static final class
Represents a boolean option.static final class
Represents an unknown option or an option which has a default value.static final class
Represents an integer option.static final class
Represents a string option.static final class
Order information.static class
This class is an abstract base class.static final class
An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor.static final class
An animation.static final class
An audio file.static final class
The author and publishing date of a page.static final class
A block quote.static final class
Contains a caption of an instant view web page block, consisting of a text and a trailing credit.static final class
A link to a chat.static final class
A collage.static final class
A page cover.static final class
A collapsible block.static final class
An empty block separating a page.static final class
An embedded web page.static final class
An embedded post.static final class
The footer of a page.static final class
A header.static class
This class is an abstract base class.static final class
The content must be center-aligned.static final class
The content must be left-aligned.static final class
The content must be right-aligned.static final class
A kicker.static final class
A list of data blocks.static final class
Describes an item of a list page block.static final class
A map.static final class
A text paragraph.static final class
A photo.static final class
A preformatted text paragraph.static final class
A pull quote.static final class
Contains information about a related article.static final class
Related articles.static final class
A slideshow.static final class
A subheader.static final class
The subtitle of a page.static final class
A table.static final class
Represents a cell of a table.static final class
The title of a page.static class
This class is an abstract base class.static final class
The content must be bottom-aligned.static final class
The content must be middle-aligned.static final class
The content must be top-aligned.static final class
A video.static final class
A voice note.static final class
Parses Markdown entities in a human-friendly format, ignoring markup errors.static final class
Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.static final class
Contains information about a Telegram Passport authorization form that was requested.static class
This class is an abstract base class.static final class
A Telegram Passport element containing the user's address.static final class
A Telegram Passport element containing the user's bank statement.static final class
A Telegram Passport element containing the user's driver license.static final class
A Telegram Passport element containing the user's email address.static final class
Contains the description of an error in a Telegram Passport element.static class
This class is an abstract base class.static final class
One of the data fields contains an error.static final class
The file contains an error.static final class
The list of attached files contains an error.static final class
The front side of the document contains an error.static final class
The reverse side of the document contains an error.static final class
The selfie with the document contains an error.static final class
One of files with the translation of the document contains an error.static final class
The translation of the document contains an error.static final class
The element contains an error in an unspecified place.static final class
A Telegram Passport element containing the user's identity card.static final class
A Telegram Passport element containing the user's internal passport.static final class
A Telegram Passport element containing the user's passport.static final class
A Telegram Passport element containing the user's passport registration pages.static final class
A Telegram Passport element containing the user's personal details.static final class
A Telegram Passport element containing the user's phone number.static final class
A Telegram Passport element containing the user's rental agreement.static final class
Contains information about saved Telegram Passport elements.static final class
Contains information about a Telegram Passport elements and corresponding errors.static final class
A Telegram Passport element containing the user's temporary registration.static class
This class is an abstract base class.static final class
A Telegram Passport element containing the user's address.static final class
A Telegram Passport element containing the user's bank statement.static final class
A Telegram Passport element containing the user's driver license.static final class
A Telegram Passport element containing the user's email address.static final class
A Telegram Passport element containing the user's identity card.static final class
A Telegram Passport element containing the user's internal passport.static final class
A Telegram Passport element containing the user's passport.static final class
A Telegram Passport element containing the registration page of the user's passport.static final class
A Telegram Passport element containing the user's personal details.static final class
A Telegram Passport element containing the user's phone number.static final class
A Telegram Passport element containing the user's rental agreement.static final class
A Telegram Passport element containing the user's temporary registration.static final class
A Telegram Passport element containing the user's utility bill.static final class
A Telegram Passport element containing the user's utility bill.static final class
Contains a description of the required Telegram Passport element that was requested by a service.static final class
Contains information about a Telegram Passport element that was requested by a service.static final class
Represents the current state of 2-step verification.static final class
Contains information about an invoice payment form.static final class
Describes an additional payment option.static class
This class is an abstract base class.static final class
Some other payment provider, for which a web payment form must be shown.static final class
Smart Glocal payment provider.static final class
Stripe payment provider.static final class
Contains information about a successful payment.static final class
Contains the result of a payment request.static final class
Contains the user's personal details.static final class
A personal document, containing some information about a user.static final class
Contains settings for the authentication of the user's phone number.static final class
Contains information about a phone number.static final class
Describes a photo.static final class
Describes an image in JPEG format.static final class
Pins a message in a chat; requires canPinMessages rights or canEditMessages rights in the channel.static final class
Computes time needed to receive a response from a Telegram server through a proxy.static final class
A point on a Cartesian plane.static final class
Describes a poll.static final class
Describes one answer option of a poll.static class
This class is an abstract base class.static final class
A poll in quiz mode, which has exactly one correct answer option and can be answered only once.static final class
A regular poll.static final class
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.static class
This class is an abstract base class.static final class
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.static final class
Profile photo animation on message and chat screens.static final class
Allowed to set a premium application icons.static final class
Allowed to use custom emoji stickers in message texts and captions.static final class
Disabled ads.static final class
A emoji status shown along with the user's name.static final class
The ability to set a custom emoji as a forum topic icon.static final class
Improved download speed.static final class
Increased limits.static final class
Increased maximum upload file size.static final class
A badge in the user's profile.static final class
Describes a promotion animation for a Premium feature.static final class
Allowed to translate chat messages real-time.static final class
Contains information about features, available to Premium users.static final class
Allowed to use more reactions.static final class
Allowed to use premium stickers with unique effects.static final class
The ability to convert voice notes to text.static final class
Contains information about a limit, increased for Premium users.static class
This class is an abstract base class.static final class
The maximum length of the user's bio.static final class
The maximum length of sent media caption.static final class
The maximum number of pinned and always included, or always excluded chats in a chat folder.static final class
The maximum number of chat folders.static final class
The maximum number of invite links for a chat folder.static final class
The maximum number of created public chats.static final class
The maximum number of favorite stickers.static final class
The maximum number of pinned chats in the archive chat list.static final class
The maximum number of pinned chats in the main chat list.static final class
The maximum number of saved animations.static final class
The maximum number of added shareable chat folders.static final class
The maximum number of joined supergroups and channels.static final class
Describes an option for buying Telegram Premium to a user.static class
This class is an abstract base class.static final class
A user tried to use a Premium feature.static final class
A limit was exceeded.static final class
A user opened an internal link of the type internalLinkTypePremiumFeatures.static final class
A user opened the Premium features screen from settings.static final class
Contains state of Telegram Premium subscription and promotion videos for Premium features.static final class
Describes an option for buying or upgrading Telegram Premium for self.static final class
Process new chats added to a shareable chat folder by its owner.static final class
Handles a pending join request in a chat.static final class
Handles all pending join requests for a given link in a chat.static final class
Handles a push notification.static final class
Describes a user profile photo.static final class
Represents a list of proxy servers.static final class
Contains information about a proxy server.static class
This class is an abstract base class.static final class
A HTTP transparent proxy server.static final class
An MTProto proxy server.static final class
A SOCKS5 proxy server.static class
This class is an abstract base class.static final class
The chat is public, because it has an active username.static final class
The chat is public, because it is a location-based supergroup.static class
This class is an abstract base class.static final class
An animation message (GIF-style).static final class
An audio message.static final class
A newly created basic group.static final class
New chat members were invited to a group.static final class
A chat photo was edited.static final class
A chat title was edited.static final class
A chat member was deleted.static final class
A new member joined the chat via an invite link.static final class
A new member was accepted to the chat by an administrator.static final class
A chat background was edited.static final class
A chat theme was edited.static final class
A message with a user contact.static final class
A contact has registered with Telegram.static final class
A document message (a general file).static final class
A message with a game.static final class
A new high score was achieved in a game.static final class
A general message with hidden content.static final class
A message with an invoice from a bot.static final class
A message with a location.static final class
A media album.static final class
A forwarded messages.static final class
A photo message.static final class
A message with a poll.static final class
A new recurrent payment was made by the current user.static final class
A screenshot of a message in the chat has been taken.static final class
A message with a sticker.static final class
A profile photo was suggested to the user.static final class
A text message.static final class
A video message.static final class
A video note message.static final class
A voice note message.static final class
Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.static final class
Rates recognized speech in a video note or a voice note message.static class
This class is an abstract base class.static final class
A reaction with a custom emoji.static final class
A reaction with an emoji.static final class
Marks all mentions in a chat as read.static final class
Marks all reactions in a chat or a forum topic as read.static final class
Marks all mentions in a forum topic as read.static final class
Marks all reactions in a forum topic as read.static final class
Traverse all chats in a chat list and marks all messages in the chats as read.static final class
Reads a part of a file from the TDLib file cache and returns read bytes.static final class
Recognizes speech in a video note or a voice note message.static final class
Describes a recommended chat folder.static final class
Contains a list of recommended chat folders.static final class
Recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up.static final class
Recovers the 2-step verification password using a recovery code sent to an email address that was previously set up.static final class
Contains information about the current recovery email address.static final class
Registers the currently used device for receiving push notifications.static final class
Finishes user registration.static final class
Represents a remote file.static final class
Removes all files from the file download list.static final class
Removes background from the list of installed backgrounds.static final class
Removes a chat action bar without any other action.static final class
Removes users from the contact list.static final class
Removes a sticker from the list of favorite stickers.static final class
Removes a file from the file download list.static final class
Removes a reaction from a message.static final class
Removes an active notification from notification list.static final class
Removes a group of active notifications.static final class
Removes a proxy server.static final class
Removes a hashtag from the list of recently used hashtags.static final class
Removes a chat from the list of recently found chats.static final class
Removes a sticker from the list of recently used stickers.static final class
Removes an animation from the list of saved animations.static final class
Removes a notification sound from the list of saved notification sounds.static final class
Removes a sticker from the set to which it belongs; for bots only.static final class
Removes a chat from the list of frequently used chats.static final class
Changes order of active usernames of a bot.static final class
Changes order of active usernames of the current user.static final class
Changes the order of chat folders.static final class
Changes the order of installed sticker sets.static final class
Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.static final class
Replaces current primary invite link for a chat with a new primary invite link.static final class
Replaces the current RTMP URL for streaming to the chat; requires creator privileges.static class
This class is an abstract base class.static final class
Instructs application to force a reply to this message.static final class
Contains an inline keyboard layout.static final class
Instructs application to remove the keyboard once this message has been received.static final class
Contains a custom keyboard layout to quickly reply to bots.static final class
Reports a chat to the Telegram moderators.static final class
Reports a chat photo to the Telegram moderators.static final class
Reports reactions set on a message to the Telegram moderators.static final class
Reports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup.static final class
Reports messages in a supergroup as spam; requires administrator rights in the supergroup.static final class
Requests to send a 2-step verification password recovery code to an email address that was previously set up.static final class
Requests to send a 2-step verification password recovery code to an email address that was previously set up.static final class
Requests QR code authentication by scanning a QR code on another logged in device.static final class
Resends an authentication code to the user.static final class
Resends the authentication code sent to confirm a new phone number for the current user.static final class
Resends the code to verify an email address to be added to a user's Telegram Passport.static final class
Resends the login email address verification code.static final class
Resends messages which failed to send.static final class
Resends phone number confirmation code.static final class
Resends the code to verify a phone number to be added to a user's Telegram Passport.static final class
Resends the 2-step verification recovery email address verification code.static final class
Resets all notification settings to their default values.static final class
Resets the login email address.static final class
Resets list of installed backgrounds to its default value.static final class
Resets all network data usage statistics to zero.static final class
Removes 2-step verification password without previous password and access to recovery email address.static class
This class is an abstract base class.static final class
The password reset request was declined.static final class
The password was reset.static final class
The password reset request is pending.static final class
Revokes invite link for a chat.static final class
Revokes invite link for a group call.static class
This class is an abstract base class.static final class
An anchor.static final class
A link to an anchor on the same web page.static final class
A bold rich text.static final class
A rich text email link.static final class
A fixed-width rich text.static final class
A small image inside the text.static final class
An italicized rich text.static final class
A marked rich text.static final class
A rich text phone number.static final class
A plain text.static final class
A reference to a richTexts object on the same web page.static final class
A concatenation of rich texts.static final class
A strikethrough rich text.static final class
A subscript rich text.static final class
A superscript rich text.static final class
An underlined rich text.static final class
A rich text URL link.static final class
Represents an RTMP URL.static final class
Saves application log event on the server.static final class
Contains information about saved payment credentials.static final class
Contains autosave settings for an autosave settings scope.static final class
Contains information about notification settings for several chats.static final class
Searches for a background by its name.static final class
Searches for call messages.static final class
Searches for a specified query in the first name, last name and usernames of the members of a specified chat.static final class
Searches for messages with given words in the chat.static final class
Returns information about the recent locations of chat members that were sent to the chat.static final class
Searches for the specified query in the title and username of already known chats, this is an offline request.static final class
Returns a list of users and location-based supergroups nearby.static final class
Searches for the specified query in the title and username of already known chats via request to the server.static final class
Searches for the specified query in the first names, last names and usernames of the known user contacts.static final class
Searches for emojis by keywords.static final class
Searches for files in the file download list or recently downloaded files from the list.static final class
Searches for recently used hashtags by their prefix.static final class
Searches for installed sticker sets by looking for specified query in their title and name.static final class
Searches for messages in all chats except secret chats.static class
This class is an abstract base class.static final class
Returns only animation messages.static final class
Returns only audio messages.static final class
Returns only messages containing chat photos.static final class
Returns only document messages.static final class
Returns all found messages, no filter is applied.static final class
Returns only failed to send messages.static final class
Returns only messages with mentions of the current user, or messages that are replies to their messages.static final class
Returns only photo messages.static final class
Returns only photo and video messages.static final class
Returns only pinned messages.static final class
Returns only messages with unread mentions of the current user, or messages that are replies to their messages.static final class
Returns only messages with unread reactions for the current user.static final class
Returns only messages containing URLs.static final class
Returns only video messages.static final class
Returns only video note messages.static final class
Returns only voice and video note messages.static final class
Returns only voice note messages.static final class
Searches for outgoing messages with content of the type messageDocument in all chats except secret chats.static final class
Searches a public chat by its username.static final class
Searches public chats by looking for specified query in their username and title.static final class
Searches for messages in secret chats.static final class
Searches for stickers from public sticker sets that correspond to any of the given emoji.static final class
Searches for a sticker set by its name.static final class
Searches for ordinary sticker sets by looking for specified query in their title and name.static final class
Searches a user by their phone number.static final class
Searches a user by a token from the user's link.static final class
Returns information about a Web App by its short name.static final class
Contains a value representing a number of seconds.static final class
Represents a secret chat.static class
This class is an abstract base class.static final class
The secret chat is closed.static final class
The secret chat is not yet created; waiting for the other user to get online.static final class
The secret chat is ready to use.static final class
Sends Firebase Authentication SMS to the phone number of the user.static final class
Invites a bot to a chat (if it is not yet a member) and sends it the /start command.static final class
Sends debug information for a call to Telegram servers.static final class
Sends log file for a call to Telegram servers.static final class
Sends a call rating.static final class
Sends call signaling data.static final class
Sends a notification about user activity in a chat.static final class
Sends a notification about a screenshot taken in a chat.static final class
Sends a custom request; for bots only.static final class
Sends a code to verify an email address to be added to a user's Telegram Passport.static final class
Sends the result of an inline query as a message.static final class
Sends a message.static final class
Sends 2-10 messages grouped together into an album.static final class
Sends a Telegram Passport authorization form, effectively sharing data with the service.static final class
Sends a filled-out payment form to the bot for final verification.static final class
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.static final class
Sends a code to verify a phone number to be added to a user's Telegram Passport.static final class
Sends data received from a keyboardButtonTypeWebApp Web App to a bot.static final class
Information about the message sent by answerWebAppQuery.static final class
Contains information about one session in a Telegram application used by the current user.static final class
Contains a list of sessions.static class
This class is an abstract base class.static final class
The session is running on an Android device.static final class
The session is running on a generic Apple device.static final class
The session is running on the Brave browser.static final class
The session is running on the Chrome browser.static final class
The session is running on the Edge browser.static final class
The session is running on the Firefox browser.static final class
The session is running on an iPad device.static final class
The session is running on an iPhone device.static final class
The session is running on a Linux device.static final class
The session is running on a Mac device.static final class
The session is running on the Opera browser.static final class
The session is running on the Safari browser.static final class
The session is running on an Ubuntu device.static final class
The session is running on an unknown type of device.static final class
The session is running on the Vivaldi browser.static final class
The session is running on a Windows device.static final class
The session is running on an Xbox console.static final class
Changes the period of inactivity after which the account of the current user will automatically be deleted.static final class
Succeeds after a specified amount of time has passed.static final class
Sets the email address of the user and sends an authentication code to the email address.static final class
Sets the phone number of the user and sends an authentication code to the user.static final class
Sets auto-download settings.static final class
Sets autosave settings for the given scope.static final class
Changes the background selected by the user; adds background to the list of installed backgrounds.static final class
Changes the bio of the current user.static final class
Sets the text shown in the chat with a bot if the chat is empty.static final class
Sets the text shown on a bot's profile page and sent together with the link when users share the bot.static final class
Sets the name of a bot.static final class
Changes a profile photo for a bot.static final class
Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.static final class
Changes reactions, available in a chat.static final class
Changes the background in a specific chat.static final class
Changes application-specific data associated with a chat.static final class
Changes information about a chat.static final class
Changes the discussion group of a channel chat; requires canChangeInfo administrator right in the channel if it is specified.static final class
Changes the draft message in a chat.static final class
Changes the location of a chat.static final class
Changes the status of a chat member, needs appropriate privileges.static final class
Changes the message auto-delete or self-destruct (for secret chats) time in a chat.static final class
Selects a message sender to send messages in a chat.static final class
Changes the notification settings of a chat.static final class
Changes the chat members permissions.static final class
Changes the photo of a chat.static final class
Changes the slow mode delay of a chat.static final class
Changes the chat theme.static final class
Changes the chat title.static final class
Sets the list of commands supported by the bot for the given user scope and language; for bots only.static final class
Sets a custom emoji sticker set thumbnail; for bots only.static final class
Adds or changes a custom local language pack to the current localization target.static final class
Adds, edits or deletes a string in a custom local language pack.static final class
Changes the database encryption key.static final class
Sets default administrator rights for adding the bot to channel chats; for bots only.static final class
Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.static final class
Changes the default message auto-delete time for new chats.static final class
Changes type of default reaction for the current user.static final class
Changes the emoji status of the current user; for Telegram Premium users only.static final class
Informs TDLib on a file generation progress.static final class
Changes the notification settings of a forum topic.static final class
Updates the game score of the specified user in the game; for bots only.static final class
Informs TDLib that speaking state of a participant of an active group has changed.static final class
Changes volume level of a participant of an active group call.static final class
Sets group call title.static final class
Changes the period of inactivity after which sessions will automatically be terminated.static final class
Updates the game score of the specified user in a game; for bots only.static final class
Changes the location of the current user.static final class
Changes the login email address of the user.static final class
Sets new log stream for internal logging of TDLib.static final class
Sets the verbosity level for a specified TDLib internal log tag.static final class
Sets the verbosity level of the internal logging of TDLib.static final class
Sets menu button for the given user or for all users; for bots only.static final class
Changes the first and last name of the current user.static final class
Sets the current network type.static final class
Sets the value of an option.static final class
Adds an element to the user's Telegram Passport.static final class
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.static final class
Changes the 2-step verification password for the current user.static final class
Changes the order of pinned chats.static final class
Changes the order of pinned forum topics.static final class
Changes the user answer to a poll.static final class
Changes a profile photo for the current user.static final class
Changes the 2-step verification recovery email address of the user.static final class
Changes notification settings for chats of a given type.static final class
Changes the list of emoji corresponding to a sticker; for bots only.static final class
Changes the list of keywords of a sticker; for bots only.static final class
Changes the mask position of a mask sticker; for bots only.static final class
Changes the position of a sticker in the set to which it belongs; for bots only.static final class
Sets a sticker set thumbnail; for bots only.static final class
Sets a sticker set title; for bots only.static final class
Changes the sticker set of a supergroup; requires canChangeInfo administrator right.static final class
Changes the editable username of a supergroup or channel, requires owner privileges in the supergroup or channel.static final class
Sets the parameters for TDLib initialization.static final class
Changes the editable username of the current user.static final class
Changes a personal profile photo of a contact user.static final class
Changes user privacy settings.static final class
Sets support information for the given user; for Telegram support only.static final class
Changes default participant identifier, on whose behalf a video chat in the chat will be joined.static final class
Shares a chat after pressing a keyboardButtonTypeRequestChat button with the bot.static final class
Shares the phone number of the current user with a mutual contact.static final class
Shares a user after pressing a keyboardButtonTypeRequestUser button with the bot.static final class
One shipping option.static class
This class is an abstract base class.static final class
The speech recognition failed.static final class
The speech recognition is ongoing.static final class
The speech recognition successfully finished.static final class
Describes a sponsored message.static final class
Contains a list of sponsored messages.static final class
Starts recording of an active group call.static final class
Starts screen sharing in a joined group call.static final class
Starts a scheduled group call.static class
This class is an abstract base class.static final class
The graph data to be asynchronously loaded through getStatisticalGraph.static final class
A graph data.static final class
An error message to be shown to the user instead of the graph.static final class
A value with information about its recent changes.static final class
Describes a sticker.static class
This class is an abstract base class.static final class
The sticker is an animation in TGS format.static final class
The sticker is a video in WEBM format.static final class
The sticker is an image in WEBP format.static class
This class is an abstract base class.static final class
The sticker is a custom emoji to be used inside message text and caption.static final class
The sticker is a mask in WEBP format to be placed on photos or videos.static final class
The sticker is a regular sticker.static final class
Represents a list of stickers.static final class
Represents a sticker set.static final class
Represents short information about a sticker set.static final class
Represents a list of sticker sets.static class
This class is an abstract base class.static final class
The sticker is a custom emoji to be used inside message text and caption.static final class
The sticker is a mask in WEBP format to be placed on photos or videos.static final class
The sticker is a regular sticker.static final class
Stops a poll.static final class
Contains the exact storage usage statistics split by chats and file type.static final class
Contains the storage usage statistics for a specific chat.static final class
Contains the storage usage statistics for a specific file type.static final class
Contains approximate storage usage statistics, excluding files of unknown file type.static class
This class is an abstract base class.static final class
The user gifted Telegram Premium to another user.static final class
The user subscribed to Telegram Premium.static class
This class is an abstract base class.static final class
Suggests the user to check whether they still remember their 2-step verification password.static final class
Suggests the user to check whether authorization phone number is correct and change the phone number if it is inaccessible.static final class
Suggests the user to convert specified supergroup to a broadcast group.static final class
Suggests the user to enable "archive_and_mute_new_chats_from_unknown_users" option.static final class
Suggests the user to set a 2-step verification password to be able to log in again.static final class
Suggests the user to subscribe to the Premium subscription with annual payments.static final class
Suggests the user to upgrade the Premium subscription from monthly payments to annual payments.static final class
Suggests the user to view a hint about the meaning of one and two check marks on sent messages.static final class
Suggests a profile photo to another regular user with common messages.static final class
Represents a supergroup or channel with zero or more members (subscribers in the case of channels).static final class
Contains full information about a supergroup or channel.static class
This class is an abstract base class.static final class
Returns the owner and administrators.static final class
Returns users banned from the supergroup or channel; can be used only by administrators.static final class
Returns bot members of the supergroup or channel.static final class
Returns contacts of the user, which are members of the supergroup or channel.static final class
Returns users which can be mentioned in the supergroup.static final class
Returns recently active users in reverse chronological order.static final class
Returns restricted supergroup members; can be used only by administrators.static final class
Used to search for supergroup or channel members via a (string) query.static final class
Fetches the latest versions of all strings from a language pack in the current localization target from the server.static class
This class is an abstract base class.static final class
The chat needs to be chosen by the user among chats of the specified types.static final class
The currently opened chat needs to be kept.static final class
The chat needs to be open with the provided internal link.static final class
Returns information about the availability of a temporary password, which can be used for payments.static final class
Terminates all other sessions of the current user.static final class
Terminates a session of the current user.static final class
Contains Telegram terms of service.static final class
A simple object containing a sequence of bytes; for testing only.static final class
Returns the received bytes; for testing only.static final class
Does nothing; for testing only.static final class
Returns the received string; for testing only.static final class
Returns the received vector of numbers; for testing only.static final class
Returns the received vector of objects containing a number; for testing only.static final class
Returns the received vector of strings; for testing only.static final class
Returns the received vector of objects containing a string; for testing only.static final class
Forces an updates.getDifference call to the Telegram servers; for testing only.static final class
A simple object containing a number; for testing only.static final class
Sends a simple network request to the Telegram servers; for testing only.static final class
Sends a simple network request to the Telegram servers via proxy; for testing only.static final class
Returns the specified error and ensures that the Error object is used; for testing only.static final class
Returns the squared received number; for testing only.static final class
A simple object containing a string; for testing only.static final class
Does nothing and ensures that the Update object is used; for testing only.static final class
A simple object containing a vector of numbers; for testing only.static final class
A simple object containing a vector of objects that hold a number; for testing only.static final class
A simple object containing a vector of strings; for testing only.static final class
A simple object containing a vector of objects that hold a string; for testing only.static final class
Contains some text.static final class
Contains a list of text entities.static final class
Represents a part of the text that needs to be formatted in some unusual way.static class
This class is an abstract base class.static final class
A bank card number.static final class
A bold text.static final class
A bot command, beginning with "/".static final class
A cashtag text, beginning with "$" and consisting of capital English letters (e.g., "$USD").static final class
Text that must be formatted as if inside a code HTML tag.static final class
A custom emoji.static final class
An email address.static final class
A hashtag text, beginning with "#".static final class
An italic text.static final class
A media timestamp.static final class
A mention of a user, a supergroup, or a channel by their username.static final class
A text shows instead of a raw mention of the user (e.g., when the user has no username).static final class
A phone number.static final class
Text that must be formatted as if inside a pre HTML tag.static final class
Text that must be formatted as if inside pre, and code HTML tags.static final class
A spoiler text.static final class
A strikethrough text.static final class
A text description shown instead of a raw URL.static final class
An underlined text.static final class
An HTTP URL.static class
This class is an abstract base class.static final class
The text uses HTML-style formatting.static final class
The text uses Markdown-style formatting.static final class
Contains parameters of the application theme.static final class
Describes theme settings.static final class
Represents a thumbnail.static class
This class is an abstract base class.static final class
The thumbnail is in static GIF format.static final class
The thumbnail is in JPEG format.static final class
The thumbnail is in MPEG4 format.static final class
The thumbnail is in PNG format.static final class
The thumbnail is in TGS format.static final class
The thumbnail is in WEBM format.static final class
The thumbnail is in WEBP format.static final class
Represents a URL linking to an internal Telegram entity.static final class
Contains a list of t.me URLs.static class
This class is an abstract base class.static final class
A chat invite link.static final class
A URL linking to a sticker set.static final class
A URL linking to a public supergroup or channel.static final class
A URL linking to a user.static final class
Changes pause state of all files in the file download list.static final class
Adds or removes a bot to attachment menu.static final class
Changes active state for a username of a bot.static final class
Changes the value of the default disableNotification parameter, used when a message is sent to a chat.static final class
Changes the ability of users to save, forward, or copy chat content.static final class
Changes the marked as unread state of a chat.static final class
Changes the pinned state of a chat.static final class
Changes the translatable state of a chat; for Telegram Premium users only.static final class
Changes pause state of a file in the file download list.static final class
Toggles whether a topic is closed in a forum supergroup chat; requires canManageTopics administrator right in the supergroup unless the user is creator of the topic.static final class
Changes the pinned state of a forum topic; requires canManageTopics administrator right in the supergroup.static final class
Toggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup.static final class
Toggles whether the current user will receive a notification when the group call will start; scheduled group calls only.static final class
Toggles whether current user's video is enabled.static final class
Toggles whether current user's video is paused.static final class
Toggles whether new participants of a group call can be unmuted only by administrators of the group call.static final class
Toggles whether a group call participant hand is rased.static final class
Toggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves.static final class
Pauses or unpauses screen sharing in a joined group call.static final class
Changes the block state of a message sender.static final class
Toggles whether a session can accept incoming calls.static final class
Toggles whether a session can accept incoming secret chats.static final class
Toggles whether aggressive anti-spam checks are enabled in the supergroup.static final class
Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.static final class
Toggles whether the message history of a supergroup is available to new members; requires canChangeInfo administrator right.static final class
Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.static final class
Toggles whether the supergroup is a forum; requires owner privileges in the supergroup.static final class
Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right.static final class
Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right.static final class
Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.static final class
Changes active state for a username of a supergroup or channel, requires owner privileges in the supergroup or channel.static final class
Changes active state for a username of the current user.static class
This class is an abstract base class.static final class
A category containing frequently used private chats with bot users.static final class
A category containing frequently used chats used for calls.static final class
A category containing frequently used channels.static final class
A category containing frequently used chats used to forward messages.static final class
A category containing frequently used basic groups and supergroups.static final class
A category containing frequently used chats with inline bots sorted by their usage in inline mode.static final class
A category containing frequently used private chats with non-bot users.static final class
Changes the owner of a chat.static final class
Extracts text or caption of the given message and translates it to the given language.static final class
Translates a text to the given language.static final class
Represents a list of trending sticker sets.static final class
Removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.static final class
Removes all pinned messages from a forum topic; requires canPinMessages rights in the supergroup.static final class
Removes a pinned message from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.static final class
Contains information about an unread reaction to a message.static class
This class is an abstract base class.static final class
Some data of a user or a chat has changed.static final class
The list of active emoji reactions has changed.static final class
Contains active notifications that was shown on previous application launches.static final class
Adding users to a chat has failed because of their privacy settings.static final class
Some animated emoji message was clicked and a big animated sticker must be played if the message is visible on the screen.static final class
The parameters of animation search through getOption("animation_search_bot_username") bot has changed.static final class
The list of bots added to attachment menu has changed.static final class
The user authorization state has changed.static final class
Autosave settings for some type of chats were updated.static final class
Some data of a basic group has changed.static final class
Some data in basicGroupFullInfo has been changed.static final class
New call was created or information about a call was updated.static final class
A message sender activity in the chat has changed.static final class
The chat action bar was changed.static final class
The chat available reactions were changed.static final class
The chat background was changed.static final class
The value of the default disableNotification parameter, used when a message is sent to the chat, was changed.static final class
A chat draft has changed.static final class
The list of chat folders or a chat folder has changed.static final class
A chat content was allowed or restricted for saving.static final class
A chat's hasScheduledMessages field has changed.static final class
A chat was blocked or unblocked.static final class
A chat was marked as unread or was read.static final class
Translation of chat messages was enabled or disabled.static final class
The last message of a chat was changed.static final class
User rights changed in a chat; for bots only.static final class
The message auto-delete or self-destruct timer setting for a chat was changed.static final class
The message sender that is selected to send messages in a chat has changed.static final class
Notification settings for a chat were changed.static final class
The number of online group members has changed.static final class
The chat pending join requests were changed.static final class
Chat permissions was changed.static final class
A chat photo was changed.static final class
The position of a chat in a chat list has changed.static final class
Incoming messages were read or the number of unread messages has been changed.static final class
Outgoing messages were read.static final class
The default chat reply markup was changed.static final class
The chat theme was changed.static final class
The list of available chat themes has changed.static final class
The title of a chat was changed.static final class
The chat unreadMentionCount has changed.static final class
The chat unreadReactionCount has changed.static final class
A chat video chat state has changed.static final class
The connection state has changed.static final class
The type of default reaction has changed.static final class
Some messages were deleted.static final class
The list of supported dice emojis has changed.static final class
The list of favorite stickers was updated.static final class
Information about a file was updated.static final class
A file was added to the file download list.static final class
A file download was changed.static final class
The state of the file download list has changed.static final class
The file generation process needs to be started by the application.static final class
File generation is no longer needed.static final class
A file was removed from the file download list.static final class
Basic information about a topic in a forum chat was changed.static final class
Information about a group call was updated.static final class
Information about a group call participant was changed.static final class
Describes whether there are some pending notification updates.static final class
The list of installed sticker sets was updated.static final class
Some language pack strings have been updated.static final class
The message content has changed.static final class
The message content was opened.static final class
A message was edited.static final class
The information about interactions with a message has changed.static final class
The message pinned state was changed.static final class
A message with a live location was viewed.static final class
A message with an unread mention was read.static final class
A request to send a message has reached the Telegram server.static final class
A message failed to send.static final class
A message has been successfully sent.static final class
The list of unread reactions added to a message was changed.static final class
A new incoming callback query; for bots only.static final class
New call signaling data arrived.static final class
A new chat has been loaded/created.static final class
A user sent a join request to a chat; for bots only.static final class
The user has chosen a result of an inline query; for bots only.static final class
A new incoming event; for bots only.static final class
A new incoming query; for bots only.static final class
A new incoming callback query from a message sent via a bot; for bots only.static final class
A new incoming inline query; for bots only.static final class
A new message was received; can also be an outgoing message.static final class
A new incoming pre-checkout query; for bots only.static final class
A new incoming shipping query; for bots only.static final class
A notification was changed.static final class
A list of active notifications in a notification group has changed.static final class
An option changed its value.static final class
A poll was updated; for bots only.static final class
A user changed the answer to a poll; for bots only.static final class
The list of recently used stickers was updated.static final class
Contains a list of updates.static final class
The list of saved animations was updated.static final class
The list of saved notifications sounds was updated.static final class
Notification settings for some type of chats were updated.static final class
Some data of a secret chat has changed.static final class
The selected background has changed.static final class
A service notification from the server was received.static final class
A sticker set has changed.static final class
The list of suggested to the user actions has changed.static final class
Some data of a supergroup or a channel has changed.static final class
Some data in supergroupFullInfo has been changed.static final class
New terms of service must be accepted by the user.static final class
The list of trending sticker sets was updated or some of them were viewed.static final class
Number of unread chats, i.e.static final class
Number of unread messages in a chat list has changed.static final class
Some data of a user has changed.static final class
Some data in userFullInfo has been changed.static final class
Some privacy setting rules have been changed.static final class
The list of users nearby has changed.static final class
The user went online or offline.static final class
A message was sent by an opened Web App, so the Web App needs to be closed.static final class
Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges.static final class
Uploads a file with a sticker; returns the uploaded file.static final class
Represents a user.static final class
Contains full information about a user.static final class
Contains an HTTPS URL, which can be used to get information about a user.static final class
Describes usernames assigned to a user, a supergroup, or a channel.static class
This class is an abstract base class.static final class
A privacy setting for managing whether the user can be called.static final class
A privacy setting for managing whether the user can be invited to chats.static final class
A privacy setting for managing whether the user can be found by their phone number.static final class
A privacy setting for managing whether peer-to-peer connections can be used for calls.static final class
A privacy setting for managing whether the user can receive voice and video messages in private chats.static class
This class is an abstract base class.static final class
A rule to allow all users to do something.static final class
A rule to allow all members of certain specified basic groups and supergroups to doing something.static final class
A rule to allow all of a user's contacts to do something.static final class
A rule to allow certain specified users to do something.static final class
A rule to restrict all users from doing something.static final class
A rule to restrict all members of specified basic groups and supergroups from doing something.static final class
A rule to restrict all contacts of a user from doing something.static final class
A rule to restrict all specified users from doing something.static final class
A list of privacy rules.static final class
A privacy setting for managing whether a link to the user's account is included in forwarded messages.static final class
A privacy setting for managing whether the user's phone number is visible.static final class
A privacy setting for managing whether the user's profile photo is visible.static final class
A privacy setting for managing whether the user's online status is visible.static final class
Represents a list of users.static class
This class is an abstract base class.static final class
The user status was never changed.static final class
The user is offline, but was online last month.static final class
The user is offline, but was online last week.static final class
The user is offline.static final class
The user is online.static final class
The user was online recently.static final class
Contains custom information about the user.static class
This class is an abstract base class.static final class
A bot (see https://core.telegram.org/bots).static final class
A deleted user or deleted bot.static final class
A regular user.static final class
No information on the user besides the user identifier is available, yet this user has not been deleted.static final class
Contains a temporary identifier of validated order information, which is stored for one hour, and the available shipping options.static final class
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.static class
This class is an abstract base class.static final class
A cubic Bézier curve to a given point.static final class
A straight line to a given point.static final class
Describes a venue.static final class
Describes a video file.static final class
Describes a video chat.static final class
Describes a video note.static final class
Informs TDLib that messages are being viewed by the user.static final class
Informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.static final class
Informs the server that some trending sticker sets have been viewed by the user.static final class
Describes a voice note.static final class
Describes a Web App.static final class
Contains information about a Web App.static final class
Describes a web page preview.static final class
Describes an instant view page for a web page.static final class
Writes a part of a generated file. -
Method Summary