summaryrefslogtreecommitdiffstats
path: root/model/slack_attachment.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/slack_attachment.go')
-rw-r--r--model/slack_attachment.go3
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 {