contacts.resetTopPeerRating
Reset rating of top peer
Example
TL schema
Parameters
Name | Type | Description |
category | Top peer category | |
peer | Peer whose rating should be reset |
Result
Possible errors
Code | Type | Description |
400 | PEER_ID_INVALID | The provided peer id is invalid |
Can bots use this methd ?
yes
Related pages
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).
Last updated