tgbot-cpp
Loading...
Searching...
No Matches
ChosenInlineResult.h
Go to the documentation of this file.
1#ifndef TGBOT_CHOSENINLINERESULT_H
2#define TGBOT_CHOSENINLINERESULT_H
3
4#include "tgbot/types/User.h"
6
7#include <string>
8#include <memory>
9
10namespace TgBot {
11
18public:
19 typedef std::shared_ptr<ChosenInlineResult> Ptr;
20
24 std::string resultId;
25
30
35
42 std::string inlineMessageId;
43
47 std::string query;
48};
49}
50
51#endif //TGBOT_CHOSENINLINERESULT_H
This object represents a result of an inline query that was chosen by the user and sent to their chat...
std::string query
The query that was used to obtain the result.
std::string resultId
The unique identifier for the result that was chosen.
User::Ptr from
The user that chose the result.
std::string inlineMessageId
Optional. Identifier of the sent inline message.
std::shared_ptr< ChosenInlineResult > Ptr
Location::Ptr location
Optional. Sender location, only for bots that require user location.
std::shared_ptr< Location > Ptr
Definition Location.h:16
std::shared_ptr< User > Ptr
Definition User.h:18
Definition Api.h:39