X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/3be1c24b1b18115becfaef1e2ea82c914a1fefea..7cf3a989bf47dd81f8700dcfb6986ac81e1bf02e:/client/src/jsonrpc.rs diff --git a/client/src/jsonrpc.rs b/client/src/jsonrpc.rs index cb1b4f8c..211eaad8 100644 --- a/client/src/jsonrpc.rs +++ b/client/src/jsonrpc.rs @@ -45,7 +45,24 @@ pub trait Rpc { account: Option, id: String, recipient: Option, - group_id: Option, + #[allow(non_snake_case)] groupId: Option, + ) -> Result; + + #[method(name = "getAvatar", param_kind = map)] + fn get_avatar( + &self, + account: Option, + contact: Option, + profile: Option, + #[allow(non_snake_case)] groupId: Option, + ) -> Result; + + #[method(name = "getSticker", param_kind = map)] + fn get_sticker( + &self, + account: Option, + #[allow(non_snake_case)] packId: String, + #[allow(non_snake_case)] stickerId: u32, ) -> Result; #[method(name = "getUserStatus", param_kind = map)]