UpdateUsername

class pyrogram.api.functions.account.UpdateUsername(username: str)
ID

0x3e0bdd7c

Parameters:usernamestr
Raises:Error
Returns:Either UserEmpty or User