MadelineProtoDocs/old_docs/API_docs_v97/constructors/updateNewEncryptedMessage.md

40 lines
826 B
Markdown
Raw Normal View History

2019-05-03 21:10:09 +02:00
---
title: updateNewEncryptedMessage
description: Update new encrypted message
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateNewEncryptedMessage
[Back to constructors index](index.md)
Update new encrypted message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|message|[EncryptedMessage](../types/EncryptedMessage.md) | Yes|Message|
|qts|[int](../types/int.md) | Yes|Qts|
### 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}
```