MadelineProtoDocs/old_docs/API_docs_v16/constructors/contacts.importedContacts.md
2020-06-16 17:50:25 +02:00

1.3 KiB

title description image redirect_from
contacts.importedContacts Info on succesfully imported contacts. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/contacts_importedContacts.html

Constructor: contacts.importedContacts

Back to constructors index

Info on succesfully imported contacts.

Attributes:

Name Type Required Description
imported Array of ImportedContact Yes List of succesfully imported contacts
retry_contacts Array of long Yes 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 Array of User Yes List of users

Type: contacts.ImportedContacts

Example:

$contacts.importedContacts = ['_' => 'contacts.importedContacts', 'imported' => [ImportedContact, ImportedContact], 'retry_contacts' => [long, long], 'users' => [User, User]];

Or, if you're into Lua:

contacts.importedContacts={_='contacts.importedContacts', imported={ImportedContact}, retry_contacts={long}, users={User}}