GetTopPeers

class pyrogram.api.functions.contacts.GetTopPeers
LAYER

100

ID

0xd4982db5

Parameters
  • offsetint 32-bit

  • limitint 32-bit

  • hashint 32-bit

  • correspondents (optional) – bool

  • bots_pm (optional) – bool

  • bots_inline (optional) – bool

  • phone_calls (optional) – bool

  • forward_users (optional) – bool

  • forward_chats (optional) – bool

  • groups (optional) – bool

  • channels (optional) – bool

Returns

Either contacts.TopPeersNotModified, contacts.TopPeers or contacts.TopPeersDisabled