Types for Telegram Web Apps (TWA) SDK.
npm i @twa-dev/types
import{Telegram}from"@twa-dev/types";declare global {interfaceWindow{Telegram: Telegram;}}window.Telegram.WebApp.HapticFeedback.notificationOccurred("success");WebAppUserWebAppChatWebAppInitDataThemeParamsHapticFeedbackBackButtonBottomButtonMainButtonSecondaryButtonSettingsButtonEventNamesEventParamsPopupParamsPopupButtonWebAppScanQrPopupParamsCloudStorageBiometricManagerBiometricRequestAccessParamsBiometricAuthenticateParamsStoryShareParamsStoryWidgetLinkAccelerometerDeviceOrientationDeviceOrientationStartParamsGyroscopeGyroscopeStartParamsLocationManagerLocationDataSafeAreaInsetContentSafeAreaInsetEmojiStatusParamsDownloadFileParamsPlatforms
