hide

Function hide 

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

Hide the Telegram Settings Button.

§Errors

Returns Err if the underlying JavaScript call fails or the button is missing.

§Examples

use telegram_webapp_sdk::api::settings_button::hide;
hide()?;