MadelineProtoDocs/old_docs/API_docs_v71/constructors/channelAdminLogEventActionChangeUsername.md

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