You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I am playing telegram bot around and find this repo. It is exactly what I need. I noticed there isn't an example of setting webhook on servers with this repo. I think it might be nice if there is a tiny example of how to use this repo with webhook feature.
Thank you.
PS: I write an example and give a PR. I tested it and it works fine on my webhook server.
PPS: I using actix-web 4-beta as my HTTP server, and it uses tokio 1 as its runtime. So the telegram-bot version on cargo (v0.8.0) doesn't work with actix, because it use tokio 0.2. Anyway, the master branch version of telegram-bot (v0.9 I guess?) is totally fine.
The text was updated successfully, but these errors were encountered:
Hi guys, I am playing telegram bot around and find this repo. It is exactly what I need. I noticed there isn't an example of setting webhook on servers with this repo. I think it might be nice if there is a tiny example of how to use this repo with webhook feature.
Thank you.
PS: I write an example and give a PR. I tested it and it works fine on my webhook server.
PPS: I using
actix-web 4-beta
as my HTTP server, and it uses tokio 1 as its runtime. So the telegram-bot version on cargo (v0.8.0) doesn't work with actix, because it use tokio 0.2. Anyway, the master branch version of telegram-bot (v0.9 I guess?) is totally fine.The text was updated successfully, but these errors were encountered: