contacts.ImportedContacts#

class pyrogram.raw.types.contacts.ImportedContacts#

Info on successfully imported contacts.

Constructor of ImportedContacts.

Details:
  • Layer: 158

  • ID: 77D01C3B

Parameters:
  • imported (List of ImportedContact) – List of successfully imported contacts.

  • popular_invites (List of PopularContact) – Popular contacts.

  • retry_contacts (List of int 64-bit) – List of contact ids that could not be imported due to system limitation and will need to be imported at a later date.

  • users (List of User) – List of users.

Functions:

This object can be returned by 1 function.

contacts.ImportContacts

Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.