MadelineProtoDocs/old_docs/API_docs_v102/constructors/channelAdminLogEventActionChangeUsername.md
2019-06-24 15:45:02 +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'}