AffectedMessages

class pyrogram.raw.types.messages.AffectedMessages

Events affected by operation.

Constructor type of AffectedMessages.

Details
  • Layer: 126

  • ID: 0x84d19185

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

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

Methods

This object can be returned by 4 methods:

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.