PayInlineKeyboardButton

@Serializable
data class PayInlineKeyboardButton(val text: String, val iconCustomEmojiId: CustomEmojiId? = null, val style: KeyboardButtonStyle? = null) : InlineKeyboardButton

This type of button must always be the first button in the first row. Visit https://core.telegram.org/bots/api#payments for mor info

Constructors

Link copied to clipboard
constructor(text: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null)

Properties

Link copied to clipboard
@SerialName(value = "icon_custom_emoji_id")
open override val iconCustomEmojiId: CustomEmojiId? = null
Link copied to clipboard
@SerialName(value = "style")
open override val style: KeyboardButtonStyle? = null
Link copied to clipboard
open override val text: String