Admin API / Types

ChatChannelViewerState

Object

The caller's relation to a channel. The operations use the same checks.

type ChatChannelViewerState

Fields

FieldTypeDescription
canPostBoolean!
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.
canReadBoolean!
Whether the caller passes the channel read rule. It is false for every channel when chat channels are off.

Returned by