Skip to Content

The MessageBatch type of the TypeScript SDK, which messages.getMany take or answer.

type MessageBatch = {
  messages: Record<string, MessageMeta | null>
}

Fields

FieldTypeDescription
messagesRecord<string, MessageMeta | null>Map of message ID to message metadata

Used by

MethodWhat it does
messages.getManyBatch get message metadata

On this page