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.
pub fn get_theme_params() -> Result<TelegramThemeParams, JsValue>Returns the current themeParams from Telegram.WebApp.themeParams.
Returns Err(JsValue) if the object is missing or cannot be parsed.