tgbot-cpp
InlineQueryResultDocument.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTDOCUMENT_H
6 #define TGBOT_INLINEQUERYRESULTDOCUMENT_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<InlineQueryResultDocument> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  std::string documentUrl;
35 
39  std::string mimeType;
40 
44  std::string description;
45 
49  std::string thumbUrl;
50 
54  int32_t thumbWidth;
55 
59  int32_t thumbHeight;
60 };
61 }
62 
63 #endif //TGBOT_INLINEQUERYRESULTDOCUMENT_H
Definition: Api.h:44
std::shared_ptr< InlineQueryResultDocument > Ptr