# Chat_MessageReaction

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


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_MessageReaction {
  name: String!
  channelUsers: [Chat_ChannelUser!]!
  count: Int!
  char: String!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>Chat_MessageReaction.<b>name</b></code>](#)<Bullet />[`String!`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> The name of the reaction
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_MessageReaction.<b>channelUsers</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_MessageReaction.<b>count</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"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>Chat_MessageReaction.<b>char</b></code>](#)<Bullet />[`String!`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> The emoji of the reaction
> 

### Member Of

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