MadelineProtoDocs/old_docs/API_docs_v40/constructors/contacts_contacts.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

920 B

title description image
contacts.contacts Contacts https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: contacts.contacts

Back to constructors index

Contacts

Attributes:

Name Type Required Description
contacts Array of Contact Yes Contacts
users Array of User Yes Users

Type: contacts_Contacts

Example:

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

PWRTelegram json-encoded version:

{"_": "contacts.contacts", "contacts": [Contact], "users": [User]}

Or, if you're into Lua:

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