1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 23:27:46 +01:00
MadelineProto/docs/API_docs/constructors/decryptedMessage_45.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.3 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], '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}