Raw.channels.EditBanned
Ban/unban/kick a user in a supergroup/channel.
channels.editBanned#96e6cd81 channel:InputChannel participant:InputPeer banned_rights:ChatBannedRights = Updates;
export namespace Raw {
export namespace channels {
export class EditBanned {
constructor(params: {
channel: Raw.TypeInputChannel;
participant: Raw.TypeInputPeer;
bannedRights: Raw.TypeChatBannedRights;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x96e6cd81
Property
channel
: Raw.TypeInputChannelThe supergroup/channel.
participant
: Raw.TypeInputPeerParticipant to ban
bannedRights
: Raw.TypeChatBannedRightsThe banned rights