messages.SetDefaultHistoryTTL#

class pyrogram.raw.functions.messages.SetDefaultHistoryTTL#

Changes the default value of the Time-To-Live setting, applied to all new chats.

Details:
  • Layer: 158

  • ID: 9EB51445

Parameters:

period (int 32-bit) – The new default Time-To-Live of all messages sent in new chats.

Returns:

bool