mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 17:07:22 +01:00
29 lines
739 B
Markdown
29 lines
739 B
Markdown
---
|
|
title: encryptedMessage
|
|
description: encryptedMessage attributes, type and example
|
|
---
|
|
## Constructor: encryptedMessage
|
|
[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|
|
|
|
|
|
|
|
|
### Type: [EncryptedMessage](../types/EncryptedMessage.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$encryptedMessage = ['_' => encryptedMessage', 'random_id' => long, 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ];
|
|
``` |