MadelineProtoDocs/old_docs/API_docs_v82/constructors/contacts_contacts.md

41 lines
877 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: contacts.contacts
description: Contacts
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: contacts.contacts
[Back to constructors index](index.md)
Contacts
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|contacts|Array of [Contact](../types/Contact.md) | Yes|Contacts|
|saved\_count|[int](../types/int.md) | Yes|Saved count|
|users|Array of [User](../types/User.md) | Yes|Users|
### Type: [contacts\_Contacts](../types/contacts_Contacts.md)
### Example:
```php
$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact, Contact], 'saved_count' => int, 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
contacts_contacts={_='contacts.contacts', contacts={Contact}, saved_count=int, users={User}}
```