contacts.getTopPeers
Get most used peers
Example
TL schema
Parameters
Name
Type
Description
flags
correspondents
Users we've chatted most frequently with
bots_pm
Most used bots
bots_inline
Most used inline bots
phone_calls
Most frequently called users
forward_users
Users to which the users often forwards messages to
forward_chats
Chats to which the users often forwards messages to
groups
Often-opened groups and supergroups
channels
Most frequently visited channels
offset
limit
hash
Result
Possible errors
Code
Type
Description
400
TYPES_EMPTY
No top peer type was provided
Can bots use this methd ?
yes
Related pages
How to fetch results from large lists of objects.
Last updated
Was this helpful?