1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 01:39:37 +01:00
MadelineProto/old_docs/API_docs_v46/constructors/inputMediaAudio.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

673 B

title description
inputMediaAudio inputMediaAudio attributes, type and example

Constructor: inputMediaAudio

Back to constructors index

Attributes:

Name Type Required
audio InputAudio Yes

Type: InputMedia

Example:

$inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio];

PWRTelegram json-encoded version:

{"_": "inputMediaAudio", "audio": InputAudio}

Or, if you're into Lua:

inputMediaAudio={_='inputMediaAudio', audio=InputAudio}