messages.DeleteSavedHistory#
- class pyrogram.raw.functions.messages.DeleteSavedHistory#
Deletes messages from a monoforum topic , or deletes messages forwarded from a specific peer to saved messages .
- Details:
Layer:
220ID:
4DC5085F
- Parameters:
peer (
InputPeer) – Peer, whose messages will be deleted from saved messages », or the ID of the topic.max_id (
int32-bit) – Maximum ID of message to deleteparent_peer (
InputPeer, optional) – If set, affects the messages of the passed monoforum topic », otherwise affects saved messages ».min_date (
int32-bit, optional) – Delete all messages newer than this UNIX timestampmax_date (
int32-bit, optional) – Delete all messages older than this UNIX timestamp
- Returns: