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. Use contacts.addContact to add Telegram contacts without actually using their phone number.

Usable by Users Bots
Details:
  • Layer: 224

  • ID: 2C800BE5

Parameters:

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

Returns:

contacts.ImportedContacts