Link Search Menu Expand Document

Constructor: defaultHistoryTTL

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
periodintYesTime-To-Live setting applied to all new chats.

Type: DefaultHistoryTTL

Example:

$defaultHistoryTTL = ['_' => 'defaultHistoryTTL', 'period' => int];