# Chat_UpdateChannelInput

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/inputs/chat-update-channel-input


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

What to update on the message

```graphql
input Chat_UpdateChannelInput {
  description: String
  imageUrl: String
  name: String
  enabledInteractions: [Chat_ChannelInteractionType!]
  interactionsOrder: [Chat_ChannelInteractionType!]
  interactionsConfig: [Chat_ChannelInteractionConfigInput!]
  translations: [Chat_ChannelTranslationInput!]
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>Chat_UpdateChannelInput.<b>description</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Send undefined to leave as is, or null to remove
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_UpdateChannelInput.<b>imageUrl</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Send undefined to leave as is, or null to remove
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_UpdateChannelInput.<b>name</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Send undefined to leave as is, or a boolean to change his value, null is not allowed
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_UpdateChannelInput.<b>enabledInteractions</b></code>](#)<Bullet />[`[Chat_ChannelInteractionType!]`](/organizer/content-api/graphql-event-api-schema/enums/chat-channel-interaction-type) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="enum"/> 
> 
> 
> @deprecated use interactionsConfig instead - Update the enabled interactions and their order
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_UpdateChannelInput.<b>interactionsOrder</b></code>](#)<Bullet />[`[Chat_ChannelInteractionType!]`](/organizer/content-api/graphql-event-api-schema/enums/chat-channel-interaction-type) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="enum"/> 
> 
> 
> @deprecated use interactionsConfig instead - Update the enabled interactions and their order
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_UpdateChannelInput.<b>interactionsConfig</b></code>](#)<Bullet />[`[Chat_ChannelInteractionConfigInput!]`](/organizer/content-api/graphql-event-api-schema/inputs/chat-channel-interaction-config-input) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_UpdateChannelInput.<b>translations</b></code>](#)<Bullet />[`[Chat_ChannelTranslationInput!]`](/organizer/content-api/graphql-event-api-schema/inputs/chat-channel-translation-input) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> Translations for channel meta fields like name
> 

### Member Of

[`updateChatroom`](/organizer/content-api/graphql-event-api-schema/mutations/update-chatroom)  <Badge class="badge badge--secondary" text="mutation"/>
