Answer the question
In order to leave comments, you need to log in
Why webhook URL for Telegram bot with parameters is not saved?
For the telegram bot to work, you need to set a webhook url for it. In my case, this url with parameters, one of which is "token=my_bot_token". Found that when using setWebhook, the parameters of this url are cut off.
Instead of https;//my-site.ru?param=1&token=my_bot_token , only https://my-site.ru?param=1
Is this treated somehow?
Answer the question
In order to leave comments, you need to log in
It was necessary to replace the "&" characters when prompted. %26 instead of &.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question