class ResponseParameters

Describes why a request was unsuccessful.

Methods

__construct(int|null $migrate_to_chat_id = null, int|null $retry_after = null)

No description

int|null
getMigrateToChatId()

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.

int|null
getRetryAfter()

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

Details

at line 14
__construct(int|null $migrate_to_chat_id = null, int|null $retry_after = null)

No description

Parameters

int|null $migrate_to_chat_id
int|null $retry_after

at line 23
int|null getMigrateToChatId()

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.

Return Value

int|null

at line 31
int|null getRetryAfter()

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

Return Value

int|null