- API ›
- Constructors ›
- ChannelAdminLogEventActionParticipantToggleBan
ChannelAdminLogEventActionParticipantToggleBan
---types--- channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction
Belongs to
| ChannelAdminLogEventAction |
In Rust this constructor is a variant of the enums::ChannelAdminLogEventAction enum.
Match on it with: if let enums::ChannelAdminLogEventAction::ChannelAdminLogEventActionParticipantToggleBan(v) = result { ... }
Parameters
| prev_participant | ChannelParticipant | required |
| new_participant | ChannelParticipant | required |