MadelineProtoDocs/old_docs/API_docs_v68/constructors/channelAdminLogEventActionChangeUsername.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
channelAdminLogEventActionChangeUsername Change username https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionChangeUsername

Back to constructors index

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'}