Skip to main content

View as Markdown · AI documentation index

Type Alias: MessengerOptions

MessengerOptions = ChatCallbacks & object

Defined in: messenger.ts:13

Options accepted by defineMessenger.

Type Declaration​

chats?​

optional chats: Chat[]

Chats this messenger manages.

Remarks​

Optional: every chat created with defineChat() is managed anyway. Pass it to fix the order of the chat list.

seenStore?​

optional seenStore: SeenStore

Where the cross-save seen record lives.

Remarks​

Defaults to the engine's settings table. Pass createMemorySeenStore() to opt out of cross-save tracking, or your own implementation to persist it elsewhere.