diff options
Diffstat (limited to 'model/channel_member.go')
-rw-r--r-- | model/channel_member.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/model/channel_member.go b/model/channel_member.go index 5de58bc4f..b9a08c769 100644 --- a/model/channel_member.go +++ b/model/channel_member.go @@ -19,11 +19,11 @@ const ( ) type ChannelUnread struct { - TeamId string - TotalMsgCount int64 - MsgCount int64 - MentionCount int64 - NotifyProps StringMap + TeamId string `json:"team_id"` + ChannelId string `json:"channel_id"` + MsgCount int64 `json:"msg_count"` + MentionCount int64 `json:"mention_count"` + NotifyProps StringMap `json:"-"` } type ChannelMember struct { |