diff options
Diffstat (limited to 'model/outgoing_webhook.go')
-rw-r--r-- | model/outgoing_webhook.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/model/outgoing_webhook.go b/model/outgoing_webhook.go index 477a277de..b00171845 100644 --- a/model/outgoing_webhook.go +++ b/model/outgoing_webhook.go @@ -46,12 +46,13 @@ type OutgoingWebhookPayload struct { } type OutgoingWebhookResponse struct { - Text *string `json:"text"` - Username string `json:"username"` - IconURL string `json:"icon_url"` - Props StringInterface `json:"props"` - Type string `json:"type"` - ResponseType string `json:"response_type"` + Text *string `json:"text"` + Username string `json:"username"` + IconURL string `json:"icon_url"` + Props StringInterface `json:"props"` + Attachments []*SlackAttachment `json:"attachments"` + Type string `json:"type"` + ResponseType string `json:"response_type"` } const OUTGOING_HOOK_RESPONSE_TYPE_COMMENT = "comment" |