Reset rating of top peer

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;


Name Type Description
category TopPeerCategory Top peer category
peer InputPeer Peer whose rating should be reset



Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

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).