get_web_app_url


Description:

public async HttpUrl get_web_app_url (int64 bot_user_id, string url, WebAppOpenParameters parameters) throws TDLibError

Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button

Parameters:

bot_user_id

Identifier of the target bot. If the bot is restricted for the current user, then show an error instead of calling the method

url

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