pub fn append_message_with_options( storage_root: &Path, id: &str, role: Role, content: &str, reply_to_fragment: Option<String>, source: Option<String>, ) -> Result<u64, ChatError>