Chip Douglas

Results 3 comments of Chip Douglas

i use following: ``` grammers = { git = "https://github.com/Lonami/grammers.git", branch = "master" } grammers-client = { git = "https://github.com/Lonami/grammers.git", package = "grammers-client", branch = "master" } grammers-session = {...

so how should i transfer it here ``` client.sign_in(&token, code) ``` I got the code, sending it via telegram bot, processing this message, and sending code and token to the...

``` pub(crate) async fn auth_data_processing(bot: Bot, msg: Message, app_state: Arc, mut state: AuthStages) -> anyhow::Result { let user_id = msg.from.as_ref().map(|user| user.id.0).unwrap_or(0); // Check and set client if state.client.is_none() { let...