MadelineProtoDocs/docs/API_docs/constructors/decryptedMessage_45.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.4 KiB

title description image
decryptedMessage decryptedMessage attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessage_45

Back to constructors index

Attributes:

Name Type Required
ttl int Yes
message string Yes
media DecryptedMessageMedia Optional
entities Array of MessageEntity Optional
via_bot_name string Optional
reply_to_random_id long Optional

Type: DecryptedMessage

Example:

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

PWRTelegram json-encoded version:

{"_": "decryptedMessage", "ttl": int, "message": "string", "media": DecryptedMessageMedia, "entities": [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}