load

open fun load(id: String): Conversation?

Load an existing conversation from storage.

For persistent implementations, this restores a conversation with its message history from the backing store. For in-memory implementations, this returns null (nothing to restore).

Return

the conversation if found, null otherwise

Parameters

id

the conversation ID to load