MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaAudio_17.md
2019-12-27 17:48:04 +01:00

1.1 KiB

title description image
decryptedMessageMediaAudio Audio file attached to a secret chat message. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageMediaAudio_17

Back to constructors index

Audio file attached to a secret chat message.

Attributes:

Name Type Required Description
duration int Yes Audio duration in seconds
mime_type string Yes MIME-type of the audio file
Parameter added in Layer 13.
size int Yes File size

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaAudio_17 = ['_' => 'decryptedMessageMediaAudio', 'duration' => int, 'mime_type' => 'string', 'size' => int];

Or, if you're into Lua:

decryptedMessageMediaAudio_17={_='decryptedMessageMediaAudio', duration=int, mime_type='string', size=int}