diff options
author | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-02-01 01:30:50 +0300 |
---|---|---|
committer | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-02-01 01:30:50 +0300 |
commit | b0f43441b50387fc045e5ef1288290d8ea52437f (patch) | |
tree | 066d508271a50e385788498a5a936b95df9abf1e /message.go | |
parent | 3467e599acdfc2c4094997a7723126d823c2c3d0 (diff) |
Diffstat (limited to 'message.go')
-rw-r--r-- | message.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,9 +10,9 @@ import ( func sendMessage(responseUrl, origText, text string) error { jm := message{ - Text: origText, - //ResponseType: "in_channel", - Attachments: []Attachment{{Text: text, Color: "#36a64f"}}, + Text: origText, + ResponseType: "in_channel", + Attachments: []attachment{{Text: text, Color: "#36a64f"}}, } b, _ := json.Marshal(jm) |