ResponseParameters constructor

const ResponseParameters({
  1. @JsonKey(name: 'migrate_to_chat_id') int? migrateToChatId,
  2. @JsonKey(name: 'retry_after') int? retryAfter,
})

Constructs a ResponseParameters object

Implementation

const factory ResponseParameters({
  /// 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.
  @JsonKey(name: 'migrate_to_chat_id') int? migrateToChatId,

  /// Optional. In case of exceeding flood control, the number of seconds left
  /// to wait before the request can be repeated
  @JsonKey(name: 'retry_after') int? retryAfter,
}) = _ResponseParameters;