WebAppInlineKeyboardButton

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

Button with WebAppInfo. Web App will be launched when the button is pressed. The Web App will be able to send a web_app_data service message. Available in private chats only.

Constructors

Link copied to clipboard
constructor(text: String, webApp: WebAppInfo, 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
Link copied to clipboard
@SerialName(value = "web_app")
val webApp: WebAppInfo