ResponseParameters class

Contains information about why a request was unsuccessful.

https://core.telegram.org/bots/api#responseparameters

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

ResponseParameters({int? migrateToChatID, int? retryAfter})
ResponseParameters.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
migrateToChatID ↔ int?
Optional. 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.
getter/setter pair
retryAfter ↔ int?
Optional. In case of exceeding flood control, the number of seconds left to wait before the request can be repeated.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited