contacts.ResolveUsername#

class pyrogram.raw.functions.contacts.ResolveUsername#

Resolve a @username to get peer info.

Details:
  • Layer: 158

  • ID: F93CCBA3

Parameters:

username (str) – @username to resolve.

Returns:

contacts.ResolvedPeer