1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:39:36 +01:00
MadelineProto/old_docs/API_docs_v25/constructors/encryptedMessage.md

30 lines
674 B
Markdown
Raw Normal View History

---
title: encryptedMessage
description: encryptedMessage attributes, type and example
---
## Constructor: encryptedMessage
[Back to constructors index](index.md)
### Attributes:
| Name | Type | 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', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ];
```