delete_contacts_by_phones()

async Client.delete_contacts_by_phones()

Delete contacts by phone number.

Usable by Users Bots
Parameters:

phones (List of str) – Phone numbers to delete from contacts.

Returns:

bool – On success, True is returned.

Example

await app.delete_contacts_by_phones(["+1234567890", "+9876543210"])