diff options
author | Wim <wim@42.be> | 2017-01-28 00:36:22 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2017-01-28 00:36:22 +0100 |
commit | 482fbac68fde1674577f2ef722773de64416e2d8 (patch) | |
tree | 3b87950a74b4c3f0413b275ca151ad49a2e950f8 /vendor/github.com/nlopes/slack/chat.go | |
parent | dcccd434276c0e7e263e7567af63d6afd2712507 (diff) | |
download | matterbridge-msglm-482fbac68fde1674577f2ef722773de64416e2d8.tar.gz matterbridge-msglm-482fbac68fde1674577f2ef722773de64416e2d8.tar.bz2 matterbridge-msglm-482fbac68fde1674577f2ef722773de64416e2d8.zip |
Update vendor (slack)
Diffstat (limited to 'vendor/github.com/nlopes/slack/chat.go')
-rw-r--r-- | vendor/github.com/nlopes/slack/chat.go | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/vendor/github.com/nlopes/slack/chat.go b/vendor/github.com/nlopes/slack/chat.go index 52a3420f..120c6be7 100644 --- a/vendor/github.com/nlopes/slack/chat.go +++ b/vendor/github.com/nlopes/slack/chat.go @@ -29,18 +29,18 @@ type chatResponseFull struct { // PostMessageParameters contains all the parameters necessary (including the optional ones) for a PostMessage() request type PostMessageParameters struct { - Text string - Username string - AsUser bool - Parse string - LinkNames int - Attachments []Attachment - UnfurlLinks bool - UnfurlMedia bool - IconURL string - IconEmoji string - Markdown bool `json:"mrkdwn,omitempty"` - EscapeText bool + Text string `json:"text"` + Username string `json:"user_name"` + AsUser bool `json:"as_user"` + Parse string `json:"parse"` + LinkNames int `json:"link_names"` + Attachments []Attachment `json:"attachments"` + UnfurlLinks bool `json:"unfurl_links"` + UnfurlMedia bool `json:"unfurl_media"` + IconURL string `json:"icon_url"` + IconEmoji string `json:"icon_emoji"` + Markdown bool `json:"mrkdwn,omitempty"` + EscapeText bool `json:"escape_text"` } // NewPostMessageParameters provides an instance of PostMessageParameters with all the sane default values set |