interface WebAppButton {
    text: string;
    web_app: WebAppInfo;
}

Hierarchy (view full)

Properties

Properties

text: string

Label text on the button

web_app: 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. Available only in private chats between a user and the bot. Not supported for messages sent on behalf of a Telegram Business account.