public class TdApi
extends java.lang.Object
It has no inner classes, functions or public members.
Modifier and Type | Class and Description |
---|---|
static class |
TdApi.AcceptCall
Accepts an incoming call.
|
static class |
TdApi.AcceptTermsOfService
Accepts Telegram terms of services.
|
static class |
TdApi.AccountTtl
Contains information about the period of inactivity after which the current user's account will automatically be deleted.
|
static class |
TdApi.AddChatMember
Adds a new member to a chat.
|
static class |
TdApi.AddChatMembers
Adds multiple new members to a chat.
|
static class |
TdApi.AddContact
Adds a user to the contact list or edits an existing contact by their user identifier.
|
static class |
TdApi.AddCustomServerLanguagePack
Adds a custom server language pack to the list of installed language packs in current localization target.
|
static class |
TdApi.AddFavoriteSticker
Adds a new sticker to the list of favorite stickers.
|
static class |
TdApi.AddLocalMessage
Adds a local message to a chat.
|
static class |
TdApi.AddLogMessage
Adds a message to TDLib internal log.
|
static class |
TdApi.AddNetworkStatistics
Adds the specified data to data usage statistics.
|
static class |
TdApi.AddProxy
Adds a proxy server for network requests.
|
static class |
TdApi.AddRecentlyFoundChat
Adds a chat to the list of recently found chats.
|
static class |
TdApi.AddRecentSticker
Manually adds a new sticker to the list of recently used stickers.
|
static class |
TdApi.Address
Describes an address.
|
static class |
TdApi.AddSavedAnimation
Manually adds a new animation to the list of saved animations.
|
static class |
TdApi.AddStickerToSet
Adds a new sticker to a set; for bots only.
|
static class |
TdApi.Animation
Describes an animation file.
|
static class |
TdApi.Animations
Represents a list of animations.
|
static class |
TdApi.AnswerCallbackQuery
Sets the result of a callback query; for bots only.
|
static class |
TdApi.AnswerCustomQuery
Answers a custom query; for bots only.
|
static class |
TdApi.AnswerInlineQuery
Sets the result of an inline query; for bots only.
|
static class |
TdApi.AnswerPreCheckoutQuery
Sets the result of a pre-checkout query; for bots only.
|
static class |
TdApi.AnswerShippingQuery
Sets the result of a shipping query; for bots only.
|
static class |
TdApi.Audio
Describes an audio file.
|
static class |
TdApi.AuthenticationCodeInfo
Information about the authentication code that was sent.
|
static class |
TdApi.AuthenticationCodeType
This class is an abstract base class.
|
static class |
TdApi.AuthenticationCodeTypeCall
An authentication code is delivered via a phone call to the specified phone number.
|
static class |
TdApi.AuthenticationCodeTypeFlashCall
An authentication code is delivered by an immediately cancelled call to the specified phone number.
|
static class |
TdApi.AuthenticationCodeTypeSms
An authentication code is delivered via an SMS message to the specified phone number.
|
static class |
TdApi.AuthenticationCodeTypeTelegramMessage
An authentication code is delivered via a private Telegram message, which can be viewed in another client.
|
static class |
TdApi.AuthorizationState
This class is an abstract base class.
|
static class |
TdApi.AuthorizationStateClosed
TDLib client is in its final state.
|
static class |
TdApi.AuthorizationStateClosing
TDLib is closing, all subsequent queries will be answered with the error 500.
|
static class |
TdApi.AuthorizationStateLoggingOut
The user is currently logging out.
|
static class |
TdApi.AuthorizationStateReady
The user has been successfully authorized.
|
static class |
TdApi.AuthorizationStateWaitCode
TDLib needs the user's authentication code to authorize.
|
static class |
TdApi.AuthorizationStateWaitEncryptionKey
TDLib needs an encryption key to decrypt the local database.
|
static class |
TdApi.AuthorizationStateWaitOtherDeviceConfirmation
The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
|
static class |
TdApi.AuthorizationStateWaitPassword
The user has been authorized, but needs to enter a password to start using the application.
|
static class |
TdApi.AuthorizationStateWaitPhoneNumber
TDLib needs the user's phone number to authorize.
|
static 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 class |
TdApi.AuthorizationStateWaitTdlibParameters
TDLib needs TdlibParameters for initialization.
|
static class |
TdApi.AutoDownloadSettings
Contains auto-download settings.
|
static class |
TdApi.AutoDownloadSettingsPresets
Contains auto-download settings presets for the user.
|
static class |
TdApi.Background
Describes a chat background.
|
static class |
TdApi.BackgroundFill
This class is an abstract base class.
|
static class |
TdApi.BackgroundFillGradient
Describes a gradient fill of a background.
|
static class |
TdApi.BackgroundFillSolid
Describes a solid fill of a background.
|
static class |
TdApi.Backgrounds
Contains a list of backgrounds.
|
static class |
TdApi.BackgroundType
This class is an abstract base class.
|
static class |
TdApi.BackgroundTypeFill
A filled background.
|
static 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 class |
TdApi.BackgroundTypeWallpaper
A wallpaper in JPEG format.
|
static class |
TdApi.BasicGroup
Represents a basic group of 0-200 users (must be upgraded to a supergroup to accommodate more than 200 users).
|
static class |
TdApi.BasicGroupFullInfo
Contains full information about a basic group.
|
static class |
TdApi.BlockUser
Adds a user to the blacklist.
|
static class |
TdApi.BotCommand
Represents commands supported by a bot.
|
static class |
TdApi.BotInfo
Provides information about a bot and its supported commands.
|
static class |
TdApi.Call
Describes a call.
|
static class |
TdApi.CallbackQueryAnswer
Contains a bot's answer to a callback query.
|
static class |
TdApi.CallbackQueryPayload
This class is an abstract base class.
|
static class |
TdApi.CallbackQueryPayloadData
The payload from a general callback button.
|
static class |
TdApi.CallbackQueryPayloadGame
The payload from a game callback button.
|
static class |
TdApi.CallConnection
Describes the address of UDP reflectors.
|
static class |
TdApi.CallDiscardReason
This class is an abstract base class.
|
static class |
TdApi.CallDiscardReasonDeclined
The call was ended before the conversation started.
|
static class |
TdApi.CallDiscardReasonDisconnected
The call was ended during the conversation because the users were disconnected.
|
static class |
TdApi.CallDiscardReasonEmpty
The call wasn't discarded, or the reason is unknown.
|
static class |
TdApi.CallDiscardReasonHungUp
The call was ended because one of the parties hung up.
|
static class |
TdApi.CallDiscardReasonMissed
The call was ended before the conversation started.
|
static class |
TdApi.CallId
Contains the call identifier.
|
static class |
TdApi.CallProblem
This class is an abstract base class.
|
static class |
TdApi.CallProblemDistortedSpeech
The speech was distorted.
|
static class |
TdApi.CallProblemDropped
The call ended unexpectedly.
|
static class |
TdApi.CallProblemEcho
The user heard their own voice.
|
static class |
TdApi.CallProblemInterruptions
The other side kept disappearing.
|
static class |
TdApi.CallProblemNoise
The user heard background noise.
|
static class |
TdApi.CallProblemSilentLocal
The user couldn't hear the other side.
|
static class |
TdApi.CallProblemSilentRemote
The other side couldn't hear the user.
|
static class |
TdApi.CallProtocol
Specifies the supported call protocols.
|
static class |
TdApi.CallState
This class is an abstract base class.
|
static class |
TdApi.CallStateDiscarded
The call has ended successfully.
|
static class |
TdApi.CallStateError
The call has ended with an error.
|
static class |
TdApi.CallStateExchangingKeys
The call has been answered and encryption keys are being exchanged.
|
static class |
TdApi.CallStateHangingUp
The call is hanging up after discardCall has been called.
|
static class |
TdApi.CallStatePending
The call is pending, waiting to be accepted by a user.
|
static class |
TdApi.CallStateReady
The call is ready to use.
|
static class |
TdApi.CancelDownloadFile
Stops the downloading of a file.
|
static class |
TdApi.CancelUploadFile
Stops the uploading of a file.
|
static 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 class |
TdApi.CanTransferOwnershipResultOk
The session can be used.
|
static class |
TdApi.CanTransferOwnershipResultPasswordNeeded
The 2-step verification needs to be enabled first.
|
static class |
TdApi.CanTransferOwnershipResultPasswordTooFresh
The 2-step verification was enabled recently, user needs to wait.
|
static class |
TdApi.CanTransferOwnershipResultSessionTooFresh
The session was created recently, user needs to wait.
|
static class |
TdApi.ChangeImportedContacts
Changes imported contacts using the list of current user contacts saved on the device.
|
static class |
TdApi.ChangePhoneNumber
Changes the phone number of the user and sends an authentication code to the user's new phone number.
|
static class |
TdApi.ChangeStickerSet
Installs/uninstalls or activates/archives a sticker set.
|
static 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 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 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 added to the contact list using the method addContact, or the other user can be blocked using the method blockUser.
|
static class |
TdApi.ChatActionBarReportSpam
The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam.
|
static 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 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 class |
TdApi.ChatActionCancel
The user has cancelled the previous action.
|
static class |
TdApi.ChatActionChoosingContact
The user is picking a contact to send.
|
static class |
TdApi.ChatActionChoosingLocation
The user is picking a location or venue to send.
|
static class |
TdApi.ChatActionRecordingVideo
The user is recording a video.
|
static class |
TdApi.ChatActionRecordingVideoNote
The user is recording a video note.
|
static class |
TdApi.ChatActionRecordingVoiceNote
The user is recording a voice note.
|
static class |
TdApi.ChatActionStartPlayingGame
The user has started to play a game.
|
static class |
TdApi.ChatActionTyping
The user is typing a message.
|
static class |
TdApi.ChatActionUploadingDocument
The user is uploading a document.
|
static class |
TdApi.ChatActionUploadingPhoto
The user is uploading a photo.
|
static class |
TdApi.ChatActionUploadingVideo
The user is uploading a video.
|
static class |
TdApi.ChatActionUploadingVideoNote
The user is uploading a video note.
|
static class |
TdApi.ChatActionUploadingVoiceNote
The user is uploading a voice note.
|
static class |
TdApi.ChatAdministrator
Contains information about a chat administrator.
|
static class |
TdApi.ChatAdministrators
Represents a list of chat administrators.
|
static class |
TdApi.ChatEvent
Represents a chat event.
|
static class |
TdApi.ChatEventAction
This class is an abstract base class.
|
static class |
TdApi.ChatEventDescriptionChanged
The chat description was changed.
|
static class |
TdApi.ChatEventInvitesToggled
The canInviteUsers permission of a supergroup chat was toggled.
|
static class |
TdApi.ChatEventIsAllHistoryAvailableToggled
The isAllHistoryAvailable setting of a supergroup was toggled.
|
static class |
TdApi.ChatEventLinkedChatChanged
The linked chat of a supergroup was changed.
|
static class |
TdApi.ChatEventLocationChanged
The supergroup location was changed.
|
static class |
TdApi.ChatEventLogFilters
Represents a set of filters used to obtain a chat event log.
|
static class |
TdApi.ChatEventMemberInvited
A new chat member was invited.
|
static class |
TdApi.ChatEventMemberJoined
A new member joined the chat.
|
static class |
TdApi.ChatEventMemberLeft
A member left the chat.
|
static class |
TdApi.ChatEventMemberPromoted
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
|
static class |
TdApi.ChatEventMemberRestricted
A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
|
static class |
TdApi.ChatEventMessageDeleted
A message was deleted.
|
static class |
TdApi.ChatEventMessageEdited
A message was edited.
|
static class |
TdApi.ChatEventMessagePinned
A message was pinned.
|
static class |
TdApi.ChatEventMessageUnpinned
A message was unpinned.
|
static class |
TdApi.ChatEventPermissionsChanged
The chat permissions was changed.
|
static class |
TdApi.ChatEventPhotoChanged
The chat photo was changed.
|
static class |
TdApi.ChatEventPollStopped
A poll in a message was stopped.
|
static class |
TdApi.ChatEvents
Contains a list of chat events.
|
static class |
TdApi.ChatEventSignMessagesToggled
The signMessages setting of a channel was toggled.
|
static class |
TdApi.ChatEventSlowModeDelayChanged
The slowModeDelay setting of a supergroup was changed.
|
static class |
TdApi.ChatEventStickerSetChanged
The supergroup sticker set was changed.
|
static class |
TdApi.ChatEventTitleChanged
The chat title was changed.
|
static class |
TdApi.ChatEventUsernameChanged
The chat username was changed.
|
static class |
TdApi.ChatInviteLink
Contains a chat invite link.
|
static class |
TdApi.ChatInviteLinkInfo
Contains information about a chat invite link.
|
static class |
TdApi.ChatList
This class is an abstract base class.
|
static class |
TdApi.ChatListArchive
A list of chats usually located at the top of the main chat list.
|
static class |
TdApi.ChatListMain
A main list of chats.
|
static class |
TdApi.ChatLocation
Represents a location to which a chat is connected.
|
static class |
TdApi.ChatMember
A user with information about joining/leaving a chat.
|
static class |
TdApi.ChatMembers
Contains a list of chat members.
|
static class |
TdApi.ChatMembersFilter
This class is an abstract base class.
|
static class |
TdApi.ChatMembersFilterAdministrators
Returns the owner and administrators.
|
static class |
TdApi.ChatMembersFilterBanned
Returns users banned from the chat; can be used only by administrators in a supergroup or in a channel.
|
static class |
TdApi.ChatMembersFilterBots
Returns bot members of the chat.
|
static class |
TdApi.ChatMembersFilterContacts
Returns contacts of the user.
|
static class |
TdApi.ChatMembersFilterMembers
Returns all chat members, including restricted chat members.
|
static 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 class |
TdApi.ChatMemberStatusAdministrator
The user is a member of a chat and has some additional privileges.
|
static class |
TdApi.ChatMemberStatusBanned
The user was banned (and hence is not a member of the chat).
|
static class |
TdApi.ChatMemberStatusCreator
The user is the owner of a chat and has all the administrator privileges.
|
static class |
TdApi.ChatMemberStatusLeft
The user is not a chat member.
|
static class |
TdApi.ChatMemberStatusMember
The user is a member of a chat, without any additional privileges or restrictions.
|
static class |
TdApi.ChatMemberStatusRestricted
The user is under certain restrictions in the chat.
|
static class |
TdApi.ChatNearby
Describes a chat located nearby.
|
static class |
TdApi.ChatNotificationSettings
Contains information about notification settings for a chat.
|
static class |
TdApi.ChatPermissions
Describes actions that a user is allowed to take in a chat.
|
static class |
TdApi.ChatPhoto
Describes the photo of a chat.
|
static class |
TdApi.ChatReportReason
This class is an abstract base class.
|
static class |
TdApi.ChatReportReasonChildAbuse
The chat has child abuse related content.
|
static class |
TdApi.ChatReportReasonCopyright
The chat contains copyrighted content.
|
static class |
TdApi.ChatReportReasonCustom
A custom reason provided by the user.
|
static class |
TdApi.ChatReportReasonPornography
The chat contains pornographic messages.
|
static class |
TdApi.ChatReportReasonSpam
The chat contains spam messages.
|
static class |
TdApi.ChatReportReasonUnrelatedLocation
The location-based chat is unrelated to its stated location.
|
static class |
TdApi.ChatReportReasonViolence
The chat promotes violence.
|
static class |
TdApi.Chats
Represents a list of chats.
|
static class |
TdApi.ChatsNearby
Represents a list of chats located nearby.
|
static class |
TdApi.ChatType
This class is an abstract base class.
|
static class |
TdApi.ChatTypeBasicGroup
A basic group (i.e., a chat with 0-200 other users).
|
static class |
TdApi.ChatTypePrivate
An ordinary chat with a user.
|
static class |
TdApi.ChatTypeSecret
A secret chat with a user.
|
static class |
TdApi.ChatTypeSupergroup
A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members).
|
static class |
TdApi.CheckAuthenticationBotToken
Checks the authentication token of a bot; to log in as a bot.
|
static class |
TdApi.CheckAuthenticationCode
Checks the authentication code.
|
static class |
TdApi.CheckAuthenticationPassword
Checks the authentication password for correctness.
|
static class |
TdApi.CheckChangePhoneNumberCode
Checks the authentication code sent to confirm a new phone number of the user.
|
static class |
TdApi.CheckChatInviteLink
Checks the validity of an invite link for a chat and returns information about the corresponding chat.
|
static 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 class |
TdApi.CheckChatUsernameResultOk
The username can be set.
|
static class |
TdApi.CheckChatUsernameResultPublicChatsTooMuch
The user has too much chats with username, one of them should be made private first.
|
static class |
TdApi.CheckChatUsernameResultPublicGroupsUnavailable
The user can't be a member of a public supergroup.
|
static class |
TdApi.CheckChatUsernameResultUsernameInvalid
The username is invalid.
|
static class |
TdApi.CheckChatUsernameResultUsernameOccupied
The username is occupied.
|
static class |
TdApi.CheckCreatedPublicChatsLimit
Checks whether the maximum number of owned public chats has been reached.
|
static class |
TdApi.CheckDatabaseEncryptionKey
Checks the database encryption key for correctness.
|
static class |
TdApi.CheckEmailAddressVerificationCode
Checks the email address verification code for Telegram Passport.
|
static class |
TdApi.CheckPhoneNumberConfirmationCode
Checks phone number confirmation code.
|
static class |
TdApi.CheckPhoneNumberVerificationCode
Checks the phone number verification code for Telegram Passport.
|
static class |
TdApi.CheckRecoveryEmailAddressCode
Checks the 2-step verification recovery email address verification code.
|
static class |
TdApi.CleanFileName
Removes potentially dangerous characters from the name of a file.
|
static class |
TdApi.ClearAllDraftMessages
Clears draft messages in all chats.
|
static class |
TdApi.ClearImportedContacts
Clears all imported contacts, contact list remains unchanged.
|
static class |
TdApi.ClearRecentlyFoundChats
Clears the list of recently found chats.
|
static class |
TdApi.ClearRecentStickers
Clears the list of recently used stickers.
|
static class |
TdApi.Close
Closes the TDLib instance.
|
static class |
TdApi.CloseChat
Informs TDLib that the chat is closed by the user.
|
static class |
TdApi.CloseSecretChat
Closes a secret chat, effectively transferring its state to secretChatStateClosed.
|
static class |
TdApi.ConfirmQrCodeAuthentication
Confirms QR code authentication on another device.
|
static class |
TdApi.ConnectedWebsite
Contains information about one website the current user is logged in with Telegram.
|
static 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 class |
TdApi.ConnectionStateConnecting
Currently establishing a connection to the Telegram servers.
|
static class |
TdApi.ConnectionStateConnectingToProxy
Currently establishing a connection with a proxy server.
|
static class |
TdApi.ConnectionStateReady
There is a working connection to the Telegram servers.
|
static class |
TdApi.ConnectionStateUpdating
Downloading data received while the client was offline.
|
static class |
TdApi.ConnectionStateWaitingForNetwork
Currently waiting for the network to become available.
|
static class |
TdApi.Contact
Describes a user contact.
|
static class |
TdApi.Count
Contains a counter.
|
static class |
TdApi.CreateBasicGroupChat
Returns an existing chat corresponding to a known basic group.
|
static class |
TdApi.CreateCall
Creates a new call.
|
static class |
TdApi.CreateNewBasicGroupChat
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate.
|
static class |
TdApi.CreateNewSecretChat
Creates a new secret chat.
|
static class |
TdApi.CreateNewStickerSet
Creates a new sticker set; for bots only.
|
static class |
TdApi.CreateNewSupergroupChat
Creates a new supergroup or channel and sends a corresponding messageSupergroupChatCreate.
|
static class |
TdApi.CreatePrivateChat
Returns an existing chat corresponding to a given user.
|
static class |
TdApi.CreateSecretChat
Returns an existing chat corresponding to a known secret chat.
|
static class |
TdApi.CreateSupergroupChat
Returns an existing chat corresponding to a known supergroup or channel.
|
static class |
TdApi.CreateTemporaryPassword
Creates a new temporary password for processing payments.
|
static class |
TdApi.CustomRequestResult
Contains the result of a custom request.
|
static class |
TdApi.DatabaseStatistics
Contains database statistics.
|
static class |
TdApi.Date
Represents a date according to the Gregorian calendar.
|
static class |
TdApi.DatedFile
File with the date it was uploaded.
|
static class |
TdApi.DeepLinkInfo
Contains information about a tg:// deep link.
|
static class |
TdApi.DeleteAccount
Deletes the account of the current user, deleting all information associated with the user from the server.
|
static class |
TdApi.DeleteChatHistory
Deletes all messages in the chat.
|
static class |
TdApi.DeleteChatMessagesFromUser
Deletes all messages sent by the specified user to a chat.
|
static class |
TdApi.DeleteChatReplyMarkup
Deletes the default reply markup from a chat.
|
static class |
TdApi.DeleteFile
Deletes a file from the TDLib file cache.
|
static class |
TdApi.DeleteLanguagePack
Deletes all information about a language pack in the current localization target.
|
static class |
TdApi.DeleteMessages
Deletes messages.
|
static class |
TdApi.DeletePassportElement
Deletes a Telegram Passport element.
|
static class |
TdApi.DeleteProfilePhoto
Deletes a profile photo.
|
static class |
TdApi.DeleteSavedCredentials
Deletes saved credentials for all payment provider bots.
|
static class |
TdApi.DeleteSavedOrderInfo
Deletes saved order info.
|
static class |
TdApi.DeleteSupergroup
Deletes a supergroup or channel along with all messages in the corresponding chat.
|
static 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 class |
TdApi.DeviceTokenApplePush
A token for Apple Push Notification service.
|
static class |
TdApi.DeviceTokenApplePushVoIP
A token for Apple Push Notification service VoIP notifications.
|
static class |
TdApi.DeviceTokenBlackBerryPush
A token for BlackBerry Push Service.
|
static class |
TdApi.DeviceTokenFirebaseCloudMessaging
A token for Firebase Cloud Messaging.
|
static class |
TdApi.DeviceTokenMicrosoftPush
A token for Microsoft Push Notification Service.
|
static class |
TdApi.DeviceTokenMicrosoftPushVoIP
A token for Microsoft Push Notification Service VoIP channel.
|
static class |
TdApi.DeviceTokenSimplePush
A token for Simple Push API for Firefox OS.
|
static class |
TdApi.DeviceTokenTizenPush
A token for Tizen Push Service.
|
static class |
TdApi.DeviceTokenUbuntuPush
A token for Ubuntu Push Client service.
|
static class |
TdApi.DeviceTokenWebPush
A token for web Push API.
|
static class |
TdApi.DeviceTokenWindowsPush
A token for Windows Push Notification Services.
|
static class |
TdApi.DisableProxy
Disables the currently enabled proxy.
|
static class |
TdApi.DiscardCall
Discards a call.
|
static class |
TdApi.DisconnectAllWebsites
Disconnects all websites from the current user's Telegram account.
|
static class |
TdApi.DisconnectWebsite
Disconnects website from the current user's Telegram account.
|
static class |
TdApi.Document
Describes a document of any type.
|
static class |
TdApi.DownloadFile
Downloads a file from the cloud.
|
static class |
TdApi.DraftMessage
Contains information about a message draft.
|
static class |
TdApi.EditCustomLanguagePackInfo
Edits information about a custom local language pack in the current localization target.
|
static class |
TdApi.EditInlineMessageCaption
Edits the caption of an inline message sent via a bot; for bots only.
|
static class |
TdApi.EditInlineMessageLiveLocation
Edits the content of a live location in an inline message sent via a bot; for bots only.
|
static 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 class |
TdApi.EditInlineMessageReplyMarkup
Edits the reply markup of an inline message sent via a bot; for bots only.
|
static class |
TdApi.EditInlineMessageText
Edits the text of an inline text or game message sent via a bot; for bots only.
|
static class |
TdApi.EditMessageCaption
Edits the message content caption.
|
static class |
TdApi.EditMessageLiveLocation
Edits the message content of a live location.
|
static class |
TdApi.EditMessageMedia
Edits the content of a message with an animation, an audio, a document, a photo or a video.
|
static class |
TdApi.EditMessageReplyMarkup
Edits the message reply markup; for bots only.
|
static class |
TdApi.EditMessageSchedulingState
Edits the time when a scheduled message will be sent.
|
static class |
TdApi.EditMessageText
Edits the text of a message (or a text of a game message).
|
static class |
TdApi.EditProxy
Edits an existing proxy server for network requests.
|
static class |
TdApi.EmailAddressAuthenticationCodeInfo
Information about the email address authentication code that was sent.
|
static class |
TdApi.Emojis
Represents a list of emoji.
|
static class |
TdApi.EnableProxy
Enables a proxy.
|
static class |
TdApi.EncryptedCredentials
Contains encrypted Telegram Passport data credentials.
|
static class |
TdApi.EncryptedPassportElement
Contains information about an encrypted Telegram Passport element; for bots only.
|
static class |
TdApi.Error
An object of this type can be returned on every function call, in case of an error.
|
static class |
TdApi.File
Represents a file.
|
static class |
TdApi.FilePart
Contains a part of a file.
|
static class |
TdApi.FileType
This class is an abstract base class.
|
static class |
TdApi.FileTypeAnimation
The file is an animation.
|
static class |
TdApi.FileTypeAudio
The file is an audio file.
|
static class |
TdApi.FileTypeDocument
The file is a document.
|
static class |
TdApi.FileTypeNone
The data is not a file.
|
static class |
TdApi.FileTypePhoto
The file is a photo.
|
static class |
TdApi.FileTypeProfilePhoto
The file is a profile photo.
|
static class |
TdApi.FileTypeSecret
The file was sent to a secret chat (the file type is not known to the server).
|
static class |
TdApi.FileTypeSecretThumbnail
The file is a thumbnail of a file from a secret chat.
|
static class |
TdApi.FileTypeSecure
The file is a file from Secure storage used for storing Telegram Passport files.
|
static class |
TdApi.FileTypeSticker
The file is a sticker.
|
static class |
TdApi.FileTypeThumbnail
The file is a thumbnail of another file.
|
static class |
TdApi.FileTypeUnknown
The file type is not yet known.
|
static class |
TdApi.FileTypeVideo
The file is a video.
|
static class |
TdApi.FileTypeVideoNote
The file is a video note.
|
static class |
TdApi.FileTypeVoiceNote
The file is a voice note.
|
static class |
TdApi.FileTypeWallpaper
The file is a wallpaper or a background pattern.
|
static class |
TdApi.FinishFileGeneration
Finishes the file generation.
|
static class |
TdApi.FormattedText
A text with some entities.
|
static class |
TdApi.ForwardMessages
Forwards previously sent messages.
|
static class |
TdApi.FoundMessages
Contains a list of messages found by a search.
|
static class |
TdApi.Function
This class is a base class for all TDLib interface function-classes.
|
static class |
TdApi.Game
Describes a game.
|
static class |
TdApi.GameHighScore
Contains one row of the game high score table.
|
static class |
TdApi.GameHighScores
Contains a list of game high scores.
|
static class |
TdApi.GenerateChatInviteLink
Generates a new invite link for a chat; the previously generated link is revoked.
|
static class |
TdApi.GetAccountTtl
Returns the period of inactivity after which the account of the current user will automatically be deleted.
|
static class |
TdApi.GetActiveLiveLocationMessages
Returns all active live locations that should be updated by the client.
|
static class |
TdApi.GetActiveSessions
Returns all active sessions of the current user.
|
static class |
TdApi.GetAllPassportElements
Returns all available Telegram Passport elements.
|
static class |
TdApi.GetApplicationConfig
Returns application config, provided by the server.
|
static class |
TdApi.GetArchivedStickerSets
Returns a list of archived sticker sets.
|
static class |
TdApi.GetAttachedStickerSets
Returns a list of sticker sets attached to a file.
|
static class |
TdApi.GetAuthorizationState
Returns the current authorization state; this is an offline request.
|
static class |
TdApi.GetAutoDownloadSettingsPresets
Returns auto-download settings presets for the currently logged in user.
|
static class |
TdApi.GetBackgrounds
Returns backgrounds installed by the user.
|
static class |
TdApi.GetBackgroundUrl
Constructs a persistent HTTP URL for a background.
|
static class |
TdApi.GetBasicGroup
Returns information about a basic group by its identifier.
|
static class |
TdApi.GetBasicGroupFullInfo
Returns full information about a basic group by its identifier.
|
static class |
TdApi.GetBlockedUsers
Returns users that were blocked by the current user.
|
static class |
TdApi.GetCallbackQueryAnswer
Sends a callback query to a bot and returns an answer.
|
static 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 class |
TdApi.GetChatAdministrators
Returns a list of administrators of the chat with their custom titles.
|
static class |
TdApi.GetChatEventLog
Returns a list of service actions taken by chat members and administrators in the last 48 hours.
|
static class |
TdApi.GetChatHistory
Returns messages in a chat.
|
static class |
TdApi.GetChatMember
Returns information about a single member of a chat.
|
static class |
TdApi.GetChatMessageByDate
Returns the last message sent in a chat no later than the specified date.
|
static class |
TdApi.GetChatMessageCount
Returns approximate number of messages of the specified type in the chat.
|
static class |
TdApi.GetChatNotificationSettingsExceptions
Returns list of chats with non-default notification settings.
|
static class |
TdApi.GetChatPinnedMessage
Returns information about a pinned chat message.
|
static class |
TdApi.GetChats
Returns an ordered list of chats in a chat list.
|
static class |
TdApi.GetChatScheduledMessages
Returns all scheduled messages in a chat.
|
static class |
TdApi.GetChatStatisticsUrl
Returns an HTTP URL with the chat statistics.
|
static class |
TdApi.GetConnectedWebsites
Returns all website where the current user used Telegram to log in.
|
static class |
TdApi.GetContacts
Returns all user contacts.
|
static class |
TdApi.GetCountryCode
Uses current user IP to found their country.
|
static class |
TdApi.GetCreatedPublicChats
Returns a list of public chats of the specified type, owned by the user.
|
static class |
TdApi.GetCurrentState
Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others.
|
static class |
TdApi.GetDatabaseStatistics
Returns database statistics.
|
static class |
TdApi.GetDeepLinkInfo
Returns information about a tg:// deep link.
|
static 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 class |
TdApi.GetFavoriteStickers
Returns favorite stickers.
|
static class |
TdApi.GetFile
Returns information about a file; this is an offline request.
|
static class |
TdApi.GetFileDownloadedPrefixSize
Returns file downloaded prefix size from a given offset.
|
static class |
TdApi.GetFileExtension
Returns the extension of a file, guessed by its MIME type.
|
static class |
TdApi.GetFileMimeType
Returns the MIME type of a file, guessed by its extension.
|
static 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 class |
TdApi.GetGroupsInCommon
Returns a list of common group chats with a given user.
|
static class |
TdApi.GetImportedContactCount
Returns the total number of imported contacts.
|
static class |
TdApi.GetInactiveSupergroupChats
Returns a list of recently inactive supergroups and channels.
|
static 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 class |
TdApi.GetInlineQueryResults
Sends an inline query to a bot and returns its results.
|
static class |
TdApi.GetInstalledStickerSets
Returns a list of installed sticker sets.
|
static class |
TdApi.GetInviteText
Returns the default text for invitation messages to be used as a placeholder when the current user invites friends to Telegram.
|
static class |
TdApi.GetJsonString
Converts a JsonValue object to corresponding JSON-serialized string.
|
static class |
TdApi.GetJsonValue
Converts a JSON-serialized string to corresponding JsonValue object.
|
static class |
TdApi.GetLanguagePackInfo
Returns information about a language pack.
|
static class |
TdApi.GetLanguagePackString
Returns a string stored in the local database from the specified localization target and language pack by its key.
|
static class |
TdApi.GetLanguagePackStrings
Returns strings from a language pack in the current localization target by their keys.
|
static class |
TdApi.GetLocalizationTargetInfo
Returns information about the current localization target.
|
static 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 class |
TdApi.GetLoginUrlInfo
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl.
|
static class |
TdApi.GetLogStream
Returns information about currently used log stream for internal logging of TDLib.
|
static class |
TdApi.GetLogTags
Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"].
|
static class |
TdApi.GetLogTagVerbosityLevel
Returns current verbosity level for a specified TDLib internal log tag.
|
static class |
TdApi.GetLogVerbosityLevel
Returns current verbosity level of the internal logging of TDLib.
|
static class |
TdApi.GetMapThumbnailFile
Returns information about a file with a map thumbnail in PNG format.
|
static class |
TdApi.GetMe
Returns the current user.
|
static class |
TdApi.GetMessage
Returns information about a message.
|
static class |
TdApi.GetMessageLink
Returns a private HTTPS link to a message in a chat.
|
static class |
TdApi.GetMessageLinkInfo
Returns information about a public or private message link.
|
static class |
TdApi.GetMessageLocally
Returns information about a message, if it is available locally without sending network request.
|
static class |
TdApi.GetMessages
Returns information about messages.
|
static class |
TdApi.GetNetworkStatistics
Returns network data usage statistics.
|
static class |
TdApi.GetOption
Returns the value of an option by its name.
|
static class |
TdApi.GetPassportAuthorizationForm
Returns a Telegram Passport authorization form for sharing data with a service.
|
static class |
TdApi.GetPassportAuthorizationFormAvailableElements
Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form.
|
static class |
TdApi.GetPassportElement
Returns one of the available Telegram Passport elements.
|
static class |
TdApi.GetPasswordState
Returns the current state of 2-step verification.
|
static class |
TdApi.GetPaymentForm
Returns an invoice payment form.
|
static class |
TdApi.GetPaymentReceipt
Returns information about a successful payment.
|
static class |
TdApi.GetPollVoters
Returns users voted for the specified option in a non-anonymous polls.
|
static class |
TdApi.GetPreferredCountryLanguage
Returns an IETF language tag of the language preferred in the country, which should be used to fill native fields in Telegram Passport personal details.
|
static class |
TdApi.GetProxies
Returns list of proxies that are currently set up.
|
static class |
TdApi.GetProxyLink
Returns an HTTPS link, which can be used to add a proxy.
|
static class |
TdApi.GetPublicMessageLink
Returns a public HTTPS link to a message.
|
static class |
TdApi.GetPushReceiverId
Returns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.
|
static class |
TdApi.GetRecentInlineBots
Returns up to 20 recently used inline bots in the order of their last usage.
|
static class |
TdApi.GetRecentlyVisitedTMeUrls
Returns t.me URLs recently visited by a newly registered user.
|
static class |
TdApi.GetRecentStickers
Returns a list of recently used stickers.
|
static class |
TdApi.GetRecoveryEmailAddress
Returns a 2-step verification recovery email address that was previously set up.
|
static class |
TdApi.GetRemoteFile
Returns information about a file by its remote ID; this is an offline request.
|
static class |
TdApi.GetRepliedMessage
Returns information about a message that is replied by given message.
|
static class |
TdApi.GetSavedAnimations
Returns saved animations.
|
static class |
TdApi.GetSavedOrderInfo
Returns saved order info, if any.
|
static class |
TdApi.GetScopeNotificationSettings
Returns the notification settings for chats of a given type.
|
static class |
TdApi.GetSecretChat
Returns information about a secret chat by its identifier.
|
static class |
TdApi.GetStickerEmojis
Returns emoji corresponding to a sticker.
|
static class |
TdApi.GetStickers
Returns stickers from the installed sticker sets that correspond to a given emoji.
|
static class |
TdApi.GetStickerSet
Returns information about a sticker set by its identifier.
|
static class |
TdApi.GetStorageStatistics
Returns storage usage statistics.
|
static class |
TdApi.GetStorageStatisticsFast
Quickly returns approximate storage usage statistics.
|
static class |
TdApi.GetSuitableDiscussionChats
Returns a list of basic group and supergroup chats, which can be used as a discussion group for a channel.
|
static class |
TdApi.GetSupergroup
Returns information about a supergroup or a channel by its identifier.
|
static class |
TdApi.GetSupergroupFullInfo
Returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.
|
static class |
TdApi.GetSupergroupMembers
Returns information about members or banned users in a supergroup or channel.
|
static class |
TdApi.GetSupportUser
Returns a user that can be contacted to get support.
|
static class |
TdApi.GetTemporaryPasswordState
Returns information about the current temporary password.
|
static class |
TdApi.GetTextEntities
Returns all entities (mentions, hashtags, cashtags, bot commands, URLs, and email addresses) contained in the text.
|
static class |
TdApi.GetTopChats
Returns a list of frequently used chats.
|
static class |
TdApi.GetTrendingStickerSets
Returns a list of trending sticker sets.
|
static class |
TdApi.GetUser
Returns information about a user by their identifier.
|
static class |
TdApi.GetUserFullInfo
Returns full information about a user by their identifier.
|
static class |
TdApi.GetUserPrivacySettingRules
Returns the current privacy settings.
|
static class |
TdApi.GetUserProfilePhotos
Returns the profile photos of a user.
|
static class |
TdApi.GetWebPageInstantView
Returns an instant view version of a web page if available.
|
static class |
TdApi.GetWebPagePreview
Returns a web page preview by the text of the message.
|
static class |
TdApi.Hashtags
Contains a list of hashtags.
|
static class |
TdApi.HttpUrl
Contains an HTTP URL.
|
static class |
TdApi.IdentityDocument
An identity document.
|
static class |
TdApi.ImportContacts
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.
|
static class |
TdApi.ImportedContacts
Represents the result of an ImportContacts request.
|
static class |
TdApi.InlineKeyboardButton
Represents a single button in an inline keyboard.
|
static class |
TdApi.InlineKeyboardButtonType
This class is an abstract base class.
|
static class |
TdApi.InlineKeyboardButtonTypeBuy
A button to buy something.
|
static class |
TdApi.InlineKeyboardButtonTypeCallback
A button that sends a special callback query to a bot.
|
static class |
TdApi.InlineKeyboardButtonTypeCallbackGame
A button with a game that sends a special callback query to a bot.
|
static class |
TdApi.InlineKeyboardButtonTypeLoginUrl
A button that opens a specified URL and automatically logs in in current user if they allowed to do that.
|
static class |
TdApi.InlineKeyboardButtonTypeSwitchInline
A button that forces an inline query to the bot to be inserted in the input field.
|
static class |
TdApi.InlineKeyboardButtonTypeUrl
A button that opens a specified URL.
|
static class |
TdApi.InlineQueryResult
This class is an abstract base class.
|
static class |
TdApi.InlineQueryResultAnimation
Represents an animation file.
|
static class |
TdApi.InlineQueryResultArticle
Represents a link to an article or web page.
|
static class |
TdApi.InlineQueryResultAudio
Represents an audio file.
|
static class |
TdApi.InlineQueryResultContact
Represents a user contact.
|
static class |
TdApi.InlineQueryResultDocument
Represents a document.
|
static class |
TdApi.InlineQueryResultGame
Represents information about a game.
|
static class |
TdApi.InlineQueryResultLocation
Represents a point on the map.
|
static class |
TdApi.InlineQueryResultPhoto
Represents a photo.
|
static class |
TdApi.InlineQueryResults
Represents the results of the inline query.
|
static class |
TdApi.InlineQueryResultSticker
Represents a sticker.
|
static class |
TdApi.InlineQueryResultVenue
Represents information about a venue.
|
static class |
TdApi.InlineQueryResultVideo
Represents a video.
|
static class |
TdApi.InlineQueryResultVoiceNote
Represents a voice note.
|
static class |
TdApi.InputBackground
This class is an abstract base class.
|
static class |
TdApi.InputBackgroundLocal
A background from a local file.
|
static class |
TdApi.InputBackgroundRemote
A background from the server.
|
static class |
TdApi.InputCredentials
This class is an abstract base class.
|
static class |
TdApi.InputCredentialsAndroidPay
Applies if a user enters new credentials using Android Pay.
|
static class |
TdApi.InputCredentialsApplePay
Applies if a user enters new credentials using Apple Pay.
|
static class |
TdApi.InputCredentialsNew
Applies if a user enters new credentials on a payment provider website.
|
static 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 class |
TdApi.InputFileGenerated
A file generated by the client.
|
static class |
TdApi.InputFileId
A file defined by its unique ID.
|
static class |
TdApi.InputFileLocal
A file defined by a local path.
|
static class |
TdApi.InputFileRemote
A file defined by its remote ID.
|
static class |
TdApi.InputIdentityDocument
An identity document to be saved to Telegram Passport.
|
static class |
TdApi.InputInlineQueryResult
This class is an abstract base class.
|
static class |
TdApi.InputInlineQueryResultAnimatedGif
Represents a link to an animated GIF.
|
static class |
TdApi.InputInlineQueryResultAnimatedMpeg4
Represents a link to an animated (i.e. without sound) H.264/MPEG-4 AVC video.
|
static class |
TdApi.InputInlineQueryResultArticle
Represents a link to an article or web page.
|
static class |
TdApi.InputInlineQueryResultAudio
Represents a link to an MP3 audio file.
|
static class |
TdApi.InputInlineQueryResultContact
Represents a user contact.
|
static class |
TdApi.InputInlineQueryResultDocument
Represents a link to a file.
|
static class |
TdApi.InputInlineQueryResultGame
Represents a game.
|
static class |
TdApi.InputInlineQueryResultLocation
Represents a point on the map.
|
static class |
TdApi.InputInlineQueryResultPhoto
Represents link to a JPEG image.
|
static class |
TdApi.InputInlineQueryResultSticker
Represents a link to a WEBP or TGS sticker.
|
static class |
TdApi.InputInlineQueryResultVenue
Represents information about a venue.
|
static class |
TdApi.InputInlineQueryResultVideo
Represents a link to a page containing an embedded video player or a video file.
|
static class |
TdApi.InputInlineQueryResultVoiceNote
Represents a link to an opus-encoded audio file within an OGG container, single channel audio.
|
static class |
TdApi.InputMessageAnimation
An animation message (GIF-style).
|
static class |
TdApi.InputMessageAudio
An audio message.
|
static class |
TdApi.InputMessageContact
A message containing a user contact.
|
static class |
TdApi.InputMessageContent
This class is an abstract base class.
|
static class |
TdApi.InputMessageDocument
A document message (general file).
|
static class |
TdApi.InputMessageForwarded
A forwarded message.
|
static class |
TdApi.InputMessageGame
A message with a game; not supported for channels or secret chats.
|
static class |
TdApi.InputMessageInvoice
A message with an invoice; can be used only by bots and only in private chats.
|
static class |
TdApi.InputMessageLocation
A message with a location.
|
static class |
TdApi.InputMessagePhoto
A photo message.
|
static class |
TdApi.InputMessagePoll
A message with a poll.
|
static class |
TdApi.InputMessageSticker
A sticker message.
|
static class |
TdApi.InputMessageText
A text message.
|
static class |
TdApi.InputMessageVenue
A message with information about a venue.
|
static class |
TdApi.InputMessageVideo
A video message.
|
static class |
TdApi.InputMessageVideoNote
A video note message.
|
static class |
TdApi.InputMessageVoiceNote
A voice note message.
|
static class |
TdApi.InputPassportElement
This class is an abstract base class.
|
static class |
TdApi.InputPassportElementAddress
A Telegram Passport element to be saved containing the user's address.
|
static class |
TdApi.InputPassportElementBankStatement
A Telegram Passport element to be saved containing the user's bank statement.
|
static class |
TdApi.InputPassportElementDriverLicense
A Telegram Passport element to be saved containing the user's driver license.
|
static class |
TdApi.InputPassportElementEmailAddress
A Telegram Passport element to be saved containing the user's email address.
|
static 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 class |
TdApi.InputPassportElementErrorSourceDataField
A data field contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceFile
The file contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceFiles
The list of attached files contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceFrontSide
The front side of the document contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceReverseSide
The reverse side of the document contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceSelfie
The selfie contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceTranslationFile
One of the files containing the translation of the document contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceTranslationFiles
The translation of the document contains an error.
|
static class |
TdApi.InputPassportElementErrorSourceUnspecified
The element contains an error in an unspecified place.
|
static class |
TdApi.InputPassportElementIdentityCard
A Telegram Passport element to be saved containing the user's identity card.
|
static class |
TdApi.InputPassportElementInternalPassport
A Telegram Passport element to be saved containing the user's internal passport.
|
static class |
TdApi.InputPassportElementPassport
A Telegram Passport element to be saved containing the user's passport.
|
static class |
TdApi.InputPassportElementPassportRegistration
A Telegram Passport element to be saved containing the user's passport registration.
|
static class |
TdApi.InputPassportElementPersonalDetails
A Telegram Passport element to be saved containing the user's personal details.
|
static class |
TdApi.InputPassportElementPhoneNumber
A Telegram Passport element to be saved containing the user's phone number.
|
static class |
TdApi.InputPassportElementRentalAgreement
A Telegram Passport element to be saved containing the user's rental agreement.
|
static class |
TdApi.InputPassportElementTemporaryRegistration
A Telegram Passport element to be saved containing the user's temporary registration.
|
static class |
TdApi.InputPassportElementUtilityBill
A Telegram Passport element to be saved containing the user's utility bill.
|
static class |
TdApi.InputPersonalDocument
A personal document to be saved to Telegram Passport.
|
static class |
TdApi.InputSticker
Describes a sticker that should be added to a sticker set.
|
static class |
TdApi.InputThumbnail
A thumbnail to be sent along with a file; should be in JPEG or WEBP format for stickers, and less than 200 kB in size.
|
static class |
TdApi.Invoice
Product invoice.
|
static class |
TdApi.JoinChat
Adds current user as a new member to a chat.
|
static class |
TdApi.JoinChatByInviteLink
Uses an invite link to add the current user to the chat if possible.
|
static class |
TdApi.JsonObjectMember
Represents one member of a JSON object.
|
static class |
TdApi.JsonValue
This class is an abstract base class.
|
static class |
TdApi.JsonValueArray
Represents a JSON array.
|
static class |
TdApi.JsonValueBoolean
Represents a boolean JSON value.
|
static class |
TdApi.JsonValueNull
Represents a null JSON value.
|
static class |
TdApi.JsonValueNumber
Represents a numeric JSON value.
|
static class |
TdApi.JsonValueObject
Represents a JSON object.
|
static class |
TdApi.JsonValueString
Represents a string JSON value.
|
static class |
TdApi.KeyboardButton
Represents a single button in a bot keyboard.
|
static class |
TdApi.KeyboardButtonType
This class is an abstract base class.
|
static class |
TdApi.KeyboardButtonTypeRequestLocation
A button that sends the user's location when pressed; available only in private chats.
|
static class |
TdApi.KeyboardButtonTypeRequestPhoneNumber
A button that sends the user's phone number when pressed; available only in private chats.
|
static class |
TdApi.KeyboardButtonTypeRequestPoll
A button that allows the user to create and send a poll when pressed; available only in private chats.
|
static class |
TdApi.KeyboardButtonTypeText
A simple button, with text that should be sent when the button is pressed.
|
static class |
TdApi.LabeledPricePart
Portion of the price of a product (e.g., "delivery cost", "tax amount").
|
static class |
TdApi.LanguagePackInfo
Contains information about a language pack.
|
static class |
TdApi.LanguagePackString
Represents one language pack string.
|
static class |
TdApi.LanguagePackStrings
Contains a list of language pack strings.
|
static class |
TdApi.LanguagePackStringValue
This class is an abstract base class.
|
static class |
TdApi.LanguagePackStringValueDeleted
A deleted language pack string, the value should be taken from the built-in english language pack.
|
static class |
TdApi.LanguagePackStringValueOrdinary
An ordinary language pack string.
|
static class |
TdApi.LanguagePackStringValuePluralized
A language pack string which has different forms based on the number of some object it mentions.
|
static class |
TdApi.LeaveChat
Removes current user from chat members.
|
static class |
TdApi.LocalFile
Represents a local file.
|
static class |
TdApi.LocalizationTargetInfo
Contains information about the current localization target.
|
static class |
TdApi.Location
Describes a location on planet Earth.
|
static class |
TdApi.LoginUrlInfo
This class is an abstract base class.
|
static class |
TdApi.LoginUrlInfoOpen
An HTTP url needs to be open.
|
static class |
TdApi.LoginUrlInfoRequestConfirmation
An authorization confirmation dialog needs to be shown to the user.
|
static class |
TdApi.LogOut
Closes the TDLib instance after a proper logout.
|
static class |
TdApi.LogStream
This class is an abstract base class.
|
static class |
TdApi.LogStreamDefault
The log is written to stderr or an OS specific log.
|
static class |
TdApi.LogStreamEmpty
The log is written nowhere.
|
static class |
TdApi.LogStreamFile
The log is written to a file.
|
static class |
TdApi.LogTags
Contains a list of available TDLib internal log tags.
|
static class |
TdApi.LogVerbosityLevel
Contains a TDLib internal log verbosity level.
|
static class |
TdApi.MaskPoint
This class is an abstract base class.
|
static class |
TdApi.MaskPointChin
A mask should be placed relatively to the chin.
|
static class |
TdApi.MaskPointEyes
A mask should be placed relatively to the eyes.
|
static class |
TdApi.MaskPointForehead
A mask should be placed relatively to the forehead.
|
static class |
TdApi.MaskPointMouth
A mask should be placed relatively to the mouth.
|
static class |
TdApi.MaskPosition
Position on a photo where a mask should be placed.
|
static class |
TdApi.Message
Describes a message.
|
static class |
TdApi.MessageAnimation
An animation message (GIF-style).
|
static class |
TdApi.MessageAudio
An audio message.
|
static class |
TdApi.MessageBasicGroupChatCreate
A newly created basic group.
|
static class |
TdApi.MessageCall
A message with information about an ended call.
|
static class |
TdApi.MessageChatAddMembers
New chat members were added.
|
static class |
TdApi.MessageChatChangePhoto
An updated chat photo.
|
static class |
TdApi.MessageChatChangeTitle
An updated chat title.
|
static class |
TdApi.MessageChatDeleteMember
A chat member was deleted.
|
static class |
TdApi.MessageChatDeletePhoto
A deleted chat photo.
|
static class |
TdApi.MessageChatJoinByLink
A new member joined the chat by invite link.
|
static class |
TdApi.MessageChatSetTtl
The TTL (Time To Live) setting messages in a secret chat has been changed.
|
static class |
TdApi.MessageChatUpgradeFrom
A supergroup has been created from a basic group.
|
static class |
TdApi.MessageChatUpgradeTo
A basic group was upgraded to a supergroup and was deactivated as the result.
|
static class |
TdApi.MessageContact
A message with a user contact.
|
static class |
TdApi.MessageContactRegistered
A contact has registered with Telegram.
|
static class |
TdApi.MessageContent
This class is an abstract base class.
|
static class |
TdApi.MessageCustomServiceAction
A non-standard action has happened in the chat.
|
static class |
TdApi.MessageDocument
A document message (general file).
|
static class |
TdApi.MessageExpiredPhoto
An expired photo message (self-destructed after TTL has elapsed).
|
static class |
TdApi.MessageExpiredVideo
An expired video message (self-destructed after TTL has elapsed).
|
static class |
TdApi.MessageForwardInfo
Contains information about a forwarded message.
|
static class |
TdApi.MessageForwardOrigin
This class is an abstract base class.
|
static class |
TdApi.MessageForwardOriginChannel
The message was originally a post in a channel.
|
static class |
TdApi.MessageForwardOriginHiddenUser
The message was originally written by a user, which is hidden by their privacy settings.
|
static class |
TdApi.MessageForwardOriginUser
The message was originally written by a known user.
|
static class |
TdApi.MessageGame
A message with a game.
|
static class |
TdApi.MessageGameScore
A new high score was achieved in a game.
|
static class |
TdApi.MessageInvoice
A message with an invoice from a bot.
|
static class |
TdApi.MessageLinkInfo
Contains information about a link to a message in a chat.
|
static class |
TdApi.MessageLocation
A message with a location.
|
static class |
TdApi.MessagePassportDataReceived
Telegram Passport data has been received; for bots only.
|
static class |
TdApi.MessagePassportDataSent
Telegram Passport data has been sent.
|
static class |
TdApi.MessagePaymentSuccessful
A payment has been completed.
|
static class |
TdApi.MessagePaymentSuccessfulBot
A payment has been completed; for bots only.
|
static class |
TdApi.MessagePhoto
A photo message.
|
static class |
TdApi.MessagePinMessage
A message has been pinned.
|
static class |
TdApi.MessagePoll
A message with a poll.
|
static class |
TdApi.Messages
Contains a list of messages.
|
static class |
TdApi.MessageSchedulingState
This class is an abstract base class.
|
static class |
TdApi.MessageSchedulingStateSendAtDate
The message will be sent at the specified date.
|
static class |
TdApi.MessageSchedulingStateSendWhenOnline
The message will be sent when the peer will be online.
|
static class |
TdApi.MessageScreenshotTaken
A screenshot of a message in the chat has been taken.
|
static class |
TdApi.MessageSendingState
This class is an abstract base class.
|
static class |
TdApi.MessageSendingStateFailed
The message failed to be sent.
|
static class |
TdApi.MessageSendingStatePending
The message is being sent now, but has not yet been delivered to the server.
|
static class |
TdApi.MessageSticker
A sticker message.
|
static class |
TdApi.MessageSupergroupChatCreate
A newly created supergroup or channel.
|
static class |
TdApi.MessageText
A text message.
|
static class |
TdApi.MessageUnsupported
Message content that is not supported by the client.
|
static class |
TdApi.MessageVenue
A message with information about a venue.
|
static class |
TdApi.MessageVideo
A video message.
|
static class |
TdApi.MessageVideoNote
A video note message.
|
static class |
TdApi.MessageVoiceNote
A voice note message.
|
static class |
TdApi.MessageWebsiteConnected
The current user has connected a website by logging in using Telegram Login Widget on it.
|
static class |
TdApi.Minithumbnail
Thumbnail image of a very poor quality and low resolution.
|
static class |
TdApi.NetworkStatistics
A full list of available network statistic entries.
|
static class |
TdApi.NetworkStatisticsEntry
This class is an abstract base class.
|
static class |
TdApi.NetworkStatisticsEntryCall
Contains information about the total amount of data that was used for calls.
|
static 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 class |
TdApi.NetworkTypeMobile
A mobile network.
|
static class |
TdApi.NetworkTypeMobileRoaming
A mobile roaming network.
|
static class |
TdApi.NetworkTypeNone
The network is not available.
|
static class |
TdApi.NetworkTypeOther
A different network type (e.g., Ethernet network).
|
static class |
TdApi.NetworkTypeWiFi
A Wi-Fi network.
|
static class |
TdApi.Notification
Contains information about a notification.
|
static class |
TdApi.NotificationGroup
Describes a group of notifications.
|
static class |
TdApi.NotificationGroupType
This class is an abstract base class.
|
static class |
TdApi.NotificationGroupTypeCalls
A group containing notifications of type notificationTypeNewCall.
|
static 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 class |
TdApi.NotificationGroupTypeMessages
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages.
|
static class |
TdApi.NotificationGroupTypeSecretChat
A group containing a notification of type notificationTypeNewSecretChat.
|
static class |
TdApi.NotificationSettingsScope
This class is an abstract base class.
|
static class |
TdApi.NotificationSettingsScopeChannelChats
Notification settings applied to all channels when the corresponding chat setting has a default value.
|
static class |
TdApi.NotificationSettingsScopeGroupChats
Notification settings applied to all basic groups and supergroups when the corresponding chat setting has a default value.
|
static 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 class |
TdApi.NotificationTypeNewCall
New call was received.
|
static class |
TdApi.NotificationTypeNewMessage
New message was received.
|
static class |
TdApi.NotificationTypeNewPushMessage
New message was received through a push notification.
|
static class |
TdApi.NotificationTypeNewSecretChat
New secret chat was created.
|
static class |
TdApi.Object
This class is a base class for all TDLib interface classes.
|
static class |
TdApi.Ok
An object of this type is returned on a successful function call for certain functions.
|
static class |
TdApi.OpenChat
Informs TDLib that the chat is opened by the user.
|
static 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 class |
TdApi.OptimizeStorage
Optimizes storage usage, i.e. deletes some files and returns new storage usage statistics.
|
static class |
TdApi.OptionValue
This class is an abstract base class.
|
static class |
TdApi.OptionValueBoolean
Represents a boolean option.
|
static class |
TdApi.OptionValueEmpty
Represents an unknown option or an option which has a default value.
|
static class |
TdApi.OptionValueInteger
Represents an integer option.
|
static class |
TdApi.OptionValueString
Represents a string option.
|
static class |
TdApi.OrderInfo
Order information.
|
static class |
TdApi.PageBlock
This class is an abstract base class.
|
static 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 class |
TdApi.PageBlockAnimation
An animation.
|
static class |
TdApi.PageBlockAudio
An audio file.
|
static class |
TdApi.PageBlockAuthorDate
The author and publishing date of a page.
|
static class |
TdApi.PageBlockBlockQuote
A block quote.
|
static class |
TdApi.PageBlockCaption
Contains a caption of an instant view web page block, consisting of a text and a trailing credit.
|
static class |
TdApi.PageBlockChatLink
A link to a chat.
|
static class |
TdApi.PageBlockCollage
A collage.
|
static class |
TdApi.PageBlockCover
A page cover.
|
static class |
TdApi.PageBlockDetails
A collapsible block.
|
static class |
TdApi.PageBlockDivider
An empty block separating a page.
|
static class |
TdApi.PageBlockEmbedded
An embedded web page.
|
static class |
TdApi.PageBlockEmbeddedPost
An embedded post.
|
static class |
TdApi.PageBlockFooter
The footer of a page.
|
static class |
TdApi.PageBlockHeader
A header.
|
static class |
TdApi.PageBlockHorizontalAlignment
This class is an abstract base class.
|
static class |
TdApi.PageBlockHorizontalAlignmentCenter
The content should be center-aligned.
|
static class |
TdApi.PageBlockHorizontalAlignmentLeft
The content should be left-aligned.
|
static class |
TdApi.PageBlockHorizontalAlignmentRight
The content should be right-aligned.
|
static class |
TdApi.PageBlockKicker
A kicker.
|
static class |
TdApi.PageBlockList
A list of data blocks.
|
static class |
TdApi.PageBlockListItem
Describes an item of a list page block.
|
static class |
TdApi.PageBlockMap
A map.
|
static class |
TdApi.PageBlockParagraph
A text paragraph.
|
static class |
TdApi.PageBlockPhoto
A photo.
|
static class |
TdApi.PageBlockPreformatted
A preformatted text paragraph.
|
static class |
TdApi.PageBlockPullQuote
A pull quote.
|
static class |
TdApi.PageBlockRelatedArticle
Contains information about a related article.
|
static class |
TdApi.PageBlockRelatedArticles
Related articles.
|
static class |
TdApi.PageBlockSlideshow
A slideshow.
|
static class |
TdApi.PageBlockSubheader
A subheader.
|
static class |
TdApi.PageBlockSubtitle
The subtitle of a page.
|
static class |
TdApi.PageBlockTable
A table.
|
static class |
TdApi.PageBlockTableCell
Represents a cell of a table.
|
static class |
TdApi.PageBlockTitle
The title of a page.
|
static class |
TdApi.PageBlockVerticalAlignment
This class is an abstract base class.
|
static class |
TdApi.PageBlockVerticalAlignmentBottom
The content should be bottom-aligned.
|
static class |
TdApi.PageBlockVerticalAlignmentMiddle
The content should be middle-aligned.
|
static class |
TdApi.PageBlockVerticalAlignmentTop
The content should be top-aligned.
|
static class |
TdApi.PageBlockVideo
A video.
|
static class |
TdApi.PageBlockVoiceNote
A voice note.
|
static class |
TdApi.ParseTextEntities
Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text.
|
static 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 class |
TdApi.PassportElementAddress
A Telegram Passport element containing the user's address.
|
static class |
TdApi.PassportElementBankStatement
A Telegram Passport element containing the user's bank statement.
|
static class |
TdApi.PassportElementDriverLicense
A Telegram Passport element containing the user's driver license.
|
static class |
TdApi.PassportElementEmailAddress
A Telegram Passport element containing the user's email address.
|
static 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 class |
TdApi.PassportElementErrorSourceDataField
One of the data fields contains an error.
|
static class |
TdApi.PassportElementErrorSourceFile
The file contains an error.
|
static class |
TdApi.PassportElementErrorSourceFiles
The list of attached files contains an error.
|
static class |
TdApi.PassportElementErrorSourceFrontSide
The front side of the document contains an error.
|
static class |
TdApi.PassportElementErrorSourceReverseSide
The reverse side of the document contains an error.
|
static class |
TdApi.PassportElementErrorSourceSelfie
The selfie with the document contains an error.
|
static class |
TdApi.PassportElementErrorSourceTranslationFile
One of files with the translation of the document contains an error.
|
static class |
TdApi.PassportElementErrorSourceTranslationFiles
The translation of the document contains an error.
|
static class |
TdApi.PassportElementErrorSourceUnspecified
The element contains an error in an unspecified place.
|
static class |
TdApi.PassportElementIdentityCard
A Telegram Passport element containing the user's identity card.
|
static class |
TdApi.PassportElementInternalPassport
A Telegram Passport element containing the user's internal passport.
|
static class |
TdApi.PassportElementPassport
A Telegram Passport element containing the user's passport.
|
static class |
TdApi.PassportElementPassportRegistration
A Telegram Passport element containing the user's passport registration pages.
|
static class |
TdApi.PassportElementPersonalDetails
A Telegram Passport element containing the user's personal details.
|
static class |
TdApi.PassportElementPhoneNumber
A Telegram Passport element containing the user's phone number.
|
static class |
TdApi.PassportElementRentalAgreement
A Telegram Passport element containing the user's rental agreement.
|
static class |
TdApi.PassportElements
Contains information about saved Telegram Passport elements.
|
static class |
TdApi.PassportElementsWithErrors
Contains information about a Telegram Passport elements and corresponding errors.
|
static 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 class |
TdApi.PassportElementTypeAddress
A Telegram Passport element containing the user's address.
|
static class |
TdApi.PassportElementTypeBankStatement
A Telegram Passport element containing the user's bank statement.
|
static class |
TdApi.PassportElementTypeDriverLicense
A Telegram Passport element containing the user's driver license.
|
static class |
TdApi.PassportElementTypeEmailAddress
A Telegram Passport element containing the user's email address.
|
static class |
TdApi.PassportElementTypeIdentityCard
A Telegram Passport element containing the user's identity card.
|
static class |
TdApi.PassportElementTypeInternalPassport
A Telegram Passport element containing the user's internal passport.
|
static class |
TdApi.PassportElementTypePassport
A Telegram Passport element containing the user's passport.
|
static class |
TdApi.PassportElementTypePassportRegistration
A Telegram Passport element containing the registration page of the user's passport.
|
static class |
TdApi.PassportElementTypePersonalDetails
A Telegram Passport element containing the user's personal details.
|
static class |
TdApi.PassportElementTypePhoneNumber
A Telegram Passport element containing the user's phone number.
|
static class |
TdApi.PassportElementTypeRentalAgreement
A Telegram Passport element containing the user's rental agreement.
|
static class |
TdApi.PassportElementTypeTemporaryRegistration
A Telegram Passport element containing the user's temporary registration.
|
static class |
TdApi.PassportElementTypeUtilityBill
A Telegram Passport element containing the user's utility bill.
|
static class |
TdApi.PassportElementUtilityBill
A Telegram Passport element containing the user's utility bill.
|
static class |
TdApi.PassportRequiredElement
Contains a description of the required Telegram Passport element that was requested by a service.
|
static class |
TdApi.PassportSuitableElement
Contains information about a Telegram Passport element that was requested by a service.
|
static class |
TdApi.PasswordState
Represents the current state of 2-step verification.
|
static class |
TdApi.PaymentForm
Contains information about an invoice payment form.
|
static class |
TdApi.PaymentReceipt
Contains information about a successful payment.
|
static class |
TdApi.PaymentResult
Contains the result of a payment request.
|
static class |
TdApi.PaymentsProviderStripe
Stripe payment provider.
|
static class |
TdApi.PersonalDetails
Contains the user's personal details.
|
static class |
TdApi.PersonalDocument
A personal document, containing some information about a user.
|
static class |
TdApi.PhoneNumberAuthenticationSettings
Contains settings for the authentication of the user's phone number.
|
static class |
TdApi.Photo
Describes a photo.
|
static class |
TdApi.PhotoSize
Photo description.
|
static class |
TdApi.PinChatMessage
Pins a message in a chat; requires canPinMessages rights.
|
static class |
TdApi.PingProxy
Computes time needed to receive a response from a Telegram server through a proxy.
|
static class |
TdApi.Poll
Describes a poll.
|
static class |
TdApi.PollOption
Describes one answer option of a poll.
|
static class |
TdApi.PollType
This class is an abstract base class.
|
static class |
TdApi.PollTypeQuiz
A poll in quiz mode, which has exactly one correct answer option and can be answered only once.
|
static class |
TdApi.PollTypeRegular
A regular poll.
|
static class |
TdApi.ProcessPushNotification
Handles a push notification.
|
static class |
TdApi.ProfilePhoto
Describes a user profile photo.
|
static class |
TdApi.Proxies
Represents a list of proxy servers.
|
static class |
TdApi.Proxy
Contains information about a proxy server.
|
static class |
TdApi.ProxyType
This class is an abstract base class.
|
static class |
TdApi.ProxyTypeHttp
A HTTP transparent proxy server.
|
static class |
TdApi.ProxyTypeMtproto
An MTProto proxy server.
|
static class |
TdApi.ProxyTypeSocks5
A SOCKS5 proxy server.
|
static class |
TdApi.PublicChatType
This class is an abstract base class.
|
static class |
TdApi.PublicChatTypeHasUsername
The chat is public, because it has username.
|
static class |
TdApi.PublicChatTypeIsLocationBased
The chat is public, because it is a location-based supergroup.
|
static class |
TdApi.PublicMessageLink
Contains a public HTTPS link to a message in a supergroup or channel with a username.
|
static class |
TdApi.PushMessageContent
This class is an abstract base class.
|
static class |
TdApi.PushMessageContentAnimation
An animation message (GIF-style).
|
static class |
TdApi.PushMessageContentAudio
An audio message.
|
static class |
TdApi.PushMessageContentBasicGroupChatCreate
A newly created basic group.
|
static class |
TdApi.PushMessageContentChatAddMembers
New chat members were invited to a group.
|
static class |
TdApi.PushMessageContentChatChangePhoto
A chat photo was edited.
|
static class |
TdApi.PushMessageContentChatChangeTitle
A chat title was edited.
|
static class |
TdApi.PushMessageContentChatDeleteMember
A chat member was deleted.
|
static class |
TdApi.PushMessageContentChatJoinByLink
A new member joined the chat by invite link.
|
static class |
TdApi.PushMessageContentContact
A message with a user contact.
|
static class |
TdApi.PushMessageContentContactRegistered
A contact has registered with Telegram.
|
static class |
TdApi.PushMessageContentDocument
A document message (a general file).
|
static class |
TdApi.PushMessageContentGame
A message with a game.
|
static class |
TdApi.PushMessageContentGameScore
A new high score was achieved in a game.
|
static class |
TdApi.PushMessageContentHidden
A general message with hidden content.
|
static class |
TdApi.PushMessageContentInvoice
A message with an invoice from a bot.
|
static class |
TdApi.PushMessageContentLocation
A message with a location.
|
static class |
TdApi.PushMessageContentMediaAlbum
A media album.
|
static class |
TdApi.PushMessageContentMessageForwards
A forwarded messages.
|
static class |
TdApi.PushMessageContentPhoto
A photo message.
|
static class |
TdApi.PushMessageContentPoll
A message with a poll.
|
static class |
TdApi.PushMessageContentScreenshotTaken
A screenshot of a message in the chat has been taken.
|
static class |
TdApi.PushMessageContentSticker
A message with a sticker.
|
static class |
TdApi.PushMessageContentText
A text message.
|
static class |
TdApi.PushMessageContentVideo
A video message.
|
static class |
TdApi.PushMessageContentVideoNote
A video note message.
|
static class |
TdApi.PushMessageContentVoiceNote
A voice note message.
|
static class |
TdApi.PushReceiverId
Contains a globally unique push receiver identifier, which can be used to identify which account has received a push notification.
|
static class |
TdApi.ReadAllChatMentions
Marks all mentions in a chat as read.
|
static class |
TdApi.ReadFilePart
Reads a part of a file from the TDLib file cache and returns read bytes.
|
static class |
TdApi.RecoverAuthenticationPassword
Recovers the password with a password recovery code sent to an email address that was previously set up.
|
static class |
TdApi.RecoverPassword
Recovers the password using a recovery code sent to an email address that was previously set up.
|
static class |
TdApi.RecoveryEmailAddress
Contains information about the current recovery email address.
|
static class |
TdApi.RegisterDevice
Registers the currently used device for receiving push notifications.
|
static class |
TdApi.RegisterUser
Finishes user registration.
|
static class |
TdApi.RemoteFile
Represents a remote file.
|
static class |
TdApi.RemoveBackground
Removes background from the list of installed backgrounds.
|
static class |
TdApi.RemoveChatActionBar
Removes a chat action bar without any other action.
|
static class |
TdApi.RemoveContacts
Removes users from the contact list.
|
static class |
TdApi.RemoveFavoriteSticker
Removes a sticker from the list of favorite stickers.
|
static class |
TdApi.RemoveNotification
Removes an active notification from notification list.
|
static class |
TdApi.RemoveNotificationGroup
Removes a group of active notifications.
|
static class |
TdApi.RemoveProxy
Removes a proxy server.
|
static class |
TdApi.RemoveRecentHashtag
Removes a hashtag from the list of recently used hashtags.
|
static class |
TdApi.RemoveRecentlyFoundChat
Removes a chat from the list of recently found chats.
|
static class |
TdApi.RemoveRecentSticker
Removes a sticker from the list of recently used stickers.
|
static class |
TdApi.RemoveSavedAnimation
Removes an animation from the list of saved animations.
|
static class |
TdApi.RemoveStickerFromSet
Removes a sticker from the set to which it belongs; for bots only.
|
static class |
TdApi.RemoveTopChat
Removes a chat from the list of frequently used chats.
|
static class |
TdApi.ReorderInstalledStickerSets
Changes the order of installed sticker sets.
|
static class |
TdApi.ReplyMarkup
This class is an abstract base class.
|
static class |
TdApi.ReplyMarkupForceReply
Instructs clients to force a reply to this message.
|
static class |
TdApi.ReplyMarkupInlineKeyboard
Contains an inline keyboard layout.
|
static class |
TdApi.ReplyMarkupRemoveKeyboard
Instructs clients to remove the keyboard once this message has been received.
|
static class |
TdApi.ReplyMarkupShowKeyboard
Contains a custom keyboard layout to quickly reply to bots.
|
static class |
TdApi.ReportChat
Reports a chat to the Telegram moderators.
|
static class |
TdApi.ReportSupergroupSpam
Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup.
|
static class |
TdApi.RequestAuthenticationPasswordRecovery
Requests to send a password recovery code to an email address that was previously set up.
|
static class |
TdApi.RequestPasswordRecovery
Requests to send a password recovery code to an email address that was previously set up.
|
static class |
TdApi.RequestQrCodeAuthentication
Requests QR code authentication by scanning a QR code on another logged in device.
|
static class |
TdApi.ResendAuthenticationCode
Re-sends an authentication code to the user.
|
static class |
TdApi.ResendChangePhoneNumberCode
Re-sends the authentication code sent to confirm a new phone number for the user.
|
static class |
TdApi.ResendEmailAddressVerificationCode
Re-sends the code to verify an email address to be added to a user's Telegram Passport.
|
static class |
TdApi.ResendMessages
Resends messages which failed to send.
|
static class |
TdApi.ResendPhoneNumberConfirmationCode
Resends phone number confirmation code.
|
static class |
TdApi.ResendPhoneNumberVerificationCode
Re-sends the code to verify a phone number to be added to a user's Telegram Passport.
|
static class |
TdApi.ResendRecoveryEmailAddressCode
Resends the 2-step verification recovery email address verification code.
|
static class |
TdApi.ResetAllNotificationSettings
Resets all notification settings to their default values.
|
static class |
TdApi.ResetBackgrounds
Resets list of installed backgrounds to its default value.
|
static class |
TdApi.ResetNetworkStatistics
Resets all network data usage statistics to zero.
|
static class |
TdApi.RichText
This class is an abstract base class.
|
static class |
TdApi.RichTextAnchor
A rich text anchor.
|
static class |
TdApi.RichTextBold
A bold rich text.
|
static class |
TdApi.RichTextEmailAddress
A rich text email link.
|
static class |
TdApi.RichTextFixed
A fixed-width rich text.
|
static class |
TdApi.RichTextIcon
A small image inside the text.
|
static class |
TdApi.RichTextItalic
An italicized rich text.
|
static class |
TdApi.RichTextMarked
A marked rich text.
|
static class |
TdApi.RichTextPhoneNumber
A rich text phone number.
|
static class |
TdApi.RichTextPlain
A plain text.
|
static class |
TdApi.RichTexts
A concatenation of rich texts.
|
static class |
TdApi.RichTextStrikethrough
A strikethrough rich text.
|
static class |
TdApi.RichTextSubscript
A subscript rich text.
|
static class |
TdApi.RichTextSuperscript
A superscript rich text.
|
static class |
TdApi.RichTextUnderline
An underlined rich text.
|
static class |
TdApi.RichTextUrl
A rich text URL link.
|
static class |
TdApi.SaveApplicationLogEvent
Saves application log event on the server.
|
static class |
TdApi.SavedCredentials
Contains information about saved card credentials.
|
static class |
TdApi.ScopeNotificationSettings
Contains information about notification settings for several chats.
|
static class |
TdApi.SearchBackground
Searches for a background by its name.
|
static class |
TdApi.SearchCallMessages
Searches for call messages.
|
static class |
TdApi.SearchChatMembers
Searches for a specified query in the first name, last name and username of the members of a specified chat.
|
static class |
TdApi.SearchChatMessages
Searches for messages with given words in the chat.
|
static class |
TdApi.SearchChatRecentLocationMessages
Returns information about the recent locations of chat members that were sent to the chat.
|
static class |
TdApi.SearchChats
Searches for the specified query in the title and username of already known chats, this is an offline request.
|
static class |
TdApi.SearchChatsNearby
Returns a list of users and location-based supergroups nearby.
|
static class |
TdApi.SearchChatsOnServer
Searches for the specified query in the title and username of already known chats via request to the server.
|
static class |
TdApi.SearchContacts
Searches for the specified query in the first names, last names and usernames of the known user contacts.
|
static class |
TdApi.SearchEmojis
Searches for emojis by keywords.
|
static class |
TdApi.SearchHashtags
Searches for recently used hashtags by their prefix.
|
static class |
TdApi.SearchInstalledStickerSets
Searches for installed sticker sets by looking for specified query in their title and name.
|
static class |
TdApi.SearchMessages
Searches for messages in all chats except secret chats.
|
static class |
TdApi.SearchMessagesFilter
This class is an abstract base class.
|
static class |
TdApi.SearchMessagesFilterAnimation
Returns only animation messages.
|
static class |
TdApi.SearchMessagesFilterAudio
Returns only audio messages.
|
static class |
TdApi.SearchMessagesFilterCall
Returns only call messages.
|
static class |
TdApi.SearchMessagesFilterChatPhoto
Returns only messages containing chat photos.
|
static class |
TdApi.SearchMessagesFilterDocument
Returns only document messages.
|
static class |
TdApi.SearchMessagesFilterEmpty
Returns all found messages, no filter is applied.
|
static class |
TdApi.SearchMessagesFilterMention
Returns only messages with mentions of the current user, or messages that are replies to their messages.
|
static class |
TdApi.SearchMessagesFilterMissedCall
Returns only incoming call messages with missed/declined discard reasons.
|
static class |
TdApi.SearchMessagesFilterPhoto
Returns only photo messages.
|
static class |
TdApi.SearchMessagesFilterPhotoAndVideo
Returns only photo and video messages.
|
static class |
TdApi.SearchMessagesFilterUnreadMention
Returns only messages with unread mentions of the current user, or messages that are replies to their messages.
|
static class |
TdApi.SearchMessagesFilterUrl
Returns only messages containing URLs.
|
static class |
TdApi.SearchMessagesFilterVideo
Returns only video messages.
|
static class |
TdApi.SearchMessagesFilterVideoNote
Returns only video note messages.
|
static class |
TdApi.SearchMessagesFilterVoiceAndVideoNote
Returns only voice and video note messages.
|
static class |
TdApi.SearchMessagesFilterVoiceNote
Returns only voice note messages.
|
static class |
TdApi.SearchPublicChat
Searches a public chat by its username.
|
static class |
TdApi.SearchPublicChats
Searches public chats by looking for specified query in their username and title.
|
static class |
TdApi.SearchSecretMessages
Searches for messages in secret chats.
|
static class |
TdApi.SearchStickers
Searches for stickers from public sticker sets that correspond to a given emoji.
|
static class |
TdApi.SearchStickerSet
Searches for a sticker set by its name.
|
static class |
TdApi.SearchStickerSets
Searches for ordinary sticker sets by looking for specified query in their title and name.
|
static class |
TdApi.Seconds
Contains a value representing a number of seconds.
|
static class |
TdApi.SecretChat
Represents a secret chat.
|
static class |
TdApi.SecretChatState
This class is an abstract base class.
|
static class |
TdApi.SecretChatStateClosed
The secret chat is closed.
|
static class |
TdApi.SecretChatStatePending
The secret chat is not yet created; waiting for the other user to get online.
|
static class |
TdApi.SecretChatStateReady
The secret chat is ready to use.
|
static class |
TdApi.SendBotStartMessage
Invites a bot to a chat (if it is not yet a member) and sends it the /start command.
|
static class |
TdApi.SendCallDebugInformation
Sends debug information for a call.
|
static class |
TdApi.SendCallRating
Sends a call rating.
|
static class |
TdApi.SendChatAction
Sends a notification about user activity in a chat.
|
static class |
TdApi.SendChatScreenshotTakenNotification
Sends a notification about a screenshot taken in a chat.
|
static class |
TdApi.SendChatSetTtlMessage
Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.
|
static class |
TdApi.SendCustomRequest
Sends a custom request; for bots only.
|
static class |
TdApi.SendEmailAddressVerificationCode
Sends a code to verify an email address to be added to a user's Telegram Passport.
|
static class |
TdApi.SendInlineQueryResultMessage
Sends the result of an inline query as a message.
|
static class |
TdApi.SendMessage
Sends a message.
|
static class |
TdApi.SendMessageAlbum
Sends messages grouped together into an album.
|
static class |
TdApi.SendMessageOptions
Options to be used when a message is send.
|
static class |
TdApi.SendPassportAuthorizationForm
Sends a Telegram Passport authorization form, effectively sharing data with the service.
|
static class |
TdApi.SendPaymentForm
Sends a filled-out payment form to the bot for final verification.
|
static class |
TdApi.SendPhoneNumberConfirmationCode
Sends phone number confirmation code.
|
static class |
TdApi.SendPhoneNumberVerificationCode
Sends a code to verify a phone number to be added to a user's Telegram Passport.
|
static class |
TdApi.Session
Contains information about one session in a Telegram application used by the current user.
|
static class |
TdApi.Sessions
Contains a list of sessions.
|
static class |
TdApi.SetAccountTtl
Changes the period of inactivity after which the account of the current user will automatically be deleted.
|
static class |
TdApi.SetAlarm
Succeeds after a specified amount of time has passed.
|
static class |
TdApi.SetAuthenticationPhoneNumber
Sets the phone number of the user and sends an authentication code to the user.
|
static class |
TdApi.SetAutoDownloadSettings
Sets auto-download settings.
|
static class |
TdApi.SetBackground
Changes the background selected by the user; adds background to the list of installed backgrounds.
|
static class |
TdApi.SetBio
Changes the bio of the current user.
|
static 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 class |
TdApi.SetChatChatList
Moves a chat to a different chat list.
|
static class |
TdApi.SetChatClientData
Changes client data associated with a chat.
|
static class |
TdApi.SetChatDescription
Changes information about a chat.
|
static class |
TdApi.SetChatDiscussionGroup
Changes the discussion group of a channel chat; requires canChangeInfo rights in the channel if it is specified.
|
static class |
TdApi.SetChatDraftMessage
Changes the draft message in a chat.
|
static class |
TdApi.SetChatLocation
Changes the location of a chat.
|
static class |
TdApi.SetChatMemberStatus
Changes the status of a chat member, needs appropriate privileges.
|
static class |
TdApi.SetChatNotificationSettings
Changes the notification settings of a chat.
|
static class |
TdApi.SetChatPermissions
Changes the chat members permissions.
|
static class |
TdApi.SetChatPhoto
Changes the photo of a chat.
|
static class |
TdApi.SetChatSlowModeDelay
Changes the slow mode delay of a chat.
|
static class |
TdApi.SetChatTitle
Changes the chat title.
|
static class |
TdApi.SetCustomLanguagePack
Adds or changes a custom local language pack to the current localization target.
|
static class |
TdApi.SetCustomLanguagePackString
Adds, edits or deletes a string in a custom local language pack.
|
static class |
TdApi.SetDatabaseEncryptionKey
Changes the database encryption key.
|
static class |
TdApi.SetFileGenerationProgress
Informs TDLib on a file generation progress.
|
static class |
TdApi.SetGameScore
Updates the game score of the specified user in the game; for bots only.
|
static class |
TdApi.SetInlineGameScore
Updates the game score of the specified user in a game; for bots only.
|
static class |
TdApi.SetLogStream
Sets new log stream for internal logging of TDLib.
|
static class |
TdApi.SetLogTagVerbosityLevel
Sets the verbosity level for a specified TDLib internal log tag.
|
static class |
TdApi.SetLogVerbosityLevel
Sets the verbosity level of the internal logging of TDLib.
|
static class |
TdApi.SetName
Changes the first and last name of the current user.
|
static class |
TdApi.SetNetworkType
Sets the current network type.
|
static class |
TdApi.SetOption
Sets the value of an option.
|
static class |
TdApi.SetPassportElement
Adds an element to the user's Telegram Passport.
|
static class |
TdApi.SetPassportElementErrors
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.
|
static class |
TdApi.SetPassword
Changes the password for the user.
|
static class |
TdApi.SetPinnedChats
Changes the order of pinned chats.
|
static class |
TdApi.SetPollAnswer
Changes the user answer to a poll.
|
static class |
TdApi.SetProfilePhoto
Uploads a new profile photo for the current user.
|
static class |
TdApi.SetRecoveryEmailAddress
Changes the 2-step verification recovery email address of the user.
|
static class |
TdApi.SetScopeNotificationSettings
Changes notification settings for chats of a given type.
|
static class |
TdApi.SetStickerPositionInSet
Changes the position of a sticker in the set to which it belongs; for bots only.
|
static class |
TdApi.SetSupergroupStickerSet
Changes the sticker set of a supergroup; requires canChangeInfo rights.
|
static class |
TdApi.SetSupergroupUsername
Changes the username of a supergroup or channel, requires owner privileges in the supergroup or channel.
|
static class |
TdApi.SetTdlibParameters
Sets the parameters for TDLib initialization.
|
static class |
TdApi.SetUsername
Changes the username of the current user.
|
static class |
TdApi.SetUserPrivacySettingRules
Changes user privacy settings.
|
static class |
TdApi.SharePhoneNumber
Shares the phone number of the current user with a mutual contact.
|
static class |
TdApi.ShippingOption
One shipping option.
|
static class |
TdApi.Sticker
Describes a sticker.
|
static class |
TdApi.Stickers
Represents a list of stickers.
|
static class |
TdApi.StickerSet
Represents a sticker set.
|
static class |
TdApi.StickerSetInfo
Represents short information about a sticker set.
|
static class |
TdApi.StickerSets
Represents a list of sticker sets.
|
static class |
TdApi.StopPoll
Stops a poll.
|
static class |
TdApi.StorageStatistics
Contains the exact storage usage statistics split by chats and file type.
|
static class |
TdApi.StorageStatisticsByChat
Contains the storage usage statistics for a specific chat.
|
static class |
TdApi.StorageStatisticsByFileType
Contains the storage usage statistics for a specific file type.
|
static class |
TdApi.StorageStatisticsFast
Contains approximate storage usage statistics, excluding files of unknown file type.
|
static class |
TdApi.Supergroup
Represents a supergroup or channel with zero or more members (subscribers in the case of channels).
|
static class |
TdApi.SupergroupFullInfo
Contains full information about a supergroup or channel.
|
static class |
TdApi.SupergroupMembersFilter
This class is an abstract base class.
|
static class |
TdApi.SupergroupMembersFilterAdministrators
Returns the owner and administrators.
|
static class |
TdApi.SupergroupMembersFilterBanned
Returns users banned from the supergroup or channel; can be used only by administrators.
|
static class |
TdApi.SupergroupMembersFilterBots
Returns bot members of the supergroup or channel.
|
static class |
TdApi.SupergroupMembersFilterContacts
Returns contacts of the user, which are members of the supergroup or channel.
|
static class |
TdApi.SupergroupMembersFilterRecent
Returns recently active users in reverse chronological order.
|
static class |
TdApi.SupergroupMembersFilterRestricted
Returns restricted supergroup members; can be used only by administrators.
|
static class |
TdApi.SupergroupMembersFilterSearch
Used to search for supergroup or channel members via a (string) query.
|
static class |
TdApi.SynchronizeLanguagePack
Fetches the latest versions of all strings from a language pack in the current localization target from the server.
|
static class |
TdApi.TdlibParameters
Contains parameters for TDLib initialization.
|
static class |
TdApi.TemporaryPasswordState
Returns information about the availability of a temporary password, which can be used for payments.
|
static class |
TdApi.TerminateAllOtherSessions
Terminates all other sessions of the current user.
|
static class |
TdApi.TerminateSession
Terminates a session of the current user.
|
static class |
TdApi.TermsOfService
Contains Telegram terms of service.
|
static class |
TdApi.TestBytes
A simple object containing a sequence of bytes; for testing only.
|
static class |
TdApi.TestCallBytes
Returns the received bytes; for testing only.
|
static class |
TdApi.TestCallEmpty
Does nothing; for testing only.
|
static class |
TdApi.TestCallString
Returns the received string; for testing only.
|
static class |
TdApi.TestCallVectorInt
Returns the received vector of numbers; for testing only.
|
static class |
TdApi.TestCallVectorIntObject
Returns the received vector of objects containing a number; for testing only.
|
static class |
TdApi.TestCallVectorString
Returns the received vector of strings; for testing only.
|
static class |
TdApi.TestCallVectorStringObject
Returns the received vector of objects containing a string; for testing only.
|
static class |
TdApi.TestGetDifference
Forces an updates.getDifference call to the Telegram servers; for testing only.
|
static class |
TdApi.TestInt
A simple object containing a number; for testing only.
|
static class |
TdApi.TestNetwork
Sends a simple network request to the Telegram servers; for testing only.
|
static class |
TdApi.TestProxy
Sends a simple network request to the Telegram servers via proxy; for testing only.
|
static class |
TdApi.TestReturnError
Returns the specified error and ensures that the Error object is used; for testing only.
|
static class |
TdApi.TestSquareInt
Returns the squared received number; for testing only.
|
static class |
TdApi.TestString
A simple object containing a string; for testing only.
|
static class |
TdApi.TestUseUpdate
Does nothing and ensures that the Update object is used; for testing only.
|
static class |
TdApi.TestVectorInt
A simple object containing a vector of numbers; for testing only.
|
static class |
TdApi.TestVectorIntObject
A simple object containing a vector of objects that hold a number; for testing only.
|
static class |
TdApi.TestVectorString
A simple object containing a vector of strings; for testing only.
|
static class |
TdApi.TestVectorStringObject
A simple object containing a vector of objects that hold a string; for testing only.
|
static class |
TdApi.Text
Contains some text.
|
static class |
TdApi.TextEntities
Contains a list of text entities.
|
static 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 class |
TdApi.TextEntityTypeBold
A bold text.
|
static class |
TdApi.TextEntityTypeBotCommand
A bot command, beginning with "/".
|
static class |
TdApi.TextEntityTypeCashtag
A cashtag text, beginning with "$" and consisting of capital english letters (i.e.
|
static class |
TdApi.TextEntityTypeCode
Text that must be formatted as if inside a code HTML tag.
|
static class |
TdApi.TextEntityTypeEmailAddress
An email address.
|
static class |
TdApi.TextEntityTypeHashtag
A hashtag text, beginning with "#".
|
static class |
TdApi.TextEntityTypeItalic
An italic text.
|
static class |
TdApi.TextEntityTypeMention
A mention of a user by their username.
|
static class |
TdApi.TextEntityTypeMentionName
A text shows instead of a raw mention of the user (e.g., when the user has no username).
|
static class |
TdApi.TextEntityTypePhoneNumber
A phone number.
|
static class |
TdApi.TextEntityTypePre
Text that must be formatted as if inside a pre HTML tag.
|
static class |
TdApi.TextEntityTypePreCode
Text that must be formatted as if inside pre, and code HTML tags.
|
static class |
TdApi.TextEntityTypeStrikethrough
A strikethrough text.
|
static class |
TdApi.TextEntityTypeTextUrl
A text description shown instead of a raw URL.
|
static class |
TdApi.TextEntityTypeUnderline
An underlined text.
|
static class |
TdApi.TextEntityTypeUrl
An HTTP URL.
|
static class |
TdApi.TextParseMode
This class is an abstract base class.
|
static class |
TdApi.TextParseModeHTML
The text should be parsed in HTML-style.
|
static class |
TdApi.TextParseModeMarkdown
The text should be parsed in markdown-style.
|
static class |
TdApi.TMeUrl
Represents a URL linking to an internal Telegram entity.
|
static class |
TdApi.TMeUrls
Contains a list of t.me URLs.
|
static class |
TdApi.TMeUrlType
This class is an abstract base class.
|
static class |
TdApi.TMeUrlTypeChatInvite
A chat invite link.
|
static class |
TdApi.TMeUrlTypeStickerSet
A URL linking to a sticker set.
|
static class |
TdApi.TMeUrlTypeSupergroup
A URL linking to a public supergroup or channel.
|
static class |
TdApi.TMeUrlTypeUser
A URL linking to a user.
|
static class |
TdApi.ToggleChatDefaultDisableNotification
Changes the value of the default disableNotification parameter, used when a message is sent to a chat.
|
static class |
TdApi.ToggleChatIsMarkedAsUnread
Changes the marked as unread state of a chat.
|
static class |
TdApi.ToggleChatIsPinned
Changes the pinned state of a chat.
|
static class |
TdApi.ToggleSupergroupIsAllHistoryAvailable
Toggles whether the message history of a supergroup is available to new members; requires canChangeInfo rights.
|
static class |
TdApi.ToggleSupergroupSignMessages
Toggles sender signatures messages sent in a channel; requires canChangeInfo rights.
|
static class |
TdApi.TopChatCategory
This class is an abstract base class.
|
static class |
TdApi.TopChatCategoryBots
A category containing frequently used private chats with bot users.
|
static class |
TdApi.TopChatCategoryCalls
A category containing frequently used chats used for calls.
|
static class |
TdApi.TopChatCategoryChannels
A category containing frequently used channels.
|
static class |
TdApi.TopChatCategoryForwardChats
A category containing frequently used chats used to forward messages.
|
static class |
TdApi.TopChatCategoryGroups
A category containing frequently used basic groups and supergroups.
|
static class |
TdApi.TopChatCategoryInlineBots
A category containing frequently used chats with inline bots sorted by their usage in inline mode.
|
static class |
TdApi.TopChatCategoryUsers
A category containing frequently used private chats with non-bot users.
|
static class |
TdApi.TransferChatOwnership
Changes the owner of a chat.
|
static class |
TdApi.UnblockUser
Removes a user from the blacklist.
|
static class |
TdApi.UnpinChatMessage
Removes the pinned message from a chat; requires canPinMessages rights in the group or channel.
|
static class |
TdApi.Update
This class is an abstract base class.
|
static class |
TdApi.UpdateActiveNotifications
Contains active notifications that was shown on previous application launches.
|
static class |
TdApi.UpdateAuthorizationState
The user authorization state has changed.
|
static class |
TdApi.UpdateBasicGroup
Some data of a basic group has changed.
|
static class |
TdApi.UpdateBasicGroupFullInfo
Some data from basicGroupFullInfo has been changed.
|
static class |
TdApi.UpdateCall
New call was created or information about a call was updated.
|
static class |
TdApi.UpdateChatActionBar
The chat action bar was changed.
|
static class |
TdApi.UpdateChatChatList
The list to which the chat belongs was changed.
|
static class |
TdApi.UpdateChatDefaultDisableNotification
The value of the default disableNotification parameter, used when a message is sent to the chat, was changed.
|
static class |
TdApi.UpdateChatDraftMessage
A chat draft has changed.
|
static class |
TdApi.UpdateChatHasScheduledMessages
A chat's hasScheduledMessages field has changed.
|
static class |
TdApi.UpdateChatIsMarkedAsUnread
A chat was marked as unread or was read.
|
static class |
TdApi.UpdateChatIsPinned
A chat was pinned or unpinned.
|
static class |
TdApi.UpdateChatIsSponsored
A chat's isSponsored field has changed.
|
static class |
TdApi.UpdateChatLastMessage
The last message of a chat was changed.
|
static class |
TdApi.UpdateChatNotificationSettings
Notification settings for a chat were changed.
|
static class |
TdApi.UpdateChatOnlineMemberCount
The number of online group members has changed.
|
static class |
TdApi.UpdateChatOrder
The order of the chat in the chat list has changed.
|
static class |
TdApi.UpdateChatPermissions
Chat permissions was changed.
|
static class |
TdApi.UpdateChatPhoto
A chat photo was changed.
|
static class |
TdApi.UpdateChatPinnedMessage
The chat pinned message was changed.
|
static class |
TdApi.UpdateChatReadInbox
Incoming messages were read or number of unread messages has been changed.
|
static class |
TdApi.UpdateChatReadOutbox
Outgoing messages were read.
|
static class |
TdApi.UpdateChatReplyMarkup
The default chat reply markup was changed.
|
static class |
TdApi.UpdateChatTitle
The title of a chat was changed.
|
static class |
TdApi.UpdateChatUnreadMentionCount
The chat unreadMentionCount has changed.
|
static class |
TdApi.UpdateConnectionState
The connection state has changed.
|
static class |
TdApi.UpdateDeleteMessages
Some messages were deleted.
|
static class |
TdApi.UpdateFavoriteStickers
The list of favorite stickers was updated.
|
static class |
TdApi.UpdateFile
Information about a file was updated.
|
static class |
TdApi.UpdateFileGenerationStart
The file generation process needs to be started by the client.
|
static class |
TdApi.UpdateFileGenerationStop
File generation is no longer needed.
|
static class |
TdApi.UpdateHavePendingNotifications
Describes whether there are some pending notification updates.
|
static class |
TdApi.UpdateInstalledStickerSets
The list of installed sticker sets was updated.
|
static class |
TdApi.UpdateLanguagePackStrings
Some language pack strings have been updated.
|
static class |
TdApi.UpdateMessageContent
The message content has changed.
|
static class |
TdApi.UpdateMessageContentOpened
The message content was opened.
|
static class |
TdApi.UpdateMessageEdited
A message was edited.
|
static class |
TdApi.UpdateMessageLiveLocationViewed
A message with a live location was viewed.
|
static class |
TdApi.UpdateMessageMentionRead
A message with an unread mention was read.
|
static class |
TdApi.UpdateMessageSendAcknowledged
A request to send a message has reached the Telegram server.
|
static class |
TdApi.UpdateMessageSendFailed
A message failed to send.
|
static class |
TdApi.UpdateMessageSendSucceeded
A message has been successfully sent.
|
static class |
TdApi.UpdateMessageViews
The view count of the message has changed.
|
static class |
TdApi.UpdateNewCallbackQuery
A new incoming callback query; for bots only.
|
static class |
TdApi.UpdateNewChat
A new chat has been loaded/created.
|
static class |
TdApi.UpdateNewChosenInlineResult
The user has chosen a result of an inline query; for bots only.
|
static class |
TdApi.UpdateNewCustomEvent
A new incoming event; for bots only.
|
static class |
TdApi.UpdateNewCustomQuery
A new incoming query; for bots only.
|
static class |
TdApi.UpdateNewInlineCallbackQuery
A new incoming callback query from a message sent via a bot; for bots only.
|
static class |
TdApi.UpdateNewInlineQuery
A new incoming inline query; for bots only.
|
static class |
TdApi.UpdateNewMessage
A new message was received; can also be an outgoing message.
|
static class |
TdApi.UpdateNewPreCheckoutQuery
A new incoming pre-checkout query; for bots only.
|
static class |
TdApi.UpdateNewShippingQuery
A new incoming shipping query; for bots only.
|
static class |
TdApi.UpdateNotification
A notification was changed.
|
static class |
TdApi.UpdateNotificationGroup
A list of active notifications in a notification group has changed.
|
static class |
TdApi.UpdateOption
An option changed its value.
|
static class |
TdApi.UpdatePoll
A poll was updated; for bots only.
|
static class |
TdApi.UpdatePollAnswer
A user changed the answer to a poll; for bots only.
|
static class |
TdApi.UpdateRecentStickers
The list of recently used stickers was updated.
|
static class |
TdApi.Updates
Contains a list of updates.
|
static class |
TdApi.UpdateSavedAnimations
The list of saved animations was updated.
|
static class |
TdApi.UpdateScopeNotificationSettings
Notification settings for some type of chats were updated.
|
static class |
TdApi.UpdateSecretChat
Some data of a secret chat has changed.
|
static class |
TdApi.UpdateSelectedBackground
The selected background has changed.
|
static class |
TdApi.UpdateServiceNotification
Service notification from the server.
|
static class |
TdApi.UpdateSupergroup
Some data of a supergroup or a channel has changed.
|
static class |
TdApi.UpdateSupergroupFullInfo
Some data from supergroupFullInfo has been changed.
|
static class |
TdApi.UpdateTermsOfService
New terms of service must be accepted by the user.
|
static class |
TdApi.UpdateTrendingStickerSets
The list of trending sticker sets was updated or some of them were viewed.
|
static class |
TdApi.UpdateUnreadChatCount
Number of unread chats, i.e. with unread messages or marked as unread, has changed.
|
static class |
TdApi.UpdateUnreadMessageCount
Number of unread messages in a chat list has changed.
|
static class |
TdApi.UpdateUser
Some data of a user has changed.
|
static class |
TdApi.UpdateUserChatAction
User activity in the chat has changed.
|
static class |
TdApi.UpdateUserFullInfo
Some data from userFullInfo has been changed.
|
static class |
TdApi.UpdateUserPrivacySettingRules
Some privacy setting rules have been changed.
|
static class |
TdApi.UpdateUsersNearby
List of users nearby has changed.
|
static class |
TdApi.UpdateUserStatus
The user went online or offline.
|
static class |
TdApi.UpgradeBasicGroupChatToSupergroupChat
Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges.
|
static class |
TdApi.UploadFile
Asynchronously uploads a file to the cloud without sending it in a message. updateFile will be used to notify about upload progress and successful completion of the upload.
|
static class |
TdApi.UploadStickerFile
Uploads a PNG image with a sticker; for bots only; returns the uploaded file.
|
static class |
TdApi.User
Represents a user.
|
static class |
TdApi.UserFullInfo
Contains full information about a user (except the full list of profile photos).
|
static class |
TdApi.UserPrivacySetting
This class is an abstract base class.
|
static class |
TdApi.UserPrivacySettingAllowCalls
A privacy setting for managing whether the user can be called.
|
static class |
TdApi.UserPrivacySettingAllowChatInvites
A privacy setting for managing whether the user can be invited to chats.
|
static class |
TdApi.UserPrivacySettingAllowFindingByPhoneNumber
A privacy setting for managing whether the user can be found by their phone number.
|
static 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 class |
TdApi.UserPrivacySettingRuleAllowAll
A rule to allow all users to do something.
|
static class |
TdApi.UserPrivacySettingRuleAllowChatMembers
A rule to allow all members of certain specified basic groups and supergroups to doing something.
|
static class |
TdApi.UserPrivacySettingRuleAllowContacts
A rule to allow all of a user's contacts to do something.
|
static class |
TdApi.UserPrivacySettingRuleAllowUsers
A rule to allow certain specified users to do something.
|
static class |
TdApi.UserPrivacySettingRuleRestrictAll
A rule to restrict all users from doing something.
|
static class |
TdApi.UserPrivacySettingRuleRestrictChatMembers
A rule to restrict all members of specified basic groups and supergroups from doing something.
|
static class |
TdApi.UserPrivacySettingRuleRestrictContacts
A rule to restrict all contacts of a user from doing something.
|
static class |
TdApi.UserPrivacySettingRuleRestrictUsers
A rule to restrict all specified users from doing something.
|
static class |
TdApi.UserPrivacySettingRules
A list of privacy rules.
|
static class |
TdApi.UserPrivacySettingShowLinkInForwardedMessages
A privacy setting for managing whether a link to the user's account is included in forwarded messages.
|
static class |
TdApi.UserPrivacySettingShowPhoneNumber
A privacy setting for managing whether the user's phone number is visible.
|
static class |
TdApi.UserPrivacySettingShowProfilePhoto
A privacy setting for managing whether the user's profile photo is visible.
|
static class |
TdApi.UserPrivacySettingShowStatus
A privacy setting for managing whether the user's online status is visible.
|
static class |
TdApi.UserProfilePhoto
Contains full information about a user profile photo.
|
static class |
TdApi.UserProfilePhotos
Contains part of the list of user photos.
|
static class |
TdApi.Users
Represents a list of users.
|
static class |
TdApi.UserStatus
This class is an abstract base class.
|
static class |
TdApi.UserStatusEmpty
The user status was never changed.
|
static class |
TdApi.UserStatusLastMonth
The user is offline, but was online last month.
|
static class |
TdApi.UserStatusLastWeek
The user is offline, but was online last week.
|
static class |
TdApi.UserStatusOffline
The user is offline.
|
static class |
TdApi.UserStatusOnline
The user is online.
|
static class |
TdApi.UserStatusRecently
The user was online recently.
|
static class |
TdApi.UserType
This class is an abstract base class.
|
static class |
TdApi.UserTypeBot
A bot (see https://core.telegram.org/bots).
|
static class |
TdApi.UserTypeDeleted
A deleted user or deleted bot.
|
static class |
TdApi.UserTypeRegular
A regular user.
|
static class |
TdApi.UserTypeUnknown
No information on the user besides the user identifier is available, yet this user has not been deleted.
|
static class |
TdApi.ValidatedOrderInfo
Contains a temporary identifier of validated order information, which is stored for one hour.
|
static class |
TdApi.ValidateOrderInfo
Validates the order information provided by a user and returns the available shipping options for a flexible invoice.
|
static class |
TdApi.Venue
Describes a venue.
|
static class |
TdApi.Video
Describes a video file.
|
static class |
TdApi.VideoNote
Describes a video note.
|
static class |
TdApi.ViewMessages
Informs TDLib that messages are being viewed by the user.
|
static class |
TdApi.ViewTrendingStickerSets
Informs the server that some trending sticker sets have been viewed by the user.
|
static class |
TdApi.VoiceNote
Describes a voice note.
|
static class |
TdApi.WebPage
Describes a web page preview.
|
static class |
TdApi.WebPageInstantView
Describes an instant view page for a web page.
|
static class |
TdApi.WriteGeneratedFilePart
Writes a part of a generated file.
|
Constructor and Description |
---|
TdApi() |