Deletes a contact from the contact list (legacy API).
Parameters
number: string
Phone number string
Returns Promise<void>
Whatsapp
WAWebDeleteContactAction >= 2.3000.0
Whatsapp
~2.3000.1030040369
Deprecated
Since around WhatsApp version 2.3000.1030110621. Use the new object-based API instead.
Use deleteContactActionV2({ phoneNumber: wid }) for regular contacts
or deleteContactActionV2({ username, lid }) for username contacts.
Deletes a contact from the contact list (legacy API).