Skip to content

Latest commit

 

History

History
216 lines (187 loc) · 14.1 KB

WEBAPP_API.md

File metadata and controls

216 lines (187 loc) · 14.1 KB

Telegram WebApp API Coverage

This checklist tracks support for the Telegram Web Apps JavaScript API. Mark items as they are implemented.

Methods

Objects

BottomButton (Main & Secondary)

MainButton

SecondaryButton

BackButton

SettingsButton

HapticFeedback

Serverless

WebAppInitData

  • chat_join_request_query_id (713034a)

Properties

Sensors

Accelerometer

Gyroscope

DeviceOrientation

LocationManager

BiometricManager

Storages

CloudStorage

DeviceStorage

SecureStorage

Background events

Event Payload
mainButtonClicked none
backButtonClicked none
settingsButtonClicked none
writeAccessRequested bool granted flag
contactRequested bool shared flag
invoiceClosed status String
popupClosed object { button_id: Option<String> }
qrTextReceived scanned text String
clipboardTextReceived clipboard text String
locationManagerUpdated none (Bot API 8.0)
locationRequested none (Bot API 8.0)
requestedChatSent none (Bot API 9.6)
requestedChatFailed object { error: String } (Bot API 9.6)

Remaining WebApp Features

The SDK currently covers the complete Telegram Mini Apps (WebApp) API 10.1 surface: the 9.6 method set plus WebAppInitData.chat_join_request_query_id (Bot API 10.1) and the Serverless object introduced with Telegram Serverless in October 2026. Bot API has since advanced to 10.4, but versions 10.2 through 10.4 introduced no new WebApp methods, fields, or events, so no additional surface is pending. If you spot a gap, please open an issue so it can be addressed quickly.