From c8d40dccabaaa406faed6c0797a92bac811c9d0f Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 5 Jun 2018 19:07:27 +0300 Subject: Update docs --- docs/_inline_query_result_article_8h_source.html | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'docs/_inline_query_result_article_8h_source.html') diff --git a/docs/_inline_query_result_article_8h_source.html b/docs/_inline_query_result_article_8h_source.html index 9a7df1a..f63833c 100644 --- a/docs/_inline_query_result_article_8h_source.html +++ b/docs/_inline_query_result_article_8h_source.html @@ -83,27 +83,27 @@ $(document).ready(function(){initNavTree('_inline_query_result_article_8h_source
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:46
+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 
21 public:
22  static const std::string TYPE;
23 
24  typedef std::shared_ptr<InlineQueryResultArticle> Ptr;
25 
27  this->type = TYPE;
28  this->hideUrl = false;
29  this->thumbHeight = 0;
30  this->thumbWidth = 0;
31  }
32 
36  std::string url;
37 
41  bool hideUrl;
42 
46  std::string description;
47 
51  std::string thumbUrl;
52 
56  int32_t thumbWidth;
57 
61  int32_t thumbHeight;
62 };
63 }
64 
65 #endif //TGBOT_INLINEQUERYRESULTARTICLE_H
InlineQueryResultArticle()
+
std::shared_ptr< InlineQueryResultArticle > Ptr
+
std::string url
Optional. URL of the result.
+
std::string type
Type of the result.
+
Definition: Api.h:47
-
-
std::string description
- -
int32_t thumbHeight
-
std::string thumbUrl
-
int32_t thumbWidth
-
bool hideUrl
-
static const std::string TYPE
+
Represents a link to an article of web page.
+
std::string description
Optional. Short description of the result.
+
This abstract class is base of all inline query results.
+
int32_t thumbHeight
Optinal. Thumbnail height.
+
std::string thumbUrl
Optional. Url of the thumbnail for the result.
+
int32_t thumbWidth
Optional. Thumbnail width.
+
bool hideUrl
Optional. Pass True if you don&#39;t want the URL to be shown in the message.
+
static const std::string TYPE