MadelineProtoDocs/old_docs/API_docs_v2/constructors/updateNewEncryptedMessage.md

40 lines
828 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: updateNewEncryptedMessage
description: New encrypted message.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateNewEncryptedMessage
[Back to constructors index](index.md)
New encrypted message.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|message|[EncryptedMessage](../types/EncryptedMessage.md) | Yes|Message|
|qts|[int](../types/int.md) | Yes|New **qts** value|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int];
```
Or, if you're into Lua:
```lua
updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int}
```