summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-04-16 21:48:53 +0200
committerGitHub <noreply@github.com>2020-04-16 21:48:53 +0200
commit13c90893c7d3b757eb77541c5ec44489fde5661e (patch)
treeae937c4e2f4021716a5e1412ccb8d9927c52a67c /vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go
parent976fbcd07f61a8d030722a32dfc7ccc9b632399e (diff)
downloadmatterbridge-msglm-13c90893c7d3b757eb77541c5ec44489fde5661e.tar.gz
matterbridge-msglm-13c90893c7d3b757eb77541c5ec44489fde5661e.tar.bz2
matterbridge-msglm-13c90893c7d3b757eb77541c5ec44489fde5661e.zip
Update matterbridge/Rocket.Chat.Go.SDK (#1087)
Diffstat (limited to 'vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go')
-rw-r--r--vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go4
1 files changed, 4 insertions, 0 deletions
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"`