messages.AffectedMessages#

class pyrogram.raw.types.messages.AffectedMessages#

Events affected by operation.

Constructor of AffectedMessages.

Details:
  • Layer: 158

  • ID: 84D19185

Parameters:
  • pts (int 32-bit) – Event count after generation.

  • pts_count (int 32-bit) – Number of events that were generated.

Functions:

This object can be returned by 4 functions.

messages.ReadHistory

Marks message history as read.

messages.DeleteMessages

Deletes messages by their identifiers.

messages.ReadMessageContents

Notifies the sender about the recipient having listened a voice message or watched a video.

channels.DeleteMessages

Delete messages in a channel/supergroup.