telegram api constructor · layer 229 · #a7848924

updateUserName

Changes the user's first name, last name and username.

definition

updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username> = Update;

parameters

nametypedescription
user_idlongUser identifier
first_namestringNew first name. Corresponds to the new value of real_first_name field of the userFull constructor.
last_namestringNew last name. Corresponds to the new value of real_last_name field of the userFull constructor.
usernamesVector<Username>Usernames.

type

Update · 164 other constructors

history

present in layers 2–229 · constructor id changed 3×

idlayers
#da22d9ad2–17
#a7332b7318–132
#c3f202e0133–147
#a7848924148–229