MadelineProto/old_docs/API_docs_v71/constructors/contacts_resolvedPeer.md
2017-10-14 09:50:46 +00: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}}