pub async fn get_web_app_url(
bot_user_id: i64,
url: String,
theme: Option<ThemeParameters>,
application_name: String,
client_id: i32,
) -> Result<HttpUrl, Error>Expand description
Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, an inlineQueryResultsButtonTypeWebApp button, or an internalLinkTypeSideMenuBot link
ยงArguments
bot_user_id- Identifier of the target boturl- The URL from a keyboardButtonTypeWebApp button, inlineQueryResultsButtonTypeWebApp button, an internalLinkTypeSideMenuBot link, or an empty when the bot is opened from the side menutheme- Preferred Web App theme; pass null to use the default themeapplication_name- Short name of the application; 0-64 English letters, digits, and underscoresclient_id- The client id to send the request to