- API ›
- Constructors ›
- ChannelAdminLogEventActionParticipantToggleAdmin
ChannelAdminLogEventActionParticipantToggleAdmin
---types--- channelAdminLogEventActionParticipantToggleAdmin#d5676710 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::ChannelAdminLogEventActionParticipantToggleAdmin(v) = result { ... }
Parameters
| prev_participant | ChannelParticipant | required |
| new_participant | ChannelParticipant | required |