tgbot-cpp
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:44
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