MadelineProtoDocs/docs/TD_docs/methods/changeName.md
2018-04-01 13:24:46 +02:00

699 B

title description
changeName Changes first and last names of logged in user. If something changes, updateUser will be sent

Method: changeName

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Changes first and last names of logged in user. If something changes, updateUser will be sent

Parameters:

Name Type Required Description
first_name string Yes New value of user first name, 1-255 characters
last_name string Yes New value of optional user last name, 0-255 characters

Return type: Ok