# Chat_MessageMetaPosition

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/objects/chat-message-meta-position


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

The position of the meta within the textContent

```graphql
type Chat_MessageMetaPosition {
  end: Int!
  start: Int!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>Chat_MessageMetaPosition.<b>end</b></code>](#)<Bullet />[`Int!`](/organizer/content-api/graphql-event-api-schema/scalars/int) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> The position where the meta ends within the textContent
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_MessageMetaPosition.<b>start</b></code>](#)<Bullet />[`Int!`](/organizer/content-api/graphql-event-api-schema/scalars/int) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> The position where the meta begin within the textContent
> 

### Member Of

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