updateUserName #
Changes the user's first name, last name and username.¶
Layer 223
updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username> = Update; Parameters #
| Name | Type | Description |
|---|---|---|
| user_id | long | User identifier |
| first_name | string | New first name. Corresponds to the new value of real_first_name field of the userFull constructor. |
| last_name | string | New last name. Corresponds to the new value of real_last_name field of the userFull constructor. |
| usernames | Vector<Username> | Usernames. |
Type #
Related pages #
userFull #
Extended user info¶
When updating the local peer database », all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).¶