contacts.GetContacts

class pyrogram.raw.functions.contacts.GetContacts

Returns the current user’s contact list.

Details:
  • Layer: 187

  • ID: 5DD69E12

Parameters:

hash (int 64-bit) – Hash for pagination, for more info click here.Note that the hash is computed using the usual algorithm, passing to the algorithm first the previously returned contacts.contacts.saved_count field, then max 100000 sorted user IDs from the contact list, including the ID of the currently logged in user if it is saved as a contact. Example: tdlib implementation.

Returns:

contacts.Contacts