getWebAppUrl¶
Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button
getWebAppUrl(
bot_user_id: int53,
url: string,
parameters: WebAppOpenParameters
) → WebAppUrl
bot_user_id¶
int53
Identifier of the target bot. If the bot is restricted for the current user, then show an error instead of calling the method
url¶
string
The URL from a keyboardButtonTypeWebApp button, inlineQueryResultsButtonTypeWebApp button, or an empty string when the bot is opened from the side menu
parameters¶
Parameters to use to open the Web App