telegram-bot
telegram-bot copied to clipboard
Frankenstein - new telegram client for Rust
It seems this library is not maintained anymore. After struggling with it for some time, I wrote a new library for telegram - Frankenstein:
- it's easy to use
- its types are mapped 1-1 from the telegram API docs
- it has a minimal number of dependencies
- you can use an HTTP client of your choice
There is also Telexide
There is also Telexide
Up for teloxide. However, I do not like that the token is initialized via ENV, I use several telegram bots in one project, and this method does not work very well for me.
I do not like that the token is initialized via ENV
There's a way to initialize the bot without using env variable: instead of Bot::from_env() call Bot::new(token).
However, I like the idea of a minimalistic bot API that doesn't bring a lot of dependencies.
Can someone explain what is the reason to write everything from scratch, even tho this repo not supported anymore? Maybe just fork it and update external links to the new repo?
I use a telegram client in my project used by many users - https://github.com/ayrat555/el_monitorro. So it's important for me to have a stable library. I experienced several downtimes because of telegram-bot
It was easier for me to create a new client.