delete_message

async ChatV2.delete_message(chat_id: str, ids: list) bool

Deleting messages. Returns True on success

EXAMPLE:

await client.delete_message('CHAT_ID', ['UUID'])
Parameters:
  • chat_id (str) – Chat ID

  • ids (List of str) – List of message IDs to be deleted

Returns:

bool