1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 21:37:49 +01:00
MadelineProto/docs/API_docs/constructors/decryptedMessage_45.md
2017-07-23 16:11:02 +02: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, }