---
title: inputMediaAudio
description: inputMediaAudio attributes, type and example
---
## Constructor: inputMediaAudio  
[Back to constructors index](index.md)



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|id|[InputAudio](../types/InputAudio.md) | Optional|



### Type: [InputMedia](../types/InputMedia.md)


### Example:

```
$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio];
```  

[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:

```
{"_": "inputMediaAudio", "id": InputAudio}
```


Or, if you're into Lua:  


```
inputMediaAudio={_='inputMediaAudio', id=InputAudio}

```