Skip to main content

Built and signed on GitHub Actions

Code-generated and Auto-published Telegram Bot API types

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a week ago (8.2.2)
I
AddStickerToSetParams

Params object for addStickerToSet method

I
AnswerCallbackQueryParams

Params object for answerCallbackQuery method

I
AnswerPreCheckoutQueryParams

Params object for answerPreCheckoutQuery method

I
I
AnswerWebAppQueryParams

Params object for answerWebAppQuery method

I
APIMethods

This object is a map of API methods types (functions map with input/output)

I
ApproveChatJoinRequestParams

Params object for approveChatJoinRequest method

I
BanChatMemberParams

Params object for banChatMember method

I
BanChatSenderChatParams

Params object for banChatSenderChat method

I
CloseForumTopicParams

Params object for closeForumTopic method

I
CloseGeneralForumTopicParams

Params object for closeGeneralForumTopic method

I
CreateChatSubscriptionInviteLinkParams

Params object for createChatSubscriptionInviteLink method

T
CreateForumTopicIconColor
No documentation available
I
CreateForumTopicParams

Params object for createForumTopic method

T
CreateNewStickerSetStickerType
No documentation available
I
DeclineChatJoinRequestParams

Params object for declineChatJoinRequest method

I
DeleteChatPhotoParams

Params object for deleteChatPhoto method

I
DeleteChatStickerSetParams

Params object for deleteChatStickerSet method

I
DeleteForumTopicParams

Params object for deleteForumTopic method

I
DeleteMessageParams

Params object for deleteMessage method

I
DeleteMessagesParams

Params object for deleteMessages method

I
DeleteMyCommandsParams

Params object for deleteMyCommands method

I
DeleteStickerFromSetParams

Params object for deleteStickerFromSet method

I
DeleteStickerSetParams

Params object for deleteStickerSet method

I
DeleteWebhookParams

Params object for deleteWebhook method

I
EditChatSubscriptionInviteLinkParams

Params object for editChatSubscriptionInviteLink method

I
EditGeneralForumTopicParams

Params object for editGeneralForumTopic method

I
EditUserStarSubscriptionParams

Params object for editUserStarSubscription method

I
ExportChatInviteLinkParams

Params object for exportChatInviteLink method

I
GetBusinessConnectionParams

Params object for getBusinessConnection method

I
GetChatAdministratorsParams

Params object for getChatAdministrators method

I
GetChatMemberCountParams

Params object for getChatMemberCount method

I
GetChatMemberParams

Params object for getChatMember method

I
GetChatMenuButtonParams

Params object for getChatMenuButton method

I
GetChatParams

Params object for getChat method

I
GetCustomEmojiStickersParams

Params object for getCustomEmojiStickers method

I
GetFileParams

Params object for getFile method

I
GetGameHighScoresParams

Params object for getGameHighScores method

I
GetMyCommandsParams

Params object for getMyCommands method

I
GetMyDefaultAdministratorRightsParams

Params object for getMyDefaultAdministratorRights method

I
GetMyDescriptionParams

Params object for getMyDescription method

I
GetMyNameParams

Params object for getMyName method

I
GetMyShortDescriptionParams

Params object for getMyShortDescription method

I
GetStarTransactionsParams

Params object for getStarTransactions method

I
GetStickerSetParams

Params object for getStickerSet method

I
GetUpdatesParams

Params object for getUpdates method

I
GetUserChatBoostsParams

Params object for getUserChatBoosts method

I
GetUserProfilePhotosParams

Params object for getUserProfilePhotos method

I
HideGeneralForumTopicParams

Params object for hideGeneralForumTopic method

I
LeaveChatParams

Params object for leaveChat method

I
RefundStarPaymentParams

Params object for refundStarPayment method

I
RemoveChatVerificationParams

Params object for removeChatVerification method

I
RemoveUserVerificationParams

Params object for removeUserVerification method

I
ReopenForumTopicParams

Params object for reopenForumTopic method

I
ReopenGeneralForumTopicParams

Params object for reopenGeneralForumTopic method

I
ReplaceStickerInSetParams

Params object for replaceStickerInSet method

I
RevokeChatInviteLinkParams

Params object for revokeChatInviteLink method

T
SendChatActionAction
No documentation available
T
SendDiceEmoji
No documentation available
T
SendPollType
No documentation available
I
SetChatAdministratorCustomTitleParams

Params object for setChatAdministratorCustomTitle method

I
SetChatDescriptionParams

Params object for setChatDescription method

I
SetChatMenuButtonParams

Params object for setChatMenuButton method

I
SetChatPhotoParams

Params object for setChatPhoto method

I
SetChatStickerSetParams

Params object for setChatStickerSet method

I
SetChatTitleParams

Params object for setChatTitle method

I
SetCustomEmojiStickerSetThumbnailParams

Params object for setCustomEmojiStickerSetThumbnail method

I
SetMessageReactionParams

Params object for setMessageReaction method

I
SetMyCommandsParams

Params object for setMyCommands method

I
SetMyDefaultAdministratorRightsParams

Params object for setMyDefaultAdministratorRights method

I
SetMyDescriptionParams

Params object for setMyDescription method

I
SetMyNameParams

Params object for setMyName method

I
SetMyShortDescriptionParams

Params object for setMyShortDescription method

I
SetPassportDataErrorsParams

Params object for setPassportDataErrors method

I
SetStickerEmojiListParams

Params object for setStickerEmojiList method

I
SetStickerKeywordsParams

Params object for setStickerKeywords method

I
SetStickerMaskPositionParams

Params object for setStickerMaskPosition method

I
SetStickerPositionInSetParams

Params object for setStickerPositionInSet method

T
SetStickerSetThumbnailFormat
No documentation available
I
SetStickerSetThumbnailParams

Params object for setStickerSetThumbnail method

I
SetStickerSetTitleParams

Params object for setStickerSetTitle method

I
TelegramAffiliateInfo

Contains information about the affiliate that received a commission via this transaction.

I
TelegramAnimation

This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).

T
TelegramAPIResponse

Union type of Response

I
TelegramAPIResponseError

In case of an unsuccessful request, 'ok' equals false and the error is explained in the 'description'. An Integer 'error_code' field is also returned, but its contents are subject to change in the future. Some errors may also have an optional field 'parameters' of the type ResponseParameters, which can help to automatically handle the error.

I
TelegramAPIResponseOk

If 'ok' equals True, the request was successful and the result of the query can be found in the 'result' field.

I
TelegramAudio

This object represents an audio file to be treated as music by the Telegram clients.

T
TelegramBackgroundFill

This object describes the way a background is filled based on the selected colors. Currently, it can be one of

I
TelegramBackgroundFillFreeformGradient

The background is a freeform gradient that rotates after every message in the chat.

I
TelegramBackgroundFillSolid

The background is filled using the selected color.

T
TelegramBackgroundType

This object describes the type of a background. Currently, it can be one of

I
TelegramBackgroundTypeChatTheme

The background is taken directly from a built-in chat theme.

I
TelegramBackgroundTypeFill

The background is automatically filled based on the selected colors.

I
TelegramBackgroundTypePattern

The background is a .PNG or .TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.

I
I
TelegramBirthdate

Describes the birthdate of a user.

I
TelegramBotCommand

This object represents a bot command.

T
TelegramBotCommandScope

This object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported:

I
TelegramBotCommandScopeAllChatAdministrators

Represents the scope of bot commands, covering all group and supergroup chat administrators.

I
TelegramBotCommandScopeAllGroupChats

Represents the scope of bot commands, covering all group and supergroup chats.

I
TelegramBotCommandScopeAllPrivateChats

Represents the scope of bot commands, covering all private chats.

I
TelegramBotCommandScopeChat

Represents the scope of bot commands, covering a specific chat.

I
TelegramBotCommandScopeChatAdministrators

Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.

I
TelegramBotCommandScopeChatMember

Represents the scope of bot commands, covering a specific member of a group or supergroup chat.

I
TelegramBotCommandScopeDefault

Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.

I
TelegramBotDescription

This object represents the bot's description.

I
TelegramBotName

This object represents the bot's name.

I
TelegramBotShortDescription

This object represents the bot's short description.

I
TelegramBusinessConnection

Describes the connection of the bot with a business account.

I
TelegramBusinessIntro

Contains information about the start page settings of a Telegram Business account.

I
TelegramBusinessLocation

Contains information about the location of a Telegram Business account.

I
TelegramBusinessMessagesDeleted

This object is received when messages are deleted from a connected business account.

I
TelegramBusinessOpeningHours

Describes the opening hours of a business.

I
TelegramBusinessOpeningHoursInterval

Describes an interval of time during which a business is open.

I
TelegramCallbackGame

A placeholder, currently holds no information. Use BotFather to set up your game.

I
TelegramCallbackQuery

This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.

I
TelegramChatBackground

This object represents a chat background.

I
TelegramChatBoost

This object contains information about a chat boost.

I
TelegramChatBoostAdded

This object represents a service message about a user boosting a chat.

I
TelegramChatBoostRemoved

This object represents a boost removed from a chat.

T
TelegramChatBoostSource

This object describes the source of a chat boost. It can be one of

I
TelegramChatBoostSourceGiftCode

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

I
TelegramChatBoostSourceGiveaway

The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways.

I
TelegramChatBoostSourcePremium

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

I
TelegramChatBoostUpdated

This object represents a boost added to a chat or changed.

T
TelegramChatFullInfoType
No documentation available
I
TelegramChatJoinRequest

Represents a join request sent to a chat.

I
TelegramChatLocation

Represents a location to which a chat is connected.

T
TelegramChatMember

This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:

I
TelegramChatMemberBanned

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

I
TelegramChatMemberLeft

Represents a chat member that isn't currently a member of the chat, but may join it themselves.

I
TelegramChatMemberMember

Represents a chat member that has no additional privileges or restrictions.

I
TelegramChatMemberOwner

Represents a chat member that owns the chat and has all administrator privileges.

I
TelegramChatShared

This object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button.

T
TelegramChatType
No documentation available
I
TelegramChosenInlineResult

Represents a result of an inline query that was chosen by the user and sent to their chat partner.

I
TelegramContact

This object represents a phone contact.

I
TelegramCopyTextButton

This object represents an inline keyboard button that copies specified text to the clipboard.

T
TelegramCurrencies

Telegram payments currently support the currencies listed below.

I
TelegramDice

This object represents an animated emoji that displays a random value.

I
TelegramEncryptedCredentials

Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.

I
TelegramEncryptedPassportElement

Describes documents or other Telegram Passport elements shared with the bot by the user.

T
TelegramEncryptedPassportElementType
No documentation available
I
TelegramFile

This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.

I
TelegramForceReply

Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a Telegram Business account.

I
TelegramForumTopicClosed

This object represents a service message about a forum topic closed in the chat. Currently holds no information.

I
TelegramForumTopicCreated

This object represents a service message about a new forum topic created in the chat.

I
TelegramForumTopicEdited

This object represents a service message about an edited forum topic.

I
TelegramForumTopicReopened

This object represents a service message about a forum topic reopened in the chat. Currently holds no information.

I
TelegramGame

This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.

I
TelegramGameHighScore

This object represents one row of the high scores table for a game.

I
TelegramGeneralForumTopicHidden

This object represents a service message about General forum topic hidden in the chat. Currently holds no information.

I
TelegramGeneralForumTopicUnhidden

This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.

I
TelegramGift

This object represents a gift that can be sent by the bot.

I
TelegramGifts

This object represent a list of gifts.

I
TelegramGiveawayCompleted

This object represents a service message about the completion of a giveaway without public winners.

I
TelegramGiveawayCreated

This object represents a service message about the creation of a scheduled giveaway.

I
TelegramInaccessibleMessage

This object describes a message that was deleted or is otherwise inaccessible to the bot.

I
TelegramInlineKeyboardButton

This object represents one button of an inline keyboard. Exactly one of the optional fields must be used to specify type of the button.

I
TelegramInlineKeyboardMarkup

This object represents an inline keyboard that appears right next to the message it belongs to.

I
TelegramInlineQuery

This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.

T
TelegramInlineQueryChatType
No documentation available
T
TelegramInlineQueryResult

This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:

I
TelegramInlineQueryResultAudio

Represents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio.

I
TelegramInlineQueryResultCachedAudio

Represents a link to an MP3 audio file stored on the Telegram servers. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio.

I
TelegramInlineQueryResultCachedDocument

Represents a link to a file stored on the Telegram servers. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file.

I
TelegramInlineQueryResultCachedGif

Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.

I
TelegramInlineQueryResultCachedMpeg4Gif

Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.

I
TelegramInlineQueryResultCachedPhoto

Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.

I
TelegramInlineQueryResultCachedSticker

Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker.

I
TelegramInlineQueryResultCachedVideo

Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.

I
TelegramInlineQueryResultCachedVoice

Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the voice message.

I
TelegramInlineQueryResultContact

Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.

I
TelegramInlineQueryResultDocument

Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method.

T
TelegramInlineQueryResultDocumentMimeType
No documentation available
I
TelegramInlineQueryResultGif

Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.

T
I
TelegramInlineQueryResultLocation

Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location.

I
TelegramInlineQueryResultMpeg4Gif

Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.

I
TelegramInlineQueryResultPhoto

Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.

I
TelegramInlineQueryResultsButton

This object represents a button to be shown above inline query results. You must use exactly one of the optional fields.

I
TelegramInlineQueryResultVenue

Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.

I
TelegramInlineQueryResultVideo

Represents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.

T
TelegramInlineQueryResultVideoMimeType
No documentation available
I
TelegramInlineQueryResultVoice

Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the the voice message.

I
TelegramInputContactMessageContent

Represents the content of a contact message to be sent as the result of an inline query.

T
TelegramInputFile

This object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.

I
TelegramInputLocationMessageContent

Represents the content of a location message to be sent as the result of an inline query.

T
TelegramInputMedia

This object represents the content of a media message to be sent. It should be one of

I
TelegramInputMediaAnimation

Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.

I
T
TelegramInputMessageContent

This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types:

T
TelegramInputPaidMedia

This object describes the paid media to be sent. Currently, it can be one of

I
TelegramInputPaidMediaPhoto

The paid media to send is a photo.

I
TelegramInputPollOption

This object contains information about one answer option in a poll to be sent.

I
TelegramInputSticker

This object describes a sticker to be added to a sticker set.

T
TelegramInputStickerFormat
No documentation available
I
TelegramInputTextMessageContent

Represents the content of a text message to be sent as the result of an inline query.

I
TelegramInvoice

This object contains basic information about an invoice.

I
TelegramKeyboardButton

This object represents one button of the reply keyboard. At most one of the optional fields must be used to specify type of the button. For simple text buttons, String can be used instead of this object to specify the button text.

I
TelegramKeyboardButtonPollType

This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.

I
TelegramKeyboardButtonRequestChat

This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. More about requesting chats ».

I
TelegramKeyboardButtonRequestUsers

This object defines the criteria used to request suitable users. Information about the selected users will be shared with the bot when the corresponding button is pressed. More about requesting users »

I
TelegramLabeledPrice

This object represents a portion of the price for goods or services.

I
TelegramLoginUrl

This object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in:

I
TelegramMaskPosition

This object describes the position on faces where a mask should be placed by default.

T
TelegramMaskPositionPoint
No documentation available
T
TelegramMaybeInaccessibleMessage

This object describes a message that can be inaccessible to the bot. It can be one of

T
TelegramMenuButton

This object describes the bot's menu button in a private chat. It should be one of

I
TelegramMenuButtonCommands

Represents a menu button, which opens the bot's list of commands.

I
TelegramMenuButtonDefault

Describes that no specific value for the menu button was set.

I
TelegramMenuButtonWebApp

Represents a menu button, which launches a Web App.

I
TelegramMessageAutoDeleteTimerChanged

This object represents a service message about a change in auto-delete timer settings.

I
TelegramMessageEntity

This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.

T
TelegramMessageEntityType
No documentation available
I
TelegramMessageId

This object represents a unique message identifier.

T
TelegramMessageOrigin

This object describes the origin of a message. It can be one of

I
TelegramMessageOriginChannel

The message was originally sent to a channel chat.

I
TelegramMessageOriginChat

The message was originally sent on behalf of a chat to a group chat.

I
TelegramMessageOriginHiddenUser

The message was originally sent by an unknown user.

I
TelegramMessageOriginUser

The message was originally sent by a known user.

I
TelegramMessageReactionCountUpdated

This object represents reaction changes on a message with anonymous reactions.

I
TelegramMessageReactionUpdated

This object represents a change of a reaction on a message performed by a user.

N
TelegramObjects
No documentation available
I
TelegramObjects.TelegramAffiliateInfo

Contains information about the affiliate that received a commission via this transaction.

I
TelegramObjects.TelegramAnimation

This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).

T
TelegramObjects.TelegramAPIResponse

Union type of Response

I
TelegramObjects.TelegramAPIResponseError

In case of an unsuccessful request, 'ok' equals false and the error is explained in the 'description'. An Integer 'error_code' field is also returned, but its contents are subject to change in the future. Some errors may also have an optional field 'parameters' of the type ResponseParameters, which can help to automatically handle the error.

I
TelegramObjects.TelegramAPIResponseOk

If 'ok' equals True, the request was successful and the result of the query can be found in the 'result' field.

I
TelegramObjects.TelegramAudio

This object represents an audio file to be treated as music by the Telegram clients.

T
TelegramObjects.TelegramBackgroundFill

This object describes the way a background is filled based on the selected colors. Currently, it can be one of

I
TelegramObjects.TelegramBackgroundFillFreeformGradient

The background is a freeform gradient that rotates after every message in the chat.

I
TelegramObjects.TelegramBackgroundFillSolid

The background is filled using the selected color.

T
TelegramObjects.TelegramBackgroundType

This object describes the type of a background. Currently, it can be one of

I
TelegramObjects.TelegramBackgroundTypeChatTheme

The background is taken directly from a built-in chat theme.

I
TelegramObjects.TelegramBackgroundTypeFill

The background is automatically filled based on the selected colors.

I
TelegramObjects.TelegramBackgroundTypePattern

The background is a .PNG or .TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.

I
TelegramObjects.TelegramBirthdate

Describes the birthdate of a user.

I
TelegramObjects.TelegramBotCommand

This object represents a bot command.

T
TelegramObjects.TelegramBotCommandScope

This object represents the scope to which bot commands are applied. Currently, the following 7 scopes are supported:

I
TelegramObjects.TelegramBotCommandScopeAllChatAdministrators

Represents the scope of bot commands, covering all group and supergroup chat administrators.

I
TelegramObjects.TelegramBotCommandScopeAllGroupChats

Represents the scope of bot commands, covering all group and supergroup chats.

I
TelegramObjects.TelegramBotCommandScopeAllPrivateChats

Represents the scope of bot commands, covering all private chats.

I
TelegramObjects.TelegramBotCommandScopeChat

Represents the scope of bot commands, covering a specific chat.

I
TelegramObjects.TelegramBotCommandScopeChatAdministrators

Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.

I
TelegramObjects.TelegramBotCommandScopeChatMember

Represents the scope of bot commands, covering a specific member of a group or supergroup chat.

I
TelegramObjects.TelegramBotCommandScopeDefault

Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.

I
TelegramObjects.TelegramBotDescription

This object represents the bot's description.

I
TelegramObjects.TelegramBotName

This object represents the bot's name.

I
TelegramObjects.TelegramBotShortDescription

This object represents the bot's short description.

I
TelegramObjects.TelegramBusinessConnection

Describes the connection of the bot with a business account.

I
TelegramObjects.TelegramBusinessIntro

Contains information about the start page settings of a Telegram Business account.

I
TelegramObjects.TelegramBusinessLocation

Contains information about the location of a Telegram Business account.

I
TelegramObjects.TelegramBusinessMessagesDeleted

This object is received when messages are deleted from a connected business account.

I
TelegramObjects.TelegramBusinessOpeningHoursInterval

Describes an interval of time during which a business is open.

I
TelegramObjects.TelegramCallbackGame

A placeholder, currently holds no information. Use BotFather to set up your game.

I
TelegramObjects.TelegramCallbackQuery

This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.

I
TelegramObjects.TelegramChatBackground

This object represents a chat background.

I
TelegramObjects.TelegramChatBoost

This object contains information about a chat boost.

I
TelegramObjects.TelegramChatBoostAdded

This object represents a service message about a user boosting a chat.

I
TelegramObjects.TelegramChatBoostRemoved

This object represents a boost removed from a chat.

T
TelegramObjects.TelegramChatBoostSource

This object describes the source of a chat boost. It can be one of

I
TelegramObjects.TelegramChatBoostSourceGiftCode

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

I
TelegramObjects.TelegramChatBoostSourceGiveaway

The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways.

I
TelegramObjects.TelegramChatBoostSourcePremium

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

I
TelegramObjects.TelegramChatBoostUpdated

This object represents a boost added to a chat or changed.

T
TelegramObjects.TelegramChatFullInfoType
No documentation available
I
TelegramObjects.TelegramChatLocation

Represents a location to which a chat is connected.

T
TelegramObjects.TelegramChatMember

This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:

I
TelegramObjects.TelegramChatMemberBanned

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

I
TelegramObjects.TelegramChatMemberLeft

Represents a chat member that isn't currently a member of the chat, but may join it themselves.

I
TelegramObjects.TelegramChatMemberMember

Represents a chat member that has no additional privileges or restrictions.

I
TelegramObjects.TelegramChatMemberOwner

Represents a chat member that owns the chat and has all administrator privileges.

I
TelegramObjects.TelegramChatShared

This object contains information about a chat that was shared with the bot using a KeyboardButtonRequestChat button.

T
TelegramObjects.TelegramChatType
No documentation available
I
TelegramObjects.TelegramChosenInlineResult

Represents a result of an inline query that was chosen by the user and sent to their chat partner.

I
TelegramObjects.TelegramCopyTextButton

This object represents an inline keyboard button that copies specified text to the clipboard.

T
TelegramObjects.TelegramCurrencies

Telegram payments currently support the currencies listed below.

I
TelegramObjects.TelegramDice

This object represents an animated emoji that displays a random value.

I
TelegramObjects.TelegramEncryptedCredentials

Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.

I
TelegramObjects.TelegramEncryptedPassportElement

Describes documents or other Telegram Passport elements shared with the bot by the user.

I
TelegramObjects.TelegramFile

This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot<token>/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.

I
TelegramObjects.TelegramForceReply

Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a Telegram Business account.

I
TelegramObjects.TelegramForumTopicClosed

This object represents a service message about a forum topic closed in the chat. Currently holds no information.

I
TelegramObjects.TelegramForumTopicCreated

This object represents a service message about a new forum topic created in the chat.

I
TelegramObjects.TelegramForumTopicEdited

This object represents a service message about an edited forum topic.

I
TelegramObjects.TelegramForumTopicReopened

This object represents a service message about a forum topic reopened in the chat. Currently holds no information.

I
TelegramObjects.TelegramGame

This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.

I
TelegramObjects.TelegramGameHighScore

This object represents one row of the high scores table for a game.

I
TelegramObjects.TelegramGeneralForumTopicHidden

This object represents a service message about General forum topic hidden in the chat. Currently holds no information.

I
TelegramObjects.TelegramGeneralForumTopicUnhidden

This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.

I
TelegramObjects.TelegramGift

This object represents a gift that can be sent by the bot.

I
TelegramObjects.TelegramGifts

This object represent a list of gifts.

I
TelegramObjects.TelegramGiveawayCompleted

This object represents a service message about the completion of a giveaway without public winners.

I
TelegramObjects.TelegramGiveawayCreated

This object represents a service message about the creation of a scheduled giveaway.

I
TelegramObjects.TelegramInaccessibleMessage

This object describes a message that was deleted or is otherwise inaccessible to the bot.

I
TelegramObjects.TelegramInlineKeyboardButton

This object represents one button of an inline keyboard. Exactly one of the optional fields must be used to specify type of the button.

I
TelegramObjects.TelegramInlineKeyboardMarkup

This object represents an inline keyboard that appears right next to the message it belongs to.

I
TelegramObjects.TelegramInlineQuery

This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.

T
T
TelegramObjects.TelegramInlineQueryResult

This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:

I
TelegramObjects.TelegramInlineQueryResultAudio

Represents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio.

I
TelegramObjects.TelegramInlineQueryResultCachedAudio

Represents a link to an MP3 audio file stored on the Telegram servers. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio.

I
TelegramObjects.TelegramInlineQueryResultCachedDocument

Represents a link to a file stored on the Telegram servers. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file.

I
TelegramObjects.TelegramInlineQueryResultCachedGif

Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.

I
TelegramObjects.TelegramInlineQueryResultCachedMpeg4Gif

Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.

I
TelegramObjects.TelegramInlineQueryResultCachedPhoto

Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.

I
TelegramObjects.TelegramInlineQueryResultCachedSticker

Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker.

I
TelegramObjects.TelegramInlineQueryResultCachedVideo

Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.

I
TelegramObjects.TelegramInlineQueryResultCachedVoice

Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the voice message.

I
TelegramObjects.TelegramInlineQueryResultContact

Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.

I
TelegramObjects.TelegramInlineQueryResultDocument

Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method.

I
TelegramObjects.TelegramInlineQueryResultGif

Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.

I
TelegramObjects.TelegramInlineQueryResultLocation

Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location.

I
TelegramObjects.TelegramInlineQueryResultMpeg4Gif

Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.

I
TelegramObjects.TelegramInlineQueryResultPhoto

Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.

I
TelegramObjects.TelegramInlineQueryResultsButton

This object represents a button to be shown above inline query results. You must use exactly one of the optional fields.

I
TelegramObjects.TelegramInlineQueryResultVenue

Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.

I
TelegramObjects.TelegramInlineQueryResultVideo

Represents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.

I
TelegramObjects.TelegramInlineQueryResultVoice

Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the the voice message.

I
TelegramObjects.TelegramInputContactMessageContent

Represents the content of a contact message to be sent as the result of an inline query.

T
TelegramObjects.TelegramInputFile

This object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.

T
TelegramObjects.TelegramInputMedia

This object represents the content of a media message to be sent. It should be one of

T
TelegramObjects.TelegramInputMessageContent

This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types:

T
TelegramObjects.TelegramInputPaidMedia

This object describes the paid media to be sent. Currently, it can be one of

I
TelegramObjects.TelegramInputPaidMediaPhoto

The paid media to send is a photo.

I
TelegramObjects.TelegramInputPollOption

This object contains information about one answer option in a poll to be sent.

I
TelegramObjects.TelegramInputSticker

This object describes a sticker to be added to a sticker set.

T
TelegramObjects.TelegramInputStickerFormat
No documentation available
I
TelegramObjects.TelegramInputTextMessageContent

Represents the content of a text message to be sent as the result of an inline query.

I
TelegramObjects.TelegramInvoice

This object contains basic information about an invoice.

I
TelegramObjects.TelegramKeyboardButton

This object represents one button of the reply keyboard. At most one of the optional fields must be used to specify type of the button. For simple text buttons, String can be used instead of this object to specify the button text.

I
TelegramObjects.TelegramKeyboardButtonPollType

This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.

I
TelegramObjects.TelegramKeyboardButtonRequestChat

This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. More about requesting chats ».

I
TelegramObjects.TelegramKeyboardButtonRequestUsers

This object defines the criteria used to request suitable users. Information about the selected users will be shared with the bot when the corresponding button is pressed. More about requesting users »

I
TelegramObjects.TelegramLabeledPrice

This object represents a portion of the price for goods or services.

I
TelegramObjects.TelegramLoginUrl

This object represents a parameter of the inline keyboard button used to automatically authorize a user. Serves as a great replacement for the Telegram Login Widget when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in:

I
TelegramObjects.TelegramMaskPosition

This object describes the position on faces where a mask should be placed by default.

T
TelegramObjects.TelegramMaskPositionPoint
No documentation available
T
TelegramObjects.TelegramMaybeInaccessibleMessage

This object describes a message that can be inaccessible to the bot. It can be one of

T
TelegramObjects.TelegramMenuButton

This object describes the bot's menu button in a private chat. It should be one of

I
TelegramObjects.TelegramMenuButtonCommands

Represents a menu button, which opens the bot's list of commands.

I
TelegramObjects.TelegramMenuButtonDefault

Describes that no specific value for the menu button was set.

I
TelegramObjects.TelegramMenuButtonWebApp

Represents a menu button, which launches a Web App.

I
TelegramObjects.TelegramMessageAutoDeleteTimerChanged

This object represents a service message about a change in auto-delete timer settings.

I
TelegramObjects.TelegramMessageEntity

This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.

T
TelegramObjects.TelegramMessageEntityType
No documentation available
I
TelegramObjects.TelegramMessageId

This object represents a unique message identifier.

T
TelegramObjects.TelegramMessageOrigin

This object describes the origin of a message. It can be one of

I
I
TelegramObjects.TelegramMessageOriginChat

The message was originally sent on behalf of a chat to a group chat.

I
TelegramObjects.TelegramMessageOriginHiddenUser

The message was originally sent by an unknown user.

I
TelegramObjects.TelegramMessageOriginUser

The message was originally sent by a known user.

I
TelegramObjects.TelegramMessageReactionCountUpdated

This object represents reaction changes on a message with anonymous reactions.

I
TelegramObjects.TelegramMessageReactionUpdated

This object represents a change of a reaction on a message performed by a user.

I
TelegramObjects.TelegramOrderInfo

This object represents information about an order.

T
TelegramObjects.TelegramPaidMedia

This object describes paid media. Currently, it can be one of

I
TelegramObjects.TelegramPaidMediaInfo

Describes the paid media added to a message.

I
TelegramObjects.TelegramPaidMediaPreview

The paid media isn't available before the payment.

I
TelegramObjects.TelegramPaidMediaPurchased

This object contains information about a paid media purchase.

I
TelegramObjects.TelegramPassportData

Describes Telegram Passport data shared with the bot by the user.

T
TelegramObjects.TelegramPassportElementError

This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user. It should be one of:

I
TelegramObjects.TelegramPassportElementErrorDataField

Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.

I
TelegramObjects.TelegramPassportElementErrorFile

Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.

I
TelegramObjects.TelegramPassportElementErrorFiles

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

I
TelegramObjects.TelegramPassportElementErrorFrontSide

Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.

I
TelegramObjects.TelegramPassportElementErrorReverseSide

Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.

I
TelegramObjects.TelegramPassportElementErrorSelfie

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.

I
TelegramObjects.TelegramPassportElementErrorTranslationFile

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

I
TelegramObjects.TelegramPassportElementErrorTranslationFiles

Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.

I
TelegramObjects.TelegramPassportElementErrorUnspecified

Represents an issue in an unspecified place. The error is considered resolved when new data is added.

I
TelegramObjects.TelegramPassportFile

This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.

I
TelegramObjects.TelegramPhotoSize

This object represents one size of a photo or a file / sticker thumbnail.

I
TelegramObjects.TelegramPollAnswer

This object represents an answer of a user in a non-anonymous poll.

I
TelegramObjects.TelegramPollOption

This object contains information about one answer option in a poll.

T
TelegramObjects.TelegramPollType
No documentation available
I
TelegramObjects.TelegramPreCheckoutQuery

This object contains information about an incoming pre-checkout query.

I
TelegramObjects.TelegramPreparedInlineMessage

Describes an inline message to be sent by a user of a Mini App.

I
TelegramObjects.TelegramProximityAlertTriggered

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

I
TelegramObjects.TelegramReactionCount

Represents a reaction added to a message along with the number of times it was added.

T
TelegramObjects.TelegramReactionType

This object describes the type of a reaction. Currently, it can be one of

I
I
TelegramObjects.TelegramReactionTypeEmoji

The reaction is based on an emoji.

I
TelegramObjects.TelegramReplyKeyboardMarkup

This object represents a custom keyboard with reply options (see Introduction to bots for details and examples). Not supported in channels and for messages sent on behalf of a Telegram Business account.

I
TelegramObjects.TelegramReplyKeyboardRemove

Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup). Not supported in channels and for messages sent on behalf of a Telegram Business account.

T
TelegramObjects.TelegramRevenueWithdrawalState

This object describes the state of a revenue withdrawal operation. Currently, it can be one of

I
TelegramObjects.TelegramRevenueWithdrawalStateFailed

The withdrawal failed and the transaction was refunded.

I
TelegramObjects.TelegramSentWebAppMessage

Describes an inline message sent by a Web App on behalf of a user.

I
TelegramObjects.TelegramSharedUser

This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button.

I
TelegramObjects.TelegramShippingOption

This object represents one shipping option.

I
TelegramObjects.TelegramShippingQuery

This object contains information about an incoming shipping query.

I
TelegramObjects.TelegramStarTransaction

Describes a Telegram Star transaction. Note that if the buyer initiates a chargeback with the payment provider from whom they acquired Stars (e.g., Apple, Google) following this transaction, the refunded Stars will be deducted from the bot's balance. This is outside of Telegram's control.

I
TelegramObjects.TelegramStarTransactions

Contains a list of Telegram Star transactions.

T
T
TelegramObjects.TelegramStickerType
No documentation available
I
TelegramObjects.TelegramStory

This object represents a story.

I
TelegramObjects.TelegramSuccessfulPayment

This object contains basic information about a successful payment. Note that if the buyer initiates a chargeback with the relevant payment provider following this transaction, the funds may be debited from your balance. This is outside of Telegram's control.

I
TelegramObjects.TelegramSwitchInlineQueryChosenChat

This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.

I
TelegramObjects.TelegramTextQuote

This object contains information about the quoted part of a message that is replied to by the given message.

T
TelegramObjects.TelegramTransactionPartner

This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of

I
TelegramObjects.TelegramTransactionPartnerAffiliateProgram

Describes the affiliate program that issued the affiliate commission received via this transaction.

I
TelegramObjects.TelegramTransactionPartnerFragment

Describes a withdrawal transaction with Fragment.

I
TelegramObjects.TelegramTransactionPartnerOther

Describes a transaction with an unknown source or recipient.

I
TelegramObjects.TelegramTransactionPartnerTelegramAds

Describes a withdrawal transaction to the Telegram Ads platform.

I
TelegramObjects.TelegramUserChatBoosts

This object represents a list of boosts added to a chat by a user.

I
TelegramObjects.TelegramUserProfilePhotos

This object represent a user's profile pictures.

I
TelegramObjects.TelegramUsersShared

This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.

I
TelegramObjects.TelegramVideoChatEnded

This object represents a service message about a video chat ended in the chat.

I
TelegramObjects.TelegramVideoChatParticipantsInvited

This object represents a service message about new members invited to a video chat.

I
TelegramObjects.TelegramVideoChatScheduled

This object represents a service message about a video chat scheduled in the chat.

I
TelegramObjects.TelegramVideoChatStarted

This object represents a service message about a video chat started in the chat. Currently holds no information.

I
TelegramObjects.TelegramWebAppData

Describes data sent from a Web App to the bot.

I
TelegramObjects.TelegramWriteAccessAllowed

This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.

I
TelegramOrderInfo

This object represents information about an order.

T
TelegramPaidMedia

This object describes paid media. Currently, it can be one of

I
TelegramPaidMediaInfo

Describes the paid media added to a message.

I
TelegramPaidMediaPhoto

The paid media is a photo.

I
TelegramPaidMediaPreview

The paid media isn't available before the payment.

I
TelegramPaidMediaPurchased

This object contains information about a paid media purchase.

I
TelegramPaidMediaVideo

The paid media is a video.

N
TelegramParams
No documentation available
I
TelegramParams.AddStickerToSetParams

Params object for addStickerToSet method

I
TelegramParams.AnswerWebAppQueryParams

Params object for answerWebAppQuery method

I
TelegramParams.ApproveChatJoinRequestParams

Params object for approveChatJoinRequest method

I
TelegramParams.BanChatSenderChatParams

Params object for banChatSenderChat method

I
TelegramParams.CloseForumTopicParams

Params object for closeForumTopic method

I
TelegramParams.CloseGeneralForumTopicParams

Params object for closeGeneralForumTopic method

T
TelegramParams.CreateForumTopicIconColor
No documentation available
T
I
TelegramParams.DeclineChatJoinRequestParams

Params object for declineChatJoinRequest method

I
TelegramParams.DeleteChatPhotoParams

Params object for deleteChatPhoto method

I
TelegramParams.DeleteChatStickerSetParams

Params object for deleteChatStickerSet method

I
TelegramParams.DeleteForumTopicParams

Params object for deleteForumTopic method

I
TelegramParams.DeleteMessageParams

Params object for deleteMessage method

I
TelegramParams.DeleteMessagesParams

Params object for deleteMessages method

I
TelegramParams.DeleteMyCommandsParams

Params object for deleteMyCommands method

I
TelegramParams.DeleteStickerFromSetParams

Params object for deleteStickerFromSet method

I
TelegramParams.DeleteStickerSetParams

Params object for deleteStickerSet method

I
TelegramParams.DeleteWebhookParams

Params object for deleteWebhook method

I
TelegramParams.EditChatSubscriptionInviteLinkParams

Params object for editChatSubscriptionInviteLink method

I
TelegramParams.EditGeneralForumTopicParams

Params object for editGeneralForumTopic method

I
TelegramParams.ExportChatInviteLinkParams

Params object for exportChatInviteLink method

I
TelegramParams.GetBusinessConnectionParams

Params object for getBusinessConnection method

I
TelegramParams.GetChatAdministratorsParams

Params object for getChatAdministrators method

I
TelegramParams.GetChatMemberCountParams

Params object for getChatMemberCount method

I
TelegramParams.GetChatMemberParams

Params object for getChatMember method

I
TelegramParams.GetChatMenuButtonParams

Params object for getChatMenuButton method

I
TelegramParams.GetChatParams

Params object for getChat method

I
TelegramParams.GetCustomEmojiStickersParams

Params object for getCustomEmojiStickers method

I
TelegramParams.GetFileParams

Params object for getFile method

I
TelegramParams.GetMyCommandsParams

Params object for getMyCommands method

I
TelegramParams.GetMyDefaultAdministratorRightsParams

Params object for getMyDefaultAdministratorRights method

I
TelegramParams.GetMyDescriptionParams

Params object for getMyDescription method

I
TelegramParams.GetMyNameParams

Params object for getMyName method

I
TelegramParams.GetMyShortDescriptionParams

Params object for getMyShortDescription method

I
TelegramParams.GetStarTransactionsParams

Params object for getStarTransactions method

I
TelegramParams.GetStickerSetParams

Params object for getStickerSet method

I
TelegramParams.GetUserChatBoostsParams

Params object for getUserChatBoosts method

I
TelegramParams.GetUserProfilePhotosParams

Params object for getUserProfilePhotos method

I
TelegramParams.HideGeneralForumTopicParams

Params object for hideGeneralForumTopic method

I
TelegramParams.LeaveChatParams

Params object for leaveChat method

I
TelegramParams.RemoveChatVerificationParams

Params object for removeChatVerification method

I
TelegramParams.RemoveUserVerificationParams

Params object for removeUserVerification method

I
TelegramParams.ReopenForumTopicParams

Params object for reopenForumTopic method

I
TelegramParams.ReopenGeneralForumTopicParams

Params object for reopenGeneralForumTopic method

I
TelegramParams.ReplaceStickerInSetParams

Params object for replaceStickerInSet method

I
TelegramParams.RevokeChatInviteLinkParams

Params object for revokeChatInviteLink method

T
TelegramParams.SendChatActionAction
No documentation available
T
TelegramParams.SendDiceEmoji
No documentation available
T
TelegramParams.SendPollType
No documentation available
I
TelegramParams.SetChatAdministratorCustomTitleParams

Params object for setChatAdministratorCustomTitle method

I
TelegramParams.SetChatDescriptionParams

Params object for setChatDescription method

I
TelegramParams.SetChatMenuButtonParams

Params object for setChatMenuButton method

I
TelegramParams.SetChatPhotoParams

Params object for setChatPhoto method

I
TelegramParams.SetChatStickerSetParams

Params object for setChatStickerSet method

I
TelegramParams.SetChatTitleParams

Params object for setChatTitle method

I
TelegramParams.SetCustomEmojiStickerSetThumbnailParams

Params object for setCustomEmojiStickerSetThumbnail method

I
I
TelegramParams.SetMyCommandsParams

Params object for setMyCommands method

I
TelegramParams.SetMyDefaultAdministratorRightsParams

Params object for setMyDefaultAdministratorRights method

I
TelegramParams.SetMyDescriptionParams

Params object for setMyDescription method

I
TelegramParams.SetMyNameParams

Params object for setMyName method

I
TelegramParams.SetMyShortDescriptionParams

Params object for setMyShortDescription method

I
TelegramParams.SetPassportDataErrorsParams

Params object for setPassportDataErrors method

I
TelegramParams.SetStickerEmojiListParams

Params object for setStickerEmojiList method

I
TelegramParams.SetStickerKeywordsParams

Params object for setStickerKeywords method

I
TelegramParams.SetStickerMaskPositionParams

Params object for setStickerMaskPosition method

I
TelegramParams.SetStickerPositionInSetParams

Params object for setStickerPositionInSet method

T
I
TelegramParams.SetStickerSetThumbnailParams

Params object for setStickerSetThumbnail method

I
TelegramParams.SetStickerSetTitleParams

Params object for setStickerSetTitle method

I
TelegramParams.UnbanChatMemberParams

Params object for unbanChatMember method

I
TelegramParams.UnbanChatSenderChatParams

Params object for unbanChatSenderChat method

I
TelegramParams.UnhideGeneralForumTopicParams

Params object for unhideGeneralForumTopic method

I
TelegramParams.UnpinAllChatMessagesParams

Params object for unpinAllChatMessages method

I
TelegramParams.UnpinAllForumTopicMessagesParams

Params object for unpinAllForumTopicMessages method

I
TelegramParams.UnpinAllGeneralForumTopicMessagesParams

Params object for unpinAllGeneralForumTopicMessages method

I
TelegramParams.UploadStickerFileParams

Params object for uploadStickerFile method

T
I
TelegramParams.VerifyChatParams

Params object for verifyChat method

I
TelegramParams.VerifyUserParams

Params object for verifyUser method

I
TelegramPassportData

Describes Telegram Passport data shared with the bot by the user.

T
TelegramPassportElementError

This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user. It should be one of:

I
TelegramPassportElementErrorDataField

Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.

T
TelegramPassportElementErrorDataFieldType
No documentation available
I
TelegramPassportElementErrorFile

Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.

I
TelegramPassportElementErrorFiles

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

T
TelegramPassportElementErrorFilesType
No documentation available
T
TelegramPassportElementErrorFileType
No documentation available
I
TelegramPassportElementErrorFrontSide

Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.

T
TelegramPassportElementErrorFrontSideType
No documentation available
I
TelegramPassportElementErrorReverseSide

Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.

T
I
TelegramPassportElementErrorSelfie

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.

T
TelegramPassportElementErrorSelfieType
No documentation available
I
TelegramPassportElementErrorTranslationFile

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

I
TelegramPassportElementErrorTranslationFiles

Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.

I
TelegramPassportElementErrorUnspecified

Represents an issue in an unspecified place. The error is considered resolved when new data is added.

I
TelegramPassportFile

This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.

I
TelegramPhotoSize

This object represents one size of a photo or a file / sticker thumbnail.

I
TelegramPollAnswer

This object represents an answer of a user in a non-anonymous poll.

I
TelegramPollOption

This object contains information about one answer option in a poll.

T
TelegramPollType
No documentation available
I
TelegramPreCheckoutQuery

This object contains information about an incoming pre-checkout query.

I
TelegramPreparedInlineMessage

Describes an inline message to be sent by a user of a Mini App.

I
TelegramProximityAlertTriggered

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

I
TelegramReactionCount

Represents a reaction added to a message along with the number of times it was added.

T
TelegramReactionType

This object describes the type of a reaction. Currently, it can be one of

I
TelegramReactionTypeCustomEmoji

The reaction is based on a custom emoji.

I
TelegramReactionTypeEmoji

The reaction is based on an emoji.

T
TelegramReactionTypeEmojiEmoji
No documentation available
I
TelegramReactionTypePaid

The reaction is paid.

I
TelegramReplyKeyboardMarkup

This object represents a custom keyboard with reply options (see Introduction to bots for details and examples). Not supported in channels and for messages sent on behalf of a Telegram Business account.

I
TelegramReplyKeyboardRemove

Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup). Not supported in channels and for messages sent on behalf of a Telegram Business account.

I
TelegramResponseParameters

Describes why a request was unsuccessful.

T
TelegramRevenueWithdrawalState

This object describes the state of a revenue withdrawal operation. Currently, it can be one of

I
TelegramRevenueWithdrawalStateFailed

The withdrawal failed and the transaction was refunded.

I
TelegramRevenueWithdrawalStatePending

The withdrawal is in progress.

I
TelegramSentWebAppMessage

Describes an inline message sent by a Web App on behalf of a user.

I
TelegramSharedUser

This object contains information about a user that was shared with the bot using a KeyboardButtonRequestUsers button.

I
TelegramShippingOption

This object represents one shipping option.

I
TelegramShippingQuery

This object contains information about an incoming shipping query.

I
TelegramStarTransaction

Describes a Telegram Star transaction. Note that if the buyer initiates a chargeback with the payment provider from whom they acquired Stars (e.g., Apple, Google) following this transaction, the refunded Stars will be deducted from the bot's balance. This is outside of Telegram's control.

I
TelegramStarTransactions

Contains a list of Telegram Star transactions.

I
TelegramStickerSet

This object represents a sticker set.

T
TelegramStickerSetStickerType
No documentation available
T
TelegramStickerType
No documentation available
I
TelegramStory

This object represents a story.

I
TelegramSuccessfulPayment

This object contains basic information about a successful payment. Note that if the buyer initiates a chargeback with the relevant payment provider following this transaction, the funds may be debited from your balance. This is outside of Telegram's control.

I
TelegramSwitchInlineQueryChosenChat

This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.

I
TelegramTextQuote

This object contains information about the quoted part of a message that is replied to by the given message.

T
TelegramTransactionPartner

This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of

I
TelegramTransactionPartnerAffiliateProgram

Describes the affiliate program that issued the affiliate commission received via this transaction.

I
TelegramTransactionPartnerFragment

Describes a withdrawal transaction with Fragment.

I
TelegramTransactionPartnerOther

Describes a transaction with an unknown source or recipient.

I
TelegramTransactionPartnerTelegramAds

Describes a withdrawal transaction to the Telegram Ads platform.

I
TelegramUserChatBoosts

This object represents a list of boosts added to a chat by a user.