Struct telegram_typings::ResponseParameters [] [src]

pub struct ResponseParameters {
    pub migrate_to_chat_id: Option<i64>,
    pub retry_after: Option<i64>,
}

Contains information about why a request was unsuccessful.

Fields

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.

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

Trait Implementations

impl Debug for ResponseParameters
[src]

[src]

Formats the value using the given formatter.

impl Clone for ResponseParameters
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more