MadelineProtoDocs/docs/API_docs/constructors/updatePeerHistoryTTL.md
2024-05-01 14:53:46 +02:00

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

Back to constructors index

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];