1.0 KiB
1.0 KiB
title | description | image |
---|---|---|
decryptedMessageActionSetMessageTTL | Setting of a message lifetime after reading. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: decryptedMessageActionSetMessageTTL_8
Setting of a message lifetime after reading.
Upon receiving such message the client shall start deleting of all messages of an encrypted chat ttl_seconds seconds after the messages were read by user.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
ttl_seconds | int | Yes | Lifetime in seconds |
Type: DecryptedMessageAction
Example:
$decryptedMessageActionSetMessageTTL_8 = ['_' => 'decryptedMessageActionSetMessageTTL', 'ttl_seconds' => int];
Or, if you're into Lua:
decryptedMessageActionSetMessageTTL_8={_='decryptedMessageActionSetMessageTTL', ttl_seconds=int}