aboutsummaryrefslogtreecommitdiff
path: root/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models.go')
-rw-r--r--models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models.go b/models.go
index 7dc79e1..000d520 100644
--- a/models.go
+++ b/models.go
@@ -356,7 +356,7 @@ type MessageBody struct {
Mid string `json:"mid"` // Unique identifier of message
Seq int `json:"seq"` // Sequence identifier of message in chat
Text string `json:"text,omitempty"` // Message text
- rawAttachments []json.RawMessage `json:"attachments"` // Message attachments. Could be one of `Attachment` type. See description of this schema
+ RawAttachments []json.RawMessage `json:"attachments"` // Message attachments. Could be one of `Attachment` type. See description of this schema
Attachments []interface{}
ReplyTo string `json:"reply_to,omitempty"` // In case this message is reply to another, it is the unique identifier of the replied message
}