messages.getDefaultHistoryTTL

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

defaultHistoryTTL#43b46b20 period:int = DefaultHistoryTTL;
---functions---
messages.getDefaultHistoryTTL#658b7188 = DefaultHistoryTTL;

Parameters

This constructor does not require any parameters.

Result

DefaultHistoryTTL

Bots can use this method