โ† All rules

TGW404 this DOM or file API is unavailable in widgets

Severity
warn
Confidence
certain
Category
JavaScript
Keywords
localStorage, sessionStorage, indexedDB, cookie, file api

How to fix

no shadow DOM, Blob, FileReader or fullscreen; keep the widget plain HTML

Specification

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

Check a widget in the playground โ†’