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/_webhook_info_8h_source.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/_webhook_info_8h_source.html') diff --git a/docs/_webhook_info_8h_source.html b/docs/_webhook_info_8h_source.html index 2ba1146..caf8e66 100644 --- a/docs/_webhook_info_8h_source.html +++ b/docs/_webhook_info_8h_source.html @@ -83,23 +83,23 @@ $(document).ready(function(){initNavTree('_webhook_info_8h_source.html','');});
WebhookInfo.h
-Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_WEBHOOKINFO_H
6 #define TGBOT_WEBHOOKINFO_H
7 
8 #include <string>
9 #include <vector>
10 #include <memory>
11 
12 namespace TgBot {
13 
18 class WebhookInfo {
19 public:
20  typedef std::shared_ptr<WebhookInfo> Ptr;
21 
25  std::string url;
26 
31 
36 
40  int32_t lastErrorDate;
41 
45  std::string lastErrorMessage;
46 
50  int32_t maxConnections;
51 
55  std::vector<std::string> allowedUpdates;
56 };
57 }
58 
59 #endif //TGBOT_WEBHOOKINFO_H
Definition: Api.h:46
- - -
std::string lastErrorMessage
Definition: WebhookInfo.h:45
-
int32_t lastErrorDate
Definition: WebhookInfo.h:40
-
std::shared_ptr< WebhookInfo > Ptr
Definition: WebhookInfo.h:20
-
int32_t pendingUpdateCount
Definition: WebhookInfo.h:35
-
std::string url
Definition: WebhookInfo.h:25
-
int32_t maxConnections
Definition: WebhookInfo.h:50
-
std::vector< std::string > allowedUpdates
Definition: WebhookInfo.h:55
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_WEBHOOKINFO_H
6 #define TGBOT_WEBHOOKINFO_H
7 
8 #include <string>
9 #include <vector>
10 #include <memory>
11 
12 namespace TgBot {
13 
19 class WebhookInfo {
20 public:
21  typedef std::shared_ptr<WebhookInfo> Ptr;
22 
26  std::string url;
27 
32 
37 
41  int32_t lastErrorDate;
42 
46  std::string lastErrorMessage;
47 
51  int32_t maxConnections;
52 
56  std::vector<std::string> allowedUpdates;
57 };
58 }
59 
60 #endif //TGBOT_WEBHOOKINFO_H
Definition: Api.h:47
+
Contains information about the current status of a webhook.
Definition: WebhookInfo.h:19
+
bool hasCustomCertificate
True, if a custom certificate was provided for webhook certificate checks.
Definition: WebhookInfo.h:31
+
std::string lastErrorMessage
Optional. Error message in human - readable format for the most recent error that happened when tryin...
Definition: WebhookInfo.h:46
+
int32_t lastErrorDate
Optional. Unix time for the most recent error that happened when trying to deliver an update via webh...
Definition: WebhookInfo.h:41
+
std::shared_ptr< WebhookInfo > Ptr
Definition: WebhookInfo.h:21
+
int32_t pendingUpdateCount
Number of updates awaiting delivery.
Definition: WebhookInfo.h:36
+
std::string url
Webhook URL, may be empty if webhook is not set up.
Definition: WebhookInfo.h:26
+
int32_t maxConnections
Optional. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery...
Definition: WebhookInfo.h:51
+
std::vector< std::string > allowedUpdates
Optional. A list of update types the bot is subscribed to. Defaults to all update types...
Definition: WebhookInfo.h:56