mast / telegram-bot-api

First Telegram Bot API node.js library
http://mast.github.io/telegram-bot-api/
MIT License
246 stars 64 forks source link

Adding webhook #29

Closed HelloWorld017 closed 4 years ago

HelloWorld017 commented 8 years ago

How about adding setting webhook to get updates by webhook?

mast commented 8 years ago

Hey, there is a method for that setWebhook. But in this case you can only set URL, but have to handle updates by yourself. May be it's good idea to add express endpoint to receive updates directly inside API.

somprabhsharma commented 7 years ago

Any update on setting webhook ?