tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ResponseParameters Class Reference

Contains information about why a request was unsuccessfull. More...

#include <ResponseParameters.h>

Public Types

typedef std::shared_ptr< ResponseParametersPtr
 

Public Attributes

std::int64_t migrateToChatId
 Optional. The group has been migrated to a supergroup with the specified identifier.
 
std::int32_t retryAfter
 Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be repeated.
 

Detailed Description

Contains information about why a request was unsuccessfull.

Definition at line 14 of file ResponseParameters.h.

Member Typedef Documentation

◆ Ptr

Definition at line 16 of file ResponseParameters.h.

Member Data Documentation

◆ migrateToChatId

std::int64_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 25 of file ResponseParameters.h.

◆ retryAfter

std::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 30 of file ResponseParameters.h.


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