pub async fn get_web_app_link_url(
chat_id: i64,
bot_user_id: i64,
web_app_short_name: String,
start_parameter: String,
theme: Option<ThemeParameters>,
application_name: String,
allow_write_access: bool,
client_id: i32,
) -> Result<HttpUrl, Error>Expand description
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked
ยงArguments
chat_id- Identifier of the chat in which the link was clicked; pass 0 if nonebot_user_id- Identifier of the target botweb_app_short_name- Short name of the Web Appstart_parameter- Start parameter from internalLinkTypeWebApptheme- Preferred Web App theme; pass null to use the default themeapplication_name- Short name of the application; 0-64 English letters, digits, and underscoresallow_write_access- Pass true if the current user allowed the bot to send them messagesclient_id- The client id to send the request to