tgbot-cpp
TgBot::ResponseParameters Class Reference

#include <ResponseParameters.h>

Public Types

typedef std::shared_ptr< ResponseParametersPtr
 

Public Attributes

int32_t migrateToChatId
 
int32_t retryAfter
 

Detailed Description

Contains information about why a request was unsuccessfull.

Definition at line 16 of file ResponseParameters.h.

Member Typedef Documentation

◆ Ptr

Definition at line 18 of file ResponseParameters.h.

Member Data Documentation

◆ migrateToChatId

int32_t TgBot::ResponseParameters::migrateToChatId

Optional. The group has been migrated to a supergroup with the specified identifier. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.

Definition at line 26 of file ResponseParameters.h.

◆ retryAfter

int32_t TgBot::ResponseParameters::retryAfter

Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be repeated

Definition at line 31 of file ResponseParameters.h.


The documentation for this class was generated from the following file: