requilence / integram

Integrate Telegram into your workflow – Trello, Gitlab, Bitbucket and other bots
https://integram.org
GNU General Public License v3.0
1.54k stars 151 forks source link

Can't use underscore in text with Horn. #80

Open Rishats opened 5 years ago

Rishats commented 5 years ago

curl -X POST -d '{"text":"go_"}' https://integram.org/webhook/cCgdv61sIpx This request return 200 status, but not send data in to telegram.

curl -X POST -d '{"text":"go"}' https://integram.org/webhook/cCgdv62sIpz Work fine.

horn

tiagoshibata commented 5 years ago

Just FYI: Horn uses the Slack syntax, which doesn't allow a single underscore (underscores are used for bold text). If you want to disable markup, use:

 curl -X POST -d '{
    "text": "go_",
    "mrkdwn": false
}' https://integram.org/webhook/<your ID>

Though I agree that it shouldn't return 200 if communication with Slack fails...