UpdateUsername

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

0x3e0bdd7c

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