mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
contacts.found | Users found by name substring and auxiliary data. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/contacts_found.html |
Constructor: contacts.found
Users found by name substring and auxiliary data.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
my_results | Array of Peer | Yes | Personalized results |
results | Array of Peer | Yes | List of found user identifiers |
chats | Array of Chat | Yes | Found chats |
users | Array of User | Yes | List of users |
Type: contacts.Found
Example:
$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]];