mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 21:37:49 +01:00
1.3 KiB
1.3 KiB
title | description |
---|---|
decryptedMessage | decryptedMessage attributes, type and example |
Constructor: decryptedMessage_45
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, }