messages.AffectedHistory#

class pyrogram.raw.types.messages.AffectedHistory#

Telegram API type.

Constructor of AffectedHistory.

Details:
  • Layer: 224

  • ID: B45C69D1

Parameters:
  • pts (int 32-bit) – N/A

  • pts_count (int 32-bit) – N/A

  • offset (int 32-bit) – N/A

Functions:

This object can be returned by 8 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

Delete message history of a forum topic

messages.ReadPollVotes

Telegram API function.

channels.DeleteParticipantHistory

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