#[allow(non_snake_case)] groupIds: Vec<String>,
) -> Result<Value>;
+ #[rpc(name = "deleteLocalAccountData", params = "named")]
+ fn delete_local_account_data(
+ &self,
+ account: Option<String>,
+ #[allow(non_snake_case)] ignoreRegistered: Option<bool>,
+ ) -> Result<Value>;
+
#[rpc(name = "getUserStatus", params = "named")]
fn get_user_status(&self, account: Option<String>, recipients: Vec<String>) -> Result<Value>;
fn list_accounts(&self) -> Result<Value>;
#[rpc(name = "listContacts", params = "named")]
- fn list_contacts(&self, account: Option<String>) -> Result<Value>;
+ fn list_contacts(
+ &self,
+ account: Option<String>,
+ recipients: Vec<String>,
+ #[allow(non_snake_case)] allRecipients: bool,
+ blocked: Option<bool>,
+ name: Option<String>,
+ ) -> Result<Value>;
#[rpc(name = "listDevices", params = "named")]
fn list_devices(&self, account: Option<String>) -> Result<Value>;
#[rpc(name = "listGroups", params = "named")]
- fn list_groups(&self, account: Option<String>) -> Result<Value>;
+ fn list_groups(
+ &self,
+ account: Option<String>,
+ #[allow(non_snake_case)] groupIds: Vec<String>,
+ ) -> Result<Value>;
#[rpc(name = "listIdentities", params = "named")]
fn list_identities(&self, account: Option<String>, number: Option<String>) -> Result<Value>;
#[allow(non_snake_case)] quoteMessage: Option<String>,
#[allow(non_snake_case)] quoteMention: Vec<String>,
sticker: Option<String>,
+ #[allow(non_snake_case)] storyTimestamp: Option<u64>,
+ #[allow(non_snake_case)] storyAuthor: Option<String>,
) -> Result<Value>;
#[rpc(name = "sendContacts", params = "named")]
fn send_contacts(&self, account: Option<String>) -> Result<Value>;
+ #[rpc(name = "sendPaymentNotification", params = "named")]
+ fn send_payment_notification(
+ &self,
+ account: Option<String>,
+ recipient: String,
+ receipt: String,
+ note: String,
+ ) -> Result<Value>;
+
#[rpc(name = "sendReaction", params = "named")]
fn send_reaction(
&self,
#[allow(non_snake_case)] targetAuthor: String,
#[allow(non_snake_case)] targetTimestamp: u64,
remove: bool,
+ story: bool,
) -> Result<Value>;
#[rpc(name = "sendReceipt", params = "named")]
#[allow(non_snake_case)] familyName: Option<String>,
about: Option<String>,
#[allow(non_snake_case)] aboutEmoji: Option<String>,
+ #[allow(non_snake_case)] mobileCoinAddress: Option<String>,
avatar: Option<String>,
#[allow(non_snake_case)] removeAvatar: bool,
) -> Result<Value>;