So. I put curl in the crowdsec container and ran the command to send a message from the container
curl -s -o /dev/null -X POST -H "Content-Type: application/json" -d "{\"chat_id\": \"{-MY_ID}\", \"text\": \"test_message\", \"disable_notification\": false}" https://api.telegram.org/bot{MY_TOKEN}/sendMessage
And everything went perfectly, the message came to my telegram
So from the container itself, everything works