MadelineProtoDocs/old_docs/API_docs_v68/constructors/topPeer.md

644 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

Type: TopPeer

Example:

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

Or, if you're into Lua:

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