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

934 B

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

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 Contact list
users Array of User Yes User list

Type: contacts.Contacts

Example:

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

Or, if you're into Lua:

contacts.contacts={_='contacts.contacts', contacts={Contact}, users={User}}