Deletes a contact from the contact list.
Object with contact identifiers
Optional
Contact LID (for username contacts)
Contact phone number as Wid (for regular contacts)
Contact username (for username contacts)
WAWebDeleteContactAction >= 2.3000.1030110621
// Delete regular contact by phone numberawait deleteContactActionV2({ phoneNumber: wid });// Delete username contactawait deleteContactActionV2({ username: 'john', lid: '123' }); Copy
// Delete regular contact by phone numberawait deleteContactActionV2({ phoneNumber: wid });// Delete username contactawait deleteContactActionV2({ username: 'john', lid: '123' });
Deletes a contact from the contact list.