MadelineProto/docs/API_docs/constructors/updateUserName.md

507 B

Constructor: updateUserName

Attributes:

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

Type: Update

Example:

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