# contacts.toggleTopPeers

Enable/disable [top peers](/api/top-rating.md)

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

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **enabled** | [Bool](/type/Bool.md) | Enable/disable |

### Result
[Bool](/type/Bool.md)

### Only users can use this method

### Related pages

#### [Top peer rating](/api/top-rating.md)
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).