| 52 | } |
| 53 | |
| 54 | type 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 | |
| 73 | func (o *ChannelMember) Auditable() map[string]any { |
| 74 | return map[string]any{ |
nothing calls this directly
no outgoing calls
no test coverage detected