Data
This module contains data structures used in the Telegram Web Apps API.
ChatType
WebAppChat
dataclass
Represents a Telegram chat.
Links
https://core.telegram.org/bots/webapps#webappchat
Source code in telegram_webapp_auth/data.py
WebAppInitData
dataclass
Represents the data that the webapp receives from Telegram.
Links
https://core.telegram.org/bots/webapps#webappinitdata
Source code in telegram_webapp_auth/data.py
WebAppUser
dataclass
Represents a Telegram user.
Links
https://core.telegram.org/bots/webapps#webappuser