Spaces:
Runtime error
Runtime error
Download src/global.d.ts from lasource87/bot: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/spaces/lasource87/bot/resolve/main/src/global.d.ts
- Command line
-
hf download hf://spaces/lasource87/bot/src/global.d.ts
-
curl -L -o global.d.ts https://huggingface.co/spaces/lasource87/bot/resolve/main/src/global.d.ts
489 Bytes
| interface Window { | |
| Telegram?: { | |
| WebApp: { | |
| ready: () => void; | |
| expand: () => void; | |
| close: () => void; | |
| MainButton: { | |
| text: string; | |
| color: string; | |
| textColor: string; | |
| isVisible: boolean; | |
| isActive: boolean; | |
| show: () => void; | |
| hide: () => void; | |
| onClick: (callback: () => void) => void; | |
| }; | |
| openTelegramLink: (url: string) => void; | |
| setHeaderColor: (color: string) => void; | |
| }; | |
| }; | |
| } | |