delete_contacts()

Client.delete_contacts()

Delete contacts from your Telegram address book.

Parameters

ids (List of int) – A list of unique identifiers for the target users. Can be an ID (int), a username (string) or phone number (string).

Returns

bool – True on success.

Example

app.delete_contacts([user_id1, user_id2, user_id3])