ResolveUsername

class pyrogram.raw.functions.contacts.ResolveUsername

Resolve a @username to get peer info.

Details
  • Layer: 126

  • ID: 0xf93ccba3

Parameters

username (str) – @username to resolve.

Returns

contacts.ResolvedPeer – Peer returned after resolving a @username.