Interface BotMenuButton

Describes a button to be shown instead of bot commands menu button.

interface BotMenuButton {
    @type: "botMenuButton";
    text: string;
    url: string;
}

Properties

Properties

@type: "botMenuButton"
text: string

Text of the button.

url: string

URL of a Web App to open when the button is pressed. If the link is of the type internalLinkTypeWebApp, then it must be processed accordingly. Otherwise, the link must be passed to openWebApp.