Spaces:
Runtime error
Runtime error
File size: 489 Bytes
cd86722 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 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;
};
};
}
|