1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
channelAdminLogEventActionChangeUsername | Change username | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channelAdminLogEventActionChangeUsername
Change username
Attributes:
Name | Type | Required | Description |
---|---|---|---|
prev_value | string | Yes | Prev value |
new_value | string | Yes | New value |
Type: ChannelAdminLogEventAction
Example:
$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string'];
PWRTelegram json-encoded version:
{"_": "channelAdminLogEventActionChangeUsername", "prev_value": "string", "new_value": "string"}
Or, if you're into Lua:
channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'}