MadelineProtoDocs/docs/API_docs/constructors/decryptedMessage_45.md
2018-04-01 13:24:46 +02:00

1.4 KiB

title description
decryptedMessage decryptedMessage attributes, type and example

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}