messages.DiscardEncryption

class pyrogram.raw.functions.messages.DiscardEncryption

Cancels a request for creation and/or delete info on secret chat.

Details:
  • Layer: 194

  • ID: F393AEA0

Parameters:
  • chat_id (int 32-bit) – Secret chat ID

  • delete_history (bool, optional) – Whether to delete the entire chat history for the other user as well

Returns:

bool