P
P
Python Newbie2021-08-22 17:19:41
Computer networks
Python Newbie, 2021-08-22 17:19:41

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

2 answer(s)
K
ky0, 2021-08-22
@ky0

In the Internet.

S
SKEPTIC, 2021-08-22
@pro100chel

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 question

Ask a Question

731 491 924 answers to any question