--- title: changeUsername description: Changes username of logged in user. If something changes, updateUser will be sent image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: changeUsername [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Changes username of logged in user. If something changes, updateUser will be sent ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| |username|[string](../types/string.md) | New value of username. Use empty string to remove username | Yes| ### Return type: [Ok](../types/Ok.md)