Update json-rpc client

This commit is contained in:
AsamK 2022-05-21 12:10:51 +02:00
parent 5a63b5419f
commit cf07512d24
5 changed files with 61 additions and 4 deletions

View file

@ -147,6 +147,15 @@ async fn main() -> Result<(), anyhow::Error> {
.await
}
cli::CliCommands::SendContacts => client.send_contacts(cli.account).await,
cli::CliCommands::SendPaymentNotification {
recipient,
receipt,
note,
} => {
client
.send_payment_notification(cli.account, recipient, receipt, note)
.await
}
cli::CliCommands::SendReaction {
recipient,
group_id,
@ -309,6 +318,7 @@ async fn main() -> Result<(), anyhow::Error> {
family_name,
about,
about_emoji,
mobile_coin_address,
avatar,
remove_avatar,
} => {
@ -319,6 +329,7 @@ async fn main() -> Result<(), anyhow::Error> {
family_name,
about,
about_emoji,
mobile_coin_address,
avatar,
remove_avatar,
)