tgbot-cpp
InlineQueryResultLocation.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTLOCATION_H
6 #define TGBOT_INLINEQUERYRESULTLOCATION_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultLocation> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  float latitude;
35 
39  float longitude;
40 
44  std::string thumbUrl;
45 
49  int32_t thumbWidth;
50 
54  int32_t thumbHeight;
55 };
56 }
57 
58 #endif //TGBOT_INLINEQUERYRESULTLOCATION_H
Definition: Api.h:44
std::shared_ptr< InlineQueryResultLocation > Ptr