- API ›
- Constructors ›
- ChannelAdminLogEventActionDefaultBannedRights
ChannelAdminLogEventActionDefaultBannedRights
---types--- channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction
Belongs to
| ChannelAdminLogEventAction |
In Rust this constructor is a variant of the enums::ChannelAdminLogEventAction enum.
Match on it with: if let enums::ChannelAdminLogEventAction::ChannelAdminLogEventActionDefaultBannedRights(v) = result { ... }
Parameters
| prev_banned_rights | ChatBannedRights | required |
| new_banned_rights | ChatBannedRights | required |