contacts.toggleTopPeers #

Enable/disable top peers

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
contacts.toggleTopPeers#8514bdda enabled:Bool = Bool;

Parameters #

NameTypeDescription
enabledBoolEnable/disable

Result #

Bool

Only users can use this method #

Top peer rating #

If enabled, the rating of top peers indicates the relevance of a frequently used peer in a certain category (frequently messaged users, frequently used bots, inline bots, frequently visited channels and so on).