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