mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 08:16:54 +01:00
909 B
909 B
title | description |
---|---|
contacts.resolvedPeer | contacts_resolvedPeer attributes, type and example |
Constructor: contacts.resolvedPeer
Attributes:
Name | Type | Required |
---|---|---|
peer | Peer | Yes |
chats | Array of Chat | Yes |
users | Array of User | Yes |
Type: contacts_ResolvedPeer
Example:
$contacts_resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat], 'users' => [User], ];
PWRTelegram json-encoded version:
{"_":"contacts.resolvedPeer","peer":"Peer","chats":["Chat"],"users":["User"]}
Or, if you're into Lua:
contacts_resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}, }