Raw.messages.DeleteSavedHistory

Raw.messages.DeleteSavedHistory

Deletes messages forwarded from a specific peer to saved messages.

messages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;
export namespace Raw {
  export namespace messages {
    export class DeleteSavedHistory {
      constructor(params: {
        peer: Raw.TypeInputPeer;
        maxId: number;
        minDate?: number;
        maxDate?: number;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x6e98102b

Property

  • peer : Raw.TypeInputPeer

    Peer, whose messages will be deleted from saved messages

  • maxId : number

    Maximum id of message to delete

  • minDate : number or undefined

    Delete all messages newer than this unix timestamp

  • maxDate : number or undefined

    Delete all messages older than this unix timestamp

Results

Raw.messages.TypeAffectedHistory