plumb attachment guids for sendmessage
This commit is contained in:
@@ -177,8 +177,9 @@ impl DaemonCli {
|
||||
conversation_id: String,
|
||||
text: String,
|
||||
) -> Result<()> {
|
||||
let attachment_guids: Vec<&str> = vec![];
|
||||
let outgoing_message_id =
|
||||
KordophoneRepository::send_message(&self.proxy(), &conversation_id, &text)?;
|
||||
KordophoneRepository::send_message(&self.proxy(), &conversation_id, &text, attachment_guids)?;
|
||||
println!("Outgoing message ID: {}", outgoing_message_id);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user