MadelineProtoDocs/docs/API_docs/constructors/updateNewEncryptedMessage.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

46 lines
973 B
Markdown

---
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];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "updateNewEncryptedMessage", "message": EncryptedMessage, "qts": int}
```
Or, if you're into Lua:
```lua
updateNewEncryptedMessage={_='updateNewEncryptedMessage', message=EncryptedMessage, qts=int}
```