MadelineProto/old_docs/API_docs_v18/constructors/inputMediaAudio.md

36 lines
550 B
Markdown
Raw Normal View History

---
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) | Yes|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```
$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ];
```
Or, if you're into Lua:
```
inputMediaAudio={_='inputMediaAudio', id=InputAudio, }
```