View Source ExTDLib.Method.SetName (ExTDLib v0.0.4)

Changes the first and last name of the current user. Returns object_ptr<Ok>.

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

More details on telegram's documentation.