tgbot-cpp
Loading...
Searching...
No Matches
ResponseParameters.h
Go to the documentation of this file.
1#ifndef TGBOT_RESPONSEPARAMETERS_H
2#define TGBOT_RESPONSEPARAMETERS_H
3
4#include <cstdint>
5#include <memory>
6
7namespace TgBot {
8
15public:
16 typedef std::shared_ptr<ResponseParameters> Ptr;
17
25 std::int64_t migrateToChatId;
26
30 std::int32_t retryAfter;
31};
32}
33
34#endif //TGBOT_RESPONSEPARAMETERS_H
Contains information about why a request was unsuccessfull.
std::int64_t migrateToChatId
Optional. The group has been migrated to a supergroup with the specified identifier.
std::shared_ptr< ResponseParameters > Ptr
std::int32_t retryAfter
Optional. In case of exceeding flood control, the number of seconds left to wait before the request c...
Definition Api.h:39