Class: SimpleChatStore
Simple chat store.
Implements
Constructors
constructor
• new SimpleChatStore(): SimpleChatStore
Returns
Properties
store
• store: Object
= {}
Index signature
▪ [key: string
]: ChatMessage
[]
Defined in
packages/core/src/storage/chatStore/SimpleChatStore.ts:8
Methods
addMessage
▸ addMessage(key
, message
): void
Add message.
Parameters
Name | Type |
---|---|
key | string |
message | ChatMessage |
Returns
void