updateUserName
Changes the user's first name, last name and username.
type tg.UpdateUserName struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
UserID | int64 | yes | User identifier |
FirstName | string | yes | New first name. Corresponds to the new value of real_first_name field of the userFull constructor. |
LastName | string | yes | New last name. Corresponds to the new value of real_last_name field of the userFull constructor. |
Usernames | []Username | yes | Usernames. |
References
- Official documentation
- Generated Go reference
- TL definition:
updateUserName#a7848924