Layer 220
ChannelAdminLogEventActionParticipantToggleBan
The banned rights of a user were changed
constructor
channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;
Parameters
| Name | Type | Description |
|---|---|---|
| PrevParticipant | ChannelParticipant | Old banned rights of user |
| NewParticipant | ChannelParticipant | New banned rights of user |
Returns
ChannelAdminLogEventActionGogram Example
// Creating ChannelAdminLogEventActionParticipantToggleBan constructor obj := &tg.ChannelAdminLogEventActionParticipantToggleBan{ PrevParticipant: &tg.ChannelParticipant{}, NewParticipant: &tg.ChannelParticipant{}, }