mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Add sendMessageRequestResponse command
This commit is contained in:
parent
2c0ad7feb7
commit
d84362eb0f
11 changed files with 210 additions and 0 deletions
|
@ -277,6 +277,14 @@ pub enum CliCommands {
|
|||
#[arg(short = 's', long)]
|
||||
stop: bool,
|
||||
},
|
||||
SendMessageRequestResponse {
|
||||
recipient: Vec<String>,
|
||||
|
||||
#[arg(short = 'g', long = "group-id")]
|
||||
group_id: Vec<String>,
|
||||
|
||||
r#type: MessageRequestResponseType,
|
||||
},
|
||||
SetPin {
|
||||
pin: String,
|
||||
},
|
||||
|
@ -447,3 +455,10 @@ pub enum GroupPermission {
|
|||
EveryMember,
|
||||
OnlyAdmins,
|
||||
}
|
||||
|
||||
#[derive(ValueEnum, Clone, Debug)]
|
||||
#[value(rename_all = "kebab-case")]
|
||||
pub enum MessageRequestResponseType {
|
||||
Accept,
|
||||
Delete,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue