Closed Odilbukh closed 1 year ago
Hi! You can either set up a webook (if you have an https domain) or use the get updates method of your bot
When in production, you can use the command line tools that Telegraph provide. Details are here https://defstudio.github.io/telegraph/quickstart/setting-webhook
If you wish to develop locally, you can use a service that will forward the webhook calls to your local machine. I first did this with ngrok, but now I use HookDeck which works great.
Set up HookDeck then set the telgram webhook api with by visiting the following url
I have created telelgram bot, installed webhook and added chat as writen in documentation
https://defstudio.github.io/telegraph/quickstart/new-bot/
So how to get data that comes from bot? How to get updates from webhook? Maybe I need add some routes?