# Chat_ChannelInteractionConfigInterface

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/interfaces/chat-channel-interaction-config-interface


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>
  );
};

No description

```graphql
interface Chat_ChannelInteractionConfigInterface {
  type: Chat_ChannelInteractionType!
  enabled: Boolean!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>Chat_ChannelInteractionConfigInterface.<b>type</b></code>](#)<Bullet />[`Chat_ChannelInteractionType!`](/organizer/content-api/graphql-event-api-schema/enums/chat-channel-interaction-type) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="enum"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_ChannelInteractionConfigInterface.<b>enabled</b></code>](#)<Bullet />[`Boolean!`](/organizer/content-api/graphql-event-api-schema/scalars/boolean) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

### Implemented By

[`Chat_ChannelInteractionChatConfig`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel-interaction-chat-config)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_ChannelInteractionEmbeddedWebviewConfig`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel-interaction-embedded-webview-config)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_ChannelInteractionPollsConfig`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel-interaction-polls-config)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_ChannelInteractionQuestionsConfig`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel-interaction-questions-config)  <Badge class="badge badge--secondary" text="object"/>
