Username

class pyrogram.types.Username

A Username.

Parameters:
  • username (String) – The channel/user username.

  • editable (bool, optional) – Can the username edited.

  • active (bool, optional) – Is the username active.