open_settings

Function open_settings 

Source
pub fn open_settings() -> Result<(), JsValue>
Expand description

Opens the location settings via openSettings.

§Errors

Returns Err(JsValue) if the JavaScript call fails or locationManager is missing.

§Examples

use telegram_webapp_sdk::api::location_manager::open_settings;
open_settings()?;