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
Name | Type | Description |
---|---|---|
first_name | string | The new value of the first name for the user; 1-255 characters. |
last_name | string | The new value of the optional last name for the user; 0-255 characters. |
More details on telegram’s documentation.