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

Describes why a request was unsuccessful. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ResponseParameters>

Public Attributes

std::optional< std::int64_t > migrateToChatId { }
 Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
std::optional< 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

Describes why a request was unsuccessful.

Definition at line 11549 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 11550 of file Types.h.

Member Data Documentation

◆ migrateToChatId

std::optional<std::int64_t> TgBot::ResponseParameters::migrateToChatId { }

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

Definition at line 11559 of file Types.h.

◆ retryAfter

std::optional<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 11565 of file Types.h.


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