tgbot-cpp
InlineQueryResultVideo.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTVIDEO_H
6 #define TGBOT_INLINEQUERYRESULTVIDEO_H
7 
8 namespace TgBot {
9 
15 public:
16  static const std::string TYPE;
17 
18  typedef std::shared_ptr<InlineQueryResultVideo> Ptr;
19 
21  this->type = TYPE;
22  this->videoWidth = 0;
23  this->videoHeight = 0;
24  this->videoDuration = 0;
25  };
26 
30  std::string videoUrl;
31 
35  std::string mimeType;
36 
40  std::string thumbUrl;
41 
45  int32_t videoWidth;
46 
50  int32_t videoHeight;
51 
55  int32_t videoDuration;
56 
60  std::string description;
61 
62 };
63 }
64 
65 #endif //TGBOT_INLINEQUERYRESULTVIDEO_H
Definition: Api.h:44
std::shared_ptr< InlineQueryResultVideo > Ptr