write


Description:

public override async void write () throws Error

Write session to JSON file. Uses this.fid and to_path() to determine where to write. Serializes the session including messages with history info (timestamp, hidden).

Exceptions:

Error

if write fails