Link Search Menu Expand Document

Constructor: contacts.topPeers

Back to constructors index

Top peers

Attributes:

NameTypeRequiredDescription
categoriesArray of TopPeerCategoryPeersYesTop peers by top peer category
chatsArray of ChatYesChats
usersArray of UserYesUsers

Type: contacts.TopPeers

Example:

$contacts_topPeers = ['_' => 'contacts.topPeers', 'categories' => [TopPeerCategoryPeers, TopPeerCategoryPeers], 'chats' => [Chat, Chat], 'users' => [User, User]];