Constructor: decryptedMessage_45

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 Optional Media content
entities Array of MessageEntity Optional Message entities for styled text (parameter added in layer 45)
via_bot_name string Optional Specifies the ID of the inline bot that generated the message (parameter added in layer 45)
reply_to_random_id long Optional Random message ID of the message this message replies to (parameter added in layer 45)

Type: DecryptedMessage

Example:

$decryptedMessage_45 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia, 'entities' => [MessageEntity, MessageEntity], 'via_bot_name' => 'string', 'reply_to_random_id' => long];

Or, if you’re into Lua:

decryptedMessage_45={_='decryptedMessage', ttl=int, message='string', media=DecryptedMessageMedia, entities={MessageEntity}, via_bot_name='string', reply_to_random_id=long}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.