---
title: Event Stream Chat Messages Widget
---

The Event Stream Chat Messages widget provides a real-time messaging interface for collaborative communication within an Event Stream. Users can send, edit, delete, and react to messages that stay in sync across all subscribers.

## Widget Name

`WIDGET_EVENT_STREAM_CHAT_MESSAGES` (`"EventStreamChatMessages"`)

**Category**: `data`
**Visible in catalog**: yes

## Configuration

| Property | Type | Required | Description |
|---|---|---|---|
| `eventStreamId` | `string` | Yes | The ID of the Event Stream that owns the chat messages. |
| `collectionName` | `string` | Yes | The custom data type collection name that implements `EventStreamEntry` for this project. |

## Example Configuration

```typescript
// Widget data object for the EventStreamChatMessages widget
const eventStreamChatMessagesWidgetData = {
    eventStreamId: "<event-stream-id>",
    collectionName: "<event-stream-entries-collection-name>"
};
```

## Related

- [Widget System](../../developer/widget-system.md)
