telegram api constructor · layer 229 · #a7848924
updateUserName
Changes the user's first name, last name and username.
definition
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
Update · 164 other constructors
history
present in layers 2–229 · constructor id changed 3×
| id | layers |
|---|---|
| #da22d9ad | 2–17 |
| #a7332b73 | 18–132 |
| #c3f202e0 | 133–147 |
| #a7848924 | 148–229 |