X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/5a63b5419fc109c8eede318dba096571161165a4..cf07512d2403cd428959f96840ee923a606d78d9:/client/src/jsonrpc.rs diff --git a/client/src/jsonrpc.rs b/client/src/jsonrpc.rs index f91be25e..3c8abbbd 100644 --- a/client/src/jsonrpc.rs +++ b/client/src/jsonrpc.rs @@ -135,6 +135,15 @@ pub trait Rpc { #[rpc(name = "sendContacts", params = "named")] fn send_contacts(&self, account: Option) -> Result; + #[rpc(name = "sendPaymentNotification", params = "named")] + fn send_payment_notification( + &self, + account: Option, + recipient: String, + receipt: String, + note: String, + ) -> Result; + #[rpc(name = "sendReaction", params = "named")] fn send_reaction( &self, @@ -263,6 +272,7 @@ pub trait Rpc { #[allow(non_snake_case)] familyName: Option, about: Option, #[allow(non_snake_case)] aboutEmoji: Option, + #[allow(non_snake_case)] mobileCoinAddress: Option, avatar: Option, #[allow(non_snake_case)] removeAvatar: bool, ) -> Result;