Link Search Menu Expand Document

Constructor: updatePeerHistoryTTL

Back to constructors index

The Time-To-Live for messages sent by the current user in a specific chat has changed

Attributes:

NameTypeRequiredDescription
peerlongYesThe chat
ttl_periodintOptionalThe new Time-To-Live

Type: Update

Example:

$updatePeerHistoryTTL = ['_' => 'updatePeerHistoryTTL', 'peer' => long, 'ttl_period' => int];