Admin API / Types
ChatChannel
ObjectA chat channel and its access rules.
Requires a client key with one of these scopes:admin:chat:readThe requirement applies to every field of ChatChannel unless that field declares its own scopes.
type ChatChannel implements NodeFields
| Field | Type | Description |
|---|---|---|
access | ChatChannelAccess! | Who can read and post in the channel. |
createdAt | DateTime! | When the channel was created. |
description | String | The channel description, or null when it has none. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
messageCount | NonNegativeInt! | Messages that are not deleted and are within retention. |
name | String! | The display name. |
position | NonNegativeInt! | Zero-based position in its section, or among channels with no section. |
section | ChatChannelSection | Null when the channel has no section. Channels with no section come after every section. |
slug | Slug! | Changes only when the channel is renamed. |
url | URL! | The channel page on the storefront. |
viewer | ChatChannelViewerState! | The caller's relation to the channel. |