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