Skip to main content

read_conversation

Function read_conversation 

Source
pub fn read_conversation(
    store: &dyn Store,
    agent: Option<&str>,
) -> Result<(String, Conversation), SessionError>
Expand description

The conversation of agent (the main agent when None, found from the logs’ headers alone) of the session in store, folded from that agent’s log only, writing nothing. Returns the agent’s id and its conversation, with ids and made-times kept.

§Errors

As load, or when there is no such agent.