Layer 220
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

Gogram Example

// Creating ChannelAdminLogEventActionParticipantToggleBan constructor
obj := &tg.ChannelAdminLogEventActionParticipantToggleBan{
    PrevParticipant: &tg.ChannelParticipant{},
    NewParticipant: &tg.ChannelParticipant{},
}