P
P
pavlyk2018-02-06 11:11:18
PHP
pavlyk, 2018-02-06 11:11:18

How to specify User agent in Webhook telegram requests?

Hosting began to block requests to the telegram bot (php script) via webhook. the user agent is not specified in the request (although before that everything worked for 4 months ....) how can I specify it? I don’t understand how the
Request is generated not by me, but by the telegram itself
Thank you in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Skobkin, 2018-02-06
@pavlyk

No way.
Write to support, tell them to stop blocking requests from the Telegram API. If they don't stop, change the host.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question