MadelineProtoDocs/old_docs/API_docs_v57/constructors/topPeer.md
2019-12-27 17:48:04 +01: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}