Link Search Menu Expand Document

Constructor: contacts.found

Back to constructors index

Users found by name substring and auxiliary data.

Attributes:

NameTypeRequiredDescription
my_resultsArray of PeerYesPersonalized results
resultsArray of PeerYesList of found user identifiers
chatsArray of ChatYesFound chats
usersArray of UserYesList of users

Type: contacts.Found

Example:

$contacts_found = ['_' => 'contacts.found', 'my_results' => [Peer, Peer], 'results' => [Peer, Peer], 'chats' => [Chat, Chat], 'users' => [User, User]];