# Chat_VideoCallRoom

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/objects/chat-video-call-room


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
type Chat_VideoCallRoom {
  id: Chat_UUID!
  participants: [Chat_ChannelUser!]!
  joinVideoCall: Chat_VideoCallJoinData
  url: String @deprecated
  isParticipant: Boolean!
  hasEnded: Boolean!
  createdAt: Chat_DateTime!
  createdBy: Chat_ChannelUser
}
```

### Fields

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

#### [<code style={{ fontWeight: 'normal' }}>Chat_VideoCallRoom.<b>participants</b></code>](#)<Bullet />[`[Chat_ChannelUser!]!`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel-user) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_VideoCallRoom.<b>joinVideoCall</b></code>](#)<Bullet />[`Chat_VideoCallJoinData`](/organizer/content-api/graphql-event-api-schema/unions/chat-video-call-join-data) <Badge class="badge badge--secondary" text="union"/> 
> 
> 
> Use mutation joinVideoCallRoom to get data required to join the call from the provider.
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_VideoCallRoom.<b>url</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--deprecated badge--secondary" text="deprecated"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> :::caution DEPRECATED
> Use joinVideoCall field instead
> :::
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_VideoCallRoom.<b>isParticipant</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"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_VideoCallRoom.<b>hasEnded</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"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_VideoCallRoom.<b>createdAt</b></code>](#)<Bullet />[`Chat_DateTime!`](/organizer/content-api/graphql-event-api-schema/scalars/chat-date-time) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_VideoCallRoom.<b>createdBy</b></code>](#)<Bullet />[`Chat_ChannelUser`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel-user) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

### Member Of

[`Chat_Message`](/organizer/content-api/graphql-event-api-schema/objects/chat-message)  <Badge class="badge badge--secondary" text="object"/>
