Structs§
- Chat
- Init
Data - This object contains data that is transferred to the Mini App when it is opened. It is empty if the Mini App was launched from a keyboard button or from inline mode. See: https://core.telegram.org/bots/webapps#webappinitdata
- User
Enums§
Functions§
- parse
- Parse converts passed init data presented as query string to
InitData
object. - sign
- Sign creates hash for init data using bot token.
- validate
- Validates the authenticity and integrity of Telegram Mini Apps init data.
- validate_
third_ party - Validates init data using both primary and third-party bot tokens.