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: 126

  • ID: 0x2c800be5

Parameters

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

Returns

contacts.ImportedContacts – Object contains info on succesfully imported contacts.