mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
33 lines
1011 B
Markdown
33 lines
1011 B
Markdown
---
|
|
title: "contacts.contacts"
|
|
description: "The current user's contact list and info on users."
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
redirect_from: /API_docs/constructors/contacts_contacts.html
|
|
---
|
|
# Constructor: contacts.contacts
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
The current user's contact list and info on users.
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|contacts|Array of [Contact](/API_docs/types/Contact.html) | Yes|Contact list|
|
|
|saved\_count|[int](/API_docs/types/int.html) | Yes|Number of contacts that were saved successfully|
|
|
|users|Array of [User](/API_docs/types/User.html) | Yes|User list|
|
|
|
|
|
|
|
|
### Type: [contacts.Contacts](/API_docs/types/contacts.Contacts.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]];
|
|
```
|