Constructor: updateUserName

Back to constructors index

Update user name


Name Type Required Description
user_id int Yes User ID
first_name string Yes First name
last_name string Yes Last name
username string Yes Username

Type: Update


$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string'];

Or, if you’re into Lua:

updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.