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