DeleteMessages

class pyrogram.raw.functions.messages.DeleteMessages

Deletes messages by their identifiers.

Details
  • Layer: 122

  • ID: 0xe58e95d2

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 – Messages affected by changes.