messages.AffectedHistory

class pyrogram.raw.base.messages.AffectedHistory

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

Constructors:

This base type has 1 constructor available.

messages.AffectedHistory

Affected part of communication history with the user or in a chat.

Functions:

This object can be returned by 7 functions.

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 ».

messages.DeleteTopicHistory

{schema}

channels.DeleteParticipantHistory

Delete all messages sent by a specific participant of a given supergroup

TL Schema

messages.affectedHistory#b45c69d1
pts:int
pts_count:int
offset:int

= messages.AffectedHistory

Parameter Tree

AffectedHistory
├── ptsint
├── pts_countint
└── offsetint

Example

AffectedHistory(
    pts=0,
    pts_count=0,
    offset=0,
)