MadelineProtoDocs/docs/API_docs/constructors/contacts.contacts.md
2024-05-01 14:53:46 +02:00

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]];
```