tgbot-cpp
CallbackQuery.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_CALLBACKQUERY_H
6 #define TGBOT_CALLBACKQUERY_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/User.h"
12 #include "tgbot/types/Message.h"
13 
14 namespace TgBot {
15 
21 public:
22  typedef std::shared_ptr<CallbackQuery> Ptr;
23 
27  std::string id;
28 
33 
38 
42  std::string inlineMessageId;
43 
47  std::string chatInstance;
48 
52  std::string data;
53 
54  /*
55  * Optional. Short name of a Game to be returned, serves as the unique identifier for the game
56  */
57  std::string gameShortName;
58 };
59 }
60 
61 #endif //TGBOT_CALLBACKQUERY_H
std::shared_ptr< CallbackQuery > Ptr
Definition: CallbackQuery.h:22
Definition: Api.h:44
std::shared_ptr< Message > Ptr
Definition: Message.h:52
Message::Ptr message
Definition: CallbackQuery.h:37
std::string gameShortName
Definition: CallbackQuery.h:57
std::string chatInstance
Definition: CallbackQuery.h:47
std::string inlineMessageId
Definition: CallbackQuery.h:42
std::shared_ptr< User > Ptr
Definition: User.h:38