SetHistoryTTL

class pyrogram.raw.functions.messages.SetHistoryTTL

Set maximum Time-To-Live of all messages in the specified chat.

Details:
  • Layer: 136

  • ID: 0xb80e5fe4

Parameters
  • peer (InputPeer) – The dialog.

  • period (int 32-bit) – Automatically delete all messages sent in the chat after this many seconds.

Returns

Updates