pub async fn lock(
object: Object,
lock_type: &str,
client_sender: &mut Sender<RequestMessage>
) -> Result<CommandResponse<LockResponse>, Error>Expand description
Locks contact’s domains / specific domain
Arguments
object- Contact / domainlock_type- Reason for lockingclient_sender- Reference to the tokio channel into the client