get_saved_contacts()

async Client.get_saved_contacts()

Get list of saved phone contacts.

Usable by Users Bots
Returns:

List of SavedPhoneContact – On success, a list of saved phone contacts is returned.

Example

saved = await app.get_saved_contacts()
for contact in saved:
    print(contact.phone, contact.first_name, contact.last_name)