1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
updateUserName | Update user name | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateUserName
Update user name
Attributes:
Name | Type | Required | Description |
---|---|---|---|
user_id | int | Yes | User ID |
first_name | string | Yes | First name |
last_name | string | Yes | Last name |
username | string | Yes | Username |
Type: Update
Example:
$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string'];
PWRTelegram json-encoded version:
{"_": "updateUserName", "user_id": int, "first_name": "string", "last_name": "string", "username": "string"}
Or, if you're into Lua:
updateUserName={_='updateUserName', user_id=int, first_name='string', last_name='string', username='string'}