Common

@Serializable
data class Common(val requestId: RequestId, val isPremium: Boolean? = null, val maxCount: Int = keyboardButtonRequestUserLimit.first, val requestName: Boolean? = null, val requestUsername: Boolean? = null, val requestPhoto: Boolean? = null) : KeyboardButtonRequestUsers

Constructors

Link copied to clipboard
constructor(requestId: RequestId, isPremium: Boolean? = null, maxCount: Int = keyboardButtonRequestUserLimit.first, requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "user_is_bot")
@EncodeDefault
open override val isBot: Boolean = false
Link copied to clipboard
@SerialName(value = "user_is_premium")
open override val isPremium: Boolean? = null
Link copied to clipboard
@SerialName(value = "max_quantity")
open override val maxCount: Int
Link copied to clipboard
@SerialName(value = "request_id")
open override val requestId: RequestId
Link copied to clipboard
@SerialName(value = "request_name")
open override val requestName: Boolean? = null
Link copied to clipboard
@SerialName(value = "request_photo")
open override val requestPhoto: Boolean? = null
Link copied to clipboard
@SerialName(value = "request_username")
open override val requestUsername: Boolean? = null