Skip to content

Documentation / @imvu/client / ConversationObserveOptions

Interface: ConversationObserveOptions ​

Defined in: packages/client/src/chat/ConversationObserver.ts:9

Properties ​

includeOwn? ​

ts
includeOwn?: boolean;

Defined in: packages/client/src/chat/ConversationObserver.ts:11

Also report messages the logged-in account sent. Default false.


initialConversations? ​

ts
initialConversations?: number;

Defined in: packages/client/src/chat/ConversationObserver.ts:17

How many recent conversations to read at start, to know what is already seen. Default 50. With 0, every conversation counts as new: only messages sent after the observer started are reported.


pollInterval? ​

ts
pollInterval?: number;

Defined in: packages/client/src/chat/ConversationObserver.ts:22

Also re-check recent conversations on this interval (ms), as a safety net for a missed notification. Default 60 s; 0 turns it off.

Released under the MIT License.