ResponseParameters

data class ResponseParameters(migrateToChatId: Int?, retryAfter: Int?)

Contains information about why a request was unsuccessful.

Parameters

migrateToChatId

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.

retryAfter

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

Constructors

ResponseParameters
Link copied to clipboard
common
fun ResponseParameters(migrateToChatId: Int? = null, retryAfter: Int? = null)
Optional.

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int?
component2
Link copied to clipboard
common
operator fun component2(): Int?
copy
Link copied to clipboard
common
fun copy(migrateToChatId: Int? = null, retryAfter: Int? = null): ResponseParameters
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

migrateToChatId
Link copied to clipboard
common
val migrateToChatId: Int? = null
Optional.
retryAfter
Link copied to clipboard
common
val retryAfter: Int? = null
Optional.