tgbot-cpp
ChosenInlineResult.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_CHOSENINLINERESULT_H
6 #define TGBOT_CHOSENINLINERESULT_H
7 
8 #include <string>
9 #include <memory>
10 
11 #include "tgbot/types/User.h"
12 #include "tgbot/types/Location.h"
13 
14 namespace TgBot {
15 
22 public:
23  typedef std::shared_ptr<ChosenInlineResult> Ptr;
24 
28  std::string resultId;
29 
34 
39 
46  std::string inlineMessageId;
47 
51  std::string query;
52 };
53 }
54 
55 #endif //TGBOT_CHOSENINLINERESULT_H
This object represents a result of an inline query that was chosen by the user and sent to their chat...
User::Ptr from
The user that chose the result.
std::string query
The query that was used to obtain the result.
Definition: Api.h:47
std::shared_ptr< Location > Ptr
Definition: Location.h:38
std::shared_ptr< ChosenInlineResult > Ptr
std::string inlineMessageId
Optional. Identifier of the sent inline message.
std::string resultId
The unique identifier for the result that was chosen.
Location::Ptr location
Optional. Sender location, only for bots that require user location.
std::shared_ptr< User > Ptr
Definition: User.h:39