Method to add a new message to the Firestore collection. The message is passed as a BaseMessage object.
The message to be added as a BaseMessage object.
Method to retrieve all messages from the Firestore collection associated with the current session. Returns an array of BaseMessage objects.
Array of stored messages
Generated using TypeDoc
Class for managing chat message history using Google's Firestore as a storage backend. Extends the BaseListChatMessageHistory class.
Example