MadelineProtoDocs/docs/API_docs/constructors/channelAdminLogEventActionC...

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