Username

class pyrogram.raw.types.Username

Contains information about a username.

Constructor of Username.

Details:
  • Layer: 194

  • ID: B4073647

Parameters:
  • username (str) – The username.

  • editable (bool, optional) – Whether the username is editable, meaning it wasn’t bought on fragment.

  • active (bool, optional) – Whether the username is active.