Module tdlight.api

# Package it.tdlight.jni

package it.tdlight.jni

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