messages.SetDefaultHistoryTTL

class pyrogram.raw.functions.messages.SetDefaultHistoryTTL[source]

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

Usable by Users Bots
Details:
  • Layer: 229

  • ID: 9EB51445

Parameters:

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

Returns:

bool