Link Search Menu Expand Document

Constructor: decryptedMessageActionSetMessageTTL_8

Back to constructors index

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:

NameTypeRequiredDescription
ttl_secondsintYesLifetime in seconds

Type: DecryptedMessageAction

Example:

$decryptedMessageActionSetMessageTTL_8 = ['_' => 'decryptedMessageActionSetMessageTTL', 'ttl_seconds' => int];