class Hamilton::Types::ResponseParameters

Overview

Describes why a request was unsuccessful.

Included Modules

Defined in:

types/response_parameters.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def migrate_to_chat_id : Int64 | Nil #

The group has been migrated to a supergroup with the specified identifier.


def migrate_to_chat_id=(migrate_to_chat_id : Int64 | Nil) #

The group has been migrated to a supergroup with the specified identifier.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def retry_after : Int32 #

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


def retry_after=(retry_after : Int32) #

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