struct

Telegram::ResponseParameters

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: ResponseParameters Describes why a request was unsuccessful.

Constructors

new(migrate_to_chat_id : Int32 | Int64 | Nil = nil, retry_after : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(migrate_to_chat_id _migrate_to_chat_id = @migrate_to_chat_id, retry_after _retry_after = @retry_after)
Source
migrate_to_chat_id
retry_after