Constructors
1619 entries
AccountAuthorizationForm
Telegram Passport authorization form
AccountAuthorizations
Logged-in sessions
AccountAutoDownloadSettings
Media autodownload settings
AccountAutoSaveSettings
Contains media autosave settings
AccountBusinessChatLinks
Contains info about business chat deep links created by the current account.
AccountChatThemes
Available chat themes
AccountChatThemesNotModified
The available chat themes were not modified
AccountConnectedBots
Info about currently connected business bots.
AccountContentSettings
Sensitive content settings
AccountEmailVerified
The email was verified correctly.
AccountEmailVerifiedLogin
The email was verified correctly, and a login code was just sent to it.
AccountEmojiStatuses
A list of emoji statuses
AccountEmojiStatusesNotModified
The server-side list of emoji statuses hasn't changed
AccountPaidMessagesRevenue
Total number of non-refunded Telegram Stars a user has spent on sending us messages either directly
AccountPasskeyRegistrationOptions
Passkey registration options, see here for more info on the full flow.
AccountPasskeys
List of passkeys associated to the current account.
AccountPassword
Configuration for two-factor authorization
AccountPasswordInputSettings
Settings for setting up a new password
AccountPasswordSettings
Private info associated to the password info (recovery email, telegram passport info & so on)
AccountPrivacyRules
Privacy rules
AccountResetPasswordFailedWait
You recently requested a password reset that was canceled, please wait until the specified date befo
AccountResetPasswordOk
The 2 FA password was reset successfully.
AccountResetPasswordRequestedWait
You successfully requested a password reset, please wait until the specified date before finalizing
AccountResolvedBusinessChatLinks
Contains info about a single resolved business chat deep link.
AccountSavedMusicIds
List of IDs of songs ( document. id s) currently pinned on our profile, see here for more info.
AccountSavedMusicIdsNotModified
The list of IDs of songs ( document. id s) currently pinned on our profile hasn't changed.
AccountSavedRingtone
The notification sound was already in MP 3 format and was saved without any modification
AccountSavedRingtoneConverted
The notification sound was not in MP 3 format and was successfully converted and saved, use the retur
AccountSavedRingtones
A list of saved notification sounds
AccountSavedRingtonesNotModified
The notification sound list hasn't changed.
AccountSentEmailCode
The sent email code
AccountTakeout
Takeout info
AccountThemes
Installed themes
AccountThemesNotModified
No new themes were installed
AccountTmpPassword
Temporary payment password
AccountWallPapers
Installed wallpapers
AccountWallPapersNotModified
No new wallpapers were found
AccountWebAuthorizations
Web authorizations
AccountWebBrowserSettings
Per-user settings controlling the in-app web browser, including allowed-external-domain exceptions.
AccountWebBrowserSettingsNotModified
Returned when the web browser settings have not changed since the last fetch.
AccountDaysTtl
Time to live in days of the current account
AiComposeTone
A custom AI composer tone, used to rephrase messages in a specific style with the AI message comp
AiComposeToneDefault
A built-in, default AI composer tone, identified by a string identifier rather than by a numeric
AiComposeToneExample
An example showing how an AI composer tone rephrases a message, used as a preview in the tone pick
AicomposeTones
The list of saved AI composer tones of the current user.
AicomposeTonesNotModified
The list of saved AI composer tones hasn't changed since the last time it was fetched (i. e. the ha
AttachMenuBot
Represents a bot mini app that can be launched from the attachment/side menu
AttachMenuBotIcon
Represents an attachment menu icon for bot mini apps
AttachMenuBotIconColor
Represents an attachment menu icon color for bot mini apps
AttachMenuBots
Represents a list of bot mini apps that can be launched from the attachment menu
AttachMenuBotsBot
Represents a bot mini app that can be launched from the attachment menu
AttachMenuBotsNotModified
The list of bot mini apps hasn't changed
AttachMenuPeerTypeBotPm
The bot attachment menu entry is available in private chats with other bots (excluding the bot that
AttachMenuPeerTypeBroadcast
The bot attachment menu entry is available in channels
AttachMenuPeerTypeChat
The bot attachment menu entry is available in groups and supergroups
AttachMenuPeerTypePm
The bot attachment menu entry is available in private chats with other users (not bots)
AttachMenuPeerTypeSameBotPm
The bot attachment menu entry is available in the chat with the bot that offers it
AuctionBidLevel
Describes a bid in an auction.
AuthAuthorization
Contains user authorization info.
AuthAuthorizationSignUpRequired
An account with this phone number doesn't exist on telegram: the user has to enter basic information
AuthCodeTypeCall
The next time, the authentication code is to be delivered via an outgoing phone call.
AuthCodeTypeFlashCall
The next time, the authentication code will be delivered via an immediately canceled incoming call.
AuthCodeTypeFragmentSms
The next time, the authentication code will be delivered via fragment. com
AuthCodeTypeMissedCall
The next time, the authentication code will be delivered via an immediately canceled incoming call,
AuthCodeTypeSms
The next time, the authentication code will be delivered via an immediately canceled incoming call.
AuthExportedAuthorization
Data for copying of authorization between data centers.
AuthLoggedOut
Future auth token to be used on subsequent authorizations
AuthLoginToken
Login token (for QR code login )
AuthLoginTokenMigrateTo
Repeat the query to the specified DC
AuthLoginTokenSuccess
Login via token (QR code) succeeded!
AuthPasskeyLoginOptions
Passkey login options, see here for more info on the full flow.
AuthPasswordRecovery
Recovery info of a 2 FA password, only for accounts with a recovery email configured.
AuthSentCode
Contains info about a sent verification code.
AuthSentCodePaymentRequired
Official apps may receive this constructor, indicating that due to the high cost of SMS verification
AuthSentCodeSuccess
The user successfully authorized using future auth tokens
AuthSentCodeTypeApp
The code was sent through the telegram app
AuthSentCodeTypeCall
The code will be sent via a phone call: a synthesized voice will tell the user which verification co
AuthSentCodeTypeEmailCode
The code was sent via the previously configured login email
AuthSentCodeTypeFirebaseSms
An authentication code should be delivered via SMS after Firebase attestation, as described in the a
AuthSentCodeTypeFlashCall
The code will be sent via a flash phone call, that will be closed immediately. The phone code will t
AuthSentCodeTypeFragmentSms
The code was delivered via fragment. com.
AuthSentCodeTypeMissedCall
The code will be sent via a flash phone call, that will be closed immediately. The last digits of th
AuthSentCodeTypeSetUpEmailRequired
The user should add and verify an email address in order to login as described here.
AuthSentCodeTypeSms
The code was sent via SMS
AuthSentCodeTypeSmsPhrase
The code was sent via SMS as a secret phrase starting with the word specified in beginning
AuthSentCodeTypeSmsWord
The code was sent via SMS as a secret word, starting with the letter specified in beginning
Authorization
Logged-in session
AutoDownloadSettings
Autodownload settings
AutoSaveException
Peer-specific media autosave settings
AutoSaveSettings
Media autosave settings
AvailableEffect
Represents a message effect.
AvailableReaction
Animations associated with a message reaction
BankCardOpenUrl
Credit card info URL provided by the bank
BaseThemeArctic
Arctic theme
BaseThemeClassic
Classic theme
BaseThemeDay
Day theme
BaseThemeNight
Night theme
BaseThemeTinted
Tinted theme
Birthday
Birthday information for a user.
BoolFalse
Constructor may be interpreted as a boolean false value.
BoolTrue
The constructor can be interpreted as a boolean true value.
Boost
Info about one or more boosts applied by a specific user.
BotApp
Contains information about a direct link Mini App.
BotAppNotModified
Bot app info hasn't changed.
BotAppSettings
Mini app settings
BotBusinessConnection
Contains info about a bot business connection.
BotCommand
Describes a bot command that can be used in a chat
BotCommandScopeChatAdmins
The specified bot commands will be valid only for chat administrators, in all groups and supergroups
BotCommandScopeChats
The specified bot commands will be valid in all groups and supergroups.
BotCommandScopeDefault
The commands will be valid in all dialogs
BotCommandScopePeer
The specified bot commands will be valid only in a specific dialog.
BotCommandScopePeerAdmins
The specified bot commands will be valid for all admins of the specified group or supergroup.
BotCommandScopePeerUser
The specified bot commands will be valid only for a specific user in the specified group or supergro
BotCommandScopeUsers
The specified bot commands will only be valid in all private chats with users.
BotInfo
Info about bots (available bot commands, etc)
BotInlineMediaResult
Media result
BotInlineMessageMediaAuto
Send whatever media is attached to the bot Inline Media Result
BotInlineMessageMediaContact
Send a contact
BotInlineMessageMediaGeo
Send a geolocation
BotInlineMessageMediaInvoice
Send an invoice
BotInlineMessageMediaVenue
Send a venue
BotInlineMessageMediaWebPage
Specifies options that must be used to generate the link preview for the message, or even a standalo
BotInlineMessageRichMessage
Inline-bot result delivered as a rich-formatted message with optional inline keyboard.
BotInlineMessageText
Send a simple text message
BotInlineResult
Generic result
BotMenuButton
Bot menu button that opens a web app when clicked.
BotMenuButtonCommands
Bot menu button that opens the bot command list when clicked.
BotMenuButtonDefault
Placeholder bot menu button never returned to users: see the docs for more info.
BotPreviewMedia
Represents a Main Mini App preview media, see here for more info.
BotVerification
Describes a bot verification icon.
BotVerifierSettings
Info about the current verifier bot.
BotsAccessSettings
Access restriction settings for a managed bot.
BotsBotInfo
Localized information about a bot.
BotsExportedBotToken
The bot token of a managed bot, exported by the manager bot.
BotsPopularAppBots
Popular Main Mini Apps, to be used in the apps tab of global search.
BotsPreviewInfo
Contains info about Main Mini App previews, see here for more info.
BotsRequestedButton
Contains the request ID a bot should pass to a Mini App after preparing a peer request button with b
BusinessAwayMessage
Describes a Telegram Business away message, automatically sent to users writing to us when we're of
BusinessAwayMessageScheduleAlways
Always send Telegram Business away messages to users writing to us in private.
BusinessAwayMessageScheduleCustom
Send Telegram Business away messages to users writing to us in private in the specified time span.
BusinessAwayMessageScheduleOutsideWorkHours
Send Telegram Business away messages to users writing to us in private outside of the configured Tel
BusinessBotRecipients
Specifies the private chats that a connected business bot may receive messages and interact with.
BusinessBotRights
Business bot rights.
BusinessChatLink
Contains info about a business chat deep link created by the current account.
BusinessGreetingMessage
Describes a Telegram Business greeting, automatically sent to new users writing to us in private fo
BusinessIntro
Telegram Business introduction.
BusinessLocation
Represents the location of a Telegram Business.
BusinessRecipients
Specifies the chats that can receive Telegram Business away and greeting messages.
BusinessWeeklyOpen
A time interval, indicating the opening hours of a business.
BusinessWorkHours
Specifies a set of Telegram Business opening hours.
CdnConfig
Configuration for CDN file downloads.
CdnPublicKey
Public key to use only during handshakes to CDN DCs.
Channel
Channel/supergroup info
ChannelAdminLogEvent
Admin log event
ChannelAdminLogEventActionChangeAbout
The description was changed
ChannelAdminLogEventActionChangeAvailableReactions
The set of allowed message reactions for this channel has changed
ChannelAdminLogEventActionChangeEmojiStatus
The emoji status was changed
ChannelAdminLogEventActionChangeEmojiStickerSet
The supergroup's custom emoji stickerset was changed.
ChannelAdminLogEventActionChangeHistoryTtl
The Time-To-Live of messages in this chat was changed
ChannelAdminLogEventActionChangeLinkedChat
The linked chat was changed
ChannelAdminLogEventActionChangeLocation
The geogroup location was changed
ChannelAdminLogEventActionChangePeerColor
The message accent color was changed
ChannelAdminLogEventActionChangePhoto
The channel/supergroup's picture was changed
ChannelAdminLogEventActionChangeProfilePeerColor
The profile accent color was changed
ChannelAdminLogEventActionChangeStickerSet
The supergroup's stickerset was changed
ChannelAdminLogEventActionChangeTitle
Channel/supergroup title was changed
ChannelAdminLogEventActionChangeUsername
Channel/supergroup username was changed
ChannelAdminLogEventActionChangeUsernames
The list of usernames associated with the channel was changed
ChannelAdminLogEventActionChangeWallpaper
The wallpaper was changed
ChannelAdminLogEventActionCreateTopic
A forum topic was created
ChannelAdminLogEventActionDefaultBannedRights
The default banned rights were modified
ChannelAdminLogEventActionDeleteMessage
A message was deleted
ChannelAdminLogEventActionDeleteTopic
A forum topic was deleted
ChannelAdminLogEventActionDiscardGroupCall
A group call was terminated
ChannelAdminLogEventActionEditMessage
A message was edited
ChannelAdminLogEventActionEditTopic
A forum topic was edited
ChannelAdminLogEventActionExportedInviteDelete
A chat invite was deleted
ChannelAdminLogEventActionExportedInviteEdit
A chat invite was edited
ChannelAdminLogEventActionExportedInviteRevoke
A specific invite link was revoked
ChannelAdminLogEventActionParticipantEditRank
A participant's tag was changed.
ChannelAdminLogEventActionParticipantInvite
A user was invited to the group
ChannelAdminLogEventActionParticipantJoin
A user has joined the group (in the case of big groups, info of the user that has joined isn't shown
ChannelAdminLogEventActionParticipantJoinByInvite
A user joined the supergroup/channel using a specific invite link
ChannelAdminLogEventActionParticipantJoinByRequest
A new member was accepted to the chat by an admin
ChannelAdminLogEventActionParticipantLeave
A user left the channel/supergroup (in the case of big groups, info of the user that has joined isn'
ChannelAdminLogEventActionParticipantMute
A group call participant was muted
ChannelAdminLogEventActionParticipantSubExtend
A paid subscriber has extended their Telegram Star subscription.
ChannelAdminLogEventActionParticipantToggleAdmin
The admin rights of a user were changed
ChannelAdminLogEventActionParticipantToggleBan
The banned rights of a user were changed
ChannelAdminLogEventActionParticipantUnmute
A group call participant was unmuted
ChannelAdminLogEventActionParticipantVolume
channel Admin Log Event. user_id has set the volume of participant. peer to participant. volume
ChannelAdminLogEventActionPinTopic
A forum topic was pinned or unpinned
ChannelAdminLogEventActionSendMessage
A message was posted in a channel
ChannelAdminLogEventActionStartGroupCall
A group call was started
ChannelAdminLogEventActionStopPoll
A poll was stopped
ChannelAdminLogEventActionToggleAntiSpam
Native antispam functionality was enabled or disabled.
ChannelAdminLogEventActionToggleAutotranslation
Channel autotranslation was toggled.
ChannelAdminLogEventActionToggleForum
Forum functionality was enabled or disabled.
ChannelAdminLogEventActionToggleGroupCallSetting
Group call settings were changed
ChannelAdminLogEventActionToggleInvites
Invites were enabled/disabled
ChannelAdminLogEventActionToggleNoForwards
Forwards were enabled or disabled
ChannelAdminLogEventActionTogglePreHistoryHidden
The hidden prehistory setting was changed
ChannelAdminLogEventActionToggleSignatureProfiles
Channel signature profiles were enabled/disabled.
ChannelAdminLogEventActionToggleSignatures
Channel signatures were enabled/disabled
ChannelAdminLogEventActionToggleSlowMode
Slow mode setting for supergroups was changed
ChannelAdminLogEventActionUpdatePinned
A message was pinned
ChannelAdminLogEventsFilter
Filter only certain admin log events
ChannelForbidden
Indicates a channel/supergroup we can't access because we were banned, or for some other reason.
ChannelFull
Full info about a channel, supergroup or gigagroup.
ChannelLocation
Geographical location of supergroup (geogroups)
ChannelLocationEmpty
No location (normal supergroup)
ChannelMessagesFilter
Filter for getting only certain types of channel messages.
ChannelMessagesFilterEmpty
No filter
ChannelParticipant
Channel/supergroup participant
ChannelParticipantAdmin
Admin
ChannelParticipantBanned
Banned/kicked user
ChannelParticipantCreator
Channel/supergroup creator
ChannelParticipantLeft
A participant that left the channel/supergroup
ChannelParticipantSelf
Myself
ChannelParticipantsAdmins
Fetch only admin participants
ChannelParticipantsBanned
Fetch only banned participants
ChannelParticipantsBots
Fetch only bot participants
ChannelParticipantsContacts
Fetch only participants that are also contacts
ChannelParticipantsKicked
Fetch only kicked participants
ChannelParticipantsMentions
This filter is used when looking for supergroup members to mention. This filter will automatically r
ChannelParticipantsRecent
Fetch only recent participants
ChannelParticipantsSearch
Query participants by name
ChannelsAdminLogResults
Admin log events
ChannelsChannelParticipant
Represents a channel participant
ChannelsChannelParticipants
Represents multiple channel participants
ChannelsChannelParticipantsNotModified
No new participant info could be found
ChannelsSendAsPeers
A list of peers that can be used to send messages in a specific group
ChannelsSponsoredMessageReportResultAdsHidden
Sponsored messages were hidden for the user in all chats.
ChannelsSponsoredMessageReportResultChooseOption
The user must choose a report option from the localized options available in options, and after sel
ChannelsSponsoredMessageReportResultReported
The sponsored message was reported successfully.
Chat
Info about a group.
ChatAdminRights
Represents the rights of an admin in a channel/supergroup.
ChatAdminWithInvites
Info about chat invites generated by admins.
ChatBannedRights
Represents the rights of a normal user in a supergroup/channel/chat. In this case, the flags are in
ChatEmpty
Empty constructor, group doesn't exist
ChatForbidden
A group to which the user has no access. E. g., because the user was kicked from the group.
ChatFull
Full info about a basic group.
ChatInvite
Chat invite info
ChatInviteAlready
The user has already joined this chat
ChatInviteExported
Exported chat invite
ChatInviteImporter
When and which user joined the chat using a chat invite
ChatInvitePeek
A chat invitation that also allows peeking into the group to read messages without joining it.
ChatInvitePublicJoinRequests
Used in updates and in the channel log to indicate when a user is requesting to join or has joined a
ChatOnlines
Number of online users in a chat
ChatParticipant
Basic group member (not usable by supergroups).
ChatParticipantAdmin
Basic group admin (not usable by supergroups).
ChatParticipantCreator
Represents the creator of the basic group
ChatParticipants
Contains the full list of members of basic groups; is NOT usable for supergroups/channels.
ChatParticipantsForbidden
The full list of members of basic groups is not available to you, because you were banned.
ChatPhoto
Group profile photo.
ChatPhotoEmpty
Group photo is not set.
ChatReactionsAll
All reactions or all non-custom reactions are allowed
ChatReactionsNone
No reactions are allowed
ChatReactionsSome
Some reactions are allowed
ChatTheme
A chat theme
ChatThemeUniqueGift
A chat theme based on a collectible gift.
ChatlistsChatlistInvite
Info about a chat folder deep link.
ChatlistsChatlistInviteAlready
Updated info about a chat folder deep link we already imported.
ChatlistsChatlistUpdates
Updated information about a chat folder deep link.
ChatlistsExportedChatlistInvite
Info about an exported chat folder deep link.
ChatlistsExportedInvites
Info about multiple chat folder deep links.
CodeSettings
Settings used by telegram servers for sending the confirm code.
Config
Current configuration
ConnectedBot
Contains info about a connected business bot.
ConnectedBotStarRef
Info about an active affiliate program we have with a Mini App
Contact
A contact of the current user that is registered in the system.
ContactBirthday
Birthday information of a contact.
ContactStatus
Contact status: online / offline.
ContactsBlocked
Full list of blocked users.
ContactsBlockedSlice
Incomplete list of blocked users.
ContactsContactBirthdays
Birthday information of our contacts.
ContactsContacts
The current user's contact list and info on users.
ContactsContactsNotModified
Contact list on the server is the same as the list on the client.
ContactsFound
Users found by name substring and auxiliary data.
ContactsImportedContacts
Info on successfully imported contacts.
ContactsResolvedPeer
Resolved peer
ContactsSponsoredPeers
Sponsored peers.
ContactsSponsoredPeersEmpty
There are no sponsored peers for this query.
ContactsTopPeers
Top peers
ContactsTopPeersDisabled
Top peers disabled
ContactsTopPeersNotModified
Top peer info hasn't changed
DataJson
Represents a json-encoded object
DcOption
Data center
DefaultHistoryTtl
Contains info about the default value of the Time-To-Live setting, applied to all new chats.
Dialog
Chat
DialogFilter
Dialog filter AKA folder
DialogFilterChatlist
A folder imported using a chat folder deep link.
DialogFilterDefault
Used only when reordering folders to indicate the default (all chats) folder.
DialogFilterSuggested
Suggested folders
DialogFolder
Dialog in folder
DialogPeer
Peer
DialogPeerFolder
Peer folder
DisallowedGiftsSettings
Disallow the reception of specific gift types.
Document
Document
DocumentAttributeAnimated
Defines an animated GIF
DocumentAttributeAudio
Represents an audio file
DocumentAttributeCustomEmoji
Info about a custom emoji
DocumentAttributeFilename
A simple document with a file name
DocumentAttributeHasStickers
Whether the current document has stickers attached
DocumentAttributeImageSize
Defines the width and height of an image uploaded as document
DocumentAttributeSticker
Defines a sticker
DocumentAttributeVideo
Defines a video
DocumentEmpty
Empty constructor, document doesn't exist.
DraftMessage
Represents a message draft.
DraftMessageEmpty
Empty draft
EmailVerificationApple
Apple ID email verification token
EmailVerificationCode
Email verification code
EmailVerificationGoogle
Google ID email verification token
EmailVerifyPurposeLoginChange
Email verification purpose: change login email
EmailVerifyPurposeLoginSetup
Email verification purpose: setup login email
EmailVerifyPurposePassport
Verify an email for use in telegram passport
EmojiGroup
Represents an emoji category.
EmojiGroupGreeting
Represents an emoji category, that should be moved to the top of the list when choosing a sticker f
EmojiGroupPremium
An emoji category, used to select all Premium -only stickers (i. e. those with a Premium effect )/
EmojiKeyword
Emoji keyword
EmojiKeywordDeleted
Deleted emoji keyword
EmojiKeywordsDifference
Changes to emoji keywords
EmojiLanguage
Emoji language
EmojiList
Represents a list of custom emojis.
EmojiListNotModified
The list of custom emojis hasn't changed.
EmojiStatus
An emoji status
EmojiStatusCollectible
An owned or hosted collectible gift as emoji status.
EmojiStatusEmpty
No emoji status is set
EmojiUrl
An HTTP URL which can be used to automatically log in into translation platform and suggest new emoj
EncryptedChat
Encrypted chat
EncryptedChatDiscarded
Discarded or deleted chat.
EncryptedChatEmpty
Empty constructor.
EncryptedChatRequested
Request to create an encrypted chat.
EncryptedChatWaiting
Chat waiting for approval of second participant.
EncryptedFile
Encrypted file.
EncryptedFileEmpty
Empty constructor, non-existing file.
EncryptedMessage
Encrypted message.
EncryptedMessageService
Encrypted service message
Error
Error.
ExportedChatlistInvite
Exported chat folder deep link.
ExportedContactToken
Describes a temporary profile link.
ExportedMessageLink
Link to a message in a supergroup/channel
ExportedStoryLink
Represents a story deep link.
FactCheck
Represents a fact-check created by an independent fact-checker.
FileHash
SHA 256 Hash of an uploaded file, to be checked for validity after download
Folder
Folder
FolderPeer
Peer in a folder
ForumTopic
Represents a forum topic.
ForumTopicDeleted
Represents a deleted forum topic.
FoundStory
A story found using global story search.
FragmentCollectibleInfo
Info about a fragment collectible.
Game
Indicates an already sent game
GeoPoint
Geo Point.
GeoPointAddress
Address optionally associated to a geo Point.
GeoPointEmpty
Empty constructor.
GlobalPrivacySettings
Global privacy settings
GroupCall
Describes a group call.
GroupCallDiscarded
Describes an ended group call.
GroupCallDonor
Describes a live story donor in the donation leaderboard.
GroupCallMessage
Represents an in-call message, emoji reaction, paid live story comment or standalone paid live st
GroupCallParticipant
Describes a group call participant and their current state, see applying group call updates.
GroupCallParticipantVideo
Info about a video stream
GroupCallParticipantVideoSourceGroup
Describes a group of video synchronization source identifiers
GroupCallStreamChannel
Describes an available RTMP stream channel and its current playback timestamp, see playing an RTMP l
HelpAppConfig
Contains various client configuration parameters
HelpAppConfigNotModified
The client configuration parameters haven't changed
HelpAppUpdate
An update is available for the application.
HelpCountriesList
Name, ISO code, localized name and phone codes/patterns of all available countries
HelpCountriesListNotModified
The country list has not changed
HelpCountry
Name, ISO code, localized name and phone codes/patterns of a specific country
HelpCountryCode
Country code and phone number pattern of a specific country
HelpDeepLinkInfo
Deep link info, see the here for more details
HelpDeepLinkInfoEmpty
Deep link info empty
HelpInviteText
Text of a text message with an invitation to install Telegram.
HelpNoAppUpdate
No updates are available for the application.
HelpPassportConfig
Telegram passport configuration
HelpPassportConfigNotModified
Password configuration not modified
HelpPeerColorOption
Contains info about a color palette.
HelpPeerColorProfileSet
Represents a color palette that can be used in profile pages.
HelpPeerColorSet
Represents a color palette that can be used in message accents.
HelpPeerColors
Contains info about multiple color palettes.
HelpPeerColorsNotModified
The list of color palettes has not changed.
HelpPremiumPromo
Telegram Premium promotion information
HelpPromoData
A set of useful suggestions and a PSA/MTProxy sponsored peer, see here for more info.
HelpPromoDataEmpty
No PSA/MTProxy info is available
HelpRecentMeUrls
Recent t. me URLs
HelpSupport
Info on support user.
HelpSupportName
Localized name for telegram support
HelpTermsOfService
Info about the latest telegram Terms Of Service
HelpTermsOfServiceUpdate
Info about an update of telegram's terms of service. If the terms of service are declined, then the
HelpTermsOfServiceUpdateEmpty
No changes were made to telegram's terms of service
HelpTimezonesList
Timezone information that may be used elsewhere in the API, such as to set Telegram Business opening
HelpTimezonesListNotModified
The timezone list has not changed.
HelpUserInfo
Internal use
HelpUserInfoEmpty
Internal use
HighScore
Game highscore
ImportedContact
Successfully imported contact.
InlineBotSwitchPm
The bot requested the user to message them in private
InlineBotWebView
Specifies an inline mode mini app button, shown on top of the inline query results list.
InlineQueryPeerTypeBotPm
Peer type: private chat with a bot.
InlineQueryPeerTypeBroadcast
Peer type: channel
InlineQueryPeerTypeChat
Peer type: chat
InlineQueryPeerTypeMegagroup
Peer type: supergroup
InlineQueryPeerTypePm
Peer type: private chat
InlineQueryPeerTypeSameBotPm
Peer type: private chat with the bot itself
InputAiComposeToneDefault
References a built-in, default AI composer tone by its string identifier.
InputAiComposeToneId
References a custom AI composer tone by its ID and access hash.
InputAiComposeToneSlug
References a custom AI composer tone by its public slug, used when opening an AI compose tone link
InputAppEvent
Event that occurred in the application.
InputBotAppId
Used to fetch information about a direct link Mini App by its ID
InputBotAppShortName
Used to fetch information about a direct link Mini App by its short name
InputBotInlineMessageGame
A game
InputBotInlineMessageId
Represents a sent inline message from the perspective of a bot (legacy constructor)
InputBotInlineMessageId64
Represents a sent inline message from the perspective of a bot
InputBotInlineMessageMediaAuto
A media
InputBotInlineMessageMediaContact
A contact
InputBotInlineMessageMediaGeo
Geolocation
InputBotInlineMessageMediaInvoice
An invoice
InputBotInlineMessageMediaVenue
Venue
InputBotInlineMessageMediaWebPage
Specifies options that will be used to generate the link preview for the message, or even a standalo
InputBotInlineMessageRichMessage
Input variant of a rich-message inline-bot result, used when registering inline-query answers.
InputBotInlineMessageText
Simple text message
InputBotInlineResult
An inline bot result
InputBotInlineResultDocument
Document (media of any type except for photos)
InputBotInlineResultGame
Game
InputBotInlineResultPhoto
Photo
InputBusinessAwayMessage
Describes a Telegram Business away message, automatically sent to users writing to us when we're of
InputBusinessBotRecipients
Specifies the private chats that a connected business bot may interact with.
InputBusinessChatLink
Contains info about a business chat deep link to be created by the current account.
InputBusinessGreetingMessage
Describes a Telegram Business greeting, automatically sent to new users writing to us in private fo
InputBusinessIntro
Telegram Business introduction.
InputBusinessRecipients
Specifies the chats that can receive Telegram Business away and greeting messages.
InputChannel
Represents a channel
InputChannelEmpty
Represents the absence of a channel
InputChannelFromMessage
Defines a min channel that was seen in a certain message of a certain chat.
InputChatPhoto
Existing photo to be set as a chat profile photo.
InputChatPhotoEmpty
Empty constructor, remove group photo.
InputChatTheme
Set an emoji-based chat theme, returned by account. get Chat Themes.
InputChatThemeEmpty
Remove any currently configured theme.
InputChatThemeUniqueGift
Set a theme based on an owned or hosted collectible gift, returned by account. get Unique Gift Chat Th
InputChatUploadedPhoto
New photo to be set as group profile photo.
InputChatlistDialogFilter
Folder ID
InputCheckPasswordEmpty
There is no password
InputCheckPasswordSrp
Constructor for checking the validity of a 2 FA SRP password (see SRP )
InputClientProxy
Info about an MTProxy used to connect.
InputCollectiblePhone
Represents a phone number fragment collectible
InputCollectibleUsername
Represents a username fragment collectible
InputDialogPeer
A peer
InputDialogPeerFolder
All peers in a peer folder
InputDocument
Defines a document for subsequent interaction.
InputDocumentEmpty
Empty constructor.
InputDocumentFileLocation
Document location (video, voice, audio, basically every type except photo)
InputEmojiStatusCollectible
An owned or hosted collectible gift as emoji status: can only be used in account. update Emoji Status
InputEncryptedChat
An e 2 e encrypted chat.
InputEncryptedFile
Sets forwarded encrypted file for attachment.
InputEncryptedFileBigUploaded
Assigns a new big encrypted file (over 10 MB in size), saved in parts using the method upload. save Bi
InputEncryptedFileEmpty
Empty constructor.
InputEncryptedFileLocation
Location of encrypted secret chat file.
InputEncryptedFileUploaded
Sets new encrypted file saved by parts using upload. save File Part method.
InputFile
Defines a file saved in parts using the method upload. save File Part.
InputFileBig
Assigns a big file (over 10 MB in size), saved in part using the method upload. save Big File Part.
InputFileLocation
DEPRECATED location of a photo
InputFileStoryDocument
Used to edit the thumbnail/static preview of a story, see here for more info on the full flow.
InputFolderPeer
Peer in a folder
InputGameId
Indicates an already sent game
InputGameShortName
Game by short name
InputGeoPoint
Defines a Geo Point by its coordinates.
InputGeoPointEmpty
Empty Geo Point constructor.
InputGroupCall
Points to a specific group call.
InputGroupCallInviteMessage
Identifies a conference call using its message Action Conference Call invitation service message.
InputGroupCallSlug
Identify a conference call using the slug from its invitation link.
InputGroupCallStream
Identifies a media chunk of an RTMP-mode video chat, livestream or live story, see playing an RTMP l
InputInvoiceBusinessBotTransferStars
Transfer stars from the balance of a user account connected to a business bot, to the balance of th
InputInvoiceChatInviteSubscription
Used to pay for a Telegram Star subscription.
InputInvoiceMessage
An invoice contained in a message Media Invoice message or paid media.
InputInvoicePremiumAuthCode
Used to pay for login codes, in case of high cost of SMS verification codes for the user's country/p
InputInvoicePremiumGiftCode
Used if the user wishes to start a channel/supergroup giveaway or send some giftcodes to members of
InputInvoicePremiumGiftStars
Used to gift a Telegram Premium subscription to another user, paying with Telegram Stars.
InputInvoiceSlug
An invoice slug taken from an invoice deep link or from the premium_invoice_slug app config paramete
InputInvoiceStarGift
Used to buy a Telegram Star Gift, see here for more info.
InputInvoiceStarGiftAuctionBid
Used to place a bid in a collectible gift auction.
InputInvoiceStarGiftDropOriginalDetails
Used to pay for for the removal of the star Gift Attribute Original Details attribute from a collectible
InputInvoiceStarGiftPrepaidUpgrade
Separately prepay for the upgrade of a gift.
InputInvoiceStarGiftResale
Used to buy a collectible gift currently up on resale, see here for more info on the full flow.
InputInvoiceStarGiftTransfer
Used to pay to transfer a collectible gift to another peer, see the gifts documentation for more
InputInvoiceStarGiftUpgrade
Used to pay to upgrade a Gift to a collectible gift, see the collectible gifts documentation for
InputInvoiceStars
Used to top up the Telegram Stars balance of the current account or someone else's account, or to st
InputKeyboardButtonRequestPeer
Prompts the user to select and share one or more peers with the bot using messages. send Bot Requested P
InputKeyboardButtonUrlAuth
Button to request a user to authorize via URL using Seamless Telegram Login.
InputKeyboardButtonUserProfile
Button that links directly to a user profile
InputMediaAreaChannelPost
Represents a channel post
InputMediaAreaVenue
Represents a location tag attached to a story, with additional venue information.
InputMediaContact
Phone book contact
InputMediaDice
Send a dice-based animated sticker
InputMediaDocument
Forwarded document
InputMediaDocumentExternal
Document that will be downloaded by the telegram servers
InputMediaEmpty
Empty media content of a message.
InputMediaGame
A game
InputMediaGeoLive
Live geolocation
InputMediaGeoPoint
Map.
InputMediaInvoice
Generated invoice of a bot payment
InputMediaPaidMedia
Paid media, see here for more info.
InputMediaPhoto
Forwarded photo
InputMediaPhotoExternal
New photo that will be uploaded by the server using the specified URL
InputMediaPoll
A poll
InputMediaStakeDice
Dice game media.
InputMediaStory
Forwarded story
InputMediaTodo
Creates a todo list.
InputMediaUploadedDocument
New document
InputMediaUploadedPhoto
Photo
InputMediaVenue
Can be used to send a venue geolocation.
InputMediaWebPage
Specifies options that will be used to generate the link preview for the caption, or even a standalo
InputMessageCallbackQuery
Used by bots for fetching information about the message that originated a callback query
InputMessageEntityMentionName
Message entity that can be used to create a user user mention: received mentions use the message Ent
InputMessageId
Message by ID
InputMessagePinned
Pinned message
InputMessageReadMetric
Read metric for a single message exposure, describing how long the message was visible in the chat v
InputMessageReplyTo
Message to which the specified message replies to
InputMessagesFilterChatPhotos
Return only chat photo changes
InputMessagesFilterContacts
Return only messages containing contacts
InputMessagesFilterDocument
Filter for messages containing documents.
InputMessagesFilterEmpty
Filter is absent.
InputMessagesFilterGeo
Return only messages containing geolocations
InputMessagesFilterGif
Return only messages containing gifs
InputMessagesFilterMusic
Return only messages containing audio files
InputMessagesFilterMyMentions
Return only messages where the current user was mentioned.
InputMessagesFilterPhoneCalls
Return only phone calls
InputMessagesFilterPhotoVideo
Filter for messages containing photos or videos.
InputMessagesFilterPhotos
Filter for messages containing photos.
InputMessagesFilterPinned
Fetch only pinned messages
InputMessagesFilterPoll
Filter for poll messages, see searching for polls
InputMessagesFilterRoundVideo
Return only round videos
InputMessagesFilterRoundVoice
Return only round videos and voice notes
InputMessagesFilterUrl
Return only messages containing URLs
InputMessagesFilterVideo
Filter for messages containing videos.
InputMessagesFilterVoice
Return only messages containing voice notes
InputNotifyBroadcasts
All channels
InputNotifyChats
Notifications generated by all groups.
InputNotifyForumTopic
Notifications generated by a topic in a forum.
InputNotifyPeer
Notifications generated by a certain user or group.
InputNotifyUsers
Notifications generated by all users.
InputPageBlockMap
Input for a map page block: a geo point, zoom level, dimensions, and a caption.
InputPasskeyCredentialFirebasePnv
Alternative passkey credential that proves ownership of the account's phone number through a Firebas
InputPasskeyCredentialPublicKey
Public-key passkey credential used both for registration and for login, see creating a passkey and
InputPasskeyResponseLogin
Web Authn authentication response used when logging in with a passkey, see here for more info on th
InputPasskeyResponseRegister
Web Authn registration response used when registering a new passkey, see here for more info on the
InputPaymentCredentials
Payment credentials
InputPaymentCredentialsApplePay
Apple pay payment credentials
InputPaymentCredentialsGooglePay
Google Pay payment credentials
InputPaymentCredentialsSaved
Saved payment credentials
InputPeerChannel
Defines a channel for further interaction.
InputPeerChannelFromMessage
Defines a min channel that was seen in a certain message of a certain chat.
InputPeerChat
Defines a chat for further interaction.
InputPeerColorCollectible
Represents a color palette associated to a collectible gift, see here for more info.
InputPeerEmpty
An empty constructor, no user or chat is defined.
InputPeerNotifySettings
Notification settings.
InputPeerPhotoFileLocation
Location of profile photo of channel/group/supergroup/user
InputPeerSelf
Defines the current user.
InputPeerUser
Defines a user for further interaction.
InputPeerUserFromMessage
Defines a min user that was seen in a certain message of a certain chat.
InputPhoneCall
Identifies a phone call.
InputPhoneContact
Phone contact.
InputPhoto
Defines a photo for further interaction.
InputPhotoEmpty
Empty constructor.
InputPhotoFileLocation
Use this object to download a photo with upload. get File method
InputPhotoLegacyFileLocation
DEPRECATED legacy photo file location
InputPollAnswer
An answer option to add to an open-answer poll
InputPrivacyKeyAbout
Whether people can see your bio
InputPrivacyKeyAddedByPhone
Whether people can add you to their contact list by your phone number
InputPrivacyKeyBirthday
Whether the user can see our birthday.
InputPrivacyKeyChatInvite
Whether people will be able to invite you to chats
InputPrivacyKeyForwards
Whether messages forwarded from you will be anonymous
InputPrivacyKeyNoPaidMessages
Who can send you messages without paying, if paid messages are enabled.
InputPrivacyKeyPhoneCall
Whether you will accept phone calls
InputPrivacyKeyPhoneNumber
Whether people will be able to see your phone number
InputPrivacyKeyPhoneP2P
Whether to allow P 2 P communication during Vo IP calls
InputPrivacyKeyProfilePhoto
Whether people will be able to see your profile picture
InputPrivacyKeySavedMusic
Whether the user can see the songs we pinned to our profile.
InputPrivacyKeyStarGiftsAutoSave
Whether received gifts will be automatically displayed on our profile
InputPrivacyKeyStatusTimestamp
Whether people will be able to see our exact last online timestamp.
InputPrivacyKeyVoiceMessages
Whether people can send you voice messages or round videos ( Premium users only).
InputPrivacyValueAllowAll
Allow all users
InputPrivacyValueAllowBots
Allow bots and mini apps
InputPrivacyValueAllowChatParticipants
Allow only participants of certain chats
InputPrivacyValueAllowCloseFriends
Allow only close friends
InputPrivacyValueAllowContacts
Allow only contacts
InputPrivacyValueAllowPremium
Allow only users with a Premium subscription, currently only usable for input Privacy Key Chat Invite
InputPrivacyValueAllowUsers
Allow only certain users
InputPrivacyValueDisallowAll
Disallow all
InputPrivacyValueDisallowBots
Disallow bots and mini apps
InputPrivacyValueDisallowChatParticipants
Disallow only participants of certain chats
InputPrivacyValueDisallowContacts
Disallow only contacts
InputPrivacyValueDisallowUsers
Disallow only certain users
InputQuickReplyShortcut
Selects a quick reply shortcut by name.
InputQuickReplyShortcutId
Selects a quick reply shortcut by its numeric ID.
InputReplyToMessage
Reply to a message.
InputReplyToMonoForum
Used to send messages to a monoforum topic.
InputReplyToStory
Reply to a story.
InputReportReasonChildAbuse
Report for child abuse
InputReportReasonCopyright
Report for copyrighted content
InputReportReasonFake
Report for impersonation
InputReportReasonGeoIrrelevant
Report an irrelevant geogroup
InputReportReasonIllegalDrugs
Report for illegal drugs
InputReportReasonOther
Other
InputReportReasonPersonalDetails
Report for divulgation of personal details
InputReportReasonPornography
Report for pornography
InputReportReasonSpam
Report for spam
InputReportReasonViolence
Report for violence
InputRichFileDocument
Input rich-message attachment referencing an existing document by id.
InputRichFilePhoto
Input rich-message attachment referencing an existing photo by id.
InputRichMessage
Input rich message built from structured page blocks and uploaded media.
InputRichMessageHtml
Input rich message authored as raw HTML, with optional inline file attachments.
InputRichMessageMarkdown
Input rich message authored as Markdown, with optional inline file attachments.
InputSavedStarGiftChat
A gift received by a channel we own.
InputSavedStarGiftSlug
Points to a collectible gift obtained from a collectible gift link.
InputSavedStarGiftUser
A gift received in a private chat with another user.
InputSecureFile
Pre-uploaded passport file, for more info see the passport docs
InputSecureFileLocation
Location of encrypted telegram passport file.
InputSecureFileUploaded
Uploaded secure file, for more info see the passport docs
InputSecureValue
Secure value, for more info see the passport docs
InputSendMessageRichMessageDraftAction
Typing indicator emitted while the user is drafting a rich message.
InputSingleMedia
A single media in an album or grouped media sent with messages. send Multi Media.
InputStarGiftAuction
Used to fetch auctions using the ID of the linked collectible gift.
InputStarGiftAuctionSlug
Used to fetch auctions using the slug of an auction deep link.
InputStarsTransaction
Used to fetch info about a Telegram Star transaction.
InputStickerSetAnimatedEmoji
Animated emojis stickerset
InputStickerSetAnimatedEmojiAnimations
Animated emoji reaction stickerset (contains animations to play when a user clicks on a given animat
InputStickerSetDice
Used for fetching animated dice stickers
InputStickerSetEmojiChannelDefaultStatuses
Default custom emoji status stickerset for channel statuses
InputStickerSetEmojiDefaultStatuses
Default custom emoji status stickerset
InputStickerSetEmojiDefaultTopicIcons
Default custom emoji stickerset for forum topic icons
InputStickerSetEmojiGenericAnimations
Generic animation stickerset containing animations to play when reacting to messages using a normal
InputStickerSetEmpty
Empty constructor
InputStickerSetId
Stickerset by ID
InputStickerSetItem
Sticker in a stickerset
InputStickerSetPremiumGifts
Stickers to show when receiving a gifted Telegram Premium subscription
InputStickerSetShortName
Stickerset by short name, from a stickerset deep link
InputStickerSetThumb
Location of stickerset thumbnail (see files )
InputStickerSetTonGifts
TON gifts stickerset.
InputStickeredMediaDocument
A document with stickers attached
InputStickeredMediaPhoto
A photo with stickers attached
InputStorePaymentAuthCode
Indicates payment for a login code.
InputStorePaymentGiftPremium
Info about a gifted Telegram Premium purchase
InputStorePaymentPremiumGiftCode
Used to gift Telegram Premium subscriptions only to some specific subscribers of a channel/supergrou
InputStorePaymentPremiumGiveaway
Used to pay for a giveaway, see here for more info.
InputStorePaymentPremiumSubscription
Info about a Telegram Premium purchase
InputStorePaymentStarsGift
Used to gift Telegram Stars to a friend.
InputStorePaymentStarsGiveaway
Used to pay for a star giveaway, see here for more info.
InputStorePaymentStarsTopup
Used to top up the Telegram Stars balance of the current account.
InputTakeoutFileLocation
Used to download a JSON file that will contain all personal data related to features that do not hav
InputTheme
Theme
InputThemeSettings
Theme settings
InputThemeSlug
Theme by theme ID
InputUser
Defines a user for further interaction.
InputUserEmpty
Empty constructor, does not define a user.
InputUserFromMessage
Defines a min user that was seen in a certain message of a certain chat.
InputUserSelf
Defines the current user.
InputWallPaper
Wallpaper
InputWallPaperNoFile
Wallpaper with no file access hash, used for example when deleting ( unsave=true ) wallpapers using
InputWallPaperSlug
Wallpaper by slug (a unique ID, obtained from a wallpaper link )
InputWebDocument
The document
InputWebFileAudioAlbumThumbLocation
Used to download an album cover for any music file using upload. get Web File, see the webfile docs fo
InputWebFileGeoPointLocation
Used to download a server-generated image with the map preview from a geo Point, see the webfile doc
InputWebFileLocation
Location of a remote HTTP(s) file
Invoice
Invoice
JoinChatBotResultApproved
Returned by the gatekeeper bot when a chat-join request is approved.
JoinChatBotResultDeclined
Returned by the gatekeeper bot when a chat-join request is declined.
JoinChatBotResultQueued
Returned by the gatekeeper bot when a chat-join request is queued for review.
JoinChatBotResultWebView
Gatekeeper bot result that asks the user to complete a Web App to finish joining.
JsonArray
JSON array
JsonBool
JSON boolean value
JsonNull
null JSON value
JsonNumber
JSON numeric value
JsonObject
JSON object value
JsonObjectValue
JSON key: value pair
JsonString
JSON string
KeyboardButton
Bot keyboard button
KeyboardButtonBuy
Button to buy a product
KeyboardButtonCallback
Callback button
KeyboardButtonCopy
Clipboard button
KeyboardButtonGame
Button to start a game
KeyboardButtonRequestGeoLocation
Button to request a user's geolocation
KeyboardButtonRequestPeer
Prompts the user to select and share one or more peers with the bot using messages. send Bot Requested P
KeyboardButtonRequestPhone
Button to request a user's phone number
KeyboardButtonRequestPoll
Button to request a poll from the user
KeyboardButtonRow
Inline keyboard row
KeyboardButtonSimpleWebView
Button to open a bot mini app using messages. request Simple Web View, without sending user information
KeyboardButtonStyle
This constructor allows setting a custom background color and custom emoji label for a button, see h
KeyboardButtonSwitchInline
Button to switch the user to inline mode
KeyboardButtonUrl
URL button
KeyboardButtonUrlAuth
Button to request a user to authorize via URL using Seamless Telegram Login. When the user clicks o
KeyboardButtonUserProfile
Button that links directly to a user profile
KeyboardButtonWebView
Button to open a bot mini app using messages. request Web View, sending over user information after us
LabeledPrice
This object represents a portion of the price for goods or services.
LangPackDifference
Changes to the app's localization pack
LangPackLanguage
Identifies a localization pack
LangPackString
Translated localization string
LangPackStringDeleted
Deleted localization string
LangPackStringPluralized
A language pack string which has different forms based on the number of some object it mentions. See
MaskCoords
Position on a photo where a mask should be placed when attaching stickers to media
MediaAreaChannelPost
Represents a channel post.
MediaAreaCoordinates
Coordinates and size of a clickable rectangular area on top of a story.
MediaAreaGeoPoint
Represents a geolocation tag attached to a story.
MediaAreaStarGift
Represents a collectible gift.
MediaAreaSuggestedReaction
Represents a reaction bubble.
MediaAreaUrl
Represents a URL media area.
MediaAreaVenue
Represents a location tag attached to a story, with additional venue information.
MediaAreaWeather
Represents a weather widget.
Message
A message
MessageActionBoostApply
Some boosts were applied to the channel or supergroup.
MessageActionBotAllowed
We have given the bot permission to send us direct messages.
MessageActionChangeCreator
Service message: emitted to a supergroup when ownership transfer completes after the old owner left
MessageActionChannelCreate
The channel was created
MessageActionChannelMigrateFrom
Indicates the channel was migrated from the specified chat
MessageActionChatAddUser
New member in the group
MessageActionChatCreate
Group created
MessageActionChatDeletePhoto
Group profile photo removed.
MessageActionChatDeleteUser
User left the group.
MessageActionChatEditPhoto
Group profile changed
MessageActionChatEditTitle
Group name changed.
MessageActionChatJoinedByLink
A user joined the chat via an invite link
MessageActionChatJoinedByRequest
A user was accepted into the group by an admin
MessageActionChatMigrateTo
Indicates the chat was migrated to the specified supergroup
MessageActionConferenceCall
Represents a conference call, or an invitation to one if neither the missed nor active flags are
MessageActionContactSignUp
A contact just signed up to telegram
MessageActionCustomAction
Custom action (most likely not supported by the current layer, an upgrade might be needed)
MessageActionEmpty
Empty constructor.
MessageActionGameScore
Someone scored in a game
MessageActionGeoProximityReached
A user of the chat is now in proximity of another user
MessageActionGiftCode
Contains a Telegram Premium giftcode link.
MessageActionGiftPremium
Info about a gifted Telegram Premium subscription
MessageActionGiftStars
You gifted or were gifted some Telegram Stars.
MessageActionGiftTon
You were gifted some Grams.
MessageActionGiveawayLaunch
A giveaway was started.
MessageActionGiveawayResults
A giveaway has ended.
MessageActionGroupCall
A video chat/livestream was started or terminated.
MessageActionGroupCallScheduled
A video chat/livestream was scheduled.
MessageActionHistoryClear
Chat history was cleared
MessageActionInviteToGroupCall
A set of users was invited to a video chat/livestream.
MessageActionManagedBotCreated
Service message sent by a user to a manager bot when a new managed bot is created through it, by i
MessageActionNewCreatorPending
Service message: emitted to a supergroup when the group/channel creator leaves the group, indicat
MessageActionNoForwardsRequest
Emitted only in private chats if the other side requested to disable content protection.
MessageActionNoForwardsToggle
Emitted only in private chats when enabling or disabling content protection.
MessageActionPaidMessagesPrice
The price of paid messages in this chat was changed.
MessageActionPaidMessagesRefunded
Sent from peer A to B, indicates that A refunded all stars B previously paid to send messages to A,
MessageActionPaymentRefunded
Describes a payment refund (service message received by both users and bots).
MessageActionPaymentSent
A payment was sent
MessageActionPaymentSentMe
A user just sent a payment to me (a bot)
MessageActionPhoneCall
A phone call
MessageActionPinMessage
A message was pinned
MessageActionPollAppendAnswer
A new answer option was added to an open-answer poll
MessageActionPollDeleteAnswer
An answer option was removed from an open-answer poll
MessageActionPrizeStars
You won some Telegram Stars in a Telegram Star giveaway.
MessageActionRequestedPeer
Contains info about one or more peers that the we (the user) shared with the bot after clicking on a
MessageActionRequestedPeerSentMe
Contains info about one or more peers that the a user shared with the me (the bot) after clicking on
MessageActionScreenshotTaken
A screenshot of the chat was taken
MessageActionSecureValuesSent
Request for secure telegram passport values was sent
MessageActionSecureValuesSentMe
Secure telegram passport values were received
MessageActionSetChatTheme
The chat theme was changed
MessageActionSetChatWallPaper
The wallpaper of the current chat was changed.
MessageActionSetMessagesTtl
The Time-To-Live of messages in this chat was changed.
MessageActionStarGift
You received a gift, see here for more info.
MessageActionStarGiftPurchaseOffer
Contains an offer to purchase a collectible gift, see here for the full flow.
MessageActionStarGiftPurchaseOfferDeclined
A collectible gift purchase offer was declined, or the offer expired, see here for the full flow
MessageActionStarGiftUnique
A gift was upgraded to a collectible gift.
MessageActionSuggestBirthday
A new birthday was suggested using users. suggest Birthday, see here for more info on birthdays in
MessageActionSuggestProfilePhoto
A new profile picture was suggested using photos. upload Contact Profile Photo.
MessageActionSuggestedPostApproval
A suggested post was approved or rejected.
MessageActionSuggestedPostRefund
A suggested post was accepted and posted or scheduled, but either the channel deleted the posted/s
MessageActionSuggestedPostSuccess
A suggested post was successfully posted, and payment for it was successfully received.
MessageActionTodoAppendTasks
Items were appended to the todo list.
MessageActionTodoCompletions
Items were marked as completed or not completed in a todo list.
MessageActionTopicCreate
A forum topic was created.
MessageActionTopicEdit
Forum topic information was edited.
MessageActionWebViewDataSent
Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (user side servi
MessageActionWebViewDataSentMe
Data from an opened reply keyboard bot mini app was relayed to the bot that owns it (bot side servic
MessageEmpty
Empty constructor, non-existent message.
MessageEntityBankCard
Indicates a credit card number
MessageEntityBlockquote
Message entity representing a block quote.
MessageEntityBold
Message entity representing bold text.
MessageEntityBotCommand
Message entity representing a bot /command
MessageEntityCashtag
Message entity representing a $cashtag.
MessageEntityCode
Message entity representing a codeblock.
MessageEntityCustomEmoji
Represents a custom emoji. Note that this entity must wrap exactly one regular emoji (the one contai
MessageEntityDiffDelete
Represents an diff deletion: render it by simply underlining the specified section and coloring it i
MessageEntityDiffInsert
Represents an diff addition: render it by simply underlining the specified section and coloring it i
MessageEntityDiffReplace
Represents an diff replacement, render it as follows:
MessageEntityEmail
Message entity representing an email@example. com.
MessageEntityFormattedDate
Represents a specific point in time, rendered as specified here
MessageEntityHashtag
#hashtag message entity
MessageEntityItalic
Message entity representing italic text.
MessageEntityMention
Message entity mentioning a user by @username; message Entity Mention Name can also be used to mention
MessageEntityMentionName
Message entity representing a user mention: for creating a mention use input Message Entity Mention Nam
MessageEntityPhone
Message entity representing a phone number.
MessageEntityPre
Message entity representing a preformatted codeblock, allowing the user to specify a programming la
MessageEntitySpoiler
Message entity representing a spoiler
MessageEntityStrike
Message entity representing strikethrough text.
MessageEntityTextUrl
Message entity representing a text url: for in-text urls like https://google. com use message Entity U
MessageEntityUnderline
Message entity representing underlined text.
MessageEntityUnknown
Unknown message entity
MessageEntityUrl
Message entity representing an in-text url: https://google. com; for text urls, use message Entity Te
MessageExtendedMedia
Already purchased paid media, see here for more info.
MessageExtendedMediaPreview
Paid media preview for not yet purchased paid media, see here for more info.
MessageFwdHeader
Info about a forwarded message
MessageMediaContact
Attached contact.
MessageMediaDice
Dice-based animated sticker
MessageMediaDocument
Document (video, audio, voice, sticker, any media type except photo)
MessageMediaEmpty
Empty constructor.
MessageMediaGame
Telegram game
MessageMediaGeo
Attached map.
MessageMediaGeoLive
Indicates a live geolocation
MessageMediaGiveaway
Contains info about a giveaway, see here for more info.
MessageMediaGiveawayResults
A giveaway with public winners has finished, this constructor contains info about the winners.
MessageMediaInvoice
Invoice
MessageMediaPaidMedia
Paid media, see here for more info.
MessageMediaPhoto
Attached photo.
MessageMediaPoll
Poll
MessageMediaStory
Represents a forwarded story or a story mention.
MessageMediaToDo
Represents a todo list.
MessageMediaUnsupported
Current version of the client does not support this media type.
MessageMediaVenue
Venue
MessageMediaVideoStream
Identifies the active group call associated with a live story.
MessageMediaWebPage
Preview of webpage
MessagePeerReaction
How a certain peer reacted to the message
MessagePeerVote
How a peer voted in a poll
MessagePeerVoteInputOption
How a peer voted in a poll (reduced constructor, returned if an option was provided to messages. get P
MessagePeerVoteMultiple
How a peer voted in a multiple-choice poll
MessageRange
Indicates a range of chat messages
MessageReactions
Message reactions
MessageReactor
Info about a user in the paid Star reactions leaderboard for a message.
MessageReplies
Info about the comment section of a channel post, a simple message thread, a forum topic, or a direc
MessageReplyHeader
Message replies and thread information
MessageReplyStoryHeader
Represents a reply to a story
MessageReportOption
Report menu option
MessageService
Indicates a service message
MessageViews
View, forward counter + info about replies of a specific message
MessagesAffectedFoundMessages
Messages found and affected by changes
MessagesAffectedHistory
Affected part of communication history with the user or in a chat.
MessagesAffectedMessages
Events affected by operation
MessagesAllStickers
Info about all installed stickers
MessagesAllStickersNotModified
Info about all installed stickers hasn't changed
MessagesArchivedStickers
Archived stickersets
MessagesAvailableEffects
The full list of usable animated message effects.
MessagesAvailableEffectsNotModified
The full list of usable animated message effects hasn't changed.
MessagesAvailableReactions
Animations and metadata associated with message reactions
MessagesAvailableReactionsNotModified
No new reactions are available
MessagesBotApp
Contains information about a direct link Mini App
MessagesBotCallbackAnswer
Callback answer sent by the bot in response to a button press
MessagesBotPreparedInlineMessage
Represents a prepared inline message saved by a bot, to be sent to the user via a web app
MessagesBotResults
Result of a query to an inline bot
MessagesChannelMessages
Channel messages
MessagesChatAdminsWithInvites
Info about chat invites generated by admins.
MessagesChatFull
Full info about a channel, supergroup, gigagroup or basic group.
MessagesChatInviteImporters
Info about the users that joined the chat using a specific chat invite
MessagesChatInviteJoinResultOk
Successful chat-invite join result, bundled with the resulting updates.
MessagesChatInviteJoinResultWebView
Chat-invite join that requires the user to complete a bot Web App before joining.
MessagesChats
List of chats with auxiliary data.
MessagesChatsSlice
Partial list of chats, more would have to be fetched with pagination
MessagesCheckedHistoryImportPeer
Contains a confirmation text to be shown to the user, upon importing chat history, click here for mo
MessagesComposedMessageWithAi
Represents a message modified by AI.
MessagesDhConfig
New set of configuring parameters.
MessagesDhConfigNotModified
Configuring parameters did not change.
MessagesDialogFilters
Folder and folder tags information
MessagesDialogs
Full list of chats with messages and auxiliary data.
MessagesDialogsNotModified
Dialogs haven't changed
MessagesDialogsSlice
Incomplete list of dialogs with messages and auxiliary data.
MessagesDiscussionMessage
Information about a message thread
MessagesEmojiGameDiceInfo
Dice game information.
MessagesEmojiGameOutcome
Dice game outcome.
MessagesEmojiGameUnavailable
Dice game information.
MessagesEmojiGroups
Represents a list of emoji categories.
MessagesEmojiGroupsNotModified
The list of emoji categories hasn't changed.
MessagesExportedChatInvite
Info about a chat invite
MessagesExportedChatInviteReplaced
The specified chat invite was replaced with another one
MessagesExportedChatInvites
Info about chat invites exported by a certain admin.
MessagesFavedStickers
Favorited stickers
MessagesFavedStickersNotModified
No new favorited stickers were found
MessagesFeaturedStickers
Featured stickersets
MessagesFeaturedStickersNotModified
Featured stickers haven't changed
MessagesForumTopics
Contains information about multiple forum topics
MessagesFoundStickerSets
Found stickersets
MessagesFoundStickerSetsNotModified
No further results were found
MessagesFoundStickers
Found stickers
MessagesFoundStickersNotModified
No new stickers were found for the specified query
MessagesHighScores
Highscores in a game
MessagesHistoryImport
ID of a specific chat import session, click here for more info.
MessagesHistoryImportParsed
Contains information about a chat export file generated by a foreign chat app, click here for more i
MessagesInactiveChats
Inactive chat list
MessagesInvitedUsers
Contains info about successfully or unsuccessfully invited users.
MessagesMessageEditData
Message edit data for media
MessagesMessageReactionsList
List of peers that reacted to a specific message
MessagesMessageViews
View, forward counter + info about replies
MessagesMessages
Full list of messages with auxiliary data.
MessagesMessagesNotModified
No new messages matching the query were found
MessagesMessagesSlice
Incomplete list of messages and auxiliary data.
MessagesMyStickers
The list of stickersets owned by the current account.
MessagesPeerDialogs
Dialog info of multiple peers
MessagesPeerSettings
Peer settings
MessagesPreparedInlineMessage
Represents a prepared inline message received via a bot's mini app, that can be sent to some chats
MessagesQuickReplies
Info about quick reply shortcuts.
MessagesQuickRepliesNotModified
Info about quick reply shortcuts hasn't changed.
MessagesReactions
List of message reactions
MessagesReactionsNotModified
The server-side list of message reactions hasn't changed
MessagesRecentStickers
Recently used stickers
MessagesRecentStickersNotModified
No new recent sticker was found
MessagesSavedDialogs
Represents some saved message dialogs.
MessagesSavedDialogsNotModified
The saved dialogs haven't changed
MessagesSavedDialogsSlice
Incomplete list of saved message dialogs with messages and auxiliary data.
MessagesSavedGifs
Saved gifs
MessagesSavedGifsNotModified
No new saved gifs were found
MessagesSavedReactionTags
List of reaction tag names assigned by the user.
MessagesSavedReactionTagsNotModified
The list of reaction tag names assigned by the user hasn't changed.
MessagesSearchCounter
Indicates how many results would be found by a messages. search call with the same parameters
MessagesSearchResultsCalendar
Information about found messages sent on a specific day
MessagesSearchResultsPositions
Information about sparse positions of messages
MessagesSentEncryptedFile
Message with a file enclosure sent to a protected chat
MessagesSentEncryptedMessage
Message without file attachments sent to an encrypted file.
MessagesSponsoredMessages
A set of sponsored messages associated to a channel
MessagesSponsoredMessagesEmpty
No sponsored messages are available.
MessagesStickerSet
Stickerset and stickers inside it
MessagesStickerSetInstallResultArchive
The stickerset was installed, but since there are too many stickersets some were archived
MessagesStickerSetInstallResultSuccess
The stickerset was installed successfully
MessagesStickerSetNotModified
The stickerset hasn't changed
MessagesStickers
Found stickers
MessagesStickersNotModified
No new stickers were found for the given query
MessagesTranscribedAudio
Transcribed text from a voice message
MessagesTranslateResult
Translated text with entities
MessagesVotesList
How users voted in a poll
MessagesWebPage
Represents an Instant View webpage.
MessagesWebPagePreview
Represents a webpage preview.
MissingInvitee
Info about why a specific user could not be invited.
MonoForumDialog
Represents a monoforum topic.
MyBoost
Contains information about a single boost slot.
NearestDc
Nearest data center, according to geo-ip.
NotificationSoundDefault
Indicates the default notification sound should be used
NotificationSoundLocal
Indicates a specific local notification sound should be used
NotificationSoundNone
No notification sound should be used
NotificationSoundRingtone
A specific previously uploaded notification sound should be used
NotifyBroadcasts
Channel notification settings
NotifyChats
Notifications generated by all groups.
NotifyForumTopic
Notifications generated by a topic in a forum.
NotifyPeer
Notifications generated by a certain user or group.
NotifyUsers
Notifications generated by all users.
Null
Corresponds to an arbitrary empty object.
OutboxReadDate
Exact read date of a private message we sent to another user.
Page
Instant view page
PageBlockAnchor
Link to section within the page itself (like <a href="#target">anchor</a> )
PageBlockAudio
Audio
PageBlockAuthorDate
Author and date of creation of article
PageBlockBlockquote
Quote (equivalent to the HTML <blockquote> )
PageBlockBlockquoteBlocks
Block-quote page block whose contents are themselves a list of page blocks.
PageBlockChannel
Reference to a telegram channel
PageBlockCollage
Collage of media
PageBlockCover
A page cover
PageBlockDetails
A collapsible details block
PageBlockDivider
An empty block separating a page
PageBlockEmbed
An embedded webpage
PageBlockEmbedPost
An embedded post
PageBlockFooter
Page footer
PageBlockHeader
Page header
PageBlockHeading1
Top-level (H 1) heading in an Instant View page.
PageBlockHeading2
H 2 heading in an Instant View page.
PageBlockHeading3
H 3 heading in an Instant View page.
PageBlockHeading4
H 4 heading in an Instant View page.
PageBlockHeading5
H 5 heading in an Instant View page.
PageBlockHeading6
H 6 heading (deepest) in an Instant View page.
PageBlockKicker
Kicker
PageBlockList
Unordered list of IV blocks
PageBlockMap
A map
PageBlockMath
Block-level math expression rendered from a La Te X source string.
PageBlockOrderedList
Ordered list of IV blocks
PageBlockParagraph
A paragraph
PageBlockPhoto
A photo
PageBlockPreformatted
Preformatted ( <pre> text)
PageBlockPullquote
Pullquote
PageBlockRelatedArticles
Related articles
PageBlockSlideshow
Slideshow
PageBlockSubheader
Subheader
PageBlockSubtitle
Subtitle
PageBlockTable
Table
PageBlockThinking
Collapsible chain-of-thought block used to show an AI assistant's reasoning.
PageBlockTitle
Title
PageBlockUnsupported
Unsupported IV element
PageBlockVideo
Video
PageCaption
Page caption
PageListItemBlocks
List item
PageListItemText
List item
PageListOrderedItemBlocks
Ordered list of IV blocks
PageListOrderedItemText
Ordered list of text items
PageRelatedArticle
Related article
PageTableCell
Table cell
PageTableRow
Table row
PaidReactionPrivacyAnonymous
Send paid reactions anonymously.
PaidReactionPrivacyDefault
Uses the default reaction privacy, set using messages. toggle Paid Reaction Privacy.
PaidReactionPrivacyPeer
Send paid reactions as the specified peer, fetched using channels. get Send As with the for_paid_reacti
Passkey
Human-readable info about a passkey associated to an account, returned when creating a passkey or
PasswordKdfAlgoSha256Sha256Pbkdf2Hmacsha512Iter100000Sha256ModPow
This key derivation algorithm defines that SRP 2 FA login must be used
PasswordKdfAlgoUnknown
Unknown KDF (most likely, the client is outdated and does not support the specified KDF algorithm)
PaymentCharge
Payment identifier
PaymentFormMethod
Represents an additional payment method
PaymentRequestedInfo
Order info provided by the user
PaymentSavedCredentialsCard
Saved credit card
PaymentsBankCardData
Credit card info, provided by the card's bank(s)
PaymentsCheckCanSendGiftResultFail
The specified gift cannot be sent yet for the specified reason.
PaymentsCheckCanSendGiftResultOk
The specified gift can be sent.
PaymentsCheckedGiftCode
Contains info about a Telegram Premium giftcode link.
PaymentsConnectedStarRefBots
Active affiliations
PaymentsExportedInvoice
Exported invoice deep link
PaymentsGiveawayInfo
Contains info about an ongoing giveaway.
PaymentsGiveawayInfoResults
A giveaway has ended.
PaymentsPaymentForm
Payment form
PaymentsPaymentFormStarGift
Represents a payment form for a gift, see here for more info.
PaymentsPaymentFormStars
Represents a payment form, for payments to be using Telegram Stars, see here for more info.
PaymentsPaymentReceipt
Receipt
PaymentsPaymentReceiptStars
Receipt for payment made using Telegram Stars.
PaymentsPaymentResult
Payment result
PaymentsPaymentVerificationNeeded
Payment was not successful, additional verification is needed
PaymentsResaleStarGifts
List of gifts currently on resale.
PaymentsSavedInfo
Saved server-side order information
PaymentsSavedStarGifts
Represents a list of gifts.
PaymentsStarGiftActiveAuctions
Describes all currently active gift auctions where the user has placed a bid.
PaymentsStarGiftActiveAuctionsNotModified
The list of currently active gift auctions where the user has placed a bid hasn't changed.
PaymentsStarGiftAuctionAcquiredGifts
Describes all the gifts that the current user won in an auction.
PaymentsStarGiftAuctionState
Describes a collectible gift auction.
PaymentsStarGiftCollections
Represents a list of star gift collections.
PaymentsStarGiftCollectionsNotModified
The list of star gift collections hasn't changed.
PaymentsStarGiftUpgradeAttributes
List of just the collectible attributes that may appear for a gift type once it's upgraded to a coll
PaymentsStarGiftUpgradePreview
A preview of the possible attributes (chosen randomly) a gift can receive after upgrading it to a
PaymentsStarGiftWithdrawalUrl
A URL that can be used to import the exported NFT on Fragment.
PaymentsStarGifts
Available gifts.
PaymentsStarGiftsNotModified
The list of available gifts hasn't changed.
PaymentsStarsRevenueAdsAccountUrl
Contains a URL leading to a page where the user will be able to place ads for the channel/bot, payin
PaymentsStarsRevenueStats
Star revenue statistics, see here for more info.
PaymentsStarsRevenueWithdrawalUrl
Contains the URL to use to withdraw Telegram Star revenue.
PaymentsStarsStatus
Info about the current Telegram Star subscriptions, balance and transaction history.
PaymentsSuggestedStarRefBots
A list of suggested mini apps with available affiliate programs
PaymentsUniqueStarGift
Represents a collectible gift.
PaymentsUniqueStarGiftValueInfo
Information about the value of a collectible gift.
PaymentsValidatedRequestedInfo
Validated user-provided info
PeerBlocked
Information about a blocked peer
PeerChannel
Channel/supergroup
PeerChat
Group.
PeerColor
Represents a color palette.
PeerColorCollectible
Represents a color palette associated to a collectible gift, see here for more info.
PeerLocated
Peer geolocated nearby
PeerNotifySettings
Notification settings.
PeerSelfLocated
Current peer
PeerSettings
List of actions that are possible when interacting with this user, to be shown as suggested actions
PeerStories
Stories associated to a peer
PeerUser
Chat partner
PendingSuggestion
Represents a custom pending suggestion.
PhoneExportedGroupCallInvite
An invite to a group call or livestream
PhoneGroupCall
Contains group call information and an initial participant page, see getting info about a group call
PhoneGroupCallStars
Contains a live story's total donations and top donors, see paid live story donations.
PhoneGroupCallStreamChannels
Contains the available channels of an RTMP-mode group call, see playing an RTMP livestream.
PhoneGroupCallStreamRtmpUrl
Contains the RTMP publishing URL and secret stream key, see creating and publishing an RTMP livestre
PhoneGroupParticipants
Contains a page of group call participants, see getting info about a group call.
PhoneJoinAsPeers
Contains the peers that may be used to join a video chat/livestream, see joining on behalf of owned
PhonePhoneCall
A Vo IP phone call
PhoneCall
Phone call, see here for more info on the full flow.
PhoneCallAccepted
An accepted phone call, see here for more info on the full flow.
PhoneCallDiscardReasonBusy
The phone call was discarded because the user is busy in another call, see here for more info.
PhoneCallDiscardReasonDisconnect
The phone call was disconnected, see here for more info.
PhoneCallDiscardReasonHangup
The phone call was ended normally, see here for more info.
PhoneCallDiscardReasonMigrateConferenceCall
This phone call was migrated to a conference call.
PhoneCallDiscardReasonMissed
The phone call was missed, see here for more info.
PhoneCallDiscarded
Indicates a discarded phone call, see here for more info on the full flow.
PhoneCallEmpty
Empty constructor
PhoneCallProtocol
Protocol info for the Vo IP library, see here for details on how to populate it.
PhoneCallRequested
Requested phone call, see here for more info on the full flow.
PhoneCallWaiting
Incoming phone call, see here for more info on the full flow.
PhoneConnection
DEPRECATED (libtgvoip): Identifies an endpoint that can be used to connect to the other user in a ph
PhoneConnectionWebrtc
Web RTC connection parameters for a phone call.
Photo
Photo
PhotoCachedSize
Description of an image and its content.
PhotoEmpty
Empty constructor, non-existent photo
PhotoPathSize
Messages with animated stickers can have a compressed svg (< 300 bytes) to show the outline of the s
PhotoSize
Image description.
PhotoSizeEmpty
Empty constructor. Image with this thumbnail is unavailable.
PhotoSizeProgressive
Progressively encoded photosize
PhotoStrippedSize
A low-resolution compressed JPG payload
PhotosPhoto
Photo with auxiliary data.
PhotosPhotos
Full list of photos with auxiliary data.
PhotosPhotosSlice
Incomplete list of photos with auxiliary data.
Poll
Poll
PollAnswer
A possible answer of a poll
PollAnswerVoters
A poll answer, and how users voted on it
PollResults
Results of poll
PopularContact
Popular contact
PostAddress
Shipping address
PostInteractionCountersMessage
Interaction counters for a message.
PostInteractionCountersStory
Interaction counters for a story.
PremiumBoostsList
List of boosts that were applied to a peer by multiple users.
PremiumBoostsStatus
Contains info about the current boost status of a peer.
PremiumMyBoosts
A list of peers we are currently boosting, and how many boost slots we have left.
PremiumGiftCodeOption
Contains info about a giveaway/gift option.
PremiumSubscriptionOption
Describes a Telegram Premium subscription option
PrepaidGiveaway
Contains info about a prepaid giveaway.
PrepaidStarsGiveaway
Contains info about a prepaid Telegram Star giveaway.
PrivacyKeyAbout
Whether people can see your bio
PrivacyKeyAddedByPhone
Whether this user can be added to our contact list by their phone number
PrivacyKeyBirthday
Whether the user can see our birthday.
PrivacyKeyChatInvite
Whether the user can be invited to chats
PrivacyKeyForwards
Whether messages forwarded from the user will be anonymously forwarded
PrivacyKeyNoPaidMessages
Who can send you messages without paying, if paid messages are enabled.
PrivacyKeyPhoneCall
Whether the user accepts phone calls
PrivacyKeyPhoneNumber
Whether the user allows us to see his phone number
PrivacyKeyPhoneP2P
Whether P 2 P connections in phone calls with this user are allowed
PrivacyKeyProfilePhoto
Whether the profile picture of the user is visible
PrivacyKeySavedMusic
Whether the user can see the songs we pinned to our profile.
PrivacyKeyStarGiftsAutoSave
Whether received gifts will be automatically displayed on our profile
PrivacyKeyStatusTimestamp
Whether we can see the last online timestamp of this user.
PrivacyKeyVoiceMessages
Whether the user accepts voice messages
PrivacyValueAllowAll
Allow all users
PrivacyValueAllowBots
Allow bots and mini apps
PrivacyValueAllowChatParticipants
Allow all participants of certain chats
PrivacyValueAllowCloseFriends
Allow only close friends
PrivacyValueAllowContacts
Allow all contacts
PrivacyValueAllowPremium
Allow only users with a Premium subscription, currently only usable for input Privacy Key Chat Invite
PrivacyValueAllowUsers
Allow only certain users
PrivacyValueDisallowAll
Disallow all users
PrivacyValueDisallowBots
Disallow bots and mini apps
PrivacyValueDisallowChatParticipants
Disallow only participants of certain chats
PrivacyValueDisallowContacts
Disallow only contacts
PrivacyValueDisallowUsers
Disallow only certain users
ProfileTabFiles
Represents the shared files tab of a profile.
ProfileTabGifs
Represents the gifs tab of a profile page.
ProfileTabGifts
Represents the gifts tab of a profile page.
ProfileTabLinks
Represents the shared links tab of a profile page.
ProfileTabMedia
Represents the media tab of a profile page.
ProfileTabMusic
Represents the music tab of a profile page.
ProfileTabPosts
Represents the stories tab of a profile page.
ProfileTabVoice
Represents the voice messages tab of a profile page.
PublicForwardMessage
Contains info about a forward of a story as a message.
PublicForwardStory
Contains info about a forward of a story as a repost by a public channel.
QuickReply
A quick reply shortcut.
ReactionCount
Reactions
ReactionCustomEmoji
Custom emoji message reaction
ReactionEmoji
Normal emoji message reaction
ReactionEmpty
No reaction
ReactionNotificationsFromAll
Receive notifications about reactions made by any user.
ReactionNotificationsFromContacts
Receive notifications about reactions made only by our contacts.
ReactionPaid
Represents a paid Telegram Star reaction.
ReactionsNotifySettings
Reaction notification settings, see here for more info.
ReadParticipantDate
Contains info about when a certain participant has read a message
ReceivedNotifyMessage
Message ID, for which PUSH-notifications were cancelled.
RecentMeUrlChat
Recent t. me link to a chat
RecentMeUrlChatInvite
Recent t. me invite link to a chat
RecentMeUrlStickerSet
Recent t. me stickerset installation URL
RecentMeUrlUnknown
Unknown t. me url
RecentMeUrlUser
Recent t. me link to a user
RecentStory
Summary of a peer's active stories, embedded in user. stories_max_id and channel. stories_max_i
ReplyInlineMarkup
Represents an inline keyboard
ReplyKeyboardForceReply
Force the user to send a reply
ReplyKeyboardHide
Hide sent reply keyboard
ReplyKeyboardMarkup
Represents a reply keyboard
ReportResultAddComment
The user should enter an additional comment for the moderators, and then messages. report must be re-
ReportResultChooseOption
The user must choose one of the following options, and then messages. report must be re-invoked, pass
ReportResultReported
The report was sent successfully, no further actions are required.
RequestPeerTypeBroadcast
Choose a channel
RequestPeerTypeChat
Choose a chat or supergroup
RequestPeerTypeCreateBot
Used in a keyboard Button Request Peer by a manager bot to ask a user to create a new managed bot, s
RequestPeerTypeUser
Choose a user.
RequestedPeerChannel
Info about a channel/supergroup, shared by a user with the currently logged in bot using messages. s
RequestedPeerChat
Info about a chat, shared by a user with the currently logged in bot using messages. send Bot Requeste
RequestedPeerUser
Info about a user, shared by a user with the currently logged in bot using messages. send Bot Requested
RequirementToContactEmpty
This user can be freely contacted.
RequirementToContactPaidMessages
This user requires us to pay the specified amount of Telegram Stars to send them a message, see here
RequirementToContactPremium
This user requires us to buy a Premium subscription in order to contact them.
RestrictionReason
Restriction reason.
RichMessage
Rich message composed of structured page blocks, photos, and documents.
SavedDialog
Represents a saved dialog.
SavedPhoneContact
Saved contact
SavedReactionTag
Info about a saved message reaction tag.
SavedStarGift
Represents a gift owned by a peer.
SearchPostsFlood
Indicates if the specified global post search requires payment.
SearchResultPosition
Information about a message in a specific position
SearchResultsCalendarPeriod
Information about found messages sent on a specific day, used to split the messages in messages. sear
SecureCredentialsEncrypted
Encrypted credentials required to decrypt telegram passport data.
SecureData
Secure passport data, for more info see the passport docs
SecureFile
Secure passport file, for more info see the passport docs
SecureFileEmpty
Empty constructor
SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000
PBKDF 2 with SHA 512 and 100000 iterations KDF algo
SecurePasswordKdfAlgoSha512
SHA 512 KDF algo
SecurePasswordKdfAlgoUnknown
Unknown KDF algo (most likely the client has to be updated)
SecurePlainEmail
Email address to use in telegram passport: it must be verified, first.
SecurePlainPhone
Phone number to use in telegram passport: it must be verified, first.
SecureRequiredType
Required type
SecureRequiredTypeOneOf
One of
SecureSecretSettings
Secure settings
SecureValue
Secure value
SecureValueError
Secure value error
SecureValueErrorData
Represents an issue in one of the data fields that was provided by the user. The error is considered
SecureValueErrorFile
Represents an issue with a document scan. The error is considered resolved when the file with the do
SecureValueErrorFiles
Represents an issue with a list of scans. The error is considered resolved when the list of files co
SecureValueErrorFrontSide
Represents an issue with the front side of a document. The error is considered resolved when the fil
SecureValueErrorReverseSide
Represents an issue with the reverse side of a document. The error is considered resolved when the f
SecureValueErrorSelfie
Represents an issue with the selfie with a document. The error is considered resolved when the file
SecureValueErrorTranslationFile
Represents an issue with one of the files that constitute the translation of a document. The error i
SecureValueErrorTranslationFiles
Represents an issue with the translated version of a document. The error is considered resolved when
SecureValueHash
Secure value hash
SecureValueTypeAddress
Address
SecureValueTypeBankStatement
Bank statement
SecureValueTypeDriverLicense
Driver's license
SecureValueTypeEmail
Email
SecureValueTypeIdentityCard
Identity card
SecureValueTypeInternalPassport
Internal passport
SecureValueTypePassport
Passport
SecureValueTypePassportRegistration
Internal registration passport
SecureValueTypePersonalDetails
Personal details
SecureValueTypePhone
Phone
SecureValueTypeRentalAgreement
Rental agreement
SecureValueTypeTemporaryRegistration
Temporary registration
SecureValueTypeUtilityBill
Utility bill
SendAsPeer
Indicates a peer that can be used to send messages
SendMessageCancelAction
Invalidate all previous action updates. E. g. when user deletes entered text or aborts a video upload
SendMessageChooseContactAction
User is selecting a contact to share.
SendMessageChooseStickerAction
User is choosing a sticker
SendMessageEmojiInteraction
User has clicked on an animated emoji triggering a reaction, click here for more info.
SendMessageEmojiInteractionSeen
User is watching an animated emoji reaction triggered by another user, click here for more info.
SendMessageGamePlayAction
User is playing a game
SendMessageGeoLocationAction
User is selecting a location to share.
SendMessageHistoryImportAction
Chat history is being imported
SendMessageRecordAudioAction
User is recording a voice message.
SendMessageRecordRoundAction
User is recording a round video to share
SendMessageRecordVideoAction
User is recording a video.
SendMessageRichMessageDraftAction
Server-side typing indicator broadcast while a peer is drafting a rich message.
SendMessageTextDraftAction
Used by bots to implement live message streaming.
SendMessageTypingAction
User is typing.
SendMessageUploadAudioAction
User is uploading a voice message.
SendMessageUploadDocumentAction
User is uploading a file.
SendMessageUploadPhotoAction
User is uploading a photo.
SendMessageUploadRoundAction
User is uploading a round video
SendMessageUploadVideoAction
User is uploading a video.
ShippingOption
Shipping option
SmsJob
Info about an SMS job.
SmsjobsEligibleToJoin
SMS jobs eligibility
SmsjobsStatus
Status
SpeakingInGroupCallAction
User is currently speaking in the group call
SponsoredMessage
A sponsored message.
SponsoredMessageReportOption
A report option for a sponsored message.
SponsoredPeer
A sponsored peer.
StarGift
Represents a star gift, see here for more info.
StarGiftActiveAuctionState
Contains info about an auction where the user has placed a bid.
StarGiftAttributeBackdrop
The backdrop of a collectible gift.
StarGiftAttributeCounter
Indicates the total number of gifts that have the specified attribute.
StarGiftAttributeIdBackdrop
The ID of a backdrop of a collectible gift.
StarGiftAttributeIdModel
The ID of a model of a collectible gift.
StarGiftAttributeIdPattern
The ID of a pattern of a collectible gift.
StarGiftAttributeModel
The model of a collectible gift.
StarGiftAttributeOriginalDetails
Info about the sender, receiver and message attached to the original gift, before it was upgraded
StarGiftAttributePattern
A sticker applied on the backdrop of a collectible gift using a repeating pattern.
StarGiftAttributeRarity
Exact rarity value for a collectible gift attribute.
StarGiftAttributeRarityEpic
Represents epic collectible gift attribute rarity.
StarGiftAttributeRarityLegendary
Represents legendary collectible gift attribute rarity.
StarGiftAttributeRarityRare
Represents rare collectible gift attribute rarity.
StarGiftAttributeRarityUncommon
Represents uncommon collectible gift attribute rarity.
StarGiftAuctionAcquiredGift
Describes a gift that the current user won in an auction.
StarGiftAuctionRound
Describes one or more collectible gift auction rounds.
StarGiftAuctionRoundExtendable
Describes one or more extendable collectible gift auction rounds.
StarGiftAuctionState
Represents an active or pending auction.
StarGiftAuctionStateFinished
Represents a finished auction.
StarGiftAuctionStateNotModified
Returned only by auction methods (never by updates) if the passed version is equal to the remote auc
StarGiftAuctionUserState
Contains information about the current user's state in an auction.
StarGiftBackground
Contains the default background palette of a gift type.
StarGiftCollection
Represents a star gift collection.
StarGiftUnique
Represents a collectible star gift, see here for more info.
StarGiftUpgradePrice
Indicates the price for a gift upgrade starting from a specific point in time.
StarRefProgram
Info about an affiliate program offered by a bot
StarsAmount
Describes a real (i. e. possibly decimal) amount of Telegram Stars.
StarsGiftOption
Telegram Stars gift option.
StarsGiveawayOption
Contains info about a Telegram Star giveaway option.
StarsGiveawayWinnersOption
Allowed options for the number of giveaway winners.
StarsRating
Represents the profile's star rating, see here for more info.
StarsRevenueStatus
Describes Telegram Star revenue balances.
StarsSubscription
Represents a Telegram Star subscription.
StarsSubscriptionPricing
Pricing of a Telegram Star subscription.
StarsTonAmount
Describes an amount of Gram in nanograms (i. e. 1/1_000_000_000 of a Gram).
StarsTopupOption
Telegram Stars topup option.
StarsTransaction
Represents a Telegram Stars or TON transaction.
StarsTransactionPeer
Describes a Telegram Star transaction with another peer.
StarsTransactionPeerApi
Describes a Telegram Star transaction used to pay for paid API usage, such as paid bot broadcasts.
StarsTransactionPeerAds
Describes a Telegram Star transaction used to pay for Telegram ads as specified here.
StarsTransactionPeerAppStore
Describes a Telegram Star transaction with the App Store, used when purchasing Telegram Stars throug
StarsTransactionPeerFragment
Describes a Telegram Star transaction with Fragment, used when purchasing Telegram Stars through Fr
StarsTransactionPeerPlayMarket
Describes a Telegram Star transaction with the Play Store, used when purchasing Telegram Stars throu
StarsTransactionPeerPremiumBot
Describes a Telegram Star transaction made using @Premium Bot (i. e. using the input Invoice Stars flow
StarsTransactionPeerUnsupported
Describes a Telegram Star transaction that cannot be described using the current layer.
StatsBroadcastStats
Channel statistics.
StatsMegagroupStats
Supergroup statistics
StatsMessageStats
Message statistics
StatsPollStats
Statistics for a poll sent in a message.
StatsPublicForwards
Contains info about the forwards of a story as a message to public chats and reposts by public chann
StatsStoryStats
Contains statistics about a story.
StatsAbsValueAndPrev
Statistics value couple; initial and final value for period of time currently in consideration
StatsDateRangeDays
Channel statistics date range
StatsGraph
Channel statistics graph
StatsGraphAsync
This channel statistics graph must be generated asynchronously using stats. load Async Graph to reduce
StatsGraphError
An error occurred while generating the statistics graph
StatsGroupTopAdmin
Information about an active admin in a supergroup
StatsGroupTopInviter
Information about an active supergroup inviter
StatsGroupTopPoster
Information about an active user in a supergroup
StatsPercentValue
Channel statistics percentage. Compute the percentage simply by doing part * total / 100
StatsUrl
URL with chat statistics
StickerKeyword
Keywords for a certain sticker
StickerPack
A stickerpack is a group of stickers associated to the same emoji. It is not a sticker pack the way
StickerSet
Represents a stickerset (stickerpack)
StickerSetCovered
Stickerset with a single sticker as preview
StickerSetFullCovered
Stickerset preview with all stickers of the stickerset included. Currently used only for custom emoj
StickerSetMultiCovered
Stickerset, with multiple stickers as preview
StickerSetNoCovered
Just the stickerset information, with no previews.
StickersSuggestedShortName
A suggested short name for a stickerpack
StorageFileGif
GIF image. MIME type: image/gif.
StorageFileJpeg
JPEG image. MIME type: image/jpeg.
StorageFileMov
Quicktime video. MIME type: video/quicktime.
StorageFileMp3
Mp 3 audio. MIME type: audio/mpeg.
StorageFileMp4
MPEG-4 video. MIME type: video/mp 4.
StorageFilePartial
Part of a bigger file.
StorageFilePdf
PDF document image. MIME type: application/pdf.
StorageFilePng
PNG image. MIME type: image/png.
StorageFileUnknown
Unknown type.
StorageFileWebp
WEBP image. MIME type: image/webp.
StoriesAlbums
Story albums.
StoriesAlbumsNotModified
The story album list hasn't changed.
StoriesAllStories
Full list of active (or active and hidden) stories.
StoriesAllStoriesNotModified
The list of active (or active and hidden) stories has not changed.
StoriesCanSendStoryCount
Contains the number of available active story slots (equal to the value of the story_expiring_limit_
StoriesFoundStories
Stories found using global story search.
StoriesPeerStories
Active story list of a specific peer.
StoriesStories
List of stories
StoriesStoryReactionsList
List of peers that reacted to or intercated with a specific story
StoriesStoryViews
Reaction and view counters for a list of stories
StoriesStoryViewsList
Reaction and view counters for a story
StoriesStealthMode
Information about the current stealth mode session.
StoryAlbum
Represents a story album.
StoryFwdHeader
Contains info about the original poster of a reposted story.
StoryItem
Represents a story.
StoryItemDeleted
Represents a previously active story, that was deleted
StoryItemSkipped
Represents an active story, whose full information was omitted for space and performance reasons; us
StoryReaction
How a certain peer reacted to a story
StoryReactionPublicForward
A certain peer has forwarded the story as a message to a public chat or channel.
StoryReactionPublicRepost
A certain peer has reposted the story.
StoryView
Story view date and reaction information
StoryViewPublicForward
A certain peer has forwarded the story as a message to a public chat or channel.
StoryViewPublicRepost
A certain peer has reposted the story.
StoryViews
Aggregated view and reaction information of a story.
SuggestedPost
Contains info about a suggested post.
TextAnchor
Text linking to another section of the page
TextAutoEmail
Rich-text fragment that is an auto-detected email address.
TextAutoPhone
Rich-text fragment that is an auto-detected phone number.
TextAutoUrl
Rich-text fragment that is an auto-detected URL.
TextBankCard
Rich-text fragment that is an auto-detected bank-card number.
TextBold
Bold text
TextBotCommand
Rich-text fragment that is a bot command (e. g. /start).
TextCashtag
Rich-text fragment that is a cashtag (e. g. $AAPL).
TextConcat
Concatenation of rich texts
TextCustomEmoji
Inline custom emoji rendered from a document id, with a plain-text fallback.
TextDate
Date or time fragment rendered with the requested relative/short/long formatting.
TextEmail
Rich text email link
TextEmpty
Empty rich text element
TextFixed
fixed-width rich text
TextHashtag
Rich-text fragment that is a hashtag (e. g. #news).
TextImage
Inline image
TextItalic
Italic text
TextMarked
Highlighted text
TextMath
Inline math expression rendered from a La Te X source string.
TextMention
Username mention fragment (e. g. @username).
TextMentionName
Mention of a specific user by id, used when the user has no public username.
TextPhone
Rich text linked to a phone number
TextPlain
Plain text
TextSpoiler
Spoiler fragment whose contents are hidden until the reader taps to reveal them.
TextStrike
Strikethrough text
TextSubscript
Subscript text
TextSuperscript
Superscript text
TextUnderline
Underlined text
TextUrl
Link
TextWithEntities
Styled text with message entities
Theme
Theme
ThemeSettings
Theme settings
Timezone
Timezone information.
TodoCompletion
A completed todo list item.
TodoItem
An item of a todo list.
TodoList
Represents a todo list.
TopPeer
Top peer
TopPeerCategoryBotsApp
Most frequently used Main Mini Bot Apps.
TopPeerCategoryBotsGuestChat
Top guest bots, i. e. bots most frequently invoked as guests in chats.
TopPeerCategoryBotsInline
Most used inline bots
TopPeerCategoryBotsPm
Most used bots
TopPeerCategoryChannels
Most frequently visited channels
TopPeerCategoryCorrespondents
Users we've chatted most frequently with
TopPeerCategoryForwardChats
Chats to which the users often forwards messages to
TopPeerCategoryForwardUsers
Users to which the users often forwards messages to
TopPeerCategoryGroups
Often-opened groups and supergroups
TopPeerCategoryPeers
Top peer category
TopPeerCategoryPhoneCalls
Most frequently called users
True
See predefined identifiers.
UpdateAiComposeTones
The list of saved AI composer tones of the current user has changed, and should be refetched using
UpdateAttachMenuBots
The list of installed attachment menu entries has changed, use messages. get Attach Menu Bots to fetch
UpdateAutoSaveSettings
Media autosave settings have changed and must be refetched using account. get Auto Save Settings.
UpdateBotBusinessConnect
Connecting or disconnecting a business bot or changing the connection settings will emit an update Bo
UpdateBotCallbackQuery
A callback button was pressed, and the button data was sent to the bot that created the button
UpdateBotChatBoost
A channel/supergroup boost has changed (bots only)
UpdateBotChatInviteRequester
Someone has requested to join a chat or channel (bots only, users will receive an update Pending Join R
UpdateBotCommands
The command set of a certain bot in a certain chat has changed.
UpdateBotDeleteBusinessMessage
A message was deleted in a connected business chat.
UpdateBotEditBusinessMessage
A message was edited in a connected business chat.
UpdateBotGuestChatQuery
Sent to guest bots when a user invokes the bot as a guest in a chat. The bot should reply by invok
UpdateBotInlineQuery
An incoming inline query
UpdateBotInlineSend
The result of an inline query that was chosen by a user and sent to their chat partner. Please see o
UpdateBotMenuButton
The menu button behavior for the specified bot has changed
UpdateBotMessageReaction
Bots only: a user has changed their reactions on a message with public reactions.
UpdateBotMessageReactions
Bots only: the number of reactions on a message with anonymous reactions has changed.
UpdateBotNewBusinessMessage
A message was received via a connected business chat.
UpdateBotPrecheckoutQuery
This object contains information about an incoming pre-checkout query.
UpdateBotPurchasedPaidMedia
Bots only: a user has purchased a paid media.
UpdateBotShippingQuery
This object contains information about an incoming shipping query.
UpdateBotStopped
A bot was stopped or re-started.
UpdateBotWebhookJson
A new incoming event; for bots only
UpdateBotWebhookJsonQuery
A new incoming query; for bots only
UpdateBusinessBotCallbackQuery
A callback button sent via a business connection was pressed, and the button data was sent to the bo
UpdateChannel
Channel/supergroup ( channel and/or channel Full ) information was updated.
UpdateChannelAvailableMessages
The history of a channel/supergroup was hidden.
UpdateChannelMessageForwards
The forward counter of a message in a channel has changed
UpdateChannelMessageViews
The view counter of a message in a channel has changed
UpdateChannelParticipant
A participant has left, joined, was banned or admined in a channel or supergroup.
UpdateChannelReadMessagesContents
The specified channel/supergroup messages were read (emitted specifically for messages like voice me
UpdateChannelTooLong
There are new updates in the specified channel, the client must fetch them manually by invoking upda
UpdateChannelUserTyping
A user is typing in a supergroup, channel or message thread
UpdateChannelViewForumAsMessages
Users may also choose to display messages from all topics as if they were sent to a normal group, us
UpdateChannelWebPage
A webpage preview of a link in a channel/supergroup message was generated
UpdateChat
Chat ( chat and/or chat Full ) information was updated.
UpdateChatDefaultBannedRights
Default banned rights in a basic group were updated
UpdateChatParticipant
A user has joined or left a specific basic group: this update can only be received by bots, see h
UpdateChatParticipantAdd
New group member.
UpdateChatParticipantAdmin
Admin permissions of a user in a basic group were changed
UpdateChatParticipantDelete
A member has left the basic group.
UpdateChatParticipantRank
The tag of a participant of a basic group has changed.
UpdateChatParticipants
The participants of a basic group changed.
UpdateChatUserTyping
The user is preparing a message in a group; typing, recording, uploading, etc. This update is valid
UpdateConfig
The server-side configuration has changed; the client should re-fetch the config using help. get Confi
UpdateContactsReset
All contacts were deleted
UpdateDcOptions
Changes in the data center configuration options.
UpdateDeleteChannelMessages
Some messages in a supergroup/channel were deleted
UpdateDeleteGroupCallMessages
Indicates that messages were deleted from the in-call message overlay of a video chat/livestream o
UpdateDeleteMessages
Messages were deleted.
UpdateDeleteQuickReply
A quick reply shortcut was deleted. This will not emit update Delete Quick Reply Messages updates, eve
UpdateDeleteQuickReplyMessages
One or more messages in a quick reply shortcut were deleted.
UpdateDeleteScheduledMessages
Some scheduled messages were deleted (or sent) from the schedule queue of a chat
UpdateDialogFilter
A new folder was added
UpdateDialogFilterOrder
New folder order
UpdateDialogFilters
Clients should update folder info
UpdateDialogPinned
A dialog was pinned/unpinned
UpdateDialogUnreadMark
The manual unread mark of a chat was changed
UpdateDraftMessage
Notifies a change of a message draft.
UpdateEditChannelMessage
A message was edited in a channel/supergroup
UpdateEditMessage
A message was edited
UpdateEmojiGameInfo
Dice game update.
UpdateEncryptedChatTyping
Interlocutor is typing a message in an encrypted chat. Update period is 6 second. If upon this time
UpdateEncryptedMessagesRead
Communication history in an encrypted chat was marked as read.
UpdateEncryption
Change of state in an encrypted chat.
UpdateFavedStickers
The list of favorited stickers was changed, the client should call messages. get Faved Stickers to refe
UpdateFolderPeers
The peer list of a peer folder was updated
UpdateGeoLiveViewed
Live geoposition message was viewed
UpdateGroupCall
Indicates that group call information changed, see applying group call updates.
UpdateGroupCallChainBlocks
Contains conference call blockchain blocks, see handling E 2 E group call updates.
UpdateGroupCallConnection
Connection parameters returned after joining a group call, see presentations and RTMP livestreams
UpdateGroupCallEncryptedMessage
A new E 2 E-encrypted message or emoji reaction was received in a conference call, see here for the
UpdateGroupCallMessage
A new message, reaction, paid comment or donation was received through the in-call message overlay
UpdateGroupCallParticipants
The participant list of a group call has changed.
UpdateInlineBotCallbackQuery
This notification is received by bots when a button is pressed
UpdateJoinChatWebViewDecision
Notifies the client of the gatekeeper bot's decision on a Web App-mediated chat join.
UpdateLangPack
Language pack updated
UpdateLangPackTooLong
A language pack has changed, the client should manually fetch the changed strings using langpack. get
UpdateLoginToken
A login token (for login via QR code) was accepted.
UpdateManagedBot
Manager bots only: a bot managed by the currently logged in bot was created or updated.
UpdateMessageExtendedMedia
You bought a paid media: this update contains the revealed media.
UpdateMessageId
Sent message with random_id client identifier was assigned an identifier.
UpdateMessagePoll
The results of a poll have changed
UpdateMessagePollVote
A specific peer has voted in a poll
UpdateMessageReactions
New message reactions are available
UpdateMonoForumNoPaidException
An admin has (un)exempted this monoforum topic from payment to send messages using account. toggle N
UpdateMoveStickerSetToTop
A stickerset was just moved to top, see here for more info
UpdateNewAuthorization
A new session logged into the current user's account through an unknown device.
UpdateNewBotConnection
Fired when a new bot connection is established, optionally with device and location metadata.
UpdateNewChannelMessage
A new message was sent in a channel/supergroup
UpdateNewEncryptedMessage
New encrypted message.
UpdateNewMessage
New message in a private chat or in a basic group.
UpdateNewQuickReply
A new quick reply shortcut was created.
UpdateNewScheduledMessage
A message was added to the schedule queue of a chat
UpdateNewStickerSet
A new stickerset was installed
UpdateNewStoryReaction
Represents a new reaction to a story.
UpdateNotifySettings
Changes in notification settings.
UpdatePaidReactionPrivacy
Contains the current default paid reaction privacy, see here for more info.
UpdatePeerBlocked
We blocked a peer, see here for more info on blocklists.
UpdatePeerHistoryTtl
The Time-To-Live for messages sent by the current user in a specific chat has changed
UpdatePeerLocated
List of peers near you was updated
UpdatePeerSettings
Settings of a certain peer have changed
UpdatePeerWallpaper
The wallpaper of a given peer has changed.
UpdatePendingJoinRequests
Someone has requested to join a chat or channel
UpdatePhoneCall
An incoming phone call
UpdatePhoneCallSignalingData
Incoming phone call signaling payload
UpdatePinnedChannelMessages
Messages were pinned/unpinned in a channel/supergroup
UpdatePinnedDialogs
Pinned dialogs were updated
UpdatePinnedForumTopic
A forum topic was pinned or unpinned.
UpdatePinnedForumTopics
The pinned topics of a forum have changed.
UpdatePinnedMessages
Some messages were pinned in a chat
UpdatePinnedSavedDialogs
Pinned saved dialogs were updated
UpdatePrivacy
Privacy rules were changed
UpdatePtsChanged
Common message box sequence PTS has changed, state has to be refetched using updates. get State
UpdateQuickReplies
Info about or the order of quick reply shortcuts was changed.
UpdateQuickReplyMessage
A new message was added to a quick reply shortcut.
UpdateReadChannelDiscussionInbox
Incoming comments in a discussion thread were marked as read
UpdateReadChannelDiscussionOutbox
Outgoing comments in a discussion thread were marked as read
UpdateReadChannelInbox
Incoming messages in a channel/supergroup were read
UpdateReadChannelOutbox
Outgoing messages in a channel/supergroup were read
UpdateReadFeaturedEmojiStickers
Some featured custom emoji stickers were marked as read
UpdateReadFeaturedStickers
Some featured stickers were marked as read
UpdateReadHistoryInbox
Incoming messages were read
UpdateReadHistoryOutbox
Outgoing messages were read
UpdateReadMessagesContents
Contents of messages in the common message box were read (emitted specifically for messages like voi
UpdateReadMonoForumInbox
Incoming messages in a monoforum topic were read
UpdateReadMonoForumOutbox
Outgoing messages in a monoforum were read.
UpdateReadStories
Stories of a specific peer were marked as read.
UpdateRecentEmojiStatuses
The list of recent emoji statuses has changed
UpdateRecentReactions
The list of recent message reactions has changed
UpdateRecentStickers
The recent sticker list was updated
UpdateSavedDialogPinned
A saved message dialog was pinned/unpinned
UpdateSavedGifs
The saved gif list has changed, the client should refetch it using messages. get Saved Gifs
UpdateSavedReactionTags
The list of reaction tag names assigned by the user has changed and should be refetched using mess
UpdateSavedRingtones
The list of saved notification sounds has changed, use account. get Saved Ringtones to fetch the new li
UpdateSentPhoneCode
A paid login SMS code was successfully sent.
UpdateSentStoryReaction
Indicates we reacted to a story.
UpdateServiceNotification
A service message for the user.
UpdateShort
Shortened constructor containing info on one update not requiring auxiliary data
UpdateShortChatMessage
Shortened constructor containing info on one new incoming text message from a chat
UpdateShortMessage
Info about a message sent to (received from) another user
UpdateShortSentMessage
Shortened constructor containing info on one outgoing message to a contact (the destination chat has
UpdateSmsJob
A new SMS job was received
UpdateStarGiftAuctionState
Contains updates to auction state, see here for more info on how to enable these updates.
UpdateStarGiftAuctionUserState
Contains updates to auction state related to the current user, see here for more info on how to en
UpdateStarGiftCraftFail
Indicates that a crafting attempt did not produce a new collectible gift.
UpdateStarsBalance
The current account's Telegram Stars balance has changed.
UpdateStarsRevenueStatus
The Telegram Star balance of a channel/bot we own has changed.
UpdateStickerSets
Installed stickersets have changed, the client should refetch them as described in the docs.
UpdateStickerSetsOrder
The order of stickersets was changed
UpdateStoriesStealthMode
Indicates that stories stealth mode was activated.
UpdateStory
A new story was posted.
UpdateStoryId
A story was successfully uploaded.
UpdateTheme
A cloud theme was updated
UpdateTranscribedAudio
A pending voice message transcription initiated with messages. transcribe Audio was updated.
UpdateUser
User ( user and/or user Full ) information was updated.
UpdateUserEmojiStatus
The emoji status of a certain user has changed
UpdateUserName
Changes the user's first name, last name and username.
UpdateUserPhone
A user's phone number was changed
UpdateUserStatus
Contact status update.
UpdateUserTyping
The user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 secon
UpdateWebBrowserException
A web-browser-settings exception was added, modified, or removed.
UpdateWebBrowserSettings
Account-level web browser settings changed.
UpdateWebPage
An instant view webpage preview was generated
UpdateWebViewResultSent
Indicates to a bot that a webview was closed and an inline message was sent on behalf of the user us
Updates
Full constructor of updates
UpdatesChannelDifference
The new updates
UpdatesChannelDifferenceEmpty
There are no new updates
UpdatesChannelDifferenceTooLong
The passed pts is too old: one or more updates starting from the specified PTS were deleted from the
UpdatesDifference
Full list of occurred events.
UpdatesDifferenceEmpty
No events.
UpdatesDifferenceSlice
Incomplete list of occurred events.
UpdatesDifferenceTooLong
The difference is too long, and the specified state must be used to refetch updates.
UpdatesState
Updates state.
UpdatesCombined
Constructor for a group of updates.
UpdatesTooLong
The number of queued updates in the common message box is too large to be delivered passively throug
UploadCdnFile
Represent a chunk of a CDN file.
UploadCdnFileReuploadNeeded
The file was cleared from the temporary RAM cache of the CDN and has to be re-uploaded.
UploadFile
File content.
UploadFileCdnRedirect
The file must be downloaded from a CDN DC.
UploadWebFile
Represents a chunk of an HTTP webfile downloaded through telegram's secure MTProto servers
UrlAuthResultAccepted
Details about an accepted authorization request, for more info click here
UrlAuthResultDefault
Details about an accepted authorization request, for more info click here
UrlAuthResultRequest
Details about the authorization request, for more info click here
User
Indicates info about a certain user.
UserEmpty
Empty constructor, non-existent user.
UserFull
Extended user info
UserProfilePhoto
User profile photo.
UserProfilePhotoEmpty
Profile photo has not been set, or was hidden.
UserStatusEmpty
User status has not been set yet.
UserStatusLastMonth
Online status: last seen last month
UserStatusLastWeek
Online status: last seen last week
UserStatusOffline
The user's offline status.
UserStatusOnline
Online status of the user.
UserStatusRecently
Online status: last seen recently
Username
Contains information about a username.
UsersSavedMusic
List of songs currently pinned on a user's profile, see here for more info.
UsersSavedMusicNotModified
This subset of the songs currently pinned on a user's profile hasn't changed, see here for more in
UsersUserFull
Full user information
UsersUsers
Describes a list of users (or bots).
UsersUsersSlice
Describes a partial list of users.
VideoSize
An animated profile picture in MPEG 4 format
VideoSizeEmojiMarkup
An animated profile picture based on a custom emoji sticker.
VideoSizeStickerMarkup
An animated profile picture based on a sticker.
WallPaper
Represents a wallpaper based on an image.
WallPaperNoFile
Represents a wallpaper only based on colors/gradients.
WallPaperSettings
Wallpaper rendering information.
WebAuthorization
Represents a bot logged in using the Telegram login widget
WebDocument
Remote document
WebDocumentNoProxy
Remote document that can be downloaded without proxying through telegram
WebDomainException
A user-defined exception for a specific web domain (e. g. always open externally).
WebPage
Webpage preview
WebPageAttributeAiComposeTone
Webpage attribute attached to a web Page of type telegram_aicomposetone, generated when previewing a
WebPageAttributeStarGiftAuction
Contains info about a collectible gift auction for a web Page preview of an auction (the web Page
WebPageAttributeStarGiftCollection
Contains info about a gift collection for a web Page preview of a gift collection (the web Page wi
WebPageAttributeStickerSet
Contains info about a stickerset, for a web Page preview of a stickerset deep link (the web Page
WebPageAttributeStory
Webpage preview of a Telegram story
WebPageAttributeTheme
Page theme
WebPageAttributeUniqueStarGift
Contains info about collectible gift for a web Page preview of a collectible gift (the web Page wi
WebPageEmpty
No preview is available for the webpage
WebPageNotModified
The preview of the webpage hasn't changed
WebPagePending
A preview of the webpage is currently being generated
WebViewMessageSent
Info about a sent inline webview message
WebViewResultUrl
Contains the webview URL with appropriate theme and user info parameters added