Telegram Webhook

I have read all topics on this argument in the last few days, both on this community and outside on the web: can’t get telegram bot to work.

  • I have a fullchain certificate verificated by ssl labs
  • Can correctly connect to zammad with https from wan
  • Can correctly add my telegram bot on zammad but can’t receive message

I even tried to create a manual webhook url on zammad and give it to the bot with

`curl -F 
"url=https://<YOURDOMAIN.EXAMPLE>/<WEBHOOKLOCATION>" 
https://api.telegram.org/bot<YOURTOKEN>/setWebhook`

but to no avail sadly, it continue to gives me

{"ok":true,"result":{"url":"https://mydomain.com","has_custom_certificate":false,"pending_update_count":9,"last_error_date":1619624062,"last_error_message":"Wrong response from the webhook: 404 Not Found","max_connections":40,"ip_address":"mypublicaddress"}}

solved: I recreated the telegram integration in zammad and now it works flawlessy