messages.AffectedHistory

Object contains info on affected part of communication history with the user or in a chat.

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;

---functions---

messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory;
messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory;

channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;

Constructors

Constructor Description
messages.affectedHistory Affected part of communication history with the user or in a chat.

Methods

Method Description
messages.deleteHistory Deletes communication history.
channels.deleteUserHistory Delete all messages sent by a certain user in a supergroup
messages.readMentions Mark mentions as read