Skip to content

SendTextOptions

Defined in: client-sdk-js/src/types.ts:27

Options when sending a text message.

attachments?: string[];

Defined in: client-sdk-js/src/types.ts:33

Optional file attachment identifiers.


attributes?: Record<string, string>;

Defined in: client-sdk-js/src/types.ts:37

Key-value attributes attached to the stream.


destinationIdentities?: string[];

Defined in: client-sdk-js/src/types.ts:31

Participant identities to send to. If empty, sends to all.


onProgress?: (progress) => void;

Defined in: client-sdk-js/src/types.ts:35

Progress callback (0–1).

number

void


topic?: string;

Defined in: client-sdk-js/src/types.ts:29

Topic identifier used to route the message to appropriate handlers.