messages.deleteSavedHistory

Deletes messages forwarded from a specific peer to saved messages ».

 Method schema is available as of layer 170. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
peer InputPeer Peer, whose messages will be deleted from saved messages »
max_id int Maximum ID of message to delete
min_date flags.2?int Delete all messages newer than this UNIX timestamp
max_date flags.3?int Delete all messages older than this UNIX timestamp

Result

messages.AffectedHistory

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Saved messages

The Saved Messages chat allows users to bookmark messages and media: it's a personal cloud storage for any messages or media you may want to send or forward there.