ImportedContacts

class pyrogram.raw.types.contacts.ImportedContacts

Info on succesfully imported contacts.

Constructor type of ImportedContacts.

Details
  • Layer: 126

  • ID: 0x77d01c3b

Parameters
  • imported (List of ImportedContact) – List of succesfully 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.Parameter added in Layer 13.

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

Methods

This object can be returned by 1 method:

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.