contacts.getTopPeers
Get most used peers
| Name | Type | Required | Description |
|---|---|---|---|
correspondents | true | No | Users we've chatted most frequently with |
bots_pm | true | No | Most used bots |
bots_inline | true | No | Most used inline bots |
phone_calls | true | No | Most frequently called users |
forward_users | true | No | Users to which the users often forwards messages to |
forward_chats | true | No | Chats to which the users often forwards messages to |
groups | true | No | Often-opened groups and supergroups |
channels | true | No | Most frequently visited channels |
bots_app | true | No | Most frequently used [Main Mini Bot Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps). |
bots_guestchat | true | No | Most frequently used [guest bots »](https://core.telegram.org/api/bots/guest-mode.md) |
offset | int | Yes | Offset for [pagination](https://core.telegram.org/api/offsets.md) |
limit | int | Yes | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
hash | long | Yes | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation) |
Replies
contacts.TopPeers
MTProto RPC
- 400 · TYPES_EMPTY — No top peer type was provided.