MadelineProtoDocs/docs/API_docs/constructors/decryptedMessage_17.md
2019-12-27 17:48:04 +01:00

1.1 KiB

title description image
decryptedMessage Contents of an encrypted message. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessage_17

Back to constructors index

Contents of an encrypted message.

Attributes:

Name Type Required Description
ttl int Yes Message lifetime. Has higher priority than decryptedMessageActionSetMessageTTL.
Parameter added in Layer 17.
message string Yes Message text
media DecryptedMessageMedia Yes Media content

Type: DecryptedMessage

Example:

$decryptedMessage_17 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia];

Or, if you're into Lua:

decryptedMessage_17={_='decryptedMessage', ttl=int, message='string', media=DecryptedMessageMedia}