Admin API / Types
UpdateChatChannelInput
InputThe channel to change and its new values.
input UpdateChatChannelInputInput fields
| Field | Type | Description |
|---|---|---|
access | ChatChannelAccessInput | Replaces all four rules. Omitted: the rules do not change. |
chatChannelId | ID! | The ID of a channel that the caller sees (Query.chatChannel). |
description | String | Null clears it; omitted keeps it. |
expectedAccess | ChatChannelAccessInput | The four rules that the caller read in ChatChannel.access. When the stored rules differ, the call returns ChatChannelAccessChangedError and writes nothing. Omitted or null: no check. |
name | NonEmptyString | The display name. Leading and trailing spaces are removed. A different name also changes the slug and the channel URL. Omitted: the name and slug do not change. |