contacts.ResolveUsername

class pyrogram.raw.functions.contacts.ResolveUsername

Resolve a @username to get peer info

Details:
  • Layer: 196

  • ID: 725AFBBC

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

  • referer (str, optional) – N/A

Returns:

contacts.ResolvedPeer