mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 15:27:20 +01:00
906 B
906 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}}