1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
channelAdminLogEventActionDefaultBannedRights | channelAdminLogEventActionDefaultBannedRights attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channelAdminLogEventActionDefaultBannedRights
Attributes:
Name | Type | Required |
---|---|---|
prev_banned_rights | ChatBannedRights | Yes |
new_banned_rights | ChatBannedRights | Yes |
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}