tgbot-cpp
ResponseParameters.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_RESPONSEPARAMETERS_H
6 #define TGBOT_RESPONSEPARAMETERS_H
7 
8 #include <memory>
9 
10 namespace TgBot {
11 
18 public:
19  typedef std::shared_ptr<ResponseParameters> Ptr;
20 
28  int32_t migrateToChatId;
29 
33  int32_t retryAfter;
34 };
35 }
36 
37 #endif //TGBOT_RESPONSEPARAMETERS_H
Definition: Api.h:47
std::shared_ptr< ResponseParameters > Ptr
int32_t retryAfter
Optional. In case of exceeding flood control, the number of seconds left to wait before the request c...
Contains information about why a request was unsuccessfull.
int32_t migrateToChatId
Optional. The group has been migrated to a supergroup with the specified identifier.