MCPcopy
hub / github.com/mattermost/mattermost / ChannelMember

Struct ChannelMember

server/public/model/channel_member.go:54–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54type ChannelMember struct {
55 ChannelId string `json:"channel_id"`
56 UserId string `json:"user_id"`
57 Roles string `json:"roles"`
58 LastViewedAt int64 `json:"last_viewed_at"`
59 MsgCount int64 `json:"msg_count"`
60 MentionCount int64 `json:"mention_count"`
61 MentionCountRoot int64 `json:"mention_count_root"`
62 UrgentMentionCount int64 `json:"urgent_mention_count"`
63 MsgCountRoot int64 `json:"msg_count_root"`
64 NotifyProps StringMap `json:"notify_props"`
65 LastUpdateAt int64 `json:"last_update_at"`
66 SchemeGuest bool `json:"scheme_guest"`
67 SchemeUser bool `json:"scheme_user"`
68 SchemeAdmin bool `json:"scheme_admin"`
69 ExplicitRoles string `json:"explicit_roles"`
70 AutoTranslationDisabled bool `json:"autotranslation_disabled"`
71}
72
73func (o *ChannelMember) Auditable() map[string]any {
74 return map[string]any{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected