FedericoBruzzone / tdlib-rs

Rust wrapper around the Telegram Database Library 🦀
https://crates.io/crates/tdlib-rs
Apache License 2.0
41 stars 9 forks source link

Flood wait error #11

Closed suprohub closed 11 hours ago

suprohub commented 2 weeks ago

Why i cant login in m accont from app?

i not unlogin like /*// Tell the client to close functions::close(CLIENT_ID.load(Ordering::Relaxed)).await.unwrap();

// Handle the authorization state to wait for the "Closed" state
handle_authorization_state(CLIENT_ID.load(Ordering::Relaxed), auth_rx, run_flag.clone()).await;

// Wait for the previously spawned task to end the execution
handle.await.unwrap();*/

but i think its not a problem for have this error

FedericoBruzzone commented 2 weeks ago

Please, can you export RUST_BACKTRACE=1 and provide me the errors?

suprohub commented 2 weeks ago

i wait and it works, but it strange