|
Cppgram
1.0.0
Easy and modern C++14 Telegram Bot API wrapper
|
Data from an inline keyboard button pressed. More...
#include <callback_query.hpp>
Public Attributes | |
| std::string | id |
| Unique identifier for this query. | |
| User | from |
| Sender. | |
| std::experimental::optional< Message > | message |
| Optional. Message with the callback button that originated the query. More... | |
| std::experimental::optional< std::string > | inline_message_id |
| Optional. Identifier of the message sent via the bot in inline mode, that originated the query | |
| std::string | chat_instance |
| Identifier, uniquely corresponding to the chat to which the message with the callback button was sent. More... | |
| std::experimental::optional< std::string > | data |
| Optional. Data associated with the callback button. More... | |
| std::experimental::optional< std::string > | game_short_name |
| Optional. Short name of a Game to be returned, serves as the unique identifier for the game | |
Data from an inline keyboard button pressed.
This object represents an incoming callback query from a callback button in an inline keyboard. (https://core.telegram.org/bots/api#callbackquery)
| std::string chat_instance |
Identifier, uniquely corresponding to the chat to which the message with the callback button was sent.
Useful for high scores in games.
| std::experimental::optional<std::string> data |
Optional. Data associated with the callback button.
Be aware that a bad client can send arbitrary data in this field
| std::experimental::optional<Message> message |
Optional. Message with the callback button that originated the query.
Note that message content and message date will not be available if the message is too old
1.8.13