tgbot-cpp
InlineQueryResultArticle.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTARTICLE_H
6 #define TGBOT_INLINEQUERYRESULTARTICLE_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<InlineQueryResultArticle> Ptr;
24 
26  this->type = TYPE;
27  this->hideUrl = false;
28  this->thumbHeight = 0;
29  this->thumbWidth = 0;
30  }
31 
35  std::string url;
36 
40  bool hideUrl;
41 
45  std::string description;
46 
50  std::string thumbUrl;
51 
55  int32_t thumbWidth;
56 
60  int32_t thumbHeight;
61 };
62 }
63 
64 #endif //TGBOT_INLINEQUERYRESULTARTICLE_H
InlineQueryResultArticle()
std::shared_ptr< InlineQueryResultArticle > Ptr
std::string url
Definition: Api.h:44
std::string description
int32_t thumbHeight
std::string thumbUrl
int32_t thumbWidth
bool hideUrl
static const std::string TYPE