tgbot-cpp
InlineQueryResultPhoto.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTPHOTO_H
6 #define TGBOT_INLINEQUERYRESULTPHOTO_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<InlineQueryResultPhoto> Ptr;
24 
26  this->type = TYPE;
27  this->photoWidth = 0;
28  this->photoHeight = 0;
29  }
30 
34  std::string photoUrl;
35 
39  std::string thumbUrl;
40 
44  int32_t photoWidth;
45 
49  int32_t photoHeight;
50 
54  std::string description;
55 };
56 }
57 
58 #endif //TGBOT_INLINEQUERYRESULTPHOTO_H
Definition: Api.h:44
std::shared_ptr< InlineQueryResultPhoto > Ptr