MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md
2019-12-27 17:48:04 +01:00

41 lines
1.1 KiB
Markdown

---
title: decryptedMessageMediaAudio
description: Audio file attached to a secret chat message.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: decryptedMessageMediaAudio\_17
[Back to constructors index](index.md)
Audio file attached to a secret chat message.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|duration|[int](../types/int.md) | Yes|Audio duration in seconds|
|mime\_type|[string](../types/string.md) | Yes|MIME-type of the audio file<br>Parameter added in [Layer 13](https://core.telegram.org/api/layers#layer-13).|
|size|[int](../types/int.md) | Yes|File size|
### Type: [DecryptedMessageMedia](../types/DecryptedMessageMedia.md)
### Example:
```php
$decryptedMessageMediaAudio_17 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'mime_type' => 'string', 'size' => int];
```
Or, if you're into Lua:
```lua
decryptedMessageMediaAudio_17={_='decryptedMessageMediaAudio', duration=int, mime_type='string', size=int}
```