7.2.0 • Published 1 year ago
twa-types v7.2.0
Types
Types for Telegram Web Apps (TWA) SDK.
Installation
npm i twa-types
Usage Example
import { Telegram } from "twa-types";
declare global {
interface Window {
Telegram: Telegram;
}
}
window.Telegram.WebApp.HapticFeedback.notificationOccurred("success");
Exported Types
7.2.0
1 year ago