MenuButtonWebApp

@SerialName(value = "web_app")
data class MenuButtonWebApp(val text: String, val webApp: WebAppInfo) : MenuButton(source)

MenuButtonWebApp

Represents a menu button, which launches a Web App.

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(text: String, webApp: WebAppInfo)

Properties

Link copied to clipboard

Text on the button

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

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.