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

1.0 KiB

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
saved_count int Yes Saved count
users Array of User Yes Users

Type: contacts_Contacts

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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