integram icon indicating copy to clipboard operation
integram copied to clipboard

Can't use underscore in text with Horn.

Open Rishats opened this issue 5 years ago • 1 comments

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

Rishats avatar Apr 08 '19 13:04 Rishats

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...

tiagoshibata avatar Apr 12 '19 21:04 tiagoshibata