class Telegram::API::ResponseParameters
- Telegram::API::ResponseParameters
- Telegram::API::Type
- Reference
- Object
Overview
Contains information about why a request was unsuccessful.
Defined in:
telegram/api/generated/types.crConstructors
-
.new(pull : JSON::PullParser)
Contains information about why a request was unsuccessful.
- .new(migrate_to_chat_id : Int32 | Nil = nil, retry_after : Int32 | Nil = nil)
Instance Method Summary
-
#migrate_to_chat_id : Int32 | Nil
Optional.
-
#migrate_to_chat_id=(migrate_to_chat_id : Int32 | Nil)
Optional.
-
#retry_after : Int32 | Nil
Optional.
-
#retry_after=(retry_after : Int32 | Nil)
Optional.
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Instance Method Detail
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.
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.
Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be repeated
Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be repeated