diff options
author | Wim <wim@42.be> | 2020-04-16 21:48:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 21:48:53 +0200 |
commit | 13c90893c7d3b757eb77541c5ec44489fde5661e (patch) | |
tree | ae937c4e2f4021716a5e1412ccb8d9927c52a67c /vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models | |
parent | 976fbcd07f61a8d030722a32dfc7ccc9b632399e (diff) | |
download | matterbridge-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')
-rw-r--r-- | vendor/github.com/matterbridge/Rocket.Chat.Go.SDK/models/message.go | 4 |
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"` |