Class: SimpleChatStore<AdditionalMessageOptions>
Extends
BaseChatStore
<AdditionalMessageOptions
>
Type Parameters
• AdditionalMessageOptions extends object
= object
Constructors
new SimpleChatStore()
new SimpleChatStore<
AdditionalMessageOptions
>():SimpleChatStore
<AdditionalMessageOptions
>
Returns
SimpleChatStore
<AdditionalMessageOptions
>
Inherited from
Methods
addMessage()
addMessage(
key
,message
,idx
?):void
Parameters
• key: string
• message: ChatMessage
<AdditionalMessageOptions
>
• idx?: number
Returns
void
Overrides
Defined in
packages/core/storage/chat-store/dist/index.d.ts:16
deleteMessage()
deleteMessage(
key
,idx
):void
Parameters
• key: string
• idx: number
Returns
void
Overrides
Defined in
packages/core/storage/chat-store/dist/index.d.ts:18
deleteMessages()
deleteMessages(
key
):void
Parameters
• key: string
Returns
void
Overrides
Defined in
packages/core/storage/chat-store/dist/index.d.ts:17
getKeys()
getKeys():
MapIterator
<string
>