get_theme_params

Function get_theme_params 

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

Returns the current themeParams from Telegram.WebApp.themeParams.

ยงErrors

Returns Err(JsValue) if the object is missing or cannot be parsed.