WebAppKeyboardButton

@Serializable
data class WebAppKeyboardButton(val text: String, val webApp: WebAppInfo) : KeyboardButton

Private chats only. Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only in private chats between a user and the bot.

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