MessageBatch
The MessageBatch type of the TypeScript SDK, which messages.getMany take or answer.
type MessageBatch = {
messages: Record<string, MessageMeta | null>
}Fields
| Field | Type | Description |
|---|---|---|
messages | Record<string, MessageMeta | null> | Map of message ID to message metadata |
Used by
| Method | What it does |
|---|---|
messages.getMany | Batch get message metadata |