tgbot-cpp
|
This object represents an incoming callback query from a callback button in an inline keyboard. More...
#include <CallbackQuery.h>
Public Types | |
typedef std::shared_ptr< CallbackQuery > | Ptr |
Public Attributes | |
std::string | id |
Unique identifier for this query. | |
User::Ptr | from |
Sender. | |
Message::Ptr | 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. | |
std::string | inlineMessageId |
Optional. Identifier of the message sent via the bot in inline mode, that originated the query. | |
std::string | chatInstance |
Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games. | |
std::string | data |
Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field. | |
std::string | gameShortName |
This object represents an incoming callback query from a callback button in an inline keyboard.
Definition at line 16 of file CallbackQuery.h.
typedef std::shared_ptr<CallbackQuery> TgBot::CallbackQuery::Ptr |
Definition at line 18 of file CallbackQuery.h.
std::string TgBot::CallbackQuery::chatInstance |
Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
Definition at line 43 of file CallbackQuery.h.
std::string TgBot::CallbackQuery::data |
Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.
Definition at line 48 of file CallbackQuery.h.
User::Ptr TgBot::CallbackQuery::from |
Sender.
Definition at line 28 of file CallbackQuery.h.
std::string TgBot::CallbackQuery::gameShortName |
Definition at line 53 of file CallbackQuery.h.
std::string TgBot::CallbackQuery::id |
Unique identifier for this query.
Definition at line 23 of file CallbackQuery.h.
std::string TgBot::CallbackQuery::inlineMessageId |
Optional. Identifier of the message sent via the bot in inline mode, that originated the query.
Definition at line 38 of file CallbackQuery.h.
Message::Ptr TgBot::CallbackQuery::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.
Definition at line 33 of file CallbackQuery.h.