Interface: BaseChatStore<AdditionalMessageOptions>
Type parameters
• AdditionalMessageOptions extends object
= object
Methods
addMessage()
addMessage(
key
,message
):void
Parameters
• key: string
• message: ChatMessage
<AdditionalMessageOptions
>
Returns
void
Source
packages/core/src/storage/chatStore/types.ts:11
deleteLastMessage()
deleteLastMessage(
key
):null
|ChatMessage
<AdditionalMessageOptions
>
Parameters
• key: string
Returns
null
| ChatMessage
<AdditionalMessageOptions
>