MadelineProtoDocs/old_docs/API_docs_v8/constructors/contacts.resolvedPeer.md
2020-06-16 17:50:25 +02:00

935 B

title description image redirect_from
contacts.resolvedPeer Resolved peer https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/contacts_resolvedPeer.html

Constructor: contacts.resolvedPeer

Back to constructors index

Resolved peer

Attributes:

Name Type Required Description
peer Peer Yes The peer
chats Array of Chat Yes Chats
users Array of User Yes Users

Type: contacts.ResolvedPeer

Example:

$contacts.resolvedPeer = ['_' => 'contacts.resolvedPeer', 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]];

Or, if you're into Lua:

contacts.resolvedPeer={_='contacts.resolvedPeer', peer=Peer, chats={Chat}, users={User}}