Raw.channels.EditBanned

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

Results

Raw.TypeUpdates

Bots can use