WebAppInlineKeyboardButton

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
open override val iconCustomEmojiId: CustomEmojiId? = null
Link copied to clipboard
open override val style: KeyboardButtonStyle? = null
Link copied to clipboard
open override val text: String
Link copied to clipboard