mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
853 B
853 B
title | description | nav_exclude | image |
---|---|---|---|
updatePeerHistoryTTL | The Time-To-Live for messages sent by the current user in a specific chat has changed | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updatePeerHistoryTTL
The Time-To-Live for messages sent by the current user in a specific chat has changed
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | long | Yes | The chat |
ttl_period | int | Optional | The new Time-To-Live |
Type: Update
Example:
$updatePeerHistoryTTL = ['_' => 'updatePeerHistoryTTL', 'peer' => long, 'ttl_period' => int];