From 13c90893c7d3b757eb77541c5ec44489fde5661e Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 16 Apr 2020 21:48:53 +0200 Subject: Update matterbridge/Rocket.Chat.Go.SDK (#1087) --- vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models') diff --git a/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go b/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go index 8be3e3b6..0c5e9b01 100644 --- a/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go +++ b/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go @@ -7,6 +7,7 @@ type Message struct { RoomID string `json:"rid"` Msg string `json:"msg"` EditedBy string `json:"editedBy,omitempty"` + Type string `json:"t,omitempty"` Groupable bool `json:"groupable,omitempty"` @@ -16,6 +17,9 @@ type Message struct { Mentions []User `json:"mentions,omitempty"` User *User `json:"u,omitempty"` + + Attachments []Attachment `json:"attachments,omitempty"` + PostMessage // Bot interface{} `json:"bot"` -- cgit v1.2.3