I have an endpoint that I run using curl command
curl -X POST https://example.com/control -d "channel=X&turn=XXX&id=XXXXXX&auth_key=XXXXX"
I want to bind between Telegram Webhook and that POST , so each time my Telegram bot will get a message it POST to that URL
I tried to register a Telegram webhook:
https://api.telegram.org/bot<telegram_token>/setWebhook?url=https://example.com/control?channel=X&turn=XXX&id=XXXXXX&auth_key=XXXXX
But then I see that the POST sent only for
https://example.com/control?channel=X
Is there a way to attach more data using Telegram webhook?