mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
parent
c924d5c03a
commit
7c7fc76a64
8 changed files with 21 additions and 0 deletions
|
@ -179,6 +179,9 @@ pub enum CliCommands {
|
|||
#[arg(short = 'a', long)]
|
||||
attachment: Vec<String>,
|
||||
|
||||
#[arg(long)]
|
||||
view_once: bool,
|
||||
|
||||
#[arg(long)]
|
||||
mention: Vec<String>,
|
||||
|
||||
|
|
|
@ -183,6 +183,7 @@ pub trait Rpc {
|
|||
endSession: bool,
|
||||
message: String,
|
||||
attachments: Vec<String>,
|
||||
view_once: bool,
|
||||
mentions: Vec<String>,
|
||||
textStyle: Vec<String>,
|
||||
quoteTimestamp: Option<u64>,
|
||||
|
|
|
@ -144,6 +144,7 @@ async fn handle_command(
|
|||
end_session,
|
||||
message,
|
||||
attachment,
|
||||
view_once,
|
||||
mention,
|
||||
text_style,
|
||||
quote_timestamp,
|
||||
|
@ -170,6 +171,7 @@ async fn handle_command(
|
|||
end_session,
|
||||
message.unwrap_or_default(),
|
||||
attachment,
|
||||
view_once,
|
||||
mention,
|
||||
text_style,
|
||||
quote_timestamp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue