Skip to main content

archive_conversation

Function archive_conversation 

Source
pub fn archive_conversation(
    data_dir: &str,
    channel: &str,
    chat_id: i64,
    messages: &[Message],
)
Expand description

Archive the full conversation to a markdown file before compaction. Saved to <data_dir>/groups/<channel>/<chat_id>/conversations/<timestamp>.md.