MadelineProtoDocs/old_docs/API_docs_v97/constructors/channelAdminLogEventActionChangeUsername.md
2019-12-27 17:48:04 +01: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'}