Username#
- class pyrogram.types.Username#
A Telegram user’s or chat’s username.
- Parameters:
username (
str
) – User’s or chat’s username.editable (
bool
, optional) – True, if it’s a basic username; False, if it’s a collectible username.active (
bool
, optional) – True, if the collectible username is active.