Answer the question
In order to leave comments, you need to log in
How to connect web hooks?
I'm making a telegram bot on webhooks, but I don't know anything about it. Can you tell me where to get webhooks?
Answer the question
In order to leave comments, you need to log in
Webhooks are one of the ways your bot app can communicate with Telegram.
If you use this method of communication (webhooks), then you need to have a web server that will listen to incoming requests and respond to them. The application should be running behind the same web server.
It can be php or the same python.
You can use nginx as a web server.
And it’s best to change your mind and use ready-made libraries for writing a telegram bot.
There is a great aiogram library in python
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question