Interface MainWebApp

Contains information about the main Web App of a bot.

interface MainWebApp {
    @type: "mainWebApp";
    mode: WebAppOpenMode;
    url: string;
}

Properties

Properties

@type: "mainWebApp"

The mode in which the Web App must be opened.

url: string

URL of the Web App to open.