Module tdlight.api
Package it.tdlight.jni

# Class TdApi

java.lang.Object
it.tdlight.jni.TdApi

public final class TdApi extends Object

## Nested Class Summary

Nested Classes
Modifier and Type
Class
Description
`static final class`
`TdApi.AcceptCall`
Accepts an incoming call.
`static final class`
`TdApi.AcceptTermsOfService`
Accepts Telegram terms of services.
`static final class`
`TdApi.AccessHash`
Access hash.
`static class`
`TdApi.AccessHashType`
This class is an abstract base class.
`static final class`
`TdApi.AccessHashTypeChannel`
An access hash of a channel.
`static final class`
`TdApi.AccessHashTypeUser`
An access hash of an user.
`static final class`
`TdApi.AccountTtl`
Contains information about the period of inactivity after which the current user's account will automatically be deleted.
`static final class`
`TdApi.AddChatMember`
Adds a new member to a chat.
`static final class`
`TdApi.AddChatMembers`
Adds multiple new members to a chat.
`static final class`
`TdApi.AddChatToList`
Adds a chat to a chat list.
`static final class`
`TdApi.AddContact`
Adds a user to the contact list or edits an existing contact by their user identifier.
`static final class`
`TdApi.AddCustomServerLanguagePack`
Adds a custom server language pack to the list of installed language packs in current localization target.
`static final class`
`TdApi.AddFavoriteSticker`
Adds a new sticker to the list of favorite stickers.
`static final class`
`TdApi.AddLocalMessage`
Adds a local message to a chat.
`static final class`
`TdApi.AddLogMessage`
Adds a message to TDLib internal log.
`static final class`
`TdApi.AddNetworkStatistics`
Adds the specified data to data usage statistics.
`static final class`
`TdApi.AddProxy`
Adds a proxy server for network requests.
`static final class`
`TdApi.AddRecentlyFoundChat`
Adds a chat to the list of recently found chats.
`static final class`
`TdApi.AddRecentSticker`
Manually adds a new sticker to the list of recently used stickers.
`static final class`
`TdApi.Address`
Describes an address.
`static final class`
`TdApi.AddSavedAnimation`
Manually adds a new animation to the list of saved animations.
`static final class`
`TdApi.AddStickerToSet`
Adds a new sticker to a set; for bots only.
`static final class`
`TdApi.AnimatedChatPhoto`
Animated variant of a chat photo in MPEG4 format.
`static final class`
`TdApi.AnimatedEmoji`
Describes an animated representation of an emoji.
`static final class`
`TdApi.Animation`
Describes an animation file.
`static final class`
`TdApi.Animations`
Represents a list of animations.
`static final class`
`TdApi.AnswerCallbackQuery`
Sets the result of a callback query; for bots only.
`static final class`
`TdApi.AnswerCustomQuery`
Answers a custom query; for bots only.
`static final class`
`TdApi.AnswerInlineQuery`
Sets the result of an inline query; for bots only.
`static final class`
`TdApi.AnswerPreCheckoutQuery`
Sets the result of a pre-checkout query; for bots only.
`static final class`
`TdApi.AnswerShippingQuery`
Sets the result of a shipping query; for bots only.
`static final class`
`TdApi.ApproveChatJoinRequest`
Approves pending join request in a chat.
`static final class`
`TdApi.Audio`
Describes an audio file.
`static final class`
`TdApi.AuthenticationCodeInfo`
Information about the authentication code that was sent.
`static class`
`TdApi.AuthenticationCodeType`
This class is an abstract base class.
`static final class`
`TdApi.AuthenticationCodeTypeCall`
An authentication code is delivered via a phone call to the specified phone number.
`static final class`
`TdApi.AuthenticationCodeTypeFlashCall`
An authentication code is delivered by an immediately canceled call to the specified phone number.
`static final class`
`TdApi.AuthenticationCodeTypeSms`
An authentication code is delivered via an SMS message to the specified phone number.
`static final class`
`TdApi.AuthenticationCodeTypeTelegramMessage`
An authentication code is delivered via a private Telegram message, which can be viewed from another active session.
`static class`
`TdApi.AuthorizationState`
This class is an abstract base class.
`static final class`
`TdApi.AuthorizationStateClosed`
TDLib client is in its final state.
`static final class`
`TdApi.AuthorizationStateClosing`
TDLib is closing, all subsequent queries will be answered with the error 500.
`static final class`
`TdApi.AuthorizationStateLoggingOut`
The user is currently logging out.
`static final class`
`TdApi.AuthorizationStateReady`
The user has been successfully authorized.
`static final class`
`TdApi.AuthorizationStateWaitCode`
TDLib needs the user's authentication code to authorize.
`static final class`
`TdApi.AuthorizationStateWaitEncryptionKey`
TDLib needs an encryption key to decrypt the local database.
`static final class`
`TdApi.AuthorizationStateWaitOtherDeviceConfirmation`
The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
`static final class`
`TdApi.AuthorizationStateWaitPassword`
The user has been authorized, but needs to enter a password to start using the application.
`static final class`
`TdApi.AuthorizationStateWaitPhoneNumber`
TDLib needs the user's phone number to authorize.
`static final class`
`TdApi.AuthorizationStateWaitRegistration`
The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration.
`static final class`
`TdApi.AuthorizationStateWaitTdlibParameters`
TDLib needs TdlibParameters for initialization.
`static final class`
`TdApi.AutoDownloadSettings`
Contains auto-download settings.
`static final class`
`TdApi.AutoDownloadSettingsPresets`
Contains auto-download settings presets for the current user.
`static final class`
`TdApi.Background`
Describes a chat background.
`static class`
`TdApi.BackgroundFill`
This class is an abstract base class.
`static final class`
`TdApi.BackgroundFillFreeformGradient`
Describes a freeform gradient fill of a background.
`static final class`
`TdApi.BackgroundFillGradient`
Describes a gradient fill of a background.
`static final class`
`TdApi.BackgroundFillSolid`
Describes a solid fill of a background.
`static final class`
`TdApi.Backgrounds`
Contains a list of backgrounds.
`static class`
`TdApi.BackgroundType`
This class is an abstract base class.
`static final class`
`TdApi.BackgroundTypeFill`
A filled background.
`static final class`
`TdApi.BackgroundTypePattern`
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.
`static final class`
`TdApi.BackgroundTypeWallpaper`
A wallpaper in JPEG format.
`static final class`
`TdApi.BanChatMember`
Bans a member in a chat.
`static final class`
`TdApi.BankCardActionOpenUrl`
Describes an action associated with a bank card number.
`static final class`
`TdApi.BankCardInfo`
Information about a bank card.
`static final class`
`TdApi.BasicGroup`
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
`static final class`
`TdApi.BasicGroupFullInfo`
Contains full information about a basic group.
`static final class`
`TdApi.BlockMessageSenderFromReplies`
Blocks an original sender of a message in the Replies chat.
`static final class`
`TdApi.BotCommand`
Represents a command supported by a bot.
`static final class`
`TdApi.BotCommands`
Contains a list of bot commands.
`static class`
`TdApi.BotCommandScope`
This class is an abstract base class.
`static final class`
`TdApi.BotCommandScopeAllChatAdministrators`
A scope covering all group and supergroup chat administrators.
`static final class`
`TdApi.BotCommandScopeAllGroupChats`
A scope covering all group and supergroup chats.
`static final class`
`TdApi.BotCommandScopeAllPrivateChats`
A scope covering all private chats.
`static final class`
`TdApi.BotCommandScopeChat`
A scope covering all members of a chat.
`static final class`
`TdApi.BotCommandScopeChatAdministrators`
A scope covering all administrators of a chat.
`static final class`
`TdApi.BotCommandScopeChatMember`
A scope covering a member of a chat.
`static final class`
`TdApi.BotCommandScopeDefault`
A scope covering all users.
`static final class`
`TdApi.Call`
Describes a call.
`static final class`
`TdApi.CallbackQueryAnswer`
Contains a bot's answer to a callback query.
`static class`
`TdApi.CallbackQueryPayload`
This class is an abstract base class.
`static final class`
`TdApi.CallbackQueryPayloadData`
The payload for a general callback button.
`static final class`
`TdApi.CallbackQueryPayloadDataWithPassword`
The payload for a callback button requiring password.
`static final class`
`TdApi.CallbackQueryPayloadGame`
The payload for a game callback button.
`static class`
`TdApi.CallDiscardReason`
This class is an abstract base class.
`static final class`
`TdApi.CallDiscardReasonDeclined`
The call was ended before the conversation started.
`static final class`
`TdApi.CallDiscardReasonDisconnected`
The call was ended during the conversation because the users were disconnected.
`static final class`
`TdApi.CallDiscardReasonEmpty`
The call wasn't discarded, or the reason is unknown.
`static final class`
`TdApi.CallDiscardReasonHungUp`
The call was ended because one of the parties hung up.
`static final class`
`TdApi.CallDiscardReasonMissed`
The call was ended before the conversation started.
`static final class`
`TdApi.CallId`
Contains the call identifier.
`static class`
`TdApi.CallProblem`
This class is an abstract base class.
`static final class`
`TdApi.CallProblemDistortedSpeech`
The speech was distorted.
`static final class`
`TdApi.CallProblemDistortedVideo`
The video was distorted.
`static final class`
`TdApi.CallProblemDropped`
The call ended unexpectedly.
`static final class`
`TdApi.CallProblemEcho`
The user heard their own voice.
`static final class`
`TdApi.CallProblemInterruptions`
The other side kept disappearing.
`static final class`
`TdApi.CallProblemNoise`
The user heard background noise.
`static final class`
`TdApi.CallProblemPixelatedVideo`
The video was pixelated.
`static final class`
`TdApi.CallProblemSilentLocal`
The user couldn't hear the other side.
`static final class`
`TdApi.CallProblemSilentRemote`
The other side couldn't hear the user.
`static final class`
`TdApi.CallProtocol`
Specifies the supported call protocols.
`static final class`
`TdApi.CallServer`
Describes a server for relaying call data.
`static class`
`TdApi.CallServerType`
This class is an abstract base class.
`static final class`
`TdApi.CallServerTypeTelegramReflector`
A Telegram call reflector.
`static final class`
`TdApi.CallServerTypeWebrtc`
A WebRTC server.
`static class`
`TdApi.CallState`
This class is an abstract base class.
`static final class`
`TdApi.CallStateDiscarded`
The call has ended successfully.
`static final class`
`TdApi.CallStateError`
The call has ended with an error.
`static final class`
`TdApi.CallStateExchangingKeys`
The call has been answered and encryption keys are being exchanged.
`static final class`
`TdApi.CallStateHangingUp`
The call is hanging up after discardCall has been called.
`static final class`
`TdApi.CallStatePending`
The call is pending, waiting to be accepted by a user.
`static final class`
`TdApi.CallStateReady`
The call is ready to use.
`static final class`
`TdApi.CancelDownloadFile`
Stops the downloading of a file.
`static final class`
`TdApi.CancelPasswordReset`
Cancels reset of 2-step verification password.
`static final class`
`TdApi.CancelUploadFile`
Stops the uploading of a file.
`static final class`
`TdApi.CanTransferOwnership`
Checks whether the current session can be used to transfer a chat ownership to another user.
`static class`
`TdApi.CanTransferOwnershipResult`
This class is an abstract base class.
`static final class`
`TdApi.CanTransferOwnershipResultOk`
The session can be used.
`static final class`
`TdApi.CanTransferOwnershipResultPasswordNeeded`
The 2-step verification needs to be enabled first.
`static final class`
`TdApi.CanTransferOwnershipResultPasswordTooFresh`
The 2-step verification was enabled recently, user needs to wait.
`static final class`
`TdApi.CanTransferOwnershipResultSessionTooFresh`
The session was created recently, user needs to wait.
`static final class`
`TdApi.ChangeImportedContacts`
Changes imported contacts using the list of contacts saved on the device.
`static final class`
`TdApi.ChangePhoneNumber`
Changes the phone number of the user and sends an authentication code to the user's new phone number.
`static final class`
`TdApi.ChangeStickerSet`
Installs/uninstalls or activates/archives a sticker set.
`static final class`
`TdApi.Chat`
A chat.
`static class`
`TdApi.ChatAction`
This class is an abstract base class.
`static class`
`TdApi.ChatActionBar`
This class is an abstract base class.
`static final class`
`TdApi.ChatActionBarAddContact`
The chat is a private or secret chat and the other user can be added to the contact list using the method addContact.
`static final class`
`TdApi.ChatActionBarInviteMembers`
The chat is a recently created group chat, to which new members can be invited.
`static final class`
`TdApi.ChatActionBarReportAddBlock`
The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method toggleMessageSenderIsBlocked, or the other user can be added to the contact list using the method addContact.
`static final class`
`TdApi.ChatActionBarReportSpam`
The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam.
`static final class`
`TdApi.ChatActionBarReportUnrelatedLocation`
The chat is a location-based supergroup, which can be reported as having unrelated location using the method reportChat with the reason chatReportReasonUnrelatedLocation.
`static final class`
`TdApi.ChatActionBarSharePhoneNumber`
The chat is a private or secret chat with a mutual contact and the user's phone number can be shared with the other user using the method sharePhoneNumber.
`static final class`
`TdApi.ChatActionCancel`
The user has canceled the previous action.
`static final class`
`TdApi.ChatActionChoosingContact`
The user is picking a contact to send.
`static final class`
`TdApi.ChatActionChoosingLocation`
The user is picking a location or venue to send.
`static final class`
`TdApi.ChatActionChoosingSticker`
The user is picking a sticker to send.
`static final class`
`TdApi.ChatActionRecordingVideo`
The user is recording a video.
`static final class`
`TdApi.ChatActionRecordingVideoNote`
The user is recording a video note.
`static final class`
`TdApi.ChatActionRecordingVoiceNote`
The user is recording a voice note.
`static final class`
`TdApi.ChatActionStartPlayingGame`
The user has started to play a game.
`static final class`
`TdApi.ChatActionTyping`
The user is typing a message.
`static final class`
`TdApi.ChatActionUploadingDocument`
The user is uploading a document.
`static final class`
`TdApi.ChatActionUploadingPhoto`
The user is uploading a photo.
`static final class`
`TdApi.ChatActionUploadingVideo`
The user is uploading a video.
`static final class`
`TdApi.ChatActionUploadingVideoNote`
The user is uploading a video note.
`static final class`
`TdApi.ChatActionUploadingVoiceNote`
The user is uploading a voice note.
`static final class`
`TdApi.ChatActionWatchingAnimations`
The user is watching animations sent by the other party by clicking on an animated emoji.
`static final class`
`TdApi.ChatAdministrator`
Contains information about a chat administrator.
`static final class`
`TdApi.ChatAdministrators`
Represents a list of chat administrators.
`static final class`
`TdApi.ChatEvent`
Represents a chat event.
`static class`
`TdApi.ChatEventAction`
This class is an abstract base class.
`static final class`
`TdApi.ChatEventDescriptionChanged`
The chat description was changed.
`static final class`
`TdApi.ChatEventInviteLinkDeleted`
A revoked chat invite link was deleted.
`static final class`
`TdApi.ChatEventInviteLinkEdited`
A chat invite link was edited.
`static final class`
`TdApi.ChatEventInviteLinkRevoked`
A chat invite link was revoked.
`static final class`
`TdApi.ChatEventInvitesToggled`
The canInviteUsers permission of a supergroup chat was toggled.
`static final class`
`TdApi.ChatEventIsAllHistoryAvailableToggled`
The isAllHistoryAvailable setting of a supergroup was toggled.
`static final class`
`TdApi.ChatEventLinkedChatChanged`
The linked chat of a supergroup was changed.
`static final class`
`TdApi.ChatEventLocationChanged`
The supergroup location was changed.
`static final class`
`TdApi.ChatEventLogFilters`
Represents a set of filters used to obtain a chat event log.
`static final class`
`TdApi.ChatEventMemberInvited`
A new chat member was invited.
`static final class`
`TdApi.ChatEventMemberJoined`
A new member joined the chat.
`static final class`
`TdApi.ChatEventMemberJoinedByInviteLink`
A new member joined the chat by an invite link.
`static final class`
`TdApi.ChatEventMemberJoinedByRequest`
A new member was accepted to the chat by an administrator.
`static final class`
`TdApi.ChatEventMemberLeft`
A member left the chat.
`static final class`
`TdApi.ChatEventMemberPromoted`
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
`static final class`
`TdApi.ChatEventMemberRestricted`
A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
`static final class`
`TdApi.ChatEventMessageDeleted`
A message was deleted.
`static final class`
`TdApi.ChatEventMessageEdited`
A message was edited.
`static final class`
`TdApi.ChatEventMessagePinned`
A message was pinned.
`static final class`
`TdApi.ChatEventMessageTtlSettingChanged`
The message TTL setting was changed.
`static final class`
`TdApi.ChatEventMessageUnpinned`
A message was unpinned.
`static final class`
`TdApi.ChatEventPermissionsChanged`
The chat permissions was changed.
`static final class`
`TdApi.ChatEventPhotoChanged`
The chat photo was changed.
`static final class`
`TdApi.ChatEventPollStopped`
A poll in a message was stopped.
`static final class`
`TdApi.ChatEvents`
Contains a list of chat events.
`static final class`
`TdApi.ChatEventSignMessagesToggled`
The signMessages setting of a channel was toggled.
`static final class`
`TdApi.ChatEventSlowModeDelayChanged`
The slowModeDelay setting of a supergroup was changed.
`static final class`
`TdApi.ChatEventStickerSetChanged`
The supergroup sticker set was changed.
`static final class`
`TdApi.ChatEventTitleChanged`
The chat title was changed.
`static final class`
`TdApi.ChatEventUsernameChanged`
The chat username was changed.
`static final class`
`TdApi.ChatEventVideoChatCreated`
A video chat was created.
`static final class`
`TdApi.ChatEventVideoChatDiscarded`
A video chat was discarded.
`static final class`
`TdApi.ChatEventVideoChatMuteNewParticipantsToggled`
The muteNewParticipants setting of a video chat was toggled.
`static final class`
`TdApi.ChatEventVideoChatParticipantIsMutedToggled`
A video chat participant was muted or unmuted.
`static final class`
`TdApi.ChatEventVideoChatParticipantVolumeLevelChanged`
A video chat participant volume level was changed.
`static final class`
`TdApi.ChatFilter`
Represents a filter of user chats.
`static final class`
`TdApi.ChatFilterInfo`
Contains basic information about a chat filter.
`static final class`
`TdApi.ChatInviteLink`
Contains a chat invite link.
`static final class`
`TdApi.ChatInviteLinkCount`
Describes a chat administrator with a number of active and revoked chat invite links.
`static final class`
`TdApi.ChatInviteLinkCounts`
Contains a list of chat invite link counts.
`static final class`
`TdApi.ChatInviteLinkInfo`
Contains information about a chat invite link.
`static final class`
`TdApi.ChatInviteLinkMember`
Describes a chat member joined a chat by an invite link.
`static final class`
`TdApi.ChatInviteLinkMembers`
Contains a list of chat members joined a chat by an invite link.
`static final class`
`TdApi.ChatInviteLinks`
Contains a list of chat invite links.
`static final class`
`TdApi.ChatJoinRequest`
Describes a user that sent a join request and waits for administrator approval.
`static final class`
`TdApi.ChatJoinRequests`
Contains a list of chat join requests.
`static final class`
`TdApi.ChatJoinRequestsInfo`
Contains information about pending chat join requests.
`static class`
`TdApi.ChatList`
This class is an abstract base class.
`static final class`
`TdApi.ChatListArchive`
A list of chats usually located at the top of the main chat list.
`static final class`
`TdApi.ChatListFilter`
A list of chats belonging to a chat filter.
`static final class`
`TdApi.ChatListMain`
A main list of chats.
`static final class`
`TdApi.ChatLists`
Contains a list of chat lists.
`static final class`
`TdApi.ChatLocation`
Represents a location to which a chat is connected.
`static final class`
`TdApi.ChatMember`
Describes a user or a chat as a member of another chat.
`static final class`
`TdApi.ChatMembers`
Contains a list of chat members.
`static class`
`TdApi.ChatMembersFilter`
This class is an abstract base class.
`static final class`
`TdApi.ChatMembersFilterAdministrators`
Returns the owner and administrators.
`static final class`
`TdApi.ChatMembersFilterBanned`
Returns users banned from the chat; can be used only by administrators in a supergroup or in a channel.
`static final class`
`TdApi.ChatMembersFilterBots`
Returns bot members of the chat.
`static final class`
`TdApi.ChatMembersFilterContacts`
Returns contacts of the user.
`static final class`
`TdApi.ChatMembersFilterMembers`
Returns all chat members, including restricted chat members.
`static final class`
`TdApi.ChatMembersFilterMention`
Returns users which can be mentioned in the chat.
`static final class`
`TdApi.ChatMembersFilterRestricted`
Returns users under certain restrictions in the chat; can be used only by administrators in a supergroup.
`static class`
`TdApi.ChatMemberStatus`
This class is an abstract base class.
`static final class`
`TdApi.ChatMemberStatusAdministrator`
The user is a member of the chat and has some additional privileges.
`static final class`
`TdApi.ChatMemberStatusBanned`
The user or the chat was banned (and hence is not a member of the chat).
`static final class`
`TdApi.ChatMemberStatusCreator`
The user is the owner of the chat and has all the administrator privileges.
`static final class`
`TdApi.ChatMemberStatusLeft`
The user or the chat is not a chat member.
`static final class`
`TdApi.ChatMemberStatusMember`
The user is a member of the chat, without any additional privileges or restrictions.
`static final class`
`TdApi.ChatMemberStatusRestricted`
The user is under certain restrictions in the chat.
`static final class`
`TdApi.ChatNearby`
Describes a chat located nearby.
`static final class`
`TdApi.ChatNotificationSettings`
Contains information about notification settings for a chat.
`static final class`
`TdApi.ChatPermissions`
Describes actions that a user is allowed to take in a chat.
`static final class`
`TdApi.ChatPhoto`
Describes a chat or user profile photo.
`static final class`
`TdApi.ChatPhotoInfo`
Contains basic information about the photo of a chat.
`static final class`
`TdApi.ChatPhotos`
Contains a list of chat or user profile photos.
`static final class`
`TdApi.ChatPosition`
Describes a position of a chat in a chat list.
`static class`
`TdApi.ChatReportReason`
This class is an abstract base class.
`static final class`
`TdApi.ChatReportReasonChildAbuse`
The chat has child abuse related content.
`static final class`
`TdApi.ChatReportReasonCopyright`
The chat contains copyrighted content.
`static final class`
`TdApi.ChatReportReasonCustom`
A custom reason provided by the user.
`static final class`
`TdApi.ChatReportReasonFake`
The chat represents a fake account.
`static final class`
`TdApi.ChatReportReasonPornography`
The chat contains pornographic messages.
`static final class`
`TdApi.ChatReportReasonSpam`
The chat contains spam messages.
`static final class`
`TdApi.ChatReportReasonUnrelatedLocation`
The location-based chat is unrelated to its stated location.
`static final class`
`TdApi.ChatReportReasonViolence`
The chat promotes violence.
`static final class`
`TdApi.Chats`
Represents a list of chats.
`static final class`
`TdApi.ChatsNearby`
Represents a list of chats located nearby.
`static class`
`TdApi.ChatSource`
This class is an abstract base class.
`static final class`
`TdApi.ChatSourceMtprotoProxy`
The chat is sponsored by the user's MTProxy server.
`static final class`
`TdApi.ChatSourcePublicServiceAnnouncement`
The chat contains a public service announcement.
`static class`
`TdApi.ChatStatistics`
This class is an abstract base class.
`static final class`
`TdApi.ChatStatisticsAdministratorActionsInfo`
Contains statistics about administrator actions done by a user.
`static final class`
`TdApi.ChatStatisticsChannel`
A detailed statistics about a channel chat.
`static final class`
`TdApi.ChatStatisticsInviterInfo`
Contains statistics about number of new members invited by a user.
`static final class`
`TdApi.ChatStatisticsMessageInteractionInfo`
Contains statistics about interactions with a message.
`static final class`
`TdApi.ChatStatisticsMessageSenderInfo`
Contains statistics about messages sent by a user.
`static final class`
`TdApi.ChatStatisticsSupergroup`
A detailed statistics about a supergroup chat.
`static final class`
`TdApi.ChatTheme`
Describes a chat theme.
`static class`
`TdApi.ChatType`
This class is an abstract base class.
`static final class`
`TdApi.ChatTypeBasicGroup`
A basic group (a chat with 0-200 other users).
`static final class`
`TdApi.ChatTypePrivate`
An ordinary chat with a user.
`static final class`
`TdApi.ChatTypeSecret`
A secret chat with a user.
`static final class`
`TdApi.ChatTypeSupergroup`
A supergroup or channel (with unlimited members).
`static final class`
`TdApi.CheckAuthenticationBotToken`
Checks the authentication token of a bot; to log in as a bot.
`static final class`
`TdApi.CheckAuthenticationCode`
Checks the authentication code.
`static final class`
`TdApi.CheckAuthenticationPassword`
Checks the authentication password for correctness.
`static final class`
`TdApi.CheckAuthenticationPasswordRecoveryCode`
Checks whether a password recovery code sent to an email address is valid.
`static final class`
`TdApi.CheckChangePhoneNumberCode`
Checks the authentication code sent to confirm a new phone number of the user.
`static final class`
`TdApi.CheckChatInviteLink`
Checks the validity of an invite link for a chat and returns information about the corresponding chat.
`static final class`
`TdApi.CheckChatUsername`
Checks whether a username can be set for a chat.
`static class`
`TdApi.CheckChatUsernameResult`
This class is an abstract base class.
`static final class`
`TdApi.CheckChatUsernameResultOk`
The username can be set.
`static final class`
`TdApi.CheckChatUsernameResultPublicChatsTooMuch`
The user has too much chats with username, one of them must be made private first.
`static final class`
`TdApi.CheckChatUsernameResultPublicGroupsUnavailable`
The user can't be a member of a public supergroup.
`static final class`
`TdApi.CheckChatUsernameResultUsernameInvalid`
The username is invalid.
`static final class`
`TdApi.CheckChatUsernameResultUsernameOccupied`
The username is occupied.
`static final class`
`TdApi.CheckCreatedPublicChatsLimit`
Checks whether the maximum number of owned public chats has been reached.
`static final class`
`TdApi.CheckDatabaseEncryptionKey`
Checks the database encryption key for correctness.
`static final class`
`TdApi.CheckEmailAddressVerificationCode`
Checks the email address verification code for Telegram Passport.
`static final class`
`TdApi.CheckPasswordRecoveryCode`
Checks whether a 2-step verification password recovery code sent to an email address is valid.
`static final class`
`TdApi.CheckPhoneNumberConfirmationCode`
Checks phone number confirmation code.
`static final class`
`TdApi.CheckPhoneNumberVerificationCode`
Checks the phone number verification code for Telegram Passport.
`static final class`
`TdApi.CheckRecoveryEmailAddressCode`
Checks the 2-step verification recovery email address verification code.
`static final class`
`TdApi.CheckStickerSetName`
Checks whether a name can be used for a new sticker set.
`static class`
`TdApi.CheckStickerSetNameResult`
This class is an abstract base class.
`static final class`
`TdApi.CheckStickerSetNameResultNameInvalid`
The name is invalid.
`static final class`
`TdApi.CheckStickerSetNameResultNameOccupied`
The name is occupied.
`static final class`
`TdApi.CheckStickerSetNameResultOk`
The name can be set.
`static final class`
`TdApi.CleanFileName`
Removes potentially dangerous characters from the name of a file.
`static final class`
`TdApi.ClearAllDraftMessages`
Clears draft messages in all chats.
`static final class`
`TdApi.ClearImportedContacts`
Clears all imported contacts, contact list remains unchanged.
`static final class`
`TdApi.ClearRecentlyFoundChats`
Clears the list of recently found chats.
`static final class`
`TdApi.ClearRecentStickers`
Clears the list of recently used stickers.
`static final class`
`TdApi.ClickAnimatedEmojiMessage`
Informs TDLib that a message with an animated emoji was clicked by the user.
`static final class`
`TdApi.Close`
Closes the TDLib instance.
`static final class`
`TdApi.CloseChat`
Informs TDLib that the chat is closed by the user.
`static final class`
`TdApi.ClosedVectorPath`
Represents a closed vector path.
`static final class`
`TdApi.CloseSecretChat`
Closes a secret chat, effectively transferring its state to secretChatStateClosed.
`static final class`
`TdApi.ColorReplacement`
Describes a color replacement for animated emoji.
`static final class`
`TdApi.ConfirmQrCodeAuthentication`
Confirms QR code authentication on another device.
`static final class`
`TdApi.ConnectedWebsite`
Contains information about one website the current user is logged in with Telegram.
`static final class`
`TdApi.ConnectedWebsites`
Contains a list of websites the current user is logged in with Telegram.
`static class`
`TdApi.ConnectionState`
This class is an abstract base class.
`static final class`
`TdApi.ConnectionStateConnecting`
Currently establishing a connection to the Telegram servers.
`static final class`
`TdApi.ConnectionStateConnectingToProxy`
Currently establishing a connection with a proxy server.
`static final class`
`TdApi.ConnectionStateReady`
There is a working connection to the Telegram servers.
`static final class`
`TdApi.ConnectionStateUpdating`
Downloading data received while the application was offline.
`static final class`
`TdApi.ConnectionStateWaitingForNetwork`
Currently waiting for the network to become available.
`static final class`
`TdApi.Contact`
Describes a user contact.
`static final class`
`TdApi.Count`
Contains a counter.
`static final class`
`TdApi.Countries`
Contains information about countries.
`static final class`
`TdApi.CountryInfo`
Contains information about a country.
`static final class`
`TdApi.CreateBasicGroupChat`
Returns an existing chat corresponding to a known basic group.
`static final class`
`TdApi.CreateCall`
Creates a new call.
`static final class`
`TdApi.CreateChatFilter`
Creates new chat filter.
`static final class`
`TdApi.CreateChatInviteLink`
Creates a new invite link for a chat.
`static final class`
`TdApi.CreateNewBasicGroupChat`
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate.
`static final class`
`TdApi.CreateNewSecretChat`
Creates a new secret chat.
`static final class`
`TdApi.CreateNewStickerSet`
Creates a new sticker set.
`static final class`
`TdApi.CreateNewSupergroupChat`
Creates a new supergroup or channel and sends a corresponding messageSupergroupChatCreate.
`static final class`
`TdApi.CreatePrivateChat`
Returns an existing chat corresponding to a given user.
`static final class`
`TdApi.CreateSecretChat`
Returns an existing chat corresponding to a known secret chat.
`static final class`
`TdApi.CreateSupergroupChat`
Returns an existing chat corresponding to a known supergroup or channel.
`static final class`
`TdApi.CreateTemporaryPassword`
Creates a new temporary password for processing payments.
`static final class`
`TdApi.CreateVideoChat`
Creates a video chat (a group call bound to a chat).
`static final class`
`TdApi.CustomRequestResult`
Contains the result of a custom request.
`static final class`
`TdApi.DatabaseStatistics`
Contains database statistics.
`static final class`
`TdApi.Date`
Represents a date according to the Gregorian calendar.
`static final class`
`TdApi.DatedFile`
File with the date it was uploaded.
`static final class`
`TdApi.DateRange`
Represents a date range.
`static final class`
`TdApi.DeclineChatJoinRequest`
Declines pending join request in a chat.
`static final class`
`TdApi.DeepLinkInfo`
Contains information about a tg: deep link.
`static final class`
`TdApi.DeleteAccount`
Deletes the account of the current user, deleting all information associated with the user from the server.
`static final class`
`TdApi.DeleteAllCallMessages`
Deletes all call messages.
`static final class`
`TdApi.DeleteAllRevokedChatInviteLinks`
Deletes all revoked chat invite links created by a given chat administrator.
`static final class`
`TdApi.DeleteChat`
Deletes a chat along with all messages in the corresponding chat for all chat members; requires owner privileges.
`static final class`
`TdApi.DeleteChatFilter`
Deletes existing chat filter.
`static final class`
`TdApi.DeleteChatHistory`
Deletes all messages in the chat.
`static final class`
`TdApi.DeleteChatMessagesByDate`
Deletes all messages between the specified dates in a chat.
`static final class`
`TdApi.DeleteChatMessagesFromUser`
Deletes all messages sent by the specified user to a chat.
`static final class`
`TdApi.DeleteChatReplyMarkup`
Deletes the default reply markup from a chat.
`static final class`
`TdApi.DeleteCommands`
Deletes commands supported by the bot for the given user scope and language; for bots only.
`static final class`
`TdApi.DeleteFile`
Deletes a file from the TDLib file cache.
`static final class`
`TdApi.DeleteLanguagePack`
Deletes all information about a language pack in the current localization target.
`static final class`
`TdApi.DeleteMessages`
Deletes messages.
`static final class`
`TdApi.DeletePassportElement`
Deletes a Telegram Passport element.
`static final class`
`TdApi.DeleteProfilePhoto`
Deletes a profile photo.
`static final class`
`TdApi.DeleteRevokedChatInviteLink`
Deletes revoked chat invite links.
`static final class`
`TdApi.DeleteSavedCredentials`
Deletes saved credentials for all payment provider bots.
`static final class`
`TdApi.DeleteSavedOrderInfo`
Deletes saved order info.
`static class`
`TdApi.Deserializer`
`static final class`
`TdApi.Destroy`
Closes the TDLib instance, destroying all local data without a proper logout.
`static class`
`TdApi.DeviceToken`
This class is an abstract base class.
`static final class`
`TdApi.DeviceTokenApplePush`
A token for Apple Push Notification service.
`static final class`
`TdApi.DeviceTokenApplePushVoIP`
A token for Apple Push Notification service VoIP notifications.
`static final class`
`TdApi.DeviceTokenBlackBerryPush`
A token for BlackBerry Push Service.
`static final class`
`TdApi.DeviceTokenFirebaseCloudMessaging`
A token for Firebase Cloud Messaging.
`static final class`
`TdApi.DeviceTokenMicrosoftPush`
A token for Microsoft Push Notification Service.
`static final class`
`TdApi.DeviceTokenMicrosoftPushVoIP`
A token for Microsoft Push Notification Service VoIP channel.
`static final class`
`TdApi.DeviceTokenSimplePush`
A token for Simple Push API for Firefox OS.
`static final class`
`TdApi.DeviceTokenTizenPush`
A token for Tizen Push Service.
`static final class`
`TdApi.DeviceTokenUbuntuPush`
A token for Ubuntu Push Client service.
`static final class`
`TdApi.DeviceTokenWebPush`
A token for web Push API.
`static final class`
`TdApi.DeviceTokenWindowsPush`
A token for Windows Push Notification Services.
`static class`
`TdApi.DiceStickers`
This class is an abstract base class.
`static final class`
`TdApi.DiceStickersRegular`
A regular animated sticker.
`static final class`
`TdApi.DiceStickersSlotMachine`
Animated stickers to be combined into a slot machine.
`static final class`
`TdApi.DisableProxy`
Disables the currently enabled proxy.
`static final class`
`TdApi.DiscardCall`
Discards a call.
`static final class`
`TdApi.DiscardGroupCall`
Discards a group call.
`static final class`
`TdApi.DisconnectAllWebsites`
Disconnects all websites from the current user's Telegram account.
`static final class`
`TdApi.DisconnectWebsite`
Disconnects website from the current user's Telegram account.
`static final class`
`TdApi.Document`
Describes a document of any type.
`static final class`
`TdApi.DownloadFile`
Downloads a file from the cloud.
`static final class`
`TdApi.DraftMessage`
Contains information about a message draft.
`static final class`
`TdApi.EditChatFilter`
Edits existing chat filter.
`static final class`
`TdApi.EditChatInviteLink`
Edits a non-primary invite link for a chat.
`static final class`
`TdApi.EditCustomLanguagePackInfo`
Edits information about a custom local language pack in the current localization target.
`static final class`
`TdApi.EditInlineMessageCaption`
Edits the caption of an inline message sent via a bot; for bots only.
`static final class`
`TdApi.EditInlineMessageLiveLocation`
Edits the content of a live location in an inline message sent via a bot; for bots only.
`static final class`
`TdApi.EditInlineMessageMedia`
Edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only.
`static final class`
`TdApi.EditInlineMessageReplyMarkup`
Edits the reply markup of an inline message sent via a bot; for bots only.
`static final class`
`TdApi.EditInlineMessageText`
Edits the text of an inline text or game message sent via a bot; for bots only.
`static final class`
`TdApi.EditMessageCaption`
Edits the message content caption.
`static final class`
`TdApi.EditMessageLiveLocation`
Edits the message content of a live location.
`static final class`
`TdApi.EditMessageMedia`
Edits the content of a message with an animation, an audio, a document, a photo or a video, including message caption.
`static final class`
`TdApi.EditMessageReplyMarkup`
Edits the message reply markup; for bots only.
`static final class`
`TdApi.EditMessageSchedulingState`
Edits the time when a scheduled message will be sent.
`static final class`
`TdApi.EditMessageText`
Edits the text of a message (or a text of a game message).
`static final class`
`TdApi.EditProxy`
Edits an existing proxy server for network requests.
`static final class`
`TdApi.EmailAddressAuthenticationCodeInfo`
Information about the email address authentication code that was sent.
`static final class`
`TdApi.Emojis`
Represents a list of emoji.
`static final class`
`TdApi.EnableProxy`
Enables a proxy.
`static final class`
`TdApi.EncryptedCredentials`
Contains encrypted Telegram Passport data credentials.
`static final class`
`TdApi.EncryptedPassportElement`
Contains information about an encrypted Telegram Passport element; for bots only.
`static final class`
`TdApi.EndGroupCallRecording`
Ends recording of an active group call.
`static final class`
`TdApi.EndGroupCallScreenSharing`
Ends screen sharing in a joined group call.
`static final class`
`TdApi.Error`
An object of this type can be returned on every function call, in case of an error.
`static final class`
`TdApi.File`
Represents a file.
`static final class`
`TdApi.FilePart`
Contains a part of a file.
`static class`
`TdApi.FileType`
This class is an abstract base class.
`static final class`
`TdApi.FileTypeAnimation`
The file is an animation.
`static final class`
`TdApi.FileTypeAudio`
The file is an audio file.
`static final class`
`TdApi.FileTypeDocument`
The file is a document.
`static final class`
`TdApi.FileTypeNone`
The data is not a file.
`static final class`
`TdApi.FileTypePhoto`
The file is a photo.
`static final class`
`TdApi.FileTypeProfilePhoto`
The file is a profile photo.
`static final class`
`TdApi.FileTypeSecret`
The file was sent to a secret chat (the file type is not known to the server).
`static final class`
`TdApi.FileTypeSecretThumbnail`
The file is a thumbnail of a file from a secret chat.
`static final class`
`TdApi.FileTypeSecure`
The file is a file from Secure storage used for storing Telegram Passport files.
`static final class`
`TdApi.FileTypeSticker`
The file is a sticker.
`static final class`
`TdApi.FileTypeThumbnail`
The file is a thumbnail of another file.
`static final class`
`TdApi.FileTypeUnknown`
The file type is not yet known.
`static final class`
`TdApi.FileTypeVideo`
The file is a video.
`static final class`
`TdApi.FileTypeVideoNote`
The file is a video note.
`static final class`
`TdApi.FileTypeVoiceNote`
The file is a voice note.
`static final class`
`TdApi.FileTypeWallpaper`
The file is a wallpaper or a background pattern.
`static final class`
`TdApi.FinishFileGeneration`
Finishes the file generation.
`static final class`
`TdApi.FormattedText`
A text with some entities.
`static final class`
`TdApi.ForwardMessages`
Forwards previously sent messages.
`static final class`
`TdApi.FoundMessages`
Contains a list of messages found by a search.
`static class`
`TdApi.Function<R extends TdApi.Object>`
`static final class`
`TdApi.Game`
Describes a game.
`static final class`
`TdApi.GameHighScore`
Contains one row of the game high score table.
`static final class`
`TdApi.GameHighScores`
Contains a list of game high scores.
`static final class`
`TdApi.GetAccountTtl`
Returns the period of inactivity after which the account of the current user will automatically be deleted.
`static final class`
`TdApi.GetActiveLiveLocationMessages`
Returns all active live locations that need to be updated by the application.
`static final class`
`TdApi.GetActiveSessions`
Returns all active sessions of the current user.
`static final class`
`TdApi.GetAllPassportElements`
Returns all available Telegram Passport elements.
`static final class`
`TdApi.GetAnimatedEmoji`
Returns an animated emoji corresponding to a given emoji.
`static final class`
`TdApi.GetApplicationConfig`
Returns application config, provided by the server.
`static final class`
`TdApi.GetApplicationDownloadLink`
Returns the link for downloading official Telegram application to be used when the current user invites friends to Telegram.
`static final class`
`TdApi.GetArchivedStickerSets`
Returns a list of archived sticker sets.
`static final class`
`TdApi.GetAttachedStickerSets`
Returns a list of sticker sets attached to a file.
`static final class`
`TdApi.GetAuthorizationState`
Returns the current authorization state; this is an offline request.
`static final class`
`TdApi.GetAutoDownloadSettingsPresets`
Returns auto-download settings presets for the current user.
`static final class`
`TdApi.GetBackgrounds`
Returns backgrounds installed by the user.
`static final class`
`TdApi.GetBackgroundUrl`
Constructs a persistent HTTP URL for a background.
`static final class`
`TdApi.GetBankCardInfo`
Returns information about a bank card.
`static final class`
`TdApi.GetBasicGroup`
Returns information about a basic group by its identifier.
`static final class`
`TdApi.GetBasicGroupFullInfo`
Returns full information about a basic group by its identifier.
`static final class`
`TdApi.GetBlockedMessageSenders`
Returns users and chats that were blocked by the current user.
`static final class`
`TdApi.GetCallbackQueryAnswer`
Sends a callback query to a bot and returns an answer.
`static final class`
`TdApi.GetCallbackQueryMessage`
Returns information about a message with the callback button that originated a callback query; for bots only.
`static final class`
`TdApi.GetChat`
Returns information about a chat by its identifier, this is an offline request if the current user is not a bot.
`static final class`
`TdApi.GetChatAdministrators`
Returns a list of administrators of the chat with their custom titles.
`static final class`
`TdApi.GetChatEventLog`
Returns a list of service actions taken by chat members and administrators in the last 48 hours.
`static final class`
`TdApi.GetChatFilter`
Returns information about a chat filter by its identifier.
`static final class`
`TdApi.GetChatFilterDefaultIconName`
Returns default icon name for a filter.
`static final class`
`TdApi.GetChatHistory`
Returns messages in a chat.
`static final class`
`TdApi.GetChatInviteLink`
Returns information about an invite link.
`static final class`
`TdApi.GetChatInviteLinkCounts`
Returns list of chat administrators with number of their invite links.
`static final class`
`TdApi.GetChatInviteLinkMembers`
Returns chat members joined a chat by an invite link.
`static final class`
`TdApi.GetChatInviteLinks`
Returns invite links for a chat created by specified administrator.
`static final class`
`TdApi.GetChatJoinRequests`
Returns pending join requests in a chat.
`static final class`
`TdApi.GetChatListsToAddChat`
Returns chat lists to which the chat can be added.
`static final class`
`TdApi.GetChatMember`
Returns information about a single member of a chat.
`static final class`
`TdApi.GetChatMessageByDate`
Returns the last message sent in a chat no later than the specified date.
`static final class`
`TdApi.GetChatMessageCalendar`
Returns information about the next messages of the specified type in the chat splitted by days.
`static final class`
`TdApi.GetChatMessageCount`
Returns approximate number of messages of the specified type in the chat.
`static final class`
`TdApi.GetChatNotificationSettingsExceptions`
Returns list of chats with non-default notification settings.
`static final class`
`TdApi.GetChatPinnedMessage`
Returns information about a newest pinned message in the chat.
`static final class`
`TdApi.GetChats`
Returns an ordered list of chats from the beginning of a chat list.
`static final class`
`TdApi.GetChatScheduledMessages`
Returns all scheduled messages in a chat.
`static final class`
`TdApi.GetChatSparseMessagePositions`
Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.
`static final class`
`TdApi.GetChatSponsoredMessages`
Returns sponsored messages to be shown in a chat; for channel chats only.
`static final class`
`TdApi.GetChatStatistics`
Returns detailed statistics about a chat.
`static final class`
`TdApi.GetCommands`
Returns the list of commands supported by the bot for the given user scope and language; for bots only.
`static final class`
`TdApi.GetConnectedWebsites`
Returns all website where the current user used Telegram to log in.
`static final class`
`TdApi.GetContacts`
Returns all user contacts.
`static final class`
`TdApi.GetCountries`
Returns information about existing countries.
`static final class`
`TdApi.GetCountryCode`
Uses the current IP address to find the current country.
`static final class`
`TdApi.GetCreatedPublicChats`
Returns a list of public chats of the specified type, owned by the user.
`static final class`
`TdApi.GetCurrentState`
Returns all updates needed to restore current TDLib state, i.e.
`static final class`
`TdApi.GetDatabaseStatistics`
Returns database statistics.
`static final class`
`TdApi.GetDeepLinkInfo`
Returns information about a tg:// deep link.
`static final class`
`TdApi.GetEmojiSuggestionsUrl`
Returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements.
`static final class`
`TdApi.GetExternalLink`
Returns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link.
`static final class`
`TdApi.GetExternalLinkInfo`
Returns information about an action to be done when the current user clicks an external link.
`static final class`
`TdApi.GetFavoriteStickers`
Returns favorite stickers.
`static final class`
`TdApi.GetFile`
Returns information about a file; this is an offline request.
`static final class`
`TdApi.GetFileDownloadedPrefixSize`
Returns file downloaded prefix size from a given offset, in bytes.
`static final class`
`TdApi.GetFileExtension`
Returns the extension of a file, guessed by its MIME type.
`static final class`
`TdApi.GetFileMimeType`
Returns the MIME type of a file, guessed by its extension.
`static final class`
`TdApi.GetGameHighScores`
Returns the high scores for a game and some part of the high score table in the range of the specified user; for bots only.
`static final class`
`TdApi.GetGroupCall`
Returns information about a group call.
`static final class`
`TdApi.GetGroupCallInviteLink`
Returns invite link to a video chat in a public chat.
`static final class`
`TdApi.GetGroupCallStreamSegment`
Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.
`static final class`
`TdApi.GetGroupsInCommon`
Returns a list of common group chats with a given user.
`static final class`
`TdApi.GetImportedContactCount`
Returns the total number of imported contacts.
`static final class`
`TdApi.GetInactiveSupergroupChats`
Returns a list of recently inactive supergroups and channels.
`static final class`
`TdApi.GetInlineGameHighScores`
Returns game high scores and some part of the high score table in the range of the specified user; for bots only.
`static final class`
`TdApi.GetInlineQueryResults`
Sends an inline query to a bot and returns its results.
`static final class`
`TdApi.GetInstalledStickerSets`
Returns a list of installed sticker sets.
`static final class`
`TdApi.GetInternalLinkType`
Returns information about the type of an internal link.
`static final class`
`TdApi.GetJsonString`
Converts a JsonValue object to corresponding JSON-serialized string.
`static final class`
`TdApi.GetJsonValue`
Converts a JSON-serialized string to corresponding JsonValue object.
`static final class`
`TdApi.GetLanguagePackInfo`
Returns information about a language pack.
`static final class`
`TdApi.GetLanguagePackString`
Returns a string stored in the local database from the specified localization target and language pack by its key.
`static final class`
`TdApi.GetLanguagePackStrings`
Returns strings from a language pack in the current localization target by their keys.
`static final class`
`TdApi.GetLocalizationTargetInfo`
Returns information about the current localization target.
`static final class`
`TdApi.GetLoginUrl`
Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.
`static final class`
`TdApi.GetLoginUrlInfo`
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl.
`static final class`
`TdApi.GetLogStream`
Returns information about currently used log stream for internal logging of TDLib.
`static final class`
`TdApi.GetLogTags`
Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"].
`static final class`
`TdApi.GetLogTagVerbosityLevel`
Returns current verbosity level for a specified TDLib internal log tag.
`static final class`
`TdApi.GetLogVerbosityLevel`
Returns current verbosity level of the internal logging of TDLib.
`static final class`
`TdApi.GetMapThumbnailFile`
Returns information about a file with a map thumbnail in PNG format.
`static final class`
`TdApi.GetMarkdownText`
Replaces text entities with Markdown formatting in a human-friendly format.
`static final class`
`TdApi.GetMe`
Returns the current user.
`static final class`
`TdApi.GetMemoryStatistics`
Returns memory statistics.
`static final class`
`TdApi.GetMessage`
Returns information about a message.
`static final class`
`TdApi.GetMessageEmbeddingCode`
Returns an HTML code for embedding the message.
`static final class`
`TdApi.GetMessageFileType`
Returns information about a file with messages exported from another app.
`static final class`
`TdApi.GetMessageImportConfirmationText`
Returns a confirmation text to be shown to the user before starting message import.
`static final class`
`TdApi.GetMessageLink`
Returns an HTTPS link to a message in a chat.
`static final class`
`TdApi.GetMessageLinkInfo`
Returns information about a public or private message link.
`static final class`
`TdApi.GetMessageLocally`
Returns information about a message, if it is available locally without sending network request.
`static final class`
`TdApi.GetMessagePublicForwards`
Returns forwarded copies of a channel message to different public channels.
`static final class`
`TdApi.GetMessages`
Returns information about messages.
`static final class`
`TdApi.GetMessageStatistics`
Returns detailed statistics about a message.
`static final class`
`TdApi.GetMessageThread`
Returns information about a message thread.
`static final class`
`TdApi.GetMessageThreadHistory`
Returns messages in a message thread of a message.
`static final class`
`TdApi.GetMessageViewers`
Returns viewers of a recent outgoing message in a basic group or a supergroup chat.
`static final class`
`TdApi.GetNetworkStatistics`
Returns network data usage statistics.
`static final class`
`TdApi.GetOption`
Returns the value of an option by its name.
`static final class`
`TdApi.GetPassportAuthorizationForm`
Returns a Telegram Passport authorization form for sharing data with a service.
`static final class`
`TdApi.GetPassportAuthorizationFormAvailableElements`
Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form.
`static final class`
`TdApi.GetPassportElement`
Returns one of the available Telegram Passport elements.
`static final class`
`TdApi.GetPasswordState`
Returns the current state of 2-step verification.
`static final class`
`TdApi.GetPaymentForm`
Returns an invoice payment form.
`static final class`
`TdApi.GetPaymentReceipt`
Returns information about a successful payment.
`static final class`
`TdApi.GetPhoneNumberInfo`
Returns information about a phone number by its prefix.
`static final class`
`TdApi.GetPhoneNumberInfoSync`
Returns information about a phone number by its prefix synchronously.
`static final class`
`TdApi.GetPollVoters`
Returns users voted for the specified option in a non-anonymous polls.
`static final class`
`TdApi.GetPreferredCountryLanguage`
Returns an IETF language tag of the language preferred in the country, which must be used to fill native fields in Telegram Passport personal details.
`static final class`
`TdApi.GetProxies`
Returns list of proxies that are currently set up.
`static final class`
`TdApi.GetProxyLink`
Returns an HTTPS link, which can be used to add a proxy.
`static final class`
`TdApi.GetPushReceiverId`
Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
`static final class`
`TdApi.GetRecentInlineBots`
Returns up to 20 recently used inline bots in the order of their last usage.
`static final class`
`TdApi.GetRecentlyOpenedChats`
Returns recently opened chats, this is an offline request.
`static final class`
`TdApi.GetRecentlyVisitedTMeUrls`
Returns t.me URLs recently visited by a newly registered user.
`static final class`
`TdApi.GetRecentStickers`
Returns a list of recently used stickers.
`static final class`
`TdApi.GetRecommendedChatFilters`
Returns recommended chat filters for the current user.
`static final class`
`TdApi.GetRecoveryEmailAddress`
Returns a 2-step verification recovery email address that was previously set up.
`static final class`
`TdApi.GetRemoteFile`
Returns information about a file by its remote ID; this is an offline request.
`static final class`
`TdApi.GetRepliedMessage`
Returns information about a message that is replied by a given message.
`static final class`
`TdApi.GetSavedAnimations`
Returns saved animations.
`static final class`
`TdApi.GetSavedOrderInfo`
Returns saved order info, if any.
`static final class`
`TdApi.GetScopeNotificationSettings`
Returns the notification settings for chats of a given type.
`static final class`
`TdApi.GetSecretChat`
Returns information about a secret chat by its identifier.
`static final class`
`TdApi.GetStatisticalGraph`
Loads an asynchronous or a zoomed in statistical graph.
`static final class`
`TdApi.GetStickerEmojis`
Returns emoji corresponding to a sticker.
`static final class`
`TdApi.GetStickers`
Returns stickers from the installed sticker sets that correspond to a given emoji.
`static final class`
`TdApi.GetStickerSet`
Returns information about a sticker set by its identifier.
`static final class`
`TdApi.GetStorageStatistics`
Returns storage usage statistics.
`static final class`
`TdApi.GetStorageStatisticsFast`
Quickly returns approximate storage usage statistics.
`static final class`
`TdApi.GetSuggestedFileName`
Returns suggested name for saving a file in a given directory.
`static final class`
`TdApi.GetSuggestedStickerSetName`
Returns a suggested name for a new sticker set with a given title.
`static final class`
`TdApi.GetSuitableDiscussionChats`
Returns a list of basic group and supergroup chats, which can be used as a discussion group for a channel.
`static final class`
`TdApi.GetSupergroup`
Returns information about a supergroup or a channel by its identifier.
`static final class`
`TdApi.GetSupergroupFullInfo`
Returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.
`static final class`
`TdApi.GetSupergroupMembers`
Returns information about members or banned users in a supergroup or channel.
`static final class`
`TdApi.GetSupportUser`
Returns a user that can be contacted to get support.
`static final class`
`TdApi.GetTemporaryPasswordState`
Returns information about the current temporary password.
`static final class`
`TdApi.GetTextEntities`
Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) contained in the text.
`static final class`
`TdApi.GetTopChats`
Returns a list of frequently used chats.
`static final class`
`TdApi.GetTrendingStickerSets`
Returns a list of trending sticker sets.
`static final class`
`TdApi.GetUser`
Returns information about a user by their identifier.
`static final class`
`TdApi.GetUserFullInfo`
Returns full information about a user by their identifier.
`static final class`
`TdApi.GetUserPrivacySettingRules`
Returns the current privacy settings.
`static final class`
`TdApi.GetUserProfilePhotos`
Returns the profile photos of a user.
`static final class`
`TdApi.GetVideoChatAvailableParticipants`
Returns list of participant identifiers, which can be used to join video chats in a chat.
`static final class`
`TdApi.GetWebPageInstantView`
Returns an instant view version of a web page if available.
`static final class`
`TdApi.GetWebPagePreview`
Returns a web page preview by the text of the message.
`static final class`
`TdApi.GroupCall`
Describes a group call.
`static final class`
`TdApi.GroupCallId`
Contains the group call identifier.
`static final class`
`TdApi.GroupCallParticipant`
Represents a group call participant.
`static final class`
`TdApi.GroupCallParticipantVideoInfo`
Contains information about a group call participant's video channel.
`static final class`
`TdApi.GroupCallRecentSpeaker`
Describes a recently speaking participant in a group call.
`static class`
`TdApi.GroupCallVideoQuality`
This class is an abstract base class.
`static final class`
`TdApi.GroupCallVideoQualityFull`
The best available video quality.
`static final class`
`TdApi.GroupCallVideoQualityMedium`
The medium video quality.
`static final class`
`TdApi.GroupCallVideoQualityThumbnail`
The worst available video quality.
`static final class`
`TdApi.GroupCallVideoSourceGroup`
Describes a group of video synchronization source identifiers.
`static final class`
`TdApi.Hashtags`
Contains a list of hashtags.
`static final class`
`TdApi.HideSuggestedAction`
Hides a suggested action.
`static final class`
`TdApi.HttpUrl`
Contains an HTTP URL.
`static final class`
`TdApi.IdentityDocument`
An identity document.
`static final class`
`TdApi.ImportContacts`
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.
`static final class`
`TdApi.ImportedContacts`
Represents the result of an ImportContacts request.
`static final class`
`TdApi.ImportMessages`
Imports messages exported from another app.
`static final class`
`TdApi.InlineKeyboardButton`
Represents a single button in an inline keyboard.
`static class`
`TdApi.InlineKeyboardButtonType`
This class is an abstract base class.
`static final class`
`TdApi.InlineKeyboardButtonTypeBuy`
A button to buy something.
`static final class`
`TdApi.InlineKeyboardButtonTypeCallback`
A button that sends a callback query to a bot.
`static final class`
`TdApi.InlineKeyboardButtonTypeCallbackGame`
A button with a game that sends a callback query to a bot.
`static final class`
`TdApi.InlineKeyboardButtonTypeCallbackWithPassword`
A button that asks for password of the current user and then sends a callback query to a bot.
`static final class`
`TdApi.InlineKeyboardButtonTypeLoginUrl`
A button that opens a specified URL and automatically authorize the current user if allowed to do so.
`static final class`
`TdApi.InlineKeyboardButtonTypeSwitchInline`
A button that forces an inline query to the bot to be inserted in the input field.
`static final class`
`TdApi.InlineKeyboardButtonTypeUrl`
A button that opens a specified URL.
`static class`
`TdApi.InlineQueryResult`
This class is an abstract base class.
`static final class`
`TdApi.InlineQueryResultAnimation`
Represents an animation file.
`static final class`
`TdApi.InlineQueryResultArticle`
Represents a link to an article or web page.
`static final class`
`TdApi.InlineQueryResultAudio`
Represents an audio file.
`static final class`
`TdApi.InlineQueryResultContact`
Represents a user contact.
`static final class`
`TdApi.InlineQueryResultDocument`
Represents a document.
`static final class`
`TdApi.InlineQueryResultGame`
Represents information about a game.
`static final class`
`TdApi.InlineQueryResultLocation`
Represents a point on the map.
`static final class`
`TdApi.InlineQueryResultPhoto`
Represents a photo.
`static final class`
`TdApi.InlineQueryResults`
Represents the results of the inline query.
`static final class`
`TdApi.InlineQueryResultSticker`
Represents a sticker.
`static final class`
`TdApi.InlineQueryResultVenue`
Represents information about a venue.
`static final class`
`TdApi.InlineQueryResultVideo`
Represents a video.
`static final class`
`TdApi.InlineQueryResultVoiceNote`
Represents a voice note.
`static class`
`TdApi.InputBackground`
This class is an abstract base class.
`static final class`
`TdApi.InputBackgroundLocal`
A background from a local file.
`static final class`
`TdApi.InputBackgroundRemote`
A background from the server.
`static class`
`TdApi.InputChatPhoto`
This class is an abstract base class.
`static final class`
`TdApi.InputChatPhotoAnimation`
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 final class`
`TdApi.InputChatPhotoPrevious`
A previously used profile photo of the current user.
`static final class`
`TdApi.InputChatPhotoStatic`
A static photo in JPEG format.
`static class`
`TdApi.InputCredentials`
This class is an abstract base class.
`static final class`
`TdApi.InputCredentialsApplePay`
Applies if a user enters new credentials using Apple Pay.
`static final class`
`TdApi.InputCredentialsGooglePay`
Applies if a user enters new credentials using Google Pay.
`static final class`
`TdApi.InputCredentialsNew`
Applies if a user enters new credentials on a payment provider website.
`static final class`
`TdApi.InputCredentialsSaved`
Applies if a user chooses some previously saved payment credentials.
`static class`
`TdApi.InputFile`
This class is an abstract base class.
`static final class`
`TdApi.InputFileGenerated`
A file generated by the application.
`static final class`
`TdApi.InputFileId`
A file defined by its unique ID.
`static final class`
`TdApi.InputFileLocal`
A file defined by a local path.
`static final class`
`TdApi.InputFileRemote`
A file defined by its remote ID.
`static final class`
`TdApi.InputIdentityDocument`
An identity document to be saved to Telegram Passport.
`static class`
`TdApi.InputInlineQueryResult`
This class is an abstract base class.
`static final class`
`TdApi.InputInlineQueryResultAnimation`
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.
`static final class`
`TdApi.InputInlineQueryResultArticle`
Represents a link to an article or web page.
`static final class`
`TdApi.InputInlineQueryResultAudio`
Represents a link to an MP3 audio file.
`static final class`
`TdApi.InputInlineQueryResultContact`
Represents a user contact.
`static final class`
`TdApi.InputInlineQueryResultDocument`
Represents a link to a file.
`static final class`
`TdApi.InputInlineQueryResultGame`
Represents a game.
`static final class`
`TdApi.InputInlineQueryResultLocation`
Represents a point on the map.
`static final class`
`TdApi.InputInlineQueryResultPhoto`
Represents link to a JPEG image.
`static final class`
`TdApi.InputInlineQueryResultSticker`
Represents a link to a WEBP or TGS sticker.
`static final class`
`TdApi.InputInlineQueryResultVenue`
Represents information about a venue.
`static final class`
`TdApi.InputInlineQueryResultVideo`
Represents a link to a page containing an embedded video player or a video file.
`static final class`
`TdApi.InputInlineQueryResultVoiceNote`
Represents a link to an opus-encoded audio file within an OGG container, single channel audio.
`static final class`
`TdApi.InputMessageAnimation`
An animation message (GIF-style).
`static final class`
`TdApi.InputMessageAudio`
An audio message.
`static final class`
`TdApi.InputMessageContact`
A message containing a user contact.
`static class`
`TdApi.InputMessageContent`
This class is an abstract base class.
`static final class`
`TdApi.InputMessageDice`
A dice message.
`static final class`
`TdApi.InputMessageDocument`
A document message (general file).
`static final class`
`TdApi.InputMessageForwarded`
A forwarded message.
`static final class`
`TdApi.InputMessageGame`
A message with a game; not supported for channels or secret chats.
`static final class`
`TdApi.InputMessageInvoice`
A message with an invoice; can be used only by bots.
`static final class`
`TdApi.InputMessageLocation`
A message with a location.
`static final class`
`TdApi.InputMessagePhoto`
A photo message.
`static final class`
`TdApi.InputMessagePoll`
A message with a poll.
`static final class`
`TdApi.InputMessageSticker`
A sticker message.
`static final class`
`TdApi.InputMessageText`
A text message.
`static final class`
`TdApi.InputMessageVenue`
A message with information about a venue.
`static final class`
`TdApi.InputMessageVideo`
A video message.
`static final class`
`TdApi.InputMessageVideoNote`
A video note message.
`static final class`
`TdApi.InputMessageVoiceNote`
A voice note message.
`static class`
`TdApi.InputPassportElement`
This class is an abstract base class.
`static final class`
`TdApi.InputPassportElementAddress`
A Telegram Passport element to be saved containing the user's address.
`static final class`
`TdApi.InputPassportElementBankStatement`
A Telegram Passport element to be saved containing the user's bank statement.
`static final class`
`TdApi.InputPassportElementDriverLicense`
A Telegram Passport element to be saved containing the user's driver license.
`static final class`
`TdApi.InputPassportElementEmailAddress`
A Telegram Passport element to be saved containing the user's email address.
`static final class`
`TdApi.InputPassportElementError`
Contains the description of an error in a Telegram Passport element; for bots only.
`static class`
`TdApi.InputPassportElementErrorSource`
This class is an abstract base class.
`static final class`
`TdApi.InputPassportElementErrorSourceDataField`
A data field contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceFile`
The file contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceFiles`
The list of attached files contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceFrontSide`
The front side of the document contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceReverseSide`
The reverse side of the document contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceSelfie`
The selfie contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceTranslationFile`
One of the files containing the translation of the document contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceTranslationFiles`
The translation of the document contains an error.
`static final class`
`TdApi.InputPassportElementErrorSourceUnspecified`
The element contains an error in an unspecified place.
`static final class`
`TdApi.InputPassportElementIdentityCard`
A Telegram Passport element to be saved containing the user's identity card.
`static final class`
`TdApi.InputPassportElementInternalPassport`
A Telegram Passport element to be saved containing the user's internal passport.
`static final class`
`TdApi.InputPassportElementPassport`
A Telegram Passport element to be saved containing the user's passport.
`static final class`
`TdApi.InputPassportElementPassportRegistration`
A Telegram Passport element to be saved containing the user's passport registration.
`static final class`
`TdApi.InputPassportElementPersonalDetails`
A Telegram Passport element to be saved containing the user's personal details.
`static final class`
`TdApi.InputPassportElementPhoneNumber`
A Telegram Passport element to be saved containing the user's phone number.
`static final class`
`TdApi.InputPassportElementRentalAgreement`
A Telegram Passport element to be saved containing the user's rental agreement.
`static final class`
`TdApi.InputPassportElementTemporaryRegistration`
A Telegram Passport element to be saved containing the user's temporary registration.
`static final class`
`TdApi.InputPassportElementUtilityBill`
A Telegram Passport element to be saved containing the user's utility bill.
`static final class`
`TdApi.InputPersonalDocument`
A personal document to be saved to Telegram Passport.
`static class`
`TdApi.InputSticker`
This class is an abstract base class.
`static final class`
`TdApi.InputStickerAnimated`
An animated sticker in TGS format.
`static final class`
`TdApi.InputStickerStatic`
A static sticker in PNG format, which will be converted to WEBP server-side.
`static final class`
`TdApi.InputThumbnail`
A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size.
`static class`
`TdApi.InternalLinkType`
This class is an abstract base class.
`static final class`
`TdApi.InternalLinkTypeActiveSessions`
The link is a link to the active sessions section of the app.
`static final class`
`TdApi.InternalLinkTypeAuthenticationCode`
The link contains an authentication code.
`static final class`
`TdApi.InternalLinkTypeBackground`
The link is a link to a background.
`static final class`
`TdApi.InternalLinkTypeBotStart`
The link is a link to a chat with a Telegram bot.
`static final class`
`TdApi.InternalLinkTypeBotStartInGroup`
The link is a link to a Telegram bot, which is supposed to be added to a group chat.
`static final class`
`TdApi.InternalLinkTypeChangePhoneNumber`
The link is a link to the change phone number section of the app.
`static final class`
`TdApi.InternalLinkTypeChatInvite`
The link is a chat invite link.
`static final class`
`TdApi.InternalLinkTypeFilterSettings`
The link is a link to the filter settings section of the app.
`static final class`
`TdApi.InternalLinkTypeGame`
The link is a link to a game.
`static final class`
`TdApi.InternalLinkTypeLanguagePack`
The link is a link to a language pack.
`static final class`
`TdApi.InternalLinkTypeMessage`
The link is a link to a Telegram message.
`static final class`
`TdApi.InternalLinkTypeMessageDraft`
The link contains a message draft text.
`static final class`
`TdApi.InternalLinkTypePassportDataRequest`
The link contains a request of Telegram passport data.
`static final class`
`TdApi.InternalLinkTypePhoneNumberConfirmation`
The link can be used to confirm ownership of a phone number to prevent account deletion.
`static final class`
`TdApi.InternalLinkTypeProxy`
The link is a link to a proxy.
`static final class`
`TdApi.InternalLinkTypePublicChat`
The link is a link to a chat by its username.
`static final class`
`TdApi.InternalLinkTypeQrCodeAuthentication`
The link can be used to login the current user on another device, but it must be scanned from QR-code using in-app camera.
`static final class`
`TdApi.InternalLinkTypeSettings`
The link is a link to app settings.
`static final class`
`TdApi.InternalLinkTypeStickerSet`
The link is a link to a sticker set.
`static final class`
`TdApi.InternalLinkTypeTheme`
The link is a link to a theme.
`static final class`
`TdApi.InternalLinkTypeThemeSettings`
The link is a link to the theme settings section of the app.
`static final class`
`TdApi.InternalLinkTypeUnknownDeepLink`
The link is an unknown tg: link.
`static final class`
`TdApi.InternalLinkTypeUnsupportedProxy`
The link is a link to an unsupported proxy.
`static final class`
`TdApi.InternalLinkTypeVideoChat`
The link is a link to a video chat.
`static final class`
`TdApi.InviteGroupCallParticipants`
Invites users to an active group call.
`static final class`
`TdApi.Invoice`
Product invoice.
`static final class`
`TdApi.JoinChat`
Adds the current user as a new member to a chat.
`static final class`
`TdApi.JoinChatByInviteLink`
Uses an invite link to add the current user to the chat if possible.
`static final class`
`TdApi.JoinGroupCall`
Joins an active group call.
`static final class`
`TdApi.JsonObjectMember`
Represents one member of a JSON object.
`static class`
`TdApi.JsonValue`
This class is an abstract base class.
`static final class`
`TdApi.JsonValueArray`
Represents a JSON array.
`static final class`
`TdApi.JsonValueBoolean`
Represents a boolean JSON value.
`static final class`
`TdApi.JsonValueNull`
Represents a null JSON value.
`static final class`
`TdApi.JsonValueNumber`
Represents a numeric JSON value.
`static final class`
`TdApi.JsonValueObject`
Represents a JSON object.
`static final class`
`TdApi.JsonValueString`
Represents a string JSON value.
`static final class`
`TdApi.KeyboardButton`
Represents a single button in a bot keyboard.
`static class`
`TdApi.KeyboardButtonType`
This class is an abstract base class.
`static final class`
`TdApi.KeyboardButtonTypeRequestLocation`
A button that sends the user's location when pressed; available only in private chats.
`static final class`
`TdApi.KeyboardButtonTypeRequestPhoneNumber`
A button that sends the user's phone number when pressed; available only in private chats.
`static final class`
`TdApi.KeyboardButtonTypeRequestPoll`
A button that allows the user to create and send a poll when pressed; available only in private chats.
`static final class`
`TdApi.KeyboardButtonTypeText`
A simple button, with text that must be sent when the button is pressed.
`static final class`
`TdApi.LabeledPricePart`
Portion of the price of a product (e.g., "delivery cost", "tax amount").
`static final class`
`TdApi.LanguagePackInfo`
Contains information about a language pack.
`static final class`
`TdApi.LanguagePackString`
Represents one language pack string.
`static final class`
`TdApi.LanguagePackStrings`
Contains a list of language pack strings.
`static class`
`TdApi.LanguagePackStringValue`
This class is an abstract base class.
`static final class`
`TdApi.LanguagePackStringValueDeleted`
A deleted language pack string, the value must be taken from the built-in English language pack.
`static final class`
`TdApi.LanguagePackStringValueOrdinary`
An ordinary language pack string.
`static final class`
`TdApi.LanguagePackStringValuePluralized`
A language pack string which has different forms based on the number of some object it mentions.
`static final class`
`TdApi.LeaveChat`
Removes the current user from chat members.
`static final class`
`TdApi.LeaveGroupCall`
Leaves a group call.
`static final class`
`TdApi.LoadChats`
Loads more chats from a chat list.
`static final class`
`TdApi.LoadGroupCallParticipants`
Loads more participants of a group call.
`static final class`
`TdApi.LocalFile`
Represents a local file.
`static final class`
`TdApi.LocalizationTargetInfo`
Contains information about the current localization target.
`static final class`
`TdApi.Location`
Describes a location on planet Earth.
`static class`
`TdApi.LoginUrlInfo`
This class is an abstract base class.
`static final class`
`TdApi.LoginUrlInfoOpen`
An HTTP url needs to be open.
`static final class`
`TdApi.LoginUrlInfoRequestConfirmation`
An authorization confirmation dialog needs to be shown to the user.
`static final class`
`TdApi.LogOut`
Closes the TDLib instance after a proper logout.
`static class`
`TdApi.LogStream`
This class is an abstract base class.
`static final class`
`TdApi.LogStreamDefault`
The log is written to stderr or an OS specific log.
`static final class`
`TdApi.LogStreamEmpty`
The log is written nowhere.
`static final class`
`TdApi.LogStreamFile`
The log is written to a file.
`static final class`
`TdApi.LogTags`
Contains a list of available TDLib internal log tags.
`static final class`
`TdApi.LogVerbosityLevel`
Contains a TDLib internal log verbosity level.
`static class`
`TdApi.MaskPoint`
This class is an abstract base class.
`static final class`
`TdApi.MaskPointChin`
The mask is placed relatively to the chin.
`static final class`
`TdApi.MaskPointEyes`
The mask is placed relatively to the eyes.
`static final class`
`TdApi.MaskPointForehead`
The mask is placed relatively to the forehead.
`static final class`
`TdApi.MaskPointMouth`
The mask is placed relatively to the mouth.
`static final class`
`TdApi.MaskPosition`
Position on a photo where a mask is placed.
`static final class`
`TdApi.MemoryStatistics`
Contains memory statistics.
`static final class`
`TdApi.Message`
Describes a message.
`static final class`
`TdApi.MessageAnimatedEmoji`
A message with an animated emoji.
`static final class`
`TdApi.MessageAnimation`
An animation message (GIF-style).
`static final class`
`TdApi.MessageAudio`
An audio message.
`static final class`
`TdApi.MessageBasicGroupChatCreate`
A newly created basic group.
`static final class`
`TdApi.MessageCalendar`
Contains information about found messages, splitted by days according to the option "utc_time_offset".
`static final class`
`TdApi.MessageCalendarDay`
Contains information about found messages sent in a specific day.
`static final class`
`TdApi.MessageCall`
A message with information about an ended call.
`static final class`
`TdApi.MessageChatAddMembers`
New chat members were added.
`static final class`
`TdApi.MessageChatChangePhoto`
An updated chat photo.
`static final class`
`TdApi.MessageChatChangeTitle`
An updated chat title.
`static final class`
`TdApi.MessageChatDeleteMember`
A chat member was deleted.
`static final class`
`TdApi.MessageChatDeletePhoto`
A deleted chat photo.
`static final class`
`TdApi.MessageChatJoinByLink`
A new member joined the chat by invite link.
`static final class`
`TdApi.MessageChatJoinByRequest`
A new member was accepted to the chat by an administrator.
`static final class`
`TdApi.MessageChatSetTheme`
A theme in the chat has been changed.
`static final class`
`TdApi.MessageChatSetTtl`
The TTL (Time To Live) setting for messages in the chat has been changed.
`static final class`
`TdApi.MessageChatUpgradeFrom`
A supergroup has been created from a basic group.
`static final class`
`TdApi.MessageChatUpgradeTo`
A basic group was upgraded to a supergroup and was deactivated as the result.
`static final class`
`TdApi.MessageContact`
A message with a user contact.
`static final class`
`TdApi.MessageContactRegistered`
A contact has registered with Telegram.
`static class`
`TdApi.MessageContent`
This class is an abstract base class.
`static final class`
`TdApi.MessageCopyOptions`
Options to be used when a message content is copied without reference to the original sender.
`static final class`
`TdApi.MessageCustomServiceAction`
A non-standard action has happened in the chat.
`static final class`
`TdApi.MessageDice`
A dice message.
`static final class`
`TdApi.MessageDocument`
A document message (general file).
`static final class`
`TdApi.MessageExpiredPhoto`
An expired photo message (self-destructed after TTL has elapsed).
`static final class`
`TdApi.MessageExpiredVideo`
An expired video message (self-destructed after TTL has elapsed).
`static class`
`TdApi.MessageFileType`
This class is an abstract base class.
`static final class`
`TdApi.MessageFileTypeGroup`
The messages was exported from a group chat.
`static final class`
`TdApi.MessageFileTypePrivate`
The messages was exported from a private chat.
`static final class`
`TdApi.MessageFileTypeUnknown`
The messages was exported from a chat of unknown type.
`static final class`
`TdApi.MessageForwardInfo`
Contains information about a forwarded message.
`static class`
`TdApi.MessageForwardOrigin`
This class is an abstract base class.
`static final class`
`TdApi.MessageForwardOriginChannel`
The message was originally a post in a channel.
`static final class`
`TdApi.MessageForwardOriginChat`
The message was originally sent by an anonymous chat administrator on behalf of the chat.
`static final class`
`TdApi.MessageForwardOriginHiddenUser`
The message was originally sent by a user, which is hidden by their privacy settings.
`static final class`
`TdApi.MessageForwardOriginMessageImport`
The message was imported from an exported message history.
`static final class`
`TdApi.MessageForwardOriginUser`
The message was originally sent by a known user.
`static final class`
`TdApi.MessageGame`
A message with a game.
`static final class`
`TdApi.MessageGameScore`
A new high score was achieved in a game.
`static final class`
`TdApi.MessageInteractionInfo`
Contains information about interactions with a message.
`static final class`
`TdApi.MessageInviteVideoChatParticipants`
A message with information about an invite to a video chat.
`static final class`
`TdApi.MessageInvoice`
A message with an invoice from a bot.
`static final class`
`TdApi.MessageLink`
Contains an HTTPS link to a message in a supergroup or channel.
`static final class`
`TdApi.MessageLinkInfo`
Contains information about a link to a message in a chat.
`static final class`
`TdApi.MessageLocation`
A message with a location.
`static final class`
`TdApi.MessagePassportDataReceived`
Telegram Passport data has been received; for bots only.
`static final class`
`TdApi.MessagePassportDataSent`
Telegram Passport data has been sent.
`static final class`
`TdApi.MessagePaymentSuccessful`
A payment has been completed.
`static final class`
`TdApi.MessagePaymentSuccessfulBot`
A payment has been completed; for bots only.
`static final class`
`TdApi.MessagePhoto`
A photo message.
`static final class`
`TdApi.MessagePinMessage`
A message has been pinned.
`static final class`
`TdApi.MessagePoll`
A message with a poll.
`static final class`
`TdApi.MessagePosition`
Contains information about a message in a specific position.
`static final class`
`TdApi.MessagePositions`
Contains a list of message positions.
`static final class`
`TdApi.MessageProximityAlertTriggered`
A user in the chat came within proximity alert range.
`static final class`
`TdApi.MessageReplyInfo`
Contains information about replies to a message.
`static final class`
`TdApi.Messages`
Contains a list of messages.
`static class`
`TdApi.MessageSchedulingState`
This class is an abstract base class.
`static final class`
`TdApi.MessageSchedulingStateSendAtDate`
The message will be sent at the specified date.
`static final class`
`TdApi.MessageSchedulingStateSendWhenOnline`
The message will be sent when the peer will be online.
`static final class`
`TdApi.MessageScreenshotTaken`
A screenshot of a message in the chat has been taken.
`static class`
`TdApi.MessageSender`
This class is an abstract base class.
`static final class`
`TdApi.MessageSenderChat`
The message was sent on behalf of a chat.
`static final class`
`TdApi.MessageSenders`
Represents a list of message senders.
`static final class`
`TdApi.MessageSenderUser`
The message was sent by a known user.
`static class`
`TdApi.MessageSendingState`
This class is an abstract base class.
`static final class`
`TdApi.MessageSendingStateFailed`
The message failed to be sent.
`static final class`
`TdApi.MessageSendingStatePending`
The message is being sent now, but has not yet been delivered to the server.
`static final class`
`TdApi.MessageSendOptions`
Options to be used when a message is sent.
`static final class`
`TdApi.MessageStatistics`
A detailed statistics about a message.
`static final class`
`TdApi.MessageSticker`
A sticker message.
`static final class`
`TdApi.MessageSupergroupChatCreate`
A newly created supergroup or channel.
`static final class`
`TdApi.MessageText`
A text message.
`static final class`
`TdApi.MessageThreadInfo`
Contains information about a message thread.
`static final class`
`TdApi.MessageUnsupported`
Message content that is not supported in the current TDLib version.
`static final class`
`TdApi.MessageVenue`
A message with information about a venue.
`static final class`
`TdApi.MessageVideo`
A video message.
`static final class`
`TdApi.MessageVideoChatEnded`
A message with information about an ended video chat.
`static final class`
`TdApi.MessageVideoChatScheduled`
A new video chat was scheduled.
`static final class`
`TdApi.MessageVideoChatStarted`
A newly created video chat.
`static final class`
`TdApi.MessageVideoNote`
A video note message.
`static final class`
`TdApi.MessageVoiceNote`
A voice note message.
`static final class`
`TdApi.MessageWebsiteConnected`
The current user has connected a website by logging in using Telegram Login Widget on it.
`static final class`
`TdApi.Minithumbnail`
Thumbnail image of a very poor quality and low resolution.
`static final class`
`TdApi.NetworkStatistics`
A full list of available network statistic entries.
`static class`
`TdApi.NetworkStatisticsEntry`
This class is an abstract base class.
`static final class`
`TdApi.NetworkStatisticsEntryCall`
Contains information about the total amount of data that was used for calls.
`static final class`
`TdApi.NetworkStatisticsEntryFile`
Contains information about the total amount of data that was used to send and receive files.
`static class`
`TdApi.NetworkType`
This class is an abstract base class.
`static final class`
`TdApi.NetworkTypeMobile`
A mobile network.
`static final class`
`TdApi.NetworkTypeMobileRoaming`
A mobile roaming network.
`static final class`
`TdApi.NetworkTypeNone`
The network is not available.
`static final class`
`TdApi.NetworkTypeOther`
A different network type (e.g., Ethernet network).
`static final class`
`TdApi.NetworkTypeWiFi`
A Wi-Fi network.
`static final class`
`TdApi.Notification`
Contains information about a notification.
`static final class`
`TdApi.NotificationGroup`
Describes a group of notifications.
`static class`
`TdApi.NotificationGroupType`
This class is an abstract base class.
`static final class`
`TdApi.NotificationGroupTypeCalls`
A group containing notifications of type notificationTypeNewCall.
`static final class`
`TdApi.NotificationGroupTypeMentions`
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message.
`static final class`
`TdApi.NotificationGroupTypeMessages`
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages.
`static final class`
`TdApi.NotificationGroupTypeSecretChat`
A group containing a notification of type notificationTypeNewSecretChat.
`static class`
`TdApi.NotificationSettingsScope`
This class is an abstract base class.
`static final class`
`TdApi.NotificationSettingsScopeChannelChats`
Notification settings applied to all channels when the corresponding chat setting has a default value.
`static final class`
`TdApi.NotificationSettingsScopeGroupChats`
Notification settings applied to all basic groups and supergroups when the corresponding chat setting has a default value.
`static final class`
`TdApi.NotificationSettingsScopePrivateChats`
Notification settings applied to all private and secret chats when the corresponding chat setting has a default value.
`static class`
`TdApi.NotificationType`
This class is an abstract base class.
`static final class`
`TdApi.NotificationTypeNewCall`
New call was received.
`static final class`
`TdApi.NotificationTypeNewMessage`
New message was received.
`static final class`
`TdApi.NotificationTypeNewPushMessage`
New message was received through a push notification.
`static final class`
`TdApi.NotificationTypeNewSecretChat`
New secret chat was created.
`static class`
`TdApi.Object`
`static final class`
`TdApi.Ok`
An object of this type is returned on a successful function call for certain functions.
`static final class`
`TdApi.OpenChat`
Informs TDLib that the chat is opened by the user.
`static final class`
`TdApi.OpenMessageContent`
Informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).
`static final class`
`TdApi.OptimizeStorage`
Optimizes storage usage, i.e.
`static class`
`TdApi.OptionValue`
This class is an abstract base class.
`static final class`
`TdApi.OptionValueBoolean`
Represents a boolean option.
`static final class`
`TdApi.OptionValueEmpty`
Represents an unknown option or an option which has a default value.
`static final class`
`TdApi.OptionValueInteger`
Represents an integer option.
`static final class`
`TdApi.OptionValueString`
Represents a string option.
`static final class`
`TdApi.OrderInfo`
Order information.
`static class`
`TdApi.PageBlock`
This class is an abstract base class.
`static final class`
`TdApi.PageBlockAnchor`
An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor.
`static final class`
`TdApi.PageBlockAnimation`
An animation.
`static final class`
`TdApi.PageBlockAudio`
An audio file.
`static final class`
`TdApi.PageBlockAuthorDate`
The author and publishing date of a page.
`static final class`
`TdApi.PageBlockBlockQuote`
A block quote.
`static final class`
`TdApi.PageBlockCaption`
Contains a caption of an instant view web page block, consisting of a text and a trailing credit.
`static final class`
`TdApi.PageBlockChatLink`
A link to a chat.
`static final class`
`TdApi.PageBlockCollage`
A collage.
`static final class`
`TdApi.PageBlockCover`
A page cover.
`static final class`
`TdApi.PageBlockDetails`
A collapsible block.
`static final class`
`TdApi.PageBlockDivider`
An empty block separating a page.
`static final class`
`TdApi.PageBlockEmbedded`
An embedded web page.
`static final class`
`TdApi.PageBlockEmbeddedPost`
An embedded post.
`static final class`
`TdApi.PageBlockFooter`
The footer of a page.
`static final class`
`TdApi.PageBlockHeader`
A header.
`static class`
`TdApi.PageBlockHorizontalAlignment`
This class is an abstract base class.
`static final class`
`TdApi.PageBlockHorizontalAlignmentCenter`
The content must be center-aligned.
`static final class`
`TdApi.PageBlockHorizontalAlignmentLeft`
The content must be left-aligned.
`static final class`
`TdApi.PageBlockHorizontalAlignmentRight`
The content must be right-aligned.
`static final class`
`TdApi.PageBlockKicker`
A kicker.
`static final class`
`TdApi.PageBlockList`
A list of data blocks.
`static final class`
`TdApi.PageBlockListItem`
Describes an item of a list page block.
`static final class`
`TdApi.PageBlockMap`
A map.
`static final class`
`TdApi.PageBlockParagraph`
A text paragraph.
`static final class`
`TdApi.PageBlockPhoto`
A photo.
`static final class`
`TdApi.PageBlockPreformatted`
A preformatted text paragraph.
`static final class`
`TdApi.PageBlockPullQuote`
A pull quote.
`static final class`
`TdApi.PageBlockRelatedArticle`
Contains information about a related article.
`static final class`
`TdApi.PageBlockRelatedArticles`
Related articles.
`static final class`
`TdApi.PageBlockSlideshow`
A slideshow.
`static final class`
`TdApi.PageBlockSubheader`
A subheader.
`static final class`
`TdApi.PageBlockSubtitle`
The subtitle of a page.
`static final class`
`TdApi.PageBlockTable`
A table.
`static final class`
`TdApi.PageBlockTableCell`
Represents a cell of a table.
`static final class`
`TdApi.PageBlockTitle`
The title of a page.
`static class`
`TdApi.PageBlockVerticalAlignment`
This class is an abstract base class.
`static final class`
`TdApi.PageBlockVerticalAlignmentBottom`
The content must be bottom-aligned.
`static final class`
`TdApi.PageBlockVerticalAlignmentMiddle`
The content must be middle-aligned.
`static final class`
`TdApi.PageBlockVerticalAlignmentTop`
The content must be top-aligned.
`static final class`
`TdApi.PageBlockVideo`
A video.
`static final class`
`TdApi.PageBlockVoiceNote`
A voice note.
`static final class`
`TdApi.ParseMarkdown`
Parses Markdown entities in a human-friendly format, ignoring markup errors.
`static final class`
`TdApi.ParseTextEntities`
Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text.
`static final class`
`TdApi.PassportAuthorizationForm`
Contains information about a Telegram Passport authorization form that was requested.
`static class`
`TdApi.PassportElement`
This class is an abstract base class.
`static final class`
`TdApi.PassportElementAddress`
A Telegram Passport element containing the user's address.
`static final class`
`TdApi.PassportElementBankStatement`
A Telegram Passport element containing the user's bank statement.
`static final class`
`TdApi.PassportElementDriverLicense`
A Telegram Passport element containing the user's driver license.
`static final class`
`TdApi.PassportElementEmailAddress`
A Telegram Passport element containing the user's email address.
`static final class`
`TdApi.PassportElementError`
Contains the description of an error in a Telegram Passport element.
`static class`
`TdApi.PassportElementErrorSource`
This class is an abstract base class.
`static final class`
`TdApi.PassportElementErrorSourceDataField`
One of the data fields contains an error.
`static final class`
`TdApi.PassportElementErrorSourceFile`
The file contains an error.
`static final class`
`TdApi.PassportElementErrorSourceFiles`
The list of attached files contains an error.
`static final class`
`TdApi.PassportElementErrorSourceFrontSide`
The front side of the document contains an error.
`static final class`
`TdApi.PassportElementErrorSourceReverseSide`
The reverse side of the document contains an error.
`static final class`
`TdApi.PassportElementErrorSourceSelfie`
The selfie with the document contains an error.
`static final class`
`TdApi.PassportElementErrorSourceTranslationFile`
One of files with the translation of the document contains an error.
`static final class`
`TdApi.PassportElementErrorSourceTranslationFiles`
The translation of the document contains an error.
`static final class`
`TdApi.PassportElementErrorSourceUnspecified`
The element contains an error in an unspecified place.
`static final class`
`TdApi.PassportElementIdentityCard`
A Telegram Passport element containing the user's identity card.
`static final class`
`TdApi.PassportElementInternalPassport`
A Telegram Passport element containing the user's internal passport.
`static final class`
`TdApi.PassportElementPassport`
A Telegram Passport element containing the user's passport.
`static final class`
`TdApi.PassportElementPassportRegistration`
A Telegram Passport element containing the user's passport registration pages.
`static final class`
`TdApi.PassportElementPersonalDetails`
A Telegram Passport element containing the user's personal details.
`static final class`
`TdApi.PassportElementPhoneNumber`
A Telegram Passport element containing the user's phone number.
`static final class`
`TdApi.PassportElementRentalAgreement`
A Telegram Passport element containing the user's rental agreement.
`static final class`
`TdApi.PassportElements`
Contains information about saved Telegram Passport elements.
`static final class`
`TdApi.PassportElementsWithErrors`
Contains information about a Telegram Passport elements and corresponding errors.
`static final class`
`TdApi.PassportElementTemporaryRegistration`
A Telegram Passport element containing the user's temporary registration.
`static class`
`TdApi.PassportElementType`
This class is an abstract base class.
`static final class`
`TdApi.PassportElementTypeAddress`
A Telegram Passport element containing the user's address.
`static final class`
`TdApi.PassportElementTypeBankStatement`
A Telegram Passport element containing the user's bank statement.
`static final class`
`TdApi.PassportElementTypeDriverLicense`
A Telegram Passport element containing the user's driver license.
`static final class`
`TdApi.PassportElementTypeEmailAddress`
A Telegram Passport element containing the user's email address.
`static final class`
`TdApi.PassportElementTypeIdentityCard`
A Telegram Passport element containing the user's identity card.
`static final class`
`TdApi.PassportElementTypeInternalPassport`
A Telegram Passport element containing the user's internal passport.
`static final class`
`TdApi.PassportElementTypePassport`
A Telegram Passport element containing the user's passport.
`static final class`
`TdApi.PassportElementTypePassportRegistration`
A Telegram Passport element containing the registration page of the user's passport.
`static final class`
`TdApi.PassportElementTypePersonalDetails`
A Telegram Passport element containing the user's personal details.
`static final class`
`TdApi.PassportElementTypePhoneNumber`
A Telegram Passport element containing the user's phone number.
`static final class`
`TdApi.PassportElementTypeRentalAgreement`
A Telegram Passport element containing the user's rental agreement.
`static final class`
`TdApi.PassportElementTypeTemporaryRegistration`
A Telegram Passport element containing the user's temporary registration.
`static final class`
`TdApi.PassportElementTypeUtilityBill`
A Telegram Passport element containing the user's utility bill.
`static final class`
`TdApi.PassportElementUtilityBill`
A Telegram Passport element containing the user's utility bill.
`static final class`
`TdApi.PassportRequiredElement`
Contains a description of the required Telegram Passport element that was requested by a service.
`static final class`
`TdApi.PassportSuitableElement`
Contains information about a Telegram Passport element that was requested by a service.
`static final class`
`TdApi.PasswordState`
Represents the current state of 2-step verification.
`static final class`
`TdApi.PaymentForm`
Contains information about an invoice payment form.
`static final class`
`TdApi.PaymentFormTheme`
Theme colors for a payment form.
`static final class`
`TdApi.PaymentReceipt`
Contains information about a successful payment.
`static final class`
`TdApi.PaymentResult`
Contains the result of a payment request.
`static final class`
`TdApi.PaymentsProviderStripe`
Stripe payment provider.
`static final class`
`TdApi.PersonalDetails`
Contains the user's personal details.
`static final class`
`TdApi.PersonalDocument`
A personal document, containing some information about a user.
`static final class`
`TdApi.PhoneNumberAuthenticationSettings`
Contains settings for the authentication of the user's phone number.
`static final class`
`TdApi.PhoneNumberInfo`
Contains information about a phone number.
`static final class`
`TdApi.Photo`
Describes a photo.
`static final class`
`TdApi.PhotoSize`
Describes an image in JPEG format.
`static final class`
`TdApi.PinChatMessage`
Pins a message in a chat; requires canPinMessages rights or canEditMessages rights in the channel.
`static final class`
`TdApi.PingProxy`
Computes time needed to receive a response from a Telegram server through a proxy.
`static final class`
`TdApi.Point`
A point on a Cartesian plane.
`static final class`
`TdApi.Poll`
Describes a poll.
`static final class`
`TdApi.PollOption`
Describes one answer option of a poll.
`static class`
`TdApi.PollType`
This class is an abstract base class.
`static final class`
`TdApi.PollTypeQuiz`
A poll in quiz mode, which has exactly one correct answer option and can be answered only once.
`static final class`
`TdApi.PollTypeRegular`
A regular poll.
`static final class`
`TdApi.ProcessPushNotification`
Handles a push notification.
`static final class`
`TdApi.ProfilePhoto`
Describes a user profile photo.
`static final class`
`TdApi.Proxies`
Represents a list of proxy servers.
`static final class`
`TdApi.Proxy`
Contains information about a proxy server.
`static class`
`TdApi.ProxyType`
This class is an abstract base class.
`static final class`
`TdApi.ProxyTypeHttp`
A HTTP transparent proxy server.
`static final class`
`TdApi.ProxyTypeMtproto`
An MTProto proxy server.
`static final class`
`TdApi.ProxyTypeSocks5`
A SOCKS5 proxy server.
`static class`
`TdApi.PublicChatType`
This class is an abstract base class.
`static final class`
`TdApi.PublicChatTypeHasUsername`
The chat is public, because it has username.
`static final class`
`TdApi.PublicChatTypeIsLocationBased`
The chat is public, because it is a location-based supergroup.
`static class`
`TdApi.PushMessageContent`
This class is an abstract base class.
`static final class`
`TdApi.PushMessageContentAnimation`
An animation message (GIF-style).
`static final class`
`TdApi.PushMessageContentAudio`
An audio message.
`static final class`
`TdApi.PushMessageContentBasicGroupChatCreate`
A newly created basic group.
`static final class`
`TdApi.PushMessageContentChatAddMembers`
New chat members were invited to a group.
`static final class`
`TdApi.PushMessageContentChatChangePhoto`
A chat photo was edited.
`static final class`
`TdApi.PushMessageContentChatChangeTitle`
A chat title was edited.
`static final class`
`TdApi.PushMessageContentChatDeleteMember`
A chat member was deleted.
`static final class`
`TdApi.PushMessageContentChatJoinByLink`
A new member joined the chat by invite link.
`static final class`
`TdApi.PushMessageContentChatJoinByRequest`
A new member was accepted to the chat by an administrator.
`static final class`
`TdApi.PushMessageContentChatSetTheme`
A chat theme was edited.
`static final class`
`TdApi.PushMessageContentContact`
A message with a user contact.
`static final class`
`TdApi.PushMessageContentContactRegistered`
A contact has registered with Telegram.
`static final class`
`TdApi.PushMessageContentDocument`
A document message (a general file).
`static final class`
`TdApi.PushMessageContentGame`
A message with a game.
`static final class`
`TdApi.PushMessageContentGameScore`
A new high score was achieved in a game.
`static final class`
`TdApi.PushMessageContentHidden`
A general message with hidden content.
`static final class`
`TdApi.PushMessageContentInvoice`
A message with an invoice from a bot.
`static final class`
`TdApi.PushMessageContentLocation`
A message with a location.
`static final class`
`TdApi.PushMessageContentMediaAlbum`
A media album.
`static final class`
`TdApi.PushMessageContentMessageForwards`
A forwarded messages.
`static final class`
`TdApi.PushMessageContentPhoto`
A photo message.
`static final class`
`TdApi.PushMessageContentPoll`
A message with a poll.
`static final class`
`TdApi.PushMessageContentScreenshotTaken`
A screenshot of a message in the chat has been taken.
`static final class`
`TdApi.PushMessageContentSticker`
A message with a sticker.
`static final class`
`TdApi.PushMessageContentText`
A text message.
`static final class`
`TdApi.PushMessageContentVideo`
A video message.
`static final class`
`TdApi.PushMessageContentVideoNote`
A video note message.
`static final class`
`TdApi.PushMessageContentVoiceNote`
A voice note message.
`static final class`
`TdApi.PushReceiverId`
Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.
`static final class`
`TdApi.ReadAllChatMentions`
Marks all mentions in a chat as read.
`static final class`
`TdApi.ReadFilePart`
Reads a part of a file from the TDLib file cache and returns read bytes.
`static final class`
`TdApi.RecommendedChatFilter`
Describes a recommended chat filter.
`static final class`
`TdApi.RecommendedChatFilters`
Contains a list of recommended chat filters.
`static final class`
`TdApi.RecoverAuthenticationPassword`
Recovers the password with a password recovery code sent to an email address that was previously set up.
`static final class`
`TdApi.RecoverPassword`
Recovers the 2-step verification password using a recovery code sent to an email address that was previously set up.
`static final class`
`TdApi.RecoveryEmailAddress`
Contains information about the current recovery email address.
`static final class`
`TdApi.RegisterDevice`
Registers the currently used device for receiving push notifications.
`static final class`
`TdApi.RegisterUser`
Finishes user registration.
`static final class`
`TdApi.RemoteFile`
Represents a remote file.
`static final class`
`TdApi.RemoveBackground`
Removes background from the list of installed backgrounds.
`static final class`
`TdApi.RemoveChatActionBar`
Removes a chat action bar without any other action.
`static final class`
`TdApi.RemoveContacts`
Removes users from the contact list.
`static final class`
`TdApi.RemoveFavoriteSticker`
Removes a sticker from the list of favorite stickers.
`static final class`
`TdApi.RemoveNotification`
Removes an active notification from notification list.
`static final class`
`TdApi.RemoveNotificationGroup`
Removes a group of active notifications.
`static final class`
`TdApi.RemoveProxy`
Removes a proxy server.
`static final class`
`TdApi.RemoveRecentHashtag`
Removes a hashtag from the list of recently used hashtags.
`static final class`
`TdApi.RemoveRecentlyFoundChat`
Removes a chat from the list of recently found chats.
`static final class`
`TdApi.RemoveRecentSticker`
Removes a sticker from the list of recently used stickers.
`static final class`
`TdApi.RemoveSavedAnimation`
Removes an animation from the list of saved animations.
`static final class`
`TdApi.RemoveStickerFromSet`
Removes a sticker from the set to which it belongs; for bots only.
`static final class`
`TdApi.RemoveTopChat`
Removes a chat from the list of frequently used chats.
`static final class`
`TdApi.ReorderChatFilters`
Changes the order of chat filters.
`static final class`
`TdApi.ReorderInstalledStickerSets`
Changes the order of installed sticker sets.
`static final class`
`TdApi.ReplacePrimaryChatInviteLink`
Replaces current primary invite link for a chat with a new primary invite link.
`static class`
`TdApi.ReplyMarkup`
This class is an abstract base class.
`static final class`
`TdApi.ReplyMarkupForceReply`
Instructs application to force a reply to this message.
`static final class`
`TdApi.ReplyMarkupInlineKeyboard`
Contains an inline keyboard layout.
`static final class`
`TdApi.ReplyMarkupRemoveKeyboard`
Instructs application to remove the keyboard once this message has been received.
`static final class`
`TdApi.ReplyMarkupShowKeyboard`
Contains a custom keyboard layout to quickly reply to bots.
`static final class`
`TdApi.ReportChat`
Reports a chat to the Telegram moderators.
`static final class`
`TdApi.ReportChatPhoto`
Reports a chat photo to the Telegram moderators.
`static final class`
`TdApi.ReportSupergroupSpam`
Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup.
`static final class`
`TdApi.RequestAuthenticationPasswordRecovery`
Requests to send a password recovery code to an email address that was previously set up.
`static final class`
`TdApi.RequestPasswordRecovery`
Requests to send a 2-step verification password recovery code to an email address that was previously set up.
`static final class`
`TdApi.RequestQrCodeAuthentication`
Requests QR code authentication by scanning a QR code on another logged in device.
`static final class`
`TdApi.ResendAuthenticationCode`
Re-sends an authentication code to the user.
`static final class`
`TdApi.ResendChangePhoneNumberCode`
Re-sends the authentication code sent to confirm a new phone number for the current user.
`static final class`
`TdApi.ResendEmailAddressVerificationCode`
Re-sends the code to verify an email address to be added to a user's Telegram Passport.
`static final class`
`TdApi.ResendMessages`
Resends messages which failed to send.
`static final class`
`TdApi.ResendPhoneNumberConfirmationCode`
Resends phone number confirmation code.
`static final class`
`TdApi.ResendPhoneNumberVerificationCode`
Re-sends the code to verify a phone number to be added to a user's Telegram Passport.
`static final class`
`TdApi.ResendRecoveryEmailAddressCode`
Resends the 2-step verification recovery email address verification code.
`static final class`
`TdApi.ResetAllNotificationSettings`
Resets all notification settings to their default values.
`static final class`
`TdApi.ResetBackgrounds`
Resets list of installed backgrounds to its default value.
`static final class`
`TdApi.ResetNetworkStatistics`
Resets all network data usage statistics to zero.
`static final class`
`TdApi.ResetPassword`
Removes 2-step verification password without previous password and access to recovery email address.
`static class`
`TdApi.ResetPasswordResult`
This class is an abstract base class.
`static final class`
`TdApi.ResetPasswordResultDeclined`
The password reset request was declined.
`static final class`
`TdApi.ResetPasswordResultOk`
The password was reset.
`static final class`
`TdApi.ResetPasswordResultPending`
The password reset request is pending.
`static final class`
`TdApi.RevokeChatInviteLink`
Revokes invite link for a chat.
`static final class`
`TdApi.RevokeGroupCallInviteLink`
Revokes invite link for a group call.
`static class`
`TdApi.RichText`
This class is an abstract base class.
`static final class`
`TdApi.RichTextAnchor`
An anchor.
`static final class`
`TdApi.RichTextAnchorLink`
A link to an anchor on the same web page.
`static final class`
`TdApi.RichTextBold`
A bold rich text.
`static final class`
`TdApi.RichTextEmailAddress`
A rich text email link.
`static final class`
`TdApi.RichTextFixed`
A fixed-width rich text.
`static final class`
`TdApi.RichTextIcon`
A small image inside the text.
`static final class`
`TdApi.RichTextItalic`
An italicized rich text.
`static final class`
`TdApi.RichTextMarked`
A marked rich text.
`static final class`
`TdApi.RichTextPhoneNumber`
A rich text phone number.
`static final class`
`TdApi.RichTextPlain`
A plain text.
`static final class`
`TdApi.RichTextReference`
A reference to a richTexts object on the same web page.
`static final class`
`TdApi.RichTexts`
A concatenation of rich texts.
`static final class`
`TdApi.RichTextStrikethrough`
A strikethrough rich text.
`static final class`
`TdApi.RichTextSubscript`
A subscript rich text.
`static final class`
`TdApi.RichTextSuperscript`
A superscript rich text.
`static final class`
`TdApi.RichTextUnderline`
An underlined rich text.
`static final class`
`TdApi.RichTextUrl`
A rich text URL link.
`static final class`
`TdApi.SaveApplicationLogEvent`
Saves application log event on the server.
`static final class`
`TdApi.SavedCredentials`
Contains information about saved card credentials.
`static final class`
`TdApi.ScopeNotificationSettings`
Contains information about notification settings for several chats.
`static final class`
`TdApi.SearchBackground`
Searches for a background by its name.
`static final class`
`TdApi.SearchCallMessages`
Searches for call messages.
`static final class`
`TdApi.SearchChatMembers`
Searches for a specified query in the first name, last name and username of the members of a specified chat.
`static final class`
`TdApi.SearchChatMessages`
Searches for messages with given words in the chat.
`static final class`
`TdApi.SearchChatRecentLocationMessages`
Returns information about the recent locations of chat members that were sent to the chat.
`static final class`
`TdApi.SearchChats`
Searches for the specified query in the title and username of already known chats, this is an offline request.
`static final class`
`TdApi.SearchChatsNearby`
Returns a list of users and location-based supergroups nearby.
`static final class`
`TdApi.SearchChatsOnServer`
Searches for the specified query in the title and username of already known chats via request to the server.
`static final class`
`TdApi.SearchContacts`
Searches for the specified query in the first names, last names and usernames of the known user contacts.
`static final class`
`TdApi.SearchEmojis`
Searches for emojis by keywords.
`static final class`
`TdApi.SearchHashtags`
Searches for recently used hashtags by their prefix.
`static final class`
`TdApi.SearchInstalledStickerSets`
Searches for installed sticker sets by looking for specified query in their title and name.
`static final class`
`TdApi.SearchMessages`
Searches for messages in all chats except secret chats.
`static class`
`TdApi.SearchMessagesFilter`
This class is an abstract base class.
`static final class`
`TdApi.SearchMessagesFilterAnimation`
Returns only animation messages.
`static final class`
`TdApi.SearchMessagesFilterAudio`
Returns only audio messages.
`static final class`
`TdApi.SearchMessagesFilterCall`
Returns only call messages.
`static final class`
`TdApi.SearchMessagesFilterChatPhoto`
Returns only messages containing chat photos.
`static final class`
`TdApi.SearchMessagesFilterDocument`
Returns only document messages.
`static final class`
`TdApi.SearchMessagesFilterEmpty`
Returns all found messages, no filter is applied.
`static final class`
`TdApi.SearchMessagesFilterFailedToSend`
Returns only failed to send messages.
`static final class`
`TdApi.SearchMessagesFilterMention`
Returns only messages with mentions of the current user, or messages that are replies to their messages.
`static final class`
`TdApi.SearchMessagesFilterMissedCall`
Returns only incoming call messages with missed/declined discard reasons.
`static final class`
`TdApi.SearchMessagesFilterPhoto`
Returns only photo messages.
`static final class`
`TdApi.SearchMessagesFilterPhotoAndVideo`
Returns only photo and video messages.
`static final class`
`TdApi.SearchMessagesFilterPinned`
Returns only pinned messages.
`static final class`
`TdApi.SearchMessagesFilterUnreadMention`
Returns only messages with unread mentions of the current user, or messages that are replies to their messages.
`static final class`
`TdApi.SearchMessagesFilterUrl`
Returns only messages containing URLs.
`static final class`
`TdApi.SearchMessagesFilterVideo`
Returns only video messages.
`static final class`
`TdApi.SearchMessagesFilterVideoNote`
Returns only video note messages.
`static final class`
`TdApi.SearchMessagesFilterVoiceAndVideoNote`
Returns only voice and video note messages.
`static final class`
`TdApi.SearchMessagesFilterVoiceNote`
Returns only voice note messages.
`static final class`
`TdApi.SearchPublicChat`
Searches a public chat by its username.
`static final class`
`TdApi.SearchPublicChats`
Searches public chats by looking for specified query in their username and title.
`static final class`
`TdApi.SearchSecretMessages`
Searches for messages in secret chats.
`static final class`
`TdApi.SearchStickers`
Searches for stickers from public sticker sets that correspond to a given emoji.
`static final class`
`TdApi.SearchStickerSet`
Searches for a sticker set by its name.
`static final class`
`TdApi.SearchStickerSets`
Searches for ordinary sticker sets by looking for specified query in their title and name.
`static final class`
`TdApi.Seconds`
Contains a value representing a number of seconds.
`static final class`
`TdApi.SecretChat`
Represents a secret chat.
`static class`
`TdApi.SecretChatState`
This class is an abstract base class.
`static final class`
`TdApi.SecretChatStateClosed`
The secret chat is closed.
`static final class`
`TdApi.SecretChatStatePending`
The secret chat is not yet created; waiting for the other user to get online.
`static final class`
`TdApi.SecretChatStateReady`
The secret chat is ready to use.
`static final class`
`TdApi.SendBotStartMessage`
Invites a bot to a chat (if it is not yet a member) and sends it the /start command.
`static final class`
`TdApi.SendCallDebugInformation`
Sends debug information for a call.
`static final class`
`TdApi.SendCallRating`
Sends a call rating.
`static final class`
`TdApi.SendCallSignalingData`
Sends call signaling data.
`static final class`
`TdApi.SendChatAction`
Sends a notification about user activity in a chat.
`static final class`
`TdApi.SendChatScreenshotTakenNotification`
Sends a notification about a screenshot taken in a chat.
`static final class`
`TdApi.SendCustomRequest`
Sends a custom request; for bots only.
`static final class`
`TdApi.SendEmailAddressVerificationCode`
Sends a code to verify an email address to be added to a user's Telegram Passport.
`static final class`
`TdApi.SendInlineQueryResultMessage`
Sends the result of an inline query as a message.
`static final class`
`TdApi.SendMessage`
Sends a message.
`static final class`
`TdApi.SendMessageAlbum`
Sends 2-10 messages grouped together into an album.
`static final class`
`TdApi.SendPassportAuthorizationForm`
Sends a Telegram Passport authorization form, effectively sharing data with the service.
`static final class`
`TdApi.SendPaymentForm`
Sends a filled-out payment form to the bot for final verification.
`static final class`
`TdApi.SendPhoneNumberConfirmationCode`
Sends phone number confirmation code to handle links of the type internalLinkTypePhoneNumberConfirmation.
`static final class`
`TdApi.SendPhoneNumberVerificationCode`
Sends a code to verify a phone number to be added to a user's Telegram Passport.
`static final class`
`TdApi.Session`
Contains information about one session in a Telegram application used by the current user.
`static final class`
`TdApi.Sessions`
Contains a list of sessions.
`static final class`
`TdApi.SetAccountTtl`
Changes the period of inactivity after which the account of the current user will automatically be deleted.
`static final class`
`TdApi.SetAlarm`
Succeeds after a specified amount of time has passed.
`static final class`
`TdApi.SetAuthenticationPhoneNumber`
Sets the phone number of the user and sends an authentication code to the user.
`static final class`
`TdApi.SetAutoDownloadSettings`
Sets auto-download settings.
`static final class`
`TdApi.SetBackground`
Changes the background selected by the user; adds background to the list of installed backgrounds.
`static final class`
`TdApi.SetBio`
Changes the bio of the current user.
`static final class`
`TdApi.SetBotUpdatesStatus`
Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.
`static final class`
`TdApi.SetChatClientData`
Changes application-specific data associated with a chat.
`static final class`
`TdApi.SetChatDescription`
Changes information about a chat.
`static final class`
`TdApi.SetChatDiscussionGroup`
Changes the discussion group of a channel chat; requires canChangeInfo administrator right in the channel if it is specified.
`static final class`
`TdApi.SetChatDraftMessage`
Changes the draft message in a chat.
`static final class`
`TdApi.SetChatLocation`
Changes the location of a chat.
`static final class`
`TdApi.SetChatMemberStatus`
Changes the status of a chat member, needs appropriate privileges.
`static final class`
`TdApi.SetChatMessageTtlSetting`
Changes the message TTL setting (sets a new self-destruct timer) in a chat.
`static final class`
`TdApi.SetChatNotificationSettings`
Changes the notification settings of a chat.
`static final class`
`TdApi.SetChatPermissions`
Changes the chat members permissions.
`static final class`
`TdApi.SetChatPhoto`
Changes the photo of a chat.
`static final class`
`TdApi.SetChatSlowModeDelay`
Changes the slow mode delay of a chat.
`static final class`
`TdApi.SetChatTheme`
Changes the chat theme.
`static final class`
`TdApi.SetChatTitle`
Changes the chat title.
`static final class`
`TdApi.SetCommands`
Sets the list of commands supported by the bot for the given user scope and language; for bots only.
`static final class`
`TdApi.SetCustomLanguagePack`
Adds or changes a custom local language pack to the current localization target.
`static final class`
`TdApi.SetCustomLanguagePackString`
Adds, edits or deletes a string in a custom local language pack.
`static final class`
`TdApi.SetDatabaseEncryptionKey`
Changes the database encryption key.
`static final class`
`TdApi.SetFileGenerationProgress`
Informs TDLib on a file generation progress.
`static final class`
`TdApi.SetGameScore`
Updates the game score of the specified user in the game; for bots only.
`static final class`
`TdApi.SetGroupCallParticipantIsSpeaking`
Informs TDLib that speaking state of a participant of an active group has changed.
`static final class`
`TdApi.SetGroupCallParticipantVolumeLevel`
Changes volume level of a participant of an active group call.
`static final class`
`TdApi.SetGroupCallTitle`
Sets group call title.
`static final class`
`TdApi.SetInlineGameScore`
Updates the game score of the specified user in a game; for bots only.
`static final class`
`TdApi.SetLocation`
Changes the location of the current user.
`static final class`
`TdApi.SetLogStream`
Sets new log stream for internal logging of TDLib.
`static final class`
`TdApi.SetLogTagVerbosityLevel`
Sets the verbosity level for a specified TDLib internal log tag.
`static final class`
`TdApi.SetLogVerbosityLevel`
Sets the verbosity level of the internal logging of TDLib.
`static final class`
`TdApi.SetName`
Changes the first and last name of the current user.
`static final class`
`TdApi.SetNetworkType`
Sets the current network type.
`static final class`
`TdApi.SetOption`
Sets the value of an option.
`static final class`
`TdApi.SetPassportElement`
Adds an element to the user's Telegram Passport.
`static final class`
`TdApi.SetPassportElementErrors`
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.
`static final class`
`TdApi.SetPassword`
Changes the password for the current user.
`static final class`
`TdApi.SetPinnedChats`
Changes the order of pinned chats.
`static final class`
`TdApi.SetPollAnswer`
Changes the user answer to a poll.
`static final class`
`TdApi.SetProfilePhoto`
Changes a profile photo for the current user.
`static final class`
`TdApi.SetRecoveryEmailAddress`
Changes the 2-step verification recovery email address of the user.
`static final class`
`TdApi.SetScopeNotificationSettings`
Changes notification settings for chats of a given type.
`static final class`
`TdApi.SetStickerPositionInSet`
Changes the position of a sticker in the set to which it belongs; for bots only.
`static final class`
`TdApi.SetStickerSetThumbnail`
Sets a sticker set thumbnail; for bots only.
`static final class`
`TdApi.SetSupergroupStickerSet`
Changes the sticker set of a supergroup; requires canChangeInfo administrator right.
`static final class`
`TdApi.SetSupergroupUsername`
Changes the username of a supergroup or channel, requires owner privileges in the supergroup or channel.
`static final class`
`TdApi.SetTdlibParameters`
Sets the parameters for TDLib initialization.
`static final class`
`TdApi.SetUsername`
Changes the username of the current user.
`static final class`
`TdApi.SetUserPrivacySettingRules`
Changes user privacy settings.
`static final class`
`TdApi.SetVideoChatDefaultParticipant`
Changes default participant identifier, which can be used to join video chats in a chat.
`static final class`
`TdApi.SharePhoneNumber`
Shares the phone number of the current user with a mutual contact.
`static final class`
`TdApi.ShippingOption`
One shipping option.
`static final class`
`TdApi.SponsoredMessage`
Describes a sponsored message.
`static final class`
`TdApi.SponsoredMessages`
Contains a list of sponsored messages.
`static final class`
`TdApi.StartGroupCallRecording`
Starts recording of an active group call.
`static final class`
`TdApi.StartGroupCallScreenSharing`
Starts screen sharing in a joined group call.
`static final class`
`TdApi.StartScheduledGroupCall`
Starts a scheduled group call.
`static class`
`TdApi.StatisticalGraph`
This class is an abstract base class.
`static final class`
`TdApi.StatisticalGraphAsync`
The graph data to be asynchronously loaded through getStatisticalGraph.
`static final class`
`TdApi.StatisticalGraphData`
A graph data.
`static final class`
`TdApi.StatisticalGraphError`
An error message to be shown to the user instead of the graph.
`static final class`
`TdApi.StatisticalValue`
A value with information about its recent changes.
`static final class`
`TdApi.Sticker`
Describes a sticker.
`static final class`
`TdApi.Stickers`
Represents a list of stickers.
`static final class`
`TdApi.StickerSet`
Represents a sticker set.
`static final class`
`TdApi.StickerSetInfo`
Represents short information about a sticker set.
`static final class`
`TdApi.StickerSets`
Represents a list of sticker sets.
`static final class`
`TdApi.StopPoll`
Stops a poll.
`static final class`
`TdApi.StorageStatistics`
Contains the exact storage usage statistics split by chats and file type.
`static final class`
`TdApi.StorageStatisticsByChat`
Contains the storage usage statistics for a specific chat.
`static final class`
`TdApi.StorageStatisticsByFileType`
Contains the storage usage statistics for a specific file type.
`static final class`
`TdApi.StorageStatisticsFast`
Contains approximate storage usage statistics, excluding files of unknown file type.
`static class`
`TdApi.SuggestedAction`
This class is an abstract base class.
`static final class`
`TdApi.SuggestedActionCheckPassword`
Suggests the user to check whether 2-step verification password is still remembered.
`static final class`
`TdApi.SuggestedActionCheckPhoneNumber`
Suggests the user to check whether authorization phone number is correct and change the phone number if it is inaccessible.
`static final class`
`TdApi.SuggestedActionConvertToBroadcastGroup`
Suggests the user to convert specified supergroup to a broadcast group.
`static final class`
`TdApi.SuggestedActionEnableArchiveAndMuteNewChats`
Suggests the user to enable "archive_and_mute_new_chats_from_unknown_users" option.
`static final class`
`TdApi.SuggestedActionSeeTicksHint`
Suggests the user to see a hint about meaning of one and two ticks on sent message.
`static final class`
`TdApi.Supergroup`
Represents a supergroup or channel with zero or more members (subscribers in the case of channels).
`static final class`
`TdApi.SupergroupFullInfo`
Contains full information about a supergroup or channel.
`static class`
`TdApi.SupergroupMembersFilter`
This class is an abstract base class.
`static final class`
`TdApi.SupergroupMembersFilterAdministrators`
Returns the owner and administrators.
`static final class`
`TdApi.SupergroupMembersFilterBanned`
Returns users banned from the supergroup or channel; can be used only by administrators.
`static final class`
`TdApi.SupergroupMembersFilterBots`
Returns bot members of the supergroup or channel.
`static final class`
`TdApi.SupergroupMembersFilterContacts`
Returns contacts of the user, which are members of the supergroup or channel.
`static final class`
`TdApi.SupergroupMembersFilterMention`
Returns users which can be mentioned in the supergroup.
`static final class`
`TdApi.SupergroupMembersFilterRecent`
Returns recently active users in reverse chronological order.
`static final class`
`TdApi.SupergroupMembersFilterRestricted`
Returns restricted supergroup members; can be used only by administrators.
`static final class`
`TdApi.SupergroupMembersFilterSearch`
Used to search for supergroup or channel members via a (string) query.
`static final class`
`TdApi.SynchronizeLanguagePack`
Fetches the latest versions of all strings from a language pack in the current localization target from the server.
`static final class`
`TdApi.TdlibParameters`
Contains parameters for TDLib initialization.
`static final class`
`TdApi.TemporaryPasswordState`
Returns information about the availability of a temporary password, which can be used for payments.
`static final class`
`TdApi.TerminateAllOtherSessions`
Terminates all other sessions of the current user.
`static final class`
`TdApi.TerminateSession`
Terminates a session of the current user.
`static final class`
`TdApi.TermsOfService`
Contains Telegram terms of service.
`static final class`
`TdApi.TestBytes`
A simple object containing a sequence of bytes; for testing only.
`static final class`
`TdApi.TestCallBytes`
Returns the received bytes; for testing only.
`static final class`
`TdApi.TestCallEmpty`
Does nothing; for testing only.
`static final class`
`TdApi.TestCallString`
Returns the received string; for testing only.
`static final class`
`TdApi.TestCallVectorInt`
Returns the received vector of numbers; for testing only.
`static final class`
`TdApi.TestCallVectorIntObject`
Returns the received vector of objects containing a number; for testing only.
`static final class`
`TdApi.TestCallVectorString`
Returns the received vector of strings; for testing only.
`static final class`
`TdApi.TestCallVectorStringObject`
Returns the received vector of objects containing a string; for testing only.
`static final class`
`TdApi.TestGetDifference`
Forces an updates.getDifference call to the Telegram servers; for testing only.
`static final class`
`TdApi.TestInt`
A simple object containing a number; for testing only.
`static final class`
`TdApi.TestNetwork`
Sends a simple network request to the Telegram servers; for testing only.
`static final class`
`TdApi.TestProxy`
Sends a simple network request to the Telegram servers via proxy; for testing only.
`static final class`
`TdApi.TestReturnError`
Returns the specified error and ensures that the Error object is used; for testing only.
`static final class`
`TdApi.TestSquareInt`
Returns the squared received number; for testing only.
`static final class`
`TdApi.TestString`
A simple object containing a string; for testing only.
`static final class`
`TdApi.TestUseUpdate`
Does nothing and ensures that the Update object is used; for testing only.
`static final class`
`TdApi.TestVectorInt`
A simple object containing a vector of numbers; for testing only.
`static final class`
`TdApi.TestVectorIntObject`
A simple object containing a vector of objects that hold a number; for testing only.
`static final class`
`TdApi.TestVectorString`
A simple object containing a vector of strings; for testing only.
`static final class`
`TdApi.TestVectorStringObject`
A simple object containing a vector of objects that hold a string; for testing only.
`static final class`
`TdApi.Text`
Contains some text.
`static final class`
`TdApi.TextEntities`
Contains a list of text entities.
`static final class`
`TdApi.TextEntity`
Represents a part of the text that needs to be formatted in some unusual way.
`static class`
`TdApi.TextEntityType`
This class is an abstract base class.
`static final class`
`TdApi.TextEntityTypeBankCardNumber`
A bank card number.
`static final class`
`TdApi.TextEntityTypeBold`
A bold text.
`static final class`
`TdApi.TextEntityTypeBotCommand`
A bot command, beginning with "/".
`static final class`
`TdApi.TextEntityTypeCashtag`
A cashtag text, beginning with "$" and consisting of capital English letters (e.g., "$USD").
`static final class`
`TdApi.TextEntityTypeCode`
Text that must be formatted as if inside a code HTML tag.
`static final class`
`TdApi.TextEntityTypeEmailAddress`
An email address.
`static final class`
`TdApi.TextEntityTypeHashtag`
A hashtag text, beginning with "#".
`static final class`
`TdApi.TextEntityTypeItalic`
An italic text.
`static final class`
`TdApi.TextEntityTypeMediaTimestamp`
A media timestamp.
`static final class`
`TdApi.TextEntityTypeMention`
A mention of a user by their username.
`static final class`
`TdApi.TextEntityTypeMentionName`
A text shows instead of a raw mention of the user (e.g., when the user has no username).
`static final class`
`TdApi.TextEntityTypePhoneNumber`
A phone number.
`static final class`
`TdApi.TextEntityTypePre`
Text that must be formatted as if inside a pre HTML tag.
`static final class`
`TdApi.TextEntityTypePreCode`
Text that must be formatted as if inside pre, and code HTML tags.
`static final class`
`TdApi.TextEntityTypeStrikethrough`
A strikethrough text.
`static final class`
`TdApi.TextEntityTypeTextUrl`
A text description shown instead of a raw URL.
`static final class`
`TdApi.TextEntityTypeUnderline`
An underlined text.
`static final class`
`TdApi.TextEntityTypeUrl`
An HTTP URL.
`static class`
`TdApi.TextParseMode`
This class is an abstract base class.
`static final class`
`TdApi.TextParseModeHTML`
The text uses HTML-style formatting.
`static final class`
`TdApi.TextParseModeMarkdown`
The text uses Markdown-style formatting.
`static final class`
`TdApi.ThemeSettings`
Describes theme settings.
`static final class`
`TdApi.Thumbnail`
Represents a thumbnail.
`static class`
`TdApi.ThumbnailFormat`
This class is an abstract base class.
`static final class`
`TdApi.ThumbnailFormatGif`
The thumbnail is in static GIF format.
`static final class`
`TdApi.ThumbnailFormatJpeg`
The thumbnail is in JPEG format.
`static final class`
`TdApi.ThumbnailFormatMpeg4`
The thumbnail is in MPEG4 format.
`static final class`
`TdApi.ThumbnailFormatPng`
The thumbnail is in PNG format.
`static final class`
`TdApi.ThumbnailFormatTgs`
The thumbnail is in TGS format.
`static final class`
`TdApi.ThumbnailFormatWebp`
The thumbnail is in WEBP format.
`static final class`
`TdApi.TMeUrl`
Represents a URL linking to an internal Telegram entity.
`static final class`
`TdApi.TMeUrls`
Contains a list of t.me URLs.
`static class`
`TdApi.TMeUrlType`
This class is an abstract base class.
`static final class`
`TdApi.TMeUrlTypeChatInvite`
A chat invite link.
`static final class`
`TdApi.TMeUrlTypeStickerSet`
A URL linking to a sticker set.
`static final class`
`TdApi.TMeUrlTypeSupergroup`
A URL linking to a public supergroup or channel.
`static final class`
`TdApi.TMeUrlTypeUser`
A URL linking to a user.
`static final class`
`TdApi.ToggleChatDefaultDisableNotification`
Changes the value of the default disableNotification parameter, used when a message is sent to a chat.
`static final class`
`TdApi.ToggleChatIsMarkedAsUnread`
Changes the marked as unread state of a chat.
`static final class`
`TdApi.ToggleChatIsPinned`
Changes the pinned state of a chat.
`static final class`
`TdApi.ToggleGroupCallEnabledStartNotification`
Toggles whether the current user will receive a notification when the group call will start; scheduled group calls only.
`static final class`
`TdApi.ToggleGroupCallIsMyVideoEnabled`
Toggles whether current user's video is enabled.
`static final class`
`TdApi.ToggleGroupCallIsMyVideoPaused`
Toggles whether current user's video is paused.
`static final class`
`TdApi.ToggleGroupCallMuteNewParticipants`
Toggles whether new participants of a group call can be unmuted only by administrators of the group call.
`static final class`
`TdApi.ToggleGroupCallParticipantIsHandRaised`
Toggles whether a group call participant hand is rased.
`static final class`
`TdApi.ToggleGroupCallParticipantIsMuted`
Toggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves.
`static final class`
`TdApi.ToggleGroupCallScreenSharingIsPaused`
Pauses or unpauses screen sharing in a joined group call.
`static final class`
`TdApi.ToggleMessageSenderIsBlocked`
Changes the block state of a message sender.
`static final class`
`TdApi.ToggleSupergroupIsAllHistoryAvailable`
Toggles whether the message history of a supergroup is available to new members; requires canChangeInfo administrator right.
`static final class`
`TdApi.ToggleSupergroupIsBroadcastGroup`
Upgrades supergroup to a broadcast group; requires owner privileges in the supergroup.
`static final class`
`TdApi.ToggleSupergroupSignMessages`
Toggles sender signatures messages sent in a channel; requires canChangeInfo administrator right.
`static class`
`TdApi.TopChatCategory`
This class is an abstract base class.
`static final class`
`TdApi.TopChatCategoryBots`
A category containing frequently used private chats with bot users.
`static final class`
`TdApi.TopChatCategoryCalls`
A category containing frequently used chats used for calls.
`static final class`
`TdApi.TopChatCategoryChannels`
A category containing frequently used channels.
`static final class`
`TdApi.TopChatCategoryForwardChats`
A category containing frequently used chats used to forward messages.
`static final class`
`TdApi.TopChatCategoryGroups`
A category containing frequently used basic groups and supergroups.
`static final class`
`TdApi.TopChatCategoryInlineBots`
A category containing frequently used chats with inline bots sorted by their usage in inline mode.
`static final class`
`TdApi.TopChatCategoryUsers`
A category containing frequently used private chats with non-bot users.
`static final class`
`TdApi.TransferChatOwnership`
Changes the owner of a chat.
`static final class`
`TdApi.UnpinAllChatMessages`
Removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.
`static final class`
`TdApi.UnpinChatMessage`
Removes a pinned message from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.
`static class`
`TdApi.Update`
This class is an abstract base class.
`static final class`
`TdApi.UpdateAccessHash`
Some data of a user or a chat has changed.
`static final class`
`TdApi.UpdateActiveNotifications`
Contains active notifications that was shown on previous application launches.
`static final class`
`TdApi.UpdateAnimatedEmojiMessageClicked`
Some animated emoji message was clicked and a big animated sticker must be played if the message is visible on the screen.
`static final class`
`TdApi.UpdateAnimationSearchParameters`
The parameters of animation search through GetOption("animation_search_bot_username") bot has changed.
`static final class`
`TdApi.UpdateAuthorizationState`
The user authorization state has changed.
`static final class`
`TdApi.UpdateBasicGroup`
Some data of a basic group has changed.
`static final class`
`TdApi.UpdateBasicGroupFullInfo`
Some data from basicGroupFullInfo has been changed.
`static final class`
`TdApi.UpdateCall`
New call was created or information about a call was updated.
`static final class`
`TdApi.UpdateChatActionBar`
The chat action bar was changed.
`static final class`
`TdApi.UpdateChatDefaultDisableNotification`
The value of the default disableNotification parameter, used when a message is sent to the chat, was changed.
`static final class`
`TdApi.UpdateChatDraftMessage`
A chat draft has changed.
`static final class`
`TdApi.UpdateChatFilters`
The list of chat filters or a chat filter has changed.
`static final class`
`TdApi.UpdateChatHasScheduledMessages`
A chat's hasScheduledMessages field has changed.
`static final class`
`TdApi.UpdateChatIsBlocked`
A chat was blocked or unblocked.
`static final class`
`TdApi.UpdateChatIsMarkedAsUnread`
A chat was marked as unread or was read.
`static final class`
`TdApi.UpdateChatLastMessage`
The last message of a chat was changed.
`static final class`
`TdApi.UpdateChatMember`
User rights changed in a chat; for bots only.
`static final class`
`TdApi.UpdateChatMessageTtlSetting`
The message Time To Live setting for a chat was changed.
`static final class`
`TdApi.UpdateChatNotificationSettings`
Notification settings for a chat were changed.
`static final class`
`TdApi.UpdateChatOnlineMemberCount`
The number of online group members has changed.
`static final class`
`TdApi.UpdateChatPendingJoinRequests`
The chat pending join requests were changed.
`static final class`
`TdApi.UpdateChatPermissions`
Chat permissions was changed.
`static final class`
`TdApi.UpdateChatPhoto`
A chat photo was changed.
`static final class`
`TdApi.UpdateChatPosition`
The position of a chat in a chat list has changed.
`static final class`
`TdApi.UpdateChatReadInbox`
Incoming messages were read or the number of unread messages has been changed.
`static final class`
`TdApi.UpdateChatReadOutbox`
Outgoing messages were read.
`static final class`
`TdApi.UpdateChatReplyMarkup`
The default chat reply markup was changed.
`static final class`
`TdApi.UpdateChatTheme`
The chat theme was changed.
`static final class`
`TdApi.UpdateChatThemes`
The list of available chat themes has changed.
`static final class`
`TdApi.UpdateChatTitle`
The title of a chat was changed.
`static final class`
`TdApi.UpdateChatUnreadMentionCount`
The chat unreadMentionCount has changed.
`static final class`
`TdApi.UpdateChatVideoChat`
A chat video chat state has changed.
`static final class`
`TdApi.UpdateConnectionState`
The connection state has changed.
`static final class`
`TdApi.UpdateDeleteMessages`
Some messages were deleted.
`static final class`
`TdApi.UpdateDiceEmojis`
The list of supported dice emojis has changed.
`static final class`
`TdApi.UpdateFavoriteStickers`
The list of favorite stickers was updated.
`static final class`
`TdApi.UpdateFile`
Information about a file was updated.
`static final class`
`TdApi.UpdateFileGenerationStart`
The file generation process needs to be started by the application.
`static final class`
`TdApi.UpdateFileGenerationStop`
File generation is no longer needed.
`static final class`
`TdApi.UpdateGroupCall`
Information about a group call was updated.
`static final class`
`TdApi.UpdateGroupCallParticipant`
Information about a group call participant was changed.
`static final class`
`TdApi.UpdateHavePendingNotifications`
Describes whether there are some pending notification updates.
`static final class`
`TdApi.UpdateInstalledStickerSets`
The list of installed sticker sets was updated.
`static final class`
`TdApi.UpdateLanguagePackStrings`
Some language pack strings have been updated.
`static final class`
`TdApi.UpdateMessageContent`
The message content has changed.
`static final class`
`TdApi.UpdateMessageContentOpened`
The message content was opened.
`static final class`
`TdApi.UpdateMessageEdited`
A message was edited.
`static final class`
`TdApi.UpdateMessageInteractionInfo`
The information about interactions with a message has changed.
`static final class`
`TdApi.UpdateMessageIsPinned`
The message pinned state was changed.
`static final class`
`TdApi.UpdateMessageLiveLocationViewed`
A message with a live location was viewed.
`static final class`
`TdApi.UpdateMessageMentionRead`
A message with an unread mention was read.
`static final class`
`TdApi.UpdateMessageSendAcknowledged`
A request to send a message has reached the Telegram server.
`static final class`
`TdApi.UpdateMessageSendFailed`
A message failed to send.
`static final class`
`TdApi.UpdateMessageSendSucceeded`
A message has been successfully sent.
`static final class`
`TdApi.UpdateNewCallbackQuery`
A new incoming callback query; for bots only.
`static final class`
`TdApi.UpdateNewCallSignalingData`
New call signaling data arrived.
`static final class`
`TdApi.UpdateNewChat`
A new chat has been loaded/created.
`static final class`
`TdApi.UpdateNewChatJoinRequest`
A user sent a join request to a chat; for bots only.
`static final class`
`TdApi.UpdateNewChosenInlineResult`
The user has chosen a result of an inline query; for bots only.
`static final class`
`TdApi.UpdateNewCustomEvent`
A new incoming event; for bots only.
`static final class`
`TdApi.UpdateNewCustomQuery`
A new incoming query; for bots only.
`static final class`
`TdApi.UpdateNewInlineCallbackQuery`
A new incoming callback query from a message sent via a bot; for bots only.
`static final class`
`TdApi.UpdateNewInlineQuery`
A new incoming inline query; for bots only.
`static final class`
`TdApi.UpdateNewMessage`
A new message was received; can also be an outgoing message.
`static final class`
`TdApi.UpdateNewPreCheckoutQuery`
A new incoming pre-checkout query; for bots only.
`static final class`
`TdApi.UpdateNewShippingQuery`
A new incoming shipping query; for bots only.
`static final class`
`TdApi.UpdateNotification`
A notification was changed.
`static final class`
`TdApi.UpdateNotificationGroup`
A list of active notifications in a notification group has changed.
`static final class`
`TdApi.UpdateOption`
An option changed its value.
`static final class`
`TdApi.UpdatePoll`
A poll was updated; for bots only.
`static final class`
`TdApi.UpdatePollAnswer`
A user changed the answer to a poll; for bots only.
`static final class`
`TdApi.UpdateRecentStickers`
The list of recently used stickers was updated.
`static final class`
`TdApi.Updates`
Contains a list of updates.
`static final class`
`TdApi.UpdateSavedAnimations`
The list of saved animations was updated.
`static final class`
`TdApi.UpdateScopeNotificationSettings`
Notification settings for some type of chats were updated.
`static final class`
`TdApi.UpdateSecretChat`
Some data of a secret chat has changed.
`static final class`
`TdApi.UpdateSelectedBackground`
The selected background has changed.
`static final class`
`TdApi.UpdateServiceNotification`
Service notification from the server.
`static final class`
`TdApi.UpdateStickerSet`
A sticker set has changed.
`static final class`
`TdApi.UpdateSuggestedActions`
The list of suggested to the user actions has changed.
`static final class`
`TdApi.UpdateSupergroup`
Some data of a supergroup or a channel has changed.
`static final class`
`TdApi.UpdateSupergroupFullInfo`
Some data from supergroupFullInfo has been changed.
`static final class`
`TdApi.UpdateTermsOfService`
New terms of service must be accepted by the user.
`static final class`
`TdApi.UpdateTrendingStickerSets`
The list of trending sticker sets was updated or some of them were viewed.
`static final class`
`TdApi.UpdateUnreadChatCount`
Number of unread chats, i.e.
`static final class`
`TdApi.UpdateUnreadMessageCount`
Number of unread messages in a chat list has changed.
`static final class`
`TdApi.UpdateUser`
Some data of a user has changed.
`static final class`
`TdApi.UpdateUserChatAction`
User activity in the chat has changed.
`static final class`
`TdApi.UpdateUserFullInfo`
Some data from userFullInfo has been changed.
`static final class`
`TdApi.UpdateUserPrivacySettingRules`
Some privacy setting rules have been changed.
`static final class`
`TdApi.UpdateUsersNearby`
The list of users nearby has changed.
`static final class`
`TdApi.UpdateUserStatus`
The user went online or offline.
`static final class`
`TdApi.UpgradeBasicGroupChatToSupergroupChat`
Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges.
`static final class`
`TdApi.UploadFile`
Asynchronously uploads a file to the cloud without sending it in a message.
`static final class`
`TdApi.UploadStickerFile`
Uploads a PNG image with a sticker; returns the uploaded file.
`static final class`
`TdApi.User`
Represents a user.
`static final class`
`TdApi.UserFullInfo`
Contains full information about a user.
`static class`
`TdApi.UserPrivacySetting`
This class is an abstract base class.
`static final class`
`TdApi.UserPrivacySettingAllowCalls`
A privacy setting for managing whether the user can be called.
`static final class`
`TdApi.UserPrivacySettingAllowChatInvites`
A privacy setting for managing whether the user can be invited to chats.
`static final class`
`TdApi.UserPrivacySettingAllowFindingByPhoneNumber`
A privacy setting for managing whether the user can be found by their phone number.
`static final class`
`TdApi.UserPrivacySettingAllowPeerToPeerCalls`
A privacy setting for managing whether peer-to-peer connections can be used for calls.
`static class`
`TdApi.UserPrivacySettingRule`
This class is an abstract base class.
`static final class`
`TdApi.UserPrivacySettingRuleAllowAll`
A rule to allow all users to do something.
`static final class`
`TdApi.UserPrivacySettingRuleAllowChatMembers`
A rule to allow all members of certain specified basic groups and supergroups to doing something.
`static final class`
`TdApi.UserPrivacySettingRuleAllowContacts`
A rule to allow all of a user's contacts to do something.
`static final class`
`TdApi.UserPrivacySettingRuleAllowUsers`
A rule to allow certain specified users to do something.
`static final class`
`TdApi.UserPrivacySettingRuleRestrictAll`
A rule to restrict all users from doing something.
`static final class`
`TdApi.UserPrivacySettingRuleRestrictChatMembers`
A rule to restrict all members of specified basic groups and supergroups from doing something.
`static final class`
`TdApi.UserPrivacySettingRuleRestrictContacts`
A rule to restrict all contacts of a user from doing something.
`static final class`
`TdApi.UserPrivacySettingRuleRestrictUsers`
A rule to restrict all specified users from doing something.
`static final class`
`TdApi.UserPrivacySettingRules`
A list of privacy rules.
`static final class`
`TdApi.UserPrivacySettingShowLinkInForwardedMessages`
A privacy setting for managing whether a link to the user's account is included in forwarded messages.
`static final class`
`TdApi.UserPrivacySettingShowPhoneNumber`
A privacy setting for managing whether the user's phone number is visible.
`static final class`
`TdApi.UserPrivacySettingShowProfilePhoto`
A privacy setting for managing whether the user's profile photo is visible.
`static final class`
`TdApi.UserPrivacySettingShowStatus`
A privacy setting for managing whether the user's online status is visible.
`static final class`
`TdApi.Users`
Represents a list of users.
`static class`
`TdApi.UserStatus`
This class is an abstract base class.
`static final class`
`TdApi.UserStatusEmpty`
The user status was never changed.
`static final class`
`TdApi.UserStatusLastMonth`
The user is offline, but was online last month.
`static final class`
`TdApi.UserStatusLastWeek`
The user is offline, but was online last week.
`static final class`
`TdApi.UserStatusOffline`
The user is offline.
`static final class`
`TdApi.UserStatusOnline`
The user is online.
`static final class`
`TdApi.UserStatusRecently`
The user was online recently.
`static class`
`TdApi.UserType`
This class is an abstract base class.
`static final class`
`TdApi.UserTypeBot`
A bot (see https://core.telegram.org/bots).
`static final class`
`TdApi.UserTypeDeleted`
A deleted user or deleted bot.
`static final class`
`TdApi.UserTypeRegular`
A regular user.
`static final class`
`TdApi.UserTypeUnknown`
No information on the user besides the user identifier is available, yet this user has not been deleted.
`static final class`
`TdApi.ValidatedOrderInfo`
Contains a temporary identifier of validated order information, which is stored for one hour.
`static final class`
`TdApi.ValidateOrderInfo`
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.
`static class`
`TdApi.VectorPathCommand`
This class is an abstract base class.
`static final class`
`TdApi.VectorPathCommandCubicBezierCurve`
A cubic Bézier curve to a given point.
`static final class`
`TdApi.VectorPathCommandLine`
A straight line to a given point.
`static final class`
`TdApi.Venue`
Describes a venue.
`static final class`
`TdApi.Video`
Describes a video file.
`static final class`
`TdApi.VideoChat`
Describes a video chat.
`static final class`
`TdApi.VideoNote`
Describes a video note.
`static final class`
`TdApi.ViewMessages`
Informs TDLib that messages are being viewed by the user.
`static final class`
`TdApi.ViewSponsoredMessage`
Informs TDLib that a sponsored message was viewed by the user.
`static final class`
`TdApi.ViewTrendingStickerSets`
Informs the server that some trending sticker sets have been viewed by the user.
`static final class`
`TdApi.VoiceNote`
Describes a voice note.
`static final class`
`TdApi.WebPage`
Describes a web page preview.
`static final class`
`TdApi.WebPageInstantView`
Describes an instant view page for a web page.
`static final class`
`TdApi.WriteGeneratedFilePart`
Writes a part of a generated file.

## Constructor Summary

Constructors
Constructor
Description
`TdApi()`

## Method Summary

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Details

### TdApi

public TdApi()