MadelineProtoDocs/old_docs/API_docs_v103/constructors/channelAdminLogEventActionChangeUsername.md
2019-08-15 20:25:16 +02:00

948 B

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'];

Or, if you're into Lua:

channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'}