grammers
grammers copied to clipboard
(tele)gramme.rs - use Telegram's API from Rust
My country does not allow me to directly access telegram server. Even though it can be deployed to servers in other countries, there are still problems in the development process...
I'm planning to write a long running update command line tool that stores some information in a database each time an update is fetched. After running for about 2-3 hours,...
Right now `.tl` files are compiled to `generated.rs` that is put into cargo's `OUT_DIR` and then included from source code. This breaks rust-analyzer's go-to-definition feature (as it jumps to file...
``` ➜ grammers git:(master) cargo build --all-targets --all-features ... error[E0308]: mismatched types --> /home/mkpankov/work/grammers/target/debug/build/grammers-tl-types-8cc2c88ab04caef6/out/generated.rs:40461:17 | 40429 | impl crate::Deserializable for InitConnection { | - this type parameter ... 40461 |...
I'm seeing `RpcError { name: "FLOOD_WAIT", value: Some(17) }`. I have `flood_sleep_threshold: Some(60),` in my params. I've cloned entire `grammers` repo and only 3 mentions of this field are found...
closes #108
tests are failing due to missing environment variables in examples it might be better to have them as runtime dependencies instead of compile time. additionally having those critical information in...
add rustdoc documentation for tl-types so it will be easier to find out methods and constructors description
If there's a plan or something, maybe I can help with the PR.
Implement Send for Client. For used with tokio::spawn. Becuse used Mutex for Client data, this can be implement. I don`t sure how to do this rigth. Minimal code: ```Rust use...