contacts.getTopPeers
获取最常用的同行
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
correspondents | true | 否 | 我们最常聊天的用户 |
bots_pm | true | 否 | 最常用的机器人 |
bots_inline | true | 否 | 最常用的内联机器人 |
phone_calls | true | 否 | 最常呼叫的用户 |
forward_users | true | 否 | 用户经常向其转发消息的用户 |
forward_chats | true | 否 | 用户经常转发消息的聊天室 |
groups | true | 否 | 经常开放的团体和超级团体 |
channels | true | 否 | 最常访问的频道 |
bots_app | true | 否 | 最常用的[主要迷你机器人应用程序](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)。 |
bots_guestchat | true | 否 | 最常用的[访客机器人»](https://core.telegram.org/api/bots/guest-mode.md) |
offset | int | 是的 | [分页](https://core.telegram.org/api/offsets.md)]的偏移量 |
limit | int | 是的 | 返回结果的最大数量,[参见分页](https://core.telegram.org/api/offsets.md) |
hash | long | 是的 | [用于缓存的哈希,更多信息请点击这里](https://core.telegram.org/api/offsets.md#hash-generation) |
回应
contacts.TopPeers
MTProto RPC
- 400 · TYPES_EMPTY — 未提供顶级对等类型。