diff options
Diffstat (limited to 'vendor/gomod.garykim.dev/nc-talk/ocs/message.go')
-rw-r--r-- | vendor/gomod.garykim.dev/nc-talk/ocs/message.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/gomod.garykim.dev/nc-talk/ocs/message.go b/vendor/gomod.garykim.dev/nc-talk/ocs/message.go index 9de28b47..d4766006 100644 --- a/vendor/gomod.garykim.dev/nc-talk/ocs/message.go +++ b/vendor/gomod.garykim.dev/nc-talk/ocs/message.go @@ -43,7 +43,10 @@ const ( ) // TalkRoomMessageData describes the data part of a ocs response for a Talk room message +// +// Error will be set if a message request ran into an error. type TalkRoomMessageData struct { + Error error `json:"-"` Message string `json:"message"` ID int `json:"id"` ActorType ActorType `json:"actorType"` |