messages.DeleteMessages#

class pyrogram.raw.functions.messages.DeleteMessages#

Deletes messages by their identifiers.

Details:
  • Layer: 158

  • ID: E58E95D2

Parameters:
  • id (List of int 32-bit) – Message ID list.

  • revoke (bool, optional) – Whether to delete messages for all participants of the chat.

Returns:

messages.AffectedMessages