MadelineProtoDocs/old_docs/API_docs_v44/constructors/contacts.importedContacts.md
2019-12-27 18:46:25 +01:00

1.2 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 Imported
retry_contacts Array of long Yes Retry importing contacts whose client IDs appear here
users Array of User Yes 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}}