MadelineProto/old_docs/API_docs_v45/constructors/updateUserName.md

665 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, ];