Interface GetWebAppUrl

Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button. Request type for Tdjson#getWebAppUrl.

interface GetWebAppUrl {
    @type: "getWebAppUrl";
    bot_user_id: number;
    parameters: WebAppOpenParameters;
    url: string;
}

Properties

@type: "getWebAppUrl"
bot_user_id: number

Identifier of the target bot.

Parameters to use to open the Web App.

url: string

The URL from a keyboardButtonTypeWebApp button, inlineQueryResultsButtonTypeWebApp button, or an empty string when the bot is opened from the side menu.