SendTextOptions
Defined in: client-sdk-js/src/types.ts:27
Options when sending a text message.
Properties
Section titled “Properties”attachments?
Section titled “attachments?”attachments?: string[];Defined in: client-sdk-js/src/types.ts:33
Optional file attachment identifiers.
attributes?
Section titled “attributes?”attributes?: Record<string, string>;Defined in: client-sdk-js/src/types.ts:37
Key-value attributes attached to the stream.
destinationIdentities?
Section titled “destinationIdentities?”destinationIdentities?: string[];Defined in: client-sdk-js/src/types.ts:31
Participant identities to send to. If empty, sends to all.
onProgress?
Section titled “onProgress?”onProgress?: (progress) => void;Defined in: client-sdk-js/src/types.ts:35
Progress callback (0–1).
Parameters
Section titled “Parameters”progress
Section titled “progress”number
Returns
Section titled “Returns”void
topic?
Section titled “topic?”topic?: string;Defined in: client-sdk-js/src/types.ts:29
Topic identifier used to route the message to appropriate handlers.