contacts.ResolvedPeer#

class pyrogram.raw.types.contacts.ResolvedPeer#

Resolved peer.

Constructor of ResolvedPeer.

Details:
  • Layer: 158

  • ID: 7F077AD9

Parameters:
  • peer (Peer) – The peer.

  • chats (List of Chat) – Chats.

  • users (List of User) – Users.

Functions:

This object can be returned by 2 functions.

contacts.ResolveUsername

Resolve a @username to get peer info.

contacts.ResolvePhone

Resolve a phone number to get user info, if their privacy settings allow it.