Raw

Raw

Namespace

Functions

Types

TypeResPQ

TypeServerDhParams

TypeSetClientDhParamsAnswer

TypeDestroyAuthKeyRes

TypeFutureSalt

TypeIpPort

TypeAccessPointRule

TypeRpcDropAnswer

TypeFutureSalts

TypePong

TypeDestroySessionRes

TypeInputPeer

TypeInputFile

Defines a file uploaded by the client.

TypeInputDocument

Defines a document for subsequent interaction.

TypeInputPhoto

Defines a photo for further interaction.

TypeInputGeoPoint

TypeDocumentAttribute

TypeInputGame

TypeInputWebDocument

Specifies a document that will have to be downloaded from the url by the telegram servers

TypeInvoice

TypeDataJSON

Represent a json-encoded object

TypeInputMedia

TypePoll

Indicates a poll message

TypeMessageEntity

TypeVideoSize

TypeInputStickerSet

TypeInputGroupCall

Indicates a group call

TypeUserProfilePhoto

Object contains info on the user’s profile photo.

TypeUserStatus

TypeRestrictionReason

Restriction reason

TypeEmojiStatus

TypeUsername

Contains information about a username

TypePeerColor

Represents a color palette.

TypeChatPhoto

Object defines a group profile photo.

TypeInputChannel

TypeChatAdminRights

Represents the rights of an admin in a channel/supergroup.

TypeChatBannedRights

Represents the rights of a normal user in a supergroup/channel/chat.

TypeChatParticipants

Object contains info on group members.

TypePhoto

Object describes a photo.

TypePeerNotifySettings

Notification settings.

TypeExportedChatInvite

TypeBotInfo

Info about bots (available bot commands, etc)

TypePeer

Identifier of a private chat, basic group, group or channel (see here for more info).

TypeChatReactions

TypeStickerSet

Represents a stickerset (stickerpack)

TypeChannelLocation

Geographical location of supergroup (geogroups)

TypePeerStories

Stories associated to a peer

TypeWallPaper

Object contains info on a wallpaper.

TypeChatParticipant

TypeMessageFwdHeader

Info about a forwarded message

TypeMessageReplyHeader

TypeMessageMedia

TypeReplyMarkup

TypeMessageReplies

Info about post comments (for channels) or message replies (for groups)

TypeMessageReactions

Message reactions

TypeFactCheck

Represents a fact-check created by an independent fact-checker.

TypeMessageAction

TypeGeoPoint

Object defines a geopoint.

TypeDocument

TypeWebPage

TypeGame

Indicates an already sent game

TypeWebDocument

TypeMessageExtendedMedia

TypePollResults

Results of poll

TypeStoryItem

TypePaymentRequestedInfo

Requested payment info

TypePaymentCharge

Charged payment

TypePhoneCallDiscardReason

TypeBotApp

Contains information about a direct link mini app.

TypeSecureValue

Secure telegram passport value

TypeSecureCredentialsEncrypted

Encrypted secure credentials

TypeSecureValueType

TypeRequestedPeer

Info about a peer, shared by a user with the currently logged in bot using messages.sendbotrequestedpeer.

TypeDraftMessage

Represents a message draft.

TypeFolder

A folder

TypePhotoSize

TypeUser

Object defines a user.

TypeNotificationSound

TypeWallPaperSettings

Wallpaper rendering information.

TypePeerSettings

List of actions that are possible when interacting with this user, to be shown as suggested actions in the chat bar

TypePremiumGiftOption

Telegram premium gift option

TypeBusinessWorkHours

Specifies a set of telegram business opening hours.

TypeBusinessLocation

Represents the location of a telegram business.

TypeBusinessGreetingMessage

Describes a telegram business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.

TypeBusinessAwayMessage

Describes a telegram business away message, automatically sent to users writing to us when we’re offline, during closing hours, while we’re on vacation, or in some other custom time period when we cannot immediately answer to the user.

TypeBusinessIntro

Telegram business introduction.

TypeBirthday

Birthday information for a user.

TypeContact

A contact of the current user.

TypeImportedContact

Object contains info on a successfully imported contact.

TypePopularContact

Popular contact

TypePeerBlocked

Info about a blocked user

TypeChat

TypeDialog

TypeMessage

TypeForumTopic

Contains information about a forum topic

TypeChatFull

Full info about a channel, supergroup, gigagroup or basic group.

TypeSendMessageAction

TypeEncryptedMessage

Object contains encrypted message.

TypeEncryptedChat

TypeDcOption

Information for connection to data center.

TypeNotifyPeer

Object defines the set of users and/or groups that generate notifications.

TypePrivacyKey

TypePrivacyRule

TypeInlineQueryPeerType

TypeInputBotInlineMessageID

Represents a sent inline message from the perspective of a bot

TypeDialogPeer

Peer, or all peers in a folder

TypePostAddress

Shipping address

TypePhoneCall

TypeLangPackDifference

Language pack changes

TypeFolderPeer

Peer associated to folder

TypePeerLocated

TypeTheme

Cloud theme

TypeDialogFilter

TypeGroupCallParticipant

Info about a group call participant

TypeGroupCall

TypeChannelParticipant

TypeBotCommand

Describes a bot command that can be used in a chat

TypeBotMenuButton

Indicates the action to execute when pressing the in-ui menu button for bots

TypeStoriesStealthMode

Story stealth mode status

TypeReaction

TypeBoost

Info about one or more boosts applied by a specific user.

TypeReactionCount

Number of users that reacted with a certain emoji

TypeQuickReply

A quick reply shortcut.

TypeBotBusinessConnection

Contains info about a bot business connection.

TypeBroadcastRevenueBalances

Channel ad revenue balance information.

TypeStarsRevenueStatus

TypeUpdate

Object contains info on events occurred.

TypeFileHash

Hash of an uploaded file, to be checked for validity after download

TypeEncryptedFile

TypeInputUser

TypeMaskCoords

Mask coordinates (if this is a mask sticker, attached to a photo)

TypePage

Instant view page

TypeWebPageAttribute

TypeAuthorization

Represents a logged-in session

TypePasswordKdfAlgo

Key derivation function to use when generating the password hash for srp two-factor authorization

TypeSecurePasswordKdfAlgo

TypeSecureSecretSettings

Telegram passport settings

TypeStickerPack

Stickerpack

TypeStickerKeyword

Keywords for a certain sticker

TypeRequestPeerType

Filtering criteria to use for the peer selection list shown to the user.

TypeKeyboardButton

TypeKeyboardButtonRow

Bot or inline keyboard rows

TypeMessageRange

Indicates a range of chat messages

TypeInputBotInlineMessage

TypeBotInlineMessage

TypeInlineBotSwitchPM

The bot requested the user to message them in private

TypeInlineBotWebView

Specifies an inline mode mini app button, shown on top of the inline query results list.

TypeBotInlineResult

TypeTopPeerCategory

TypeTopPeer

Top peer

TypeTopPeerCategoryPeers

Top peers by top peer category

TypeInputReplyTo

Contains info about a message or story to reply to.

TypeStickerSetCovered

TypeHighScore

Game high score

TypeRichText

TypePageListItem

TypePageCaption

Page caption

TypePageBlock

TypePageTableRow

TypePageListOrderedItem

Represents an instant view ordered list

TypePageRelatedArticle

Related articles

TypeLabeledPrice

Labeled pricetag

TypePaymentFormMethod

Represents a payment method

TypePaymentSavedCredentials

Saved payment credentials

TypeShippingOption

Shipping options

TypeUpdates

TypePhoneCallProtocol

Phone call protocol

TypePhoneConnection

TypeCdnPublicKey

Public key to use only during handshakes to cdn dcs.

TypeLangPackString

TypeChannelAdminLogEventAction

Channel admin log event

TypeChannelAdminLogEvent

An event in a channel admin log

TypeChatInvite

TypeRecentMeUrl

TypeWebAuthorization

Web authorization

TypeSecureData

Secure passport data, for more info see the passport docs

TypeSecureFile

Secure passport file, for more info see the passport docs

TypeSecurePlainData

Plaintext verified passport data.

TypeInputSecureFile

Secure passport file, for more info see the passport docs

TypeSecureRequiredType

TypeSecureValueError

TypeJSONValue

TypeJSONObjectValue

Json key: value pair

TypePageTableCell

Represents a table in an instant view table

TypeTextWithEntities

Styled text with message entities

TypePollAnswer

Indicates a possible answer to a poll.

TypePollAnswerVoters

How users voted on a certain poll answer

TypeAutoDownloadSettings

Media autodownload settings

TypeEmojiKeyword

TypeMessagesFilter

TypeThemeSettings

Theme settings

TypeBaseTheme

TypeInputWallPaper

TypeMessagePeerVote

TypeBankCardOpenUrl

Credit card info url provided by the bank

TypeStatsDateRangeDays

Channel statistics date range

TypeStatsAbsValueAndPrev

Channel statistics value pair

TypeStatsPercentValue

Channel statistics percentage

TypeStatsGraph

TypePostInteractionCounters

TypeStatsGroupTopPoster

Most active user in a supergroup

TypeStatsGroupTopAdmin

Most active admin in a supergroup

TypeStatsGroupTopInviter

Most active inviter in a supergroup

TypeMessageViews

View, forward counter + info about replies of a specific message

TypeGroupCallParticipantVideo

Info about a video stream

TypeChatInviteImporter

When and which user joined the chat using a chat invite

TypeChatAdminWithInvites

Info about chat invites generated by admins.

TypeGroupCallParticipantVideoSourceGroup

Describes a group of video synchronization source identifiers

TypeSponsoredMessage

A sponsored message

TypeSearchResultsCalendarPeriod

Information about found messages sent on a specific day, used to split the messages in messages.searchresultscalendar constructors by days.

TypeSearchResultsPosition

Information about a message in a specific position

TypeSendAsPeer

Indicates a peer that can be used to send messages

TypeUserFull

Object contains extended user info.

TypeMessagePeerReaction

How a certain peer reacted to the message

TypeAvailableReaction

Animations associated with a message reaction

TypeGroupCallStreamChannel

Info about an rtmp stream in a group call or livestream

TypeAttachMenuBotIconColor

Represents an attachment menu icon color for bot mini apps

TypeAttachMenuPeerType

TypeAttachMenuBotIcon

Represents an attachment menu icon for bot mini apps

TypeAttachMenuBot

Represents a bot mini app that can be launched from the attachment menu

TypeInputStorePaymentPurpose

TypePremiumGiftCodeOption

TypePremiumSubscriptionOption

Telegram premium subscription option

TypeEmojiGroup

TypeAutoSaveSettings

Media autosave settings

TypeAutoSaveException

Peer-specific autosave settings

TypeExportedChatlistInvite

An exported chat folder deep link.

TypeStoryFwdHeader

Contains info about the original poster of a reposted story.

TypeMediaArea

TypeStoryViews

Aggregated view and reaction information of a story

TypeStoryView

TypeMediaAreaCoordinates

Coordinates and size of a clicable rectangular area on top of a story.

TypeGeoPointAddress

TypeMyBoost

Contains information about a single boost slot.

TypePrepaidGiveaway

Contains info about a prepaid giveaway.

TypePublicForward

Contains info about the forwards of a story as a message to public chats and reposts by public channels.

TypeStoryReaction

How a certain peer reacted to or interacted with a story

TypeSavedDialog

Represents a saved message dialog.

TypeSavedReactionTag

Info about a saved message reaction tag.

TypeBusinessWeeklyOpen

A time interval, indicating the opening hours of a telegram business.

TypeInputBusinessRecipients

Specifies the chats that can receive telegram business away and greeting messages.

TypeBusinessRecipients

Specifies the chats that can receive telegram business away and greeting messages.

TypeBusinessAwayMessageSchedule

TypeTimezone

Timezone information.

TypeBusinessBotRecipients

Specifies the private chats that a connected business bot may receive messages and interact with.

TypeConnectedBot

Contains info about a connected business bot.

TypeContactBirthday

Birthday information of a contact.

TypeMissingInvitee

Info about why a specific user could not be invited.

TypeBusinessChatLink

Contains info about a business chat deep link created by the current account.

TypeSponsoredMessageReportOption

A report option for a sponsored message.

TypeBroadcastRevenueTransaction

TypeReactionNotificationsFrom

TypeAvailableEffect

Describes a message effect.

TypeStarsTransactionPeer

TypeStarsTransaction

Represents a telegram stars transaction.

TypeFoundStory

TypeBotPreviewMedia

TypeInputClientProxy

Info about an mtproxy used to connect.

TypeCodeSettings

Settings for the code type to send

TypeEmailVerification

TypeInputCheckPasswordSRP

Constructors for checking the validity of a 2fa srp password.

TypeInputNotifyPeer

Object defines the set of users and/or groups that generate notifications.

TypeInputPeerNotifySettings

Notifications settings.

TypeReportReason

TypeInputPrivacyKey

TypeInputPrivacyRule

TypeAccountDaysTTL

Time-to-live of current account

TypeInputSecureValue

Secure value, for more info see the passport docs

TypeSecureValueHash

Secure value hash

TypeEmailVerifyPurpose

TypeInputThemeSettings

TypeInputTheme

TypeGlobalPrivacySettings

Global privacy settings

TypeEmojiList

Represents a list of custom emojis.

TypeInputBusinessGreetingMessage

Describes a telegram business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.

TypeInputBusinessAwayMessage

Describes a telegram business away message, automatically sent to users writing to us when we’re offline, during closing hours, while we’re on vacation, or in some other custom time period when we cannot immediately answer to the user.

TypeInputBusinessBotRecipients

Specifies the private chats that a connected business bot may interact with.

TypeInputBusinessIntro

Telegram business introduction.

TypeInputBusinessChatLink

Contains info about a business chat deep link to be created by the current account.

TypeReactionsNotifySettings

Reaction notification settings, see here for more info.

TypeContactStatus

Contact status: online / offline.

TypeInputContact

Object defines a contact from the user’s phone book.

TypeSavedContact

TypeExportedContactToken

Describes a temporary profile link.

TypeInputMessage

TypeReceivedNotifyMessage

Confirmation of message receipt

TypeInputQuickReplyShortcut

TypeInputChatPhoto

TypeInputEncryptedChat

Object sets an encrypted chat id.

TypeInputEncryptedFile

TypeInputBotInlineResult

TypeInputDialogPeer

Peer, or all peers in a certain folder

TypeInputStickeredMedia

Represents a media with attached stickers

TypeInputSingleMedia

A single media in an album or grouped media sent with messages.sendmultimedia.

TypeChatOnlines

Number of online users in a chat

TypeEmojiKeywordsDifference

New emoji keywords

TypeEmojiLanguage

Emoji language

TypeEmojiURL

Emoji url

TypeUrlAuthResult

TypeDialogFilterSuggested

Suggested dialog filters (folder )

TypeReadParticipantDate

Contains info about when a certain participant has read a message

TypeAttachMenuBots

Represents a list of bot mini apps that can be launched from the attachment menu

TypeAttachMenuBotsBot

Represents a bot mini app that can be launched from the attachment menu

TypeWebViewResult

Contains the webview url with appropriate theme and user info parameters added

TypeWebViewMessageSent

Contains information about an inline message sent by a web app on behalf of a user.

TypeDefaultHistoryTTL

Contains info about the default value of the time-to-live setting, applied to all new chats.

TypeInputBotApp

Used to fetch information about a direct link mini app

TypeOutboxReadDate

Exact read date of a private message we sent to another user.

TypeChannelMessagesFilter

Filter for fetching only certain types of channel messages

TypeInputFileLocation

TypeInputWebFileLocation

TypeConfig

Object contains info on api configuring parameters.

TypeNearestDc

Object contains info on nearest data center.

TypeCdnConfig

Configuration for cdn file downloads.

TypeInputAppEvent

Object contains info about an event that occurred in the application.

TypeChannelParticipantsFilter

TypeExportedMessageLink

Http link and embed info of channel message

TypeChannelAdminLogEventsFilter

Filter for fetching events in the channel admin log

TypeBotCommandScope

TypeInputInvoice

TypeInputPaymentCredentials

TypeStarsTopupOption

Telegram stars topup option.

TypeInputStarsTransaction

TypeStarsGiftOption

TypeInputStickerSetItem

TypeInputPhoneCall

TypeLangPackLanguage

Language pack language

TypeInputFolderPeer

Peer in a folder

TypeInputChatlist

TypeExportedStoryLink

Represents a story deep link

TypeSmsJob

Info about an sms job.

TypeInputCollectible

TypeDecryptedMessageMedia

TypeDecryptedMessageAction

TypeDecryptedMessage

TypeFileLocation

Indicates the location of a photo, will be deprecated soon