Object contains info on affected part of communication history with the user or in a chat.
messages.affectedHistory#b7de36f2 pts:int seq:int offset:int = messages.AffectedHistory;
---functions---
messages.readHistory#eed884c6 peer:InputPeer max_id:int offset:int read_contents:Bool = messages.AffectedHistory;
messages.deleteHistory#f4f8fb61 peer:InputPeer offset:int = messages.AffectedHistory;
| Constructor | Description |
|---|---|
| messages.affectedHistory | Affected part of communication history with the user or in a chat. |
| Method | Description |
|---|---|
| messages.deleteHistory | Deletes communication history. |
| messages.readMentions | Mark mentions as read |
| messages.unpinAllMessages | Unpin all pinned messages |
| messages.readReactions | Mark message reactions » as read |
| messages.deleteSavedHistory | Deletes messages from a monoforum topic », or deletes messages forwarded from a specific peer to saved messages ». |
| channels.deleteParticipantHistory | Delete all messages sent by a specific participant of a given supergroup |
| channels.deleteTopicHistory | Delete message history of a forum topic |