tgbot-cpp
InlineQuery.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERY_H
6 #define TGBOT_INLINEQUERY_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/User.h"
12 #include "tgbot/types/Location.h"
13 
14 namespace TgBot {
15 
20 class InlineQuery {
21 public:
22  typedef std::shared_ptr<InlineQuery> Ptr;
23 
27  std::string id;
28 
33 
38 
42  std::string query;
43 
47  std::string offset;
48 };
49 
50 }
51 
52 #endif //TGBOT_INLINEQUERY_H
Definition: Api.h:44
std::shared_ptr< Location > Ptr
Definition: Location.h:37
std::string query
Definition: InlineQuery.h:42
Location::Ptr location
Definition: InlineQuery.h:37
std::string offset
Definition: InlineQuery.h:47
std::shared_ptr< InlineQuery > Ptr
Definition: InlineQuery.h:22
std::string id
Definition: InlineQuery.h:27
std::shared_ptr< User > Ptr
Definition: User.h:38