MadelineProto/docs/API_docs/constructors/decryptedMessage_17.md

45 lines
935 B
Markdown
Raw Normal View History

---
2017-05-28 04:49:19 +02:00
title: decryptedMessage
description: decryptedMessage attributes, type and example
---
2017-05-28 04:49:19 +02:00
## Constructor: decryptedMessage\_17
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|ttl|[int](../types/int.md) | Yes|
|message|[string](../types/string.md) | Yes|
|media|[DecryptedMessageMedia](../types/DecryptedMessageMedia.md) | Yes|
### Type: [DecryptedMessage](../types/DecryptedMessage.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$decryptedMessage_17 = ['_' => 'decryptedMessage', 'ttl' => int, 'message' => 'string', 'media' => DecryptedMessageMedia];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "decryptedMessage", "ttl": int, "message": "string", "media": DecryptedMessageMedia}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
decryptedMessage_17={_='decryptedMessage', ttl=int, message='string', media=DecryptedMessageMedia}
```