Raw.channels.DeleteHistory

Raw.channels.DeleteHistory

Delete the history of a supergroup

channels.deleteHistory#9baa9647 flags:# for_everyone:flags.0?true channel:InputChannel max_id:int = Updates;
export namespace Raw {
  export namespace channels {
    export class DeleteHistory {
      constructor(params: {
        forEveryone?: boolean;
        channel: Raw.TypeInputChannel;
        maxId: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x9baa9647

Property

  • forEveryone : boolean or undefined

    Whether the history should be deleted for everyone

  • channel : Raw.TypeInputChannel

    Supergroup whose history must be deleted

  • maxId : number

    Id of message up to which the history must be deleted

Results

Raw.TypeUpdates