ContactRequest
TL Reference for GetContacts
contacts.getContacts#5dd69e12 hash:long = contacts.Contacts example : hash=-12398745604826 what is hash?
you can pass 0 in first time.
What for second time?
https://core.telegram.org/api/offsets
What is different between 0 and -12398745604826 ?
the code in the documentation is autogenerated.
Wait code. I will throw you
contacts = await client(functions.contacts.GetContactsRequest(hash=0)) total_contacts = len(contacts.contacts)
Good luck =)
Обсуждают сегодня