Crate init_data_rs

Source

Structs§

Chat
InitData
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§

ChatType
InitDataError

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.