43 lines
673 B
Markdown
43 lines
673 B
Markdown
---
|
|
title: inputMediaAudio
|
|
description: inputMediaAudio attributes, type and example
|
|
---
|
|
## Constructor: inputMediaAudio
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|audio|[InputAudio](../types/InputAudio.md) | Yes|
|
|
|
|
|
|
|
|
### 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}
|
|
|
|
```
|
|
|
|
|