MadelineProtoDocs/old_docs/API_docs_v23/constructors/messageMediaAudio.md
2018-04-04 19:52:48 +02:00

44 lines
747 B
Markdown

---
title: messageMediaAudio
description: messageMediaAudio attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
## Constructor: messageMediaAudio
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|audio|[Audio](../types/Audio.md) | Optional|
### Type: [MessageMedia](../types/MessageMedia.md)
### Example:
```
$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageMediaAudio", "audio": Audio}
```
Or, if you're into Lua:
```
messageMediaAudio={_='messageMediaAudio', audio=Audio}
```