summaryrefslogtreecommitdiffstats
path: root/model/channel_member.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/channel_member.go')
-rw-r--r--model/channel_member.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/model/channel_member.go b/model/channel_member.go
index 4180bb8e6..a607a5059 100644
--- a/model/channel_member.go
+++ b/model/channel_member.go
@@ -18,6 +18,14 @@ const (
CHANNEL_MARK_UNREAD_MENTION = "mention"
)
+type ChannelUnread struct {
+ TeamId string
+ TotalMsgCount int64
+ MsgCount int64
+ MentionCount int64
+ NotifyProps StringMap
+}
+
type ChannelMember struct {
ChannelId string `json:"channel_id"`
UserId string `json:"user_id"`