MadelineProtoDocs/old_docs/API_docs_v15/constructors/topPeer.md
2020-06-16 17:50:25 +02:00

722 B

title description image
topPeer Top peer https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: topPeer

Back to constructors index

Top peer

Attributes:

Name Type Required Description
peer Peer Yes Peer
rating double Yes Rating as computer in top peer rating ยป

Type: TopPeer

Example:

$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double];

Or, if you're into Lua:

topPeer={_='topPeer', peer=Peer, rating=double}