MadelineProtoDocs/docs/TD_docs/methods/changeName.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

25 lines
772 B
Markdown

---
title: changeName
description: Changes first and last names of logged in user. If something changes, updateUser will be sent
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: changeName
[Back to methods index](index.md)
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](../types/string.md) | Yes|New value of user first name, 1-255 characters|
|last\_name|[string](../types/string.md) | Yes|New value of optional user last name, 0-255 characters|
### Return type: [Ok](../types/Ok.md)