MadelineProtoDocs/docs/TD_docs/methods/changeName.md

776 B

title description image
changeName Changes first and last names of logged in user. If something changes, updateUser will be sent https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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 Description Required
first_name string New value of user first name, 1-255 characters Yes
last_name string New value of optional user last name, 0-255 characters Yes

Return type: Ok