TDLib v0.0.2 TDLib.Method.SetName View Source

Changes the first and last name of the current user. If something changes, updateUser will be sent. Returns object_ptr.

NameTypeDescription
first_namestringThe new value of the first name for the user; 1-255 characters.
last_namestringThe new value of the optional last name for the user; 0-255 characters.

More details on telegram’s documentation.