Function sign

Source
pub fn sign(init_data: &str, token: &str) -> Result<String, InitDataError>
Expand description

Sign creates hash for init data using bot token.

ยงErrors

See init_data_rs::parse for possible errors