diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/slack_attachment.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/model/slack_attachment.go b/model/slack_attachment.go index d68fe406f..e1639f2af 100644 --- a/model/slack_attachment.go +++ b/model/slack_attachment.go @@ -4,6 +4,7 @@ package model type SlackAttachment struct { + Id int64 `json:"id"` Fallback string `json:"fallback"` Color string `json:"color"` Pretext string `json:"pretext"` @@ -18,7 +19,7 @@ type SlackAttachment struct { ThumbURL string `json:"thumb_url"` Footer string `json:"footer"` FooterIcon string `json:"footer_icon"` - Timestamp int64 `json:"ts"` + Timestamp interface{} `json:"ts"` // This is either a string or an int64 } type SlackAttachmentField struct { |