Docs.rs
init-data-rs-0.1.2
init-data-rs 0.1.2
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
escwxyz
Dependencies
base64 ^0.22.1
normal
ed25519-dalek ^2.1.1
normal
hex ^0.4.3
normal
hmac ^0.13.0-rc.0
normal
serde ^1.0.219
normal
serde_json ^1.0.138
normal
sha2 ^0.11.0-rc.0
normal
thiserror ^2.0.12
normal
url ^2.5.4
normal
Versions
32.65%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
init_
data_
rs
0.1.2
All Items
Crate Items
Structs
Enums
Functions
Crate
init_data_rs
Copy item path
Source
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
§
Chat
Type
Init
Data
Error
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.