โ† All rules

TGW411 deprecated TelegramWidget theme alias

Severity
info
Confidence
certain
Category
JavaScript
Keywords
themeParams, deprecated, alias

How to fix

use TelegramWidget.onThemeChange instead of TelegramWidget.theme or onTheme

Specification

https://core.telegram.org/bots/widgets#javascript

Check a widget in the playground โ†’