Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question