1.8 KiB
1.8 KiB
title | description | image |
---|---|---|
decryptedMessage | Contents of an encrypted message. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: decryptedMessage_45
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}