Changes the user's first name, last name and username.
updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username> = Update;
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. |
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).