contacts.Contacts#

class pyrogram.raw.types.contacts.Contacts#

The current user’s contact list and info on users.

Constructor of Contacts.

Details:
  • Layer: 158

  • ID: EAE87E42

Parameters:
  • contacts (List of Contact) – Contact list.

  • saved_count (int 32-bit) – Number of contacts that were saved successfully.

  • users (List of User) – User list.

Functions:

This object can be returned by 1 function.

contacts.GetContacts

Returns the current user's contact list.