MadelineProtoDocs/old_docs/API_docs_v25/constructors/channelAdminLogEventActionChangeUsername.md
2020-06-16 17:50:25 +02:00

1001 B

title description image
channelAdminLogEventActionChangeUsername Channel/supergroup username was changed https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionChangeUsername

Back to constructors index

Channel/supergroup username was changed

Attributes:

Name Type Required Description
prev_value string Yes Old username
new_value string Yes New username

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