MadelineProtoDocs/docs/API_docs/constructors/documentAttributeAudio_46.md

933 B

title description image
documentAttributeAudio Represents an audio file https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: documentAttributeAudio_46

Back to constructors index

Represents an audio file

Attributes:

Name Type Required Description
duration int Optional Duration in seconds
title string Yes Name of song
performer string Yes Performer

Type: DocumentAttribute

Example:

$documentAttributeAudio_46 = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string'];

Or, if you're into Lua:

documentAttributeAudio_46={_='documentAttributeAudio', duration=int, title='string', performer='string'}