[−][src]Module rutebot::responses
Telegram bot api responses
Structs
Animation | This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) |
Audio | This object represents an audio file to be treated as music by the Telegram clients |
CallbackQuery | 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 |
Chat | This object represents a chat |
ChatMember | This object contains information about one member of a chat. |
ChatPhoto | This object represents a chat photo. |
Contact | This object represents a phone contact |
Document | This object represents a general file (as opposed to photos, voice messages and audio files) |
File | This object represents a file ready to be downloaded. The file can be downloaded via method
|
Game | This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers |
Invoice | |
Location | This object represents a point on the map |
MaskPosition | This object describes the position on faces where a mask should be placed by default |
Message | This object represents a message |
MessageEntity | This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc |
OrderInfo | This object represents information about an order |
PassportData | |
PhotoSize | This object represents one size of a photo or a file / sticker thumbnail |
Poll | This object contains information about a poll. |
PollOption | This object contains information about one answer option in a poll. |
ResponseParameters | Contains information about why a request was unsuccessful. |
ShippingAddress | This object represents a shipping address |
Sticker | This object represents a sticker |
SuccessfulPayment | |
Update | This object represents an incoming update. At most one of the optional parameters can be present in any given update |
User | This object represents a Telegram user or bot. |
UserProfilePhotos | This object represent a user's profile pictures. |
Venue | This object represents a venue |
Video | This object represents a video file |
VideoNote | This object represents a video message (available in Telegram apps as of v.4.0 |
Voice | This object represents a voice note |
Enums
EditedMessage | |
MessageEntityValue |