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.TypeInputPeerPeer, whose messages will be deleted from saved messages
maxId
: numberMaximum id of message to delete
minDate
: number or undefinedDelete all messages newer than this unix timestamp
maxDate
: number or undefinedDelete all messages older than this unix timestamp