MadelineProto/docs/API_docs/constructors/updateUserName.md

659 B

title description
updateUserName updateUserName attributes, type and example

Constructor: updateUserName

Back to constructors index

Attributes:

Name Type Required
user_id int Required
first_name string Required
last_name string Required
username string Required

Type: Update

Example:

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