MadelineProto/docs/API_docs/constructors/contacts_resolvedPeer.md
2017-07-23 16:33:46 +02:00

906 B

title description
contacts.resolvedPeer contacts_resolvedPeer attributes, type and example

Constructor: contacts.resolvedPeer

Back to constructors index

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}}