MadelineProtoDocs/old_docs/API_docs_v75/constructors/contacts_contacts.md
2019-12-27 17:48:04 +01:00

997 B

title description image
contacts.contacts The current user's contact list and info on users. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: contacts.contacts

Back to constructors index

The current user's contact list and info on users.

Attributes:

Name Type Required Description
contacts Array of Contact Yes Contacts
saved_count int Yes Number of contacts that were saved successfully
users Array of User Yes Users

Type: contacts_Contacts

Example:

$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]];

Or, if you're into Lua:

contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}}