get_contacts()

Client.get_contacts()

Get contacts from your Telegram address book.

Returns

List of User – On success, a list of users is returned.

Example

contacts = app.get_contacts()
print(contacts)