2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: changeName
|
|
|
|
description: Changes first and last names of logged in user. If something changes, updateUser will be sent
|
|
|
|
---
|
|
|
|
## Method: changeName
|
|
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
|
|
|
2017-06-06 18:39:21 +02:00
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Changes first and last names of logged in user. If something changes, updateUser will be sent
|
|
|
|
|
|
|
|
### Params:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|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)
|
|
|
|
|