MadelineProtoDocs/docs/API_docs/constructors/channelAdminLogEventActionDefaultBannedRights.md
2019-03-08 13:49:23 +01:00

1.3 KiB

title description image
channelAdminLogEventActionDefaultBannedRights channelAdminLogEventActionDefaultBannedRights attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionDefaultBannedRights

Back to constructors index

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}