1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 21:07:47 +01:00
MadelineProto/docs/API_docs/constructors/encryptedMessage.md

28 lines
680 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
title: encryptedMessage
---
## Constructor: encryptedMessage
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|random\_id|[long](../types/long.md) | Required|
|chat\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
|bytes|[bytes](../types/bytes.md) | Required|
|file|[EncryptedFile](../types/EncryptedFile.md) | Required|
2016-12-19 18:56:05 +01:00
### Type: [EncryptedMessage](../types/EncryptedMessage.md)
### Example:
```
2016-12-19 17:48:27 +01:00
$encryptedMessage = ['_' => encryptedMessage', 'random_id' => long, 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ];
```