pub fn sign(
payload: HashMap<String, String>,
bot_token: String,
auth_time: SystemTime,
) -> Result<String, SignError>
Expand description
Sign signs passed payload using specified key. Function removes such technical parameters as “hash” and “auth_date”.