contacts.ResolveUsername#

class pyrogram.raw.functions.contacts.ResolveUsername#

Resolve a @username to get peer info

Details:
  • Layer: 198

  • ID: 725AFBBC

Parameters:
  • username (str) – @username to resolve

  • referer (str, optional) – Referrer ID from referral links ».

Returns:

contacts.ResolvedPeer