Interface GetMainWebApp

Returns information needed to open the main Web App of a bot. Request type for Tdjson#getMainWebApp.

interface GetMainWebApp {
    @type: "getMainWebApp";
    bot_user_id: number;
    chat_id: number;
    parameters: WebAppOpenParameters;
    start_parameter: string;
}

Properties

@type: "getMainWebApp"
bot_user_id: number

Identifier of the target bot.

chat_id: number

Identifier of the chat in which the Web App is opened; pass 0 if none.

Parameters to use to open the Web App.

start_parameter: string

Start parameter from internalLinkTypeMainWebApp.