Package it.ernytech.tdlib
Class TdApi
- java.lang.Object
-
- it.ernytech.tdlib.TdApi
-
public class TdApi extends java.lang.Object
This class contains as static nested classes all other TDLib interface type-classes and function-classes.It has no inner classes, functions or public members.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TdApi.AcceptCall
Accepts an incoming call.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.AddFavoriteSticker
Adds a new sticker to the list of favorite stickers.static class
TdApi.AddNetworkStatistics
Adds the specified data to data usage statistics.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.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 finalize authorization.static class
TdApi.AuthorizationStateWaitEncryptionKey
TDLib needs an encryption key to decrypt the local database.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.AuthorizationStateWaitTdlibParameters
TDLib needs TdlibParameters for initialization.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.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.ChangeChatReportSpamState
Used to let the server know whether a chat is spam or not.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.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.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 anyoneCanInvite setting of a supergroup chat was toggled.static class
TdApi.ChatEventIsAllHistoryAvailableToggled
The isAllHistoryAvailable setting of a supergroup was toggled.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.ChatEventPhotoChanged
The chat photo was changed.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.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.ChatMember
A user with information about joining/leaving a chat.static class
TdApi.ChatMembers
Contains a list of chat members.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 creator 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.ChatPhoto
Describes the photo of a chat.static class
TdApi.ChatReportReason
This class is an abstract base class.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.ChatReportReasonViolence
The chat promotes violence.static class
TdApi.ChatReportSpamState
Contains information about the availability of the "Report spam" action for a chat.static class
TdApi.Chats
Represents a list of chats.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("supergroupMaxSize") 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 public chats, 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.CheckDatabaseEncryptionKey
Checks the database encryption key for correctness.static class
TdApi.ClearImportedContacts
Clears all imported contacts.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
This method should be called if the chat is closed by the user.static class
TdApi.CloseSecretChat
Closes a secret chat, effectively transfering its state to secretChatStateClosed.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.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 only for the user.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.DeleteMessages
Deletes messages.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.DeviceTokenGoogleCloudMessaging
A token for Google 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.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
Asynchronously downloads a file from the cloud. updateFile will be used to notify about the download progress and successful completion of the download.static class
TdApi.DraftMessage
Contains information about a message draft.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.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.EditMessageReplyMarkup
Edits the message reply markup; for bots only.static class
TdApi.EditMessageText
Edits the text of a message (or a text of a game message).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.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.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.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.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.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 users who are administrators of the chat.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.GetChatPinnedMessage
Returns information about a pinned chat message.static class
TdApi.GetChatReportSpamState
Returns information on whether the current chat can be reported as spam.static class
TdApi.GetChats
Returns an ordered list of chats.static class
TdApi.GetConnectedWebsites
Returns all website where the current user used Telegram to log in.static class
TdApi.GetCountryCode
Uses current user IP to found his country.static class
TdApi.GetCreatedPublicChats
Returns a list of public chats created by the user.static class
TdApi.GetFavoriteStickers
Returns favorite stickers.static class
TdApi.GetFile
Returns information about a file; this is an offline request.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 chats with a given user.static class
TdApi.GetImportedContactCount
Returns the total number of imported contacts.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.GetMe
Returns the current user.static class
TdApi.GetMessage
Returns information about a message.static class
TdApi.GetMessages
Returns information about messages.static class
TdApi.GetNetworkStatistics
Returns network data usage statistics.static class
TdApi.GetNotificationSettings
Returns the notification settings for a given scope.static class
TdApi.GetOption
Returns the value of an option by its name.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.GetProxy
Returns the proxy that is currently set up.static class
TdApi.GetPublicMessageLink
Returns a public HTTPS link to a message.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 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.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.GetSupergroup
Returns information about a supergroup or channel by its identifier.static class
TdApi.GetSupergroupFullInfo
Returns full information about a supergroup or 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.GetTermsOfService
Returns the terms of service.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.GetWallpapers
Returns background wallpapers.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.ImportContacts
Adds new contacts or edits existing contacts; 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.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.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.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 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.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.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.JoinChatByInviteLink
Uses an invite link to add the current user to the chat if possible.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.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.LinkState
This class is an abstract base class.static class
TdApi.LinkStateIsContact
The phone number of user A has been saved to the contacts list of user B.static class
TdApi.LinkStateKnowsPhoneNumber
The phone number of user A is known but that number has not been saved to the contacts list of user B.static class
TdApi.LinkStateNone
The phone number of user A is not known to user B.static class
TdApi.LocalFile
Represents a local file.static class
TdApi.Location
Describes a location on planet Earth.static class
TdApi.LogOut
Closes the TDLib instance after a proper logout.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.MessageForwardedFromUser
The message was originally written by a known user.static class
TdApi.MessageForwardedPost
The message was originally a post in a channel.static class
TdApi.MessageForwardInfo
This class is an abstract base class.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.MessageLocation
A message with a location.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.Messages
Contains a list of messages.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.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.NotificationSettings
Contains information about notification settings for a chat or several chats.static class
TdApi.NotificationSettingsScope
This class is an abstract base class.static class
TdApi.NotificationSettingsScopeAllChats
Notification settings applied to all chats.static class
TdApi.NotificationSettingsScopeBasicGroupChats
Notification settings applied to all basic groups and channels.static class
TdApi.NotificationSettingsScopeChat
Notification settings applied to a particular chat.static class
TdApi.NotificationSettingsScopePrivateChats
Notification settings applied to all private chats.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
This method should be called if the chat is opened by the user.static class
TdApi.OpenMessageContent
This method should be called if 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
Boolean option.static class
TdApi.OptionValueEmpty
An unknown option or an option which has a default value.static class
TdApi.OptionValueInteger
An integer option.static class
TdApi.OptionValueString
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.PageBlockChatLink
A link to a chat.static class
TdApi.PageBlockCollage
A collage.static class
TdApi.PageBlockCover
A page cover.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.PageBlockList
A list of texts.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.PageBlockSlideshow
A slideshow.static class
TdApi.PageBlockSubheader
A subheader.static class
TdApi.PageBlockSubtitle
The subtitle of a page.static class
TdApi.PageBlockTitle
The title of a page.static class
TdApi.PageBlockVideo
A video.static class
TdApi.ParseTextEntities
Parses Bold, Italic, Code, Pre, PreCode and TextUrl entities contained in the text.static class
TdApi.PasswordRecoveryInfo
Contains information available to the user after requesting password recovery.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.Photo
Describes a photo.static class
TdApi.PhotoSize
Photo description.static class
TdApi.PinSupergroupMessage
Pins a message in a supergroup or channel; requires appropriate administrator rights in the supergroup or channel.static class
TdApi.ProcessDcUpdate
Handles a DCUPDATE push service notification.static class
TdApi.ProfilePhoto
Describes a user profile photo.static class
TdApi.Proxy
This class is an abstract base class.static class
TdApi.ProxyEmpty
An empty proxy server.static class
TdApi.ProxySocks5
A SOCKS5 proxy server.static class
TdApi.PublicMessageLink
Contains a public HTTPS link to a message in a public supergroup or channel.static class
TdApi.ReadAllChatMentions
Marks all mentions in a chat as read.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.RemoteFile
Represents a remote file.static class
TdApi.RemoveContacts
Removes users from the contacts list.static class
TdApi.RemoveFavoriteSticker
Removes a sticker from the list of favorite stickers.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.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.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.ResetAllNotificationSettings
Resets all notification settings to their default values.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.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.RichTextItalic
An italicized rich text.static class
TdApi.RichTextPlain
A plain text.static class
TdApi.RichTexts
A concatenation of rich texts.static class
TdApi.RichTextStrikethrough
A strike-through rich text.static class
TdApi.RichTextUnderline
An underlined rich text.static class
TdApi.RichTextUrl
A rich text URL link.static class
TdApi.SavedCredentials
Contains information about saved card credentials.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.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.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.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.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.SendPaymentForm
Sends a filled-out payment form to the bot for final verification.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.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.SetChatClientData
Changes client data associated with a chat.static class
TdApi.SetChatDraftMessage
Changes the draft message in a chat.static class
TdApi.SetChatMemberStatus
Changes the status of a chat member, needs appropriate privileges.static class
TdApi.SetChatPhoto
Changes the photo of a chat.static class
TdApi.SetChatTitle
Changes the chat title.static class
TdApi.SetDatabaseEncryptionKey
Changes the database encryption key.static class
TdApi.SetFileGenerationProgress
The next part of a file was generated.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.SetName
Changes the first and last name of the current user.static class
TdApi.SetNetworkType
Sets the current network type.static class
TdApi.SetNotificationSettings
Changes notification settings for a given scope.static class
TdApi.SetOption
Sets the value of an option.static class
TdApi.SetPassword
Changes the password for the user.static class
TdApi.SetPinnedChats
Changes the order of pinned chats.static class
TdApi.SetProfilePhoto
Uploads a new profile photo for the current user.static class
TdApi.SetProxy
Sets the proxy server for network requests.static class
TdApi.SetRecoveryEmailAddress
Changes the recovery email address of the user.static class
TdApi.SetStickerPositionInSet
Changes the position of a sticker in the set to which it belongs; for bots only.static class
TdApi.SetSupergroupDescription
Changes information about a supergroup or channel; requires appropriate administrator rights.static class
TdApi.SetSupergroupStickerSet
Changes the sticker set of a supergroup; requires appropriate rights in the supergroup.static class
TdApi.SetSupergroupUsername
Changes the username of a supergroup or channel, requires creator 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.ShippingAddress
Describes a shipping address.static class
TdApi.ShippingOption
One shipping option.static class
TdApi.Sticker
Describes a sticker.static class
TdApi.StickerEmojis
Represents a list of all emoji corresponding to a sticker in a sticker set.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.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 creator 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.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.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.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
For testing only request.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.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.TestUseError
Does nothing and ensures that the Error object is used; 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.TextEntityTypeTextUrl
A text description shown instead of a raw URL.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.ToggleBasicGroupAdministrators
Toggles the "All members are admins" setting in basic groups; requires creator privileges in the group.static class
TdApi.ToggleChatIsPinned
Changes the pinned state of a chat.static class
TdApi.ToggleSupergroupInvites
Toggles whether all members of a supergroup can add new members; requires appropriate administrator rights in the supergroup.static class
TdApi.ToggleSupergroupIsAllHistoryAvailable
Toggles whether the message history of a supergroup is available to new members; requires appropriate administrator rights in the supergroup.static class
TdApi.ToggleSupergroupSignMessages
Toggles sender signatures messages sent in a channel; requires appropriate administrator rights in the channel.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.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.UnblockUser
Removes a user from the blacklist.static class
TdApi.UnpinSupergroupMessage
Removes the pinned message from a supergroup or channel; requires appropriate administrator rights in the supergroup or channel.static class
TdApi.Update
This class is an abstract base class.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.UpdateChatDraftMessage
A draft has changed.static class
TdApi.UpdateChatIsPinned
A chat was pinned or unpinned.static class
TdApi.UpdateChatLastMessage
The last message of a chat was changed.static class
TdApi.UpdateChatOrder
The order of the chat in the chats list has changed.static class
TdApi.UpdateChatPhoto
A chat photo 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.UpdateInstalledStickerSets
The list of installed sticker sets was 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.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.UpdateNotificationSettings
Notification settings for some chats were updated.static class
TdApi.UpdateOption
An option changed its value.static class
TdApi.UpdateRecentStickers
The list of recently used stickers was updated.static class
TdApi.UpdateSavedAnimations
The list of saved animations was updated.static class
TdApi.UpdateSecretChat
Some data of a secret chat 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.UpdateTrendingStickerSets
The list of trending sticker sets was updated or some of them were viewed.static class
TdApi.UpdateUnreadMessageCount
Number of unread messages 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.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.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.UserPrivacySettingRule
This class is an abstract base class.static class
TdApi.UserPrivacySettingRuleAllowAll
A rule to allow all users to do 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.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.UserPrivacySettingShowStatus
A privacy setting for managing whether the user's online status is visible.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 userId 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
This method should be called if 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.Wallpaper
Contains information about a wallpaper.static class
TdApi.Wallpapers
Contains a list of wallpapers.static class
TdApi.WebPage
Describes a web page preview.static class
TdApi.WebPageInstantView
Describes an instant view page for a web page.
-
Constructor Summary
Constructors Constructor Description TdApi()
-