-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
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.
fancywriter
Metadata
Metadata
Assignees
Labels
No labels