Structs
This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
This object represents an audio file to be treated as music by the Telegram clients.
This object represents an audio file to be treated as music by the Telegram clients.
This object represents a bot command.
This object represents a bot command.
Represents the scope of bot commands, covering all group and supergroup chat administrators.
Represents the scope of bot commands, covering all group and supergroup chat administrators.
Represents the scope of bot commands, covering all group and supergroup chats.
Represents the scope of bot commands, covering all group and supergroup chats.
Represents the scope of bot commands, covering all private chats.
Represents the scope of bot commands, covering all private chats.
Represents the scope of bot commands, covering a specific chat.
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
Represents the scope of bot commands, covering a specific chat.
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.
Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.
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.
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.
This object represents a chat.
Represents the rights of an administrator in a chat.
Represents the rights of an administrator in a chat.
This object represents a chat.
Represents an invite link for a chat.
Represents an invite link for a chat.
Represents a join request sent to a chat.
Represents a join request sent to a chat.
Represents a location to which a chat is connected.
Represents a location to which a chat is connected.
Represents a chat member that has some additional privileges.
Represents a chat member that has some additional privileges.
Represents a chat member that was banned in the chat and can’t return to the chat or view chat messages.
Represents a chat member that was banned in the chat and can’t return to the chat or view chat messages.
Represents a chat member that isn’t currently a member of the chat, but may join it themselves.
Represents a chat member that isn’t currently a member of the chat, but may join it themselves.
Represents a chat member that has no additional privileges or restrictions.
Represents a chat member that has no additional privileges or restrictions.
Represents a chat member that owns the chat and has all administrator privileges.
Represents a chat member that owns the chat and has all administrator privileges.
Represents a chat member that is under certain restrictions in the chat. Supergroups only.
Represents a chat member that is under certain restrictions in the chat. Supergroups only.
This object represents changes in the status of a chat member.
This object represents changes in the status of a chat member.
Describes actions that a non-administrator user is allowed to take in a chat.
Describes actions that a non-administrator user is allowed to take in a chat.
This object represents a chat photo.
This object represents a chat photo.
Represents a result of an inline query that was chosen by the user and sent to their chat partner.Note: It is necessary to enable inline feedback via @BotFather in order to receive these objects in updates.
Represents a result of an inline query that was chosen by the user and sent to their chat partner.Note: It is necessary to enable inline feedback via @BotFather in order to receive these objects in updates.
This object represents a phone contact.
This object represents a phone contact.
This object represents an animated emoji that displays a random value.
This object represents an animated emoji that displays a random value.
This object represents a general file (as opposed to photos, voice messages and audio files).
This object represents a general file (as opposed to photos, voice messages and audio files).
Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
Describes documents or other Telegram Passport elements shared with the bot by the user.
Describes documents or other Telegram Passport elements shared with the bot by the user.
This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot/<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.
This object represents a file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot/<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.
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.
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.
This object represents a forum topic.
This object represents a forum topic.
This object represents a service message about a new forum topic created in the chat.
This object represents a service message about a new forum topic created in the chat.
This object represents a service message about an edited forum topic.
This object represents a service message about an edited forum topic.
This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.
This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.
This object represents one row of the high scores table for a game.
This object represents one row of the high scores table for a game.
This object represents one button of an inline keyboard. You must use exactly one of the optional fields.
This object represents one button of an inline keyboard. You must use exactly one of the optional fields.
This object represents an inline keyboard that appears right next to the message it belongs to.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.
This object represents an inline keyboard that appears right next to the message it belongs to.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.
This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
Represents a link to an article or web page.
Represents a link to an article or web page.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.
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.
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.
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.
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.
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.
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.Note: This will only work in Telegram versions released after 9 April, 2016 for static stickers and after 06 July, 2019 for animated stickers. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016 for static stickers and after 06 July, 2019 for animated stickers. Older clients will ignore them.
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.
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.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
Represents a Game.Note: This will only work in Telegram versions released after October 1, 2016. Older clients will not display any inline results if a game result is among them.
Represents a Game.Note: This will only work in Telegram versions released after October 1, 2016. Older clients will not display any inline results if a game result is among them.
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.
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.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.
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.
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.
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.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.
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.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
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.Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
Represents the content of a contact message to be sent as the result of an inline query.
Represents the content of a contact message to be sent as the result of an inline query.
Represents the content of an invoice message to be sent as the result of an inline query.
Represents the content of an invoice message to be sent as the result of an inline query.
Represents the content of a location message to be sent as the result of an inline query.
Represents the content of a location message to be sent as the result of an inline query.
Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
Represents an audio file to be treated as music to be sent.
Represents an audio file to be treated as music to be sent.
Represents a general file to be sent.
Represents a general file to be sent.
Represents a photo to be sent.
Represents a photo to be sent.
Represents a video to be sent.
Represents a video to be sent.
Represents the content of a text message to be sent as the result of an inline query.
Represents the content of a text message to be sent as the result of an inline query.
Represents the content of a venue message to be sent as the result of an inline query.
Represents the content of a venue message to be sent as the result of an inline query.
This object contains basic information about an invoice.
This object contains basic information about an invoice.
This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields web_app, request_contact, request_location, and request_poll are mutually exclusive.Note: request_contact and request_location options will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.Note: request_poll option will only work in Telegram versions released after 23 January, 2020. Older clients will display unsupported message.Note: web_app option will only work in Telegram versions released after 16 April, 2022. Older clients will display unsupported message.
This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields web_app, request_contact, request_location, and request_poll are mutually exclusive.Note: request_contact and request_location options will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.Note: request_poll option will only work in Telegram versions released after 23 January, 2020. Older clients will display unsupported message.Note: web_app option will only work in Telegram versions released after 16 April, 2022. Older clients will display unsupported message.
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
This object represents a portion of the price for goods or services.
This object represents a portion of the price for goods or services.
This object represents a point on the map.
This object represents a point on the map.
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:Telegram apps support these buttons as of version 5.7.
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:Telegram apps support these buttons as of version 5.7.
This object describes the position on faces where a mask should be placed by default.
This object describes the position on faces where a mask should be placed by default.
Represents a menu button, which opens the bot’s list of commands.
Represents a menu button, which opens the bot’s list of commands.
Describes that no specific value for the menu button was set.
Describes that no specific value for the menu button was set.
Represents a menu button, which launches a Web App.
Represents a menu button, which launches a Web App.
This object represents a message.
This object represents a service message about a change in auto-delete timer settings.
This object represents a service message about a change in auto-delete timer settings.
This object represents a message.
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
This object represents a unique message identifier.
This object represents a unique message identifier.
Companion type to Animation that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Audio that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommand that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommandScopeAllChatAdministrators that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommandScopeAllGroupChats that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommandScopeAllPrivateChats that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommandScopeChat that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommandScopeChatAdministrators that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommandScopeChatMember that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to BotCommandScopeDefault that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to CallbackQuery that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Chat that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatAdministratorRights that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatInviteLink that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatJoinRequest that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatLocation that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatMemberAdministrator that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatMemberBanned that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatMemberLeft that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatMemberMember that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatMemberOwner that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatMemberRestricted that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatMemberUpdated that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatPermissions that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChatPhoto that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ChosenInlineResult that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Contact that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Dice that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Document that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to EncryptedCredentials that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to EncryptedPassportElement that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to File that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ForceReply that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ForumTopic that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ForumTopicCreated that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ForumTopicEdited that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Game that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to GameHighScore that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineKeyboardButton that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineKeyboardMarkup that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQuery that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultArticle that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultAudio that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedAudio that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedDocument that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedGif that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedMpeg4Gif that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedPhoto that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedSticker that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedVideo that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultCachedVoice that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultContact that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultDocument that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultGame that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultGif that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultLocation that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultMpeg4Gif that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultPhoto that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultVenue that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultVideo that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InlineQueryResultVoice that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputContactMessageContent that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputInvoiceMessageContent that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputLocationMessageContent that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputMediaAnimation that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputMediaAudio that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputMediaDocument that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputMediaPhoto that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputMediaVideo that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputTextMessageContent that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to InputVenueMessageContent that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Invoice that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to KeyboardButton that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to KeyboardButtonPollType that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to LabeledPrice that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Location that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to LoginUrl that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to MaskPosition that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to MenuButtonCommands that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to MenuButtonDefault that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to MenuButtonWebApp that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Message that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to MessageAutoDeleteTimerChanged that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to MessageEntity that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to MessageId that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to OrderInfo that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportData that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorDataField that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorFile that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorFiles that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorFrontSide that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorReverseSide that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorSelfie that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorTranslationFile that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorTranslationFiles that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportElementErrorUnspecified that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PassportFile that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PhotoSize that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Poll that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PollAnswer that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PollOption that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to PreCheckoutQuery that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ProximityAlertTriggered that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ReplyKeyboardMarkup that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ReplyKeyboardRemove that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ResponseParameters that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to SentWebAppMessage that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ShippingAddress that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ShippingOption that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to ShippingQuery that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Sticker that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to StickerSet that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to SuccessfulPayment that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Update that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to User that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to UserProfilePhotos that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Venue that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Video that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to VideoChatEnded that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to VideoChatParticipantsInvited that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to VideoChatScheduled that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to VideoNote that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to Voice that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to WebAppData that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to WebAppInfo that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
Companion type to WebhookInfo that doesn’t skip fields when serializing.
Used for certain deserializers that use arrays to represent struct members
This object represents information about an order.
This object represents information about an order.
Describes Telegram Passport data shared with the bot by the user.
Describes Telegram Passport data shared with the bot by the user.
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.
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.
Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.
Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.
Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.
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.
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.
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.
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.
Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
Represents an issue in an unspecified place. The error is considered resolved when new data is added.
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.
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.
This object represents one size of a photo or a file / sticker thumbnail.
This object represents one size of a photo or a file / sticker thumbnail.
This object contains information about a poll.
This object represents an answer of a user in a non-anonymous poll.
This object represents an answer of a user in a non-anonymous poll.
This object contains information about a poll.
This object contains information about one answer option in a poll.
This object contains information about one answer option in a poll.
This object contains information about an incoming pre-checkout query.
This object contains information about an incoming pre-checkout query.
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
This object represents a custom keyboard with reply options (see Introduction to bots for details and examples).
This object represents a custom keyboard with reply options (see Introduction to bots for details and examples).
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).
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).
Describes why a request was unsuccessful.
Describes why a request was unsuccessful.
Describes an inline message sent by a Web App on behalf of a user.
Describes an inline message sent by a Web App on behalf of a user.
This object represents a shipping address.
This object represents a shipping address.
This object represents one shipping option.
This object represents one shipping option.
This object contains information about an incoming shipping query.
This object contains information about an incoming shipping query.
This object represents a sticker.
This object represents a sticker.
This object represents a sticker set.
This object represents a sticker set.
This object contains basic information about a successful payment.
This object contains basic information about a successful payment.
This object represents an incoming update.At most one of the optional parameters can be present in any given update.
This object represents an incoming update.At most one of the optional parameters can be present in any given update.
This object represents a Telegram user or bot.
This object represents a Telegram user or bot.
This object represent a user’s profile pictures.
This object represent a user’s profile pictures.
This object represents a venue.
This object represents a venue.
This object represents a video file.
This object represents a video file.
This object represents a service message about a video chat ended in the chat.
This object represents a service message about a video chat ended in the chat.
This object represents a service message about new members invited to a video chat.
This object represents a service message about new members invited to a video chat.
This object represents a service message about a video chat scheduled in the chat.
This object represents a service message about a video chat scheduled in the chat.
This object represents a video message (available in Telegram apps as of v.4.0).
This object represents a video message (available in Telegram apps as of v.4.0).
This object represents a voice note.
This object represents a voice note.
Describes data sent from a Web App to the bot.
Describes data sent from a Web App to the bot.
Describes a Web App.
Describes a Web App.
Describes the current status of a webhook.
Describes the current status of a webhook.