K
K
kalnin_yuri2020-05-27 18:01:26
PHP
kalnin_yuri, 2020-05-27 18:01:26

How to run a telegram bot in php through a proxy?

There is a bot, it previously worked on a server without a proxy, yesterday the hoster blocked access to the telegram API.

The decision to work through a proxy.

Bought a proxy.

The bot sends a request FROM the site to telegram through a proxy. OK!

The bot DOES NOT send a request from telegram to the site, to the installed webhook.

That is, when I write a message to the bot, it does not knock on the site for information at all. What is the reason? There is HTTPS, everything is ok. Yes, it worked before.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question