37 lines
637 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: inputMediaAudio
description: inputMediaAudio attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputMediaAudio
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|audio|[InputAudio](../types/InputAudio.md) | Optional|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```php
$inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio];
```
Or, if you're into Lua:
```lua
inputMediaAudio={_='inputMediaAudio', audio=InputAudio}
```