1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
channelAdminLogEventActionDefaultBannedRights | Changed global chat rights | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channelAdminLogEventActionDefaultBannedRights
Changed global chat rights
Attributes:
Name | Type | Required | Description |
---|---|---|---|
prev_banned_rights | ChatBannedRights | Yes | Previous Banned rights of current user |
new_banned_rights | ChatBannedRights | Yes | New Banned rights of current user |
Type: ChannelAdminLogEventAction
Example:
$channelAdminLogEventActionDefaultBannedRights = ['_' => 'channelAdminLogEventActionDefaultBannedRights', 'prev_banned_rights' => ChatBannedRights, 'new_banned_rights' => ChatBannedRights];
PWRTelegram json-encoded version:
{"_": "channelAdminLogEventActionDefaultBannedRights", "prev_banned_rights": ChatBannedRights, "new_banned_rights": ChatBannedRights}
Or, if you're into Lua:
channelAdminLogEventActionDefaultBannedRights={_='channelAdminLogEventActionDefaultBannedRights', prev_banned_rights=ChatBannedRights, new_banned_rights=ChatBannedRights}