diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-08-09 17:59:16 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-08-09 17:59:16 +0300 |
commit | 3da482d48583a697e9cd0dab44d3147c9bc19387 (patch) | |
tree | db4c7e70185fe731abe66c8b59ebc7d3b28adca2 /models.go | |
parent | b87e42f3294318244deae8126b3ac18d543fd3d7 (diff) |
fix raw attachmentsv0.2.1
Diffstat (limited to 'models.go')
-rw-r--r-- | models.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |