Closed seguidor777 closed 3 years ago
The reply is late, I think the problem should be caused by the mismatch between the current version of crate and tdlib.
The more information you can read this issue https://github.com/tdlib/td/issues/1419
I will be adapting to the new version recently, and I look forward to solving these problems
This is caused by another question, the data type is number, but returned data is string
will fix the next version
Great, thanks!
The new version released https://crates.io/crates/telegram-client
There are some api changes, you need upgrade your project. follow examples. Now the telegram-client support use async api in event handler.
In addition, it is recommended that you modify your dependencies as
telegram-client = "=1.7.1"
rtdlib = "=1.7.1"
More informations: https://github.com/fewensa/telegram-client#version
Awesome, will do, and come back to you if I find something. Thanks for your support
Hello,
I'm trying this telegram client crate and when I run my program it shows many errors related to the json serialization. The versions that I'm using are Rust 1.52.1, tdlib v1.7.0 (I checked out this tag) and I have these crates in my Cargo.toml: telegram-client = "1.7.0" rtdlib = "1.7.*"
These are the errors and they're shown on every start up:
I'm posting the errors as suggested in the logs. Please let me know if I need to use specific version in order to silence these message. I think this is some sort of incompatibility between versions.