aboutsummaryrefslogtreecommitdiff
path: root/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models.go')
-rw-r--r--models.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/models.go b/models.go
index 7ee7888..310baf6 100644
--- a/models.go
+++ b/models.go
@@ -387,7 +387,8 @@ type MessageBody struct {
// Message text
Text string `json:"text"`
// Message attachments. Could be one of `Attachment` type. See description of this schema
- Attachments []Attachment `json:"attachments"`
+ RawAttachments []json.RawMessage `json:"attachments"`
+ Attachments []interface{}
// In case this message is repled to, it is the unique identifier of the replied message
ReplyTo string `json:"reply_to,omitempty"`
}