client: Started working on ability to sync messages after last known message
This commit is contained in:
@@ -77,7 +77,7 @@ impl ClientCli {
|
||||
}
|
||||
|
||||
pub async fn print_messages(&mut self, conversation_id: String) -> Result<()> {
|
||||
let messages = self.api.get_messages(&conversation_id).await?;
|
||||
let messages = self.api.get_messages(&conversation_id, None, None, None).await?;
|
||||
for message in messages {
|
||||
println!("{}", MessagePrinter::new(&message.into()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user