WebAppInlineKeyboardButton

@Serializable
data class WebAppInlineKeyboardButton(val text: String, val webApp: WebAppInfo) : 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)

Properties

Link copied to clipboard
open override val text: String
Link copied to clipboard
@SerialName(value = "web_app")
val webApp: WebAppInfo