44 lines
751 B
Markdown
Raw Normal View History

2018-04-01 13:24:46 +02:00
---
title: inputMediaAudio
description: inputMediaAudio attributes, type and example
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:24:46 +02:00
---
2018-04-04 23:19:57 +00:00
# Constructor: inputMediaAudio
2018-04-01 13:24:46 +02:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|audio|[InputAudio](../types/InputAudio.md) | Optional|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```
$inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMediaAudio", "audio": InputAudio}
```
Or, if you're into Lua:
```
inputMediaAudio={_='inputMediaAudio', audio=InputAudio}
```