Admin API / Types

UpdateChatChannelInput

Input

The channel to change and its new values.

input UpdateChatChannelInput

Input fields

FieldTypeDescription
accessChatChannelAccessInputReplaces all four rules. Omitted: the rules do not change.
chatChannelIdID!The ID of a channel that the caller sees (Query.chatChannel).
descriptionStringNull clears it; omitted keeps it.
expectedAccessChatChannelAccessInputThe 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.
nameNonEmptyStringThe 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.