contacts.ImportContacts

class pyrogram.raw.functions.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.

Details:
  • Layer: 187

  • ID: 2C800BE5

Parameters:

contacts (List of InputContact) – List of contacts to import

Returns:

contacts.ImportedContacts