diff --git a/Retrieving-an-entity.md b/Retrieving-an-entity.md index 2119a21..d6d61cc 100644 --- a/Retrieving-an-entity.md +++ b/Retrieving-an-entity.md @@ -32,11 +32,7 @@ If the user you want to talk to is a contact, you can use [`GetContactsRequest`] from telethon.tl.functions.contacts import GetContactsRequest from telethon.tl.types.contacts import Contacts -# `.sign_in()ยด returns your User, otherwise use: -self_user = client.get_me() - -# Even an empty hash for GetContactsRequest seems to work -contacts = client(GetContactsRequest(self_user.access_hash)) +contacts = client(GetContactsRequest(0)) if isinstance(contacts, Contacts): users = contacts.users contacts = contacts.contacts