diff options
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.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"` |