tgbot-cpp
|
This object represents a result of an inline query that was chosen by the user and sent to their chat partner. More...
#include <ChosenInlineResult.h>
Public Types | |
typedef std::shared_ptr< ChosenInlineResult > | Ptr |
Public Attributes | |
std::string | resultId |
The unique identifier for the result that was chosen. | |
User::Ptr | from |
The user that chose the result. | |
Location::Ptr | location |
Optional. Sender location, only for bots that require user location. | |
std::string | inlineMessageId |
Optional. Identifier of the sent inline message. | |
std::string | query |
The query that was used to obtain the result. | |
This object represents a result of an inline query that was chosen by the user and sent to their chat partner.
Definition at line 17 of file ChosenInlineResult.h.
typedef std::shared_ptr<ChosenInlineResult> TgBot::ChosenInlineResult::Ptr |
Definition at line 19 of file ChosenInlineResult.h.
User::Ptr TgBot::ChosenInlineResult::from |
The user that chose the result.
Definition at line 29 of file ChosenInlineResult.h.
std::string TgBot::ChosenInlineResult::inlineMessageId |
Optional. Identifier of the sent inline message.
Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.
Definition at line 42 of file ChosenInlineResult.h.
Location::Ptr TgBot::ChosenInlineResult::location |
Optional. Sender location, only for bots that require user location.
Definition at line 34 of file ChosenInlineResult.h.
std::string TgBot::ChosenInlineResult::query |
The query that was used to obtain the result.
Definition at line 47 of file ChosenInlineResult.h.
std::string TgBot::ChosenInlineResult::resultId |
The unique identifier for the result that was chosen.
Definition at line 24 of file ChosenInlineResult.h.