Admin API / Types
ChatChannelViewerState
ObjectThe caller's relation to a channel. The operations use the same checks.
type ChatChannelViewerStateFields
| Field | Type | Description |
|---|---|---|
canPost | Boolean! | Whether postChatMessage without mentionEveryone passes the channel write rule for the caller: the read rule, an ACTIVE membership that can chat, no chat ban or shadow ban, an account old enough for the store, and the channel's write role. |
canRead | Boolean! | Whether the caller passes the channel read rule. It is false for every channel when chat channels are off. |