MadelineProtoDocs/old_docs/API_docs_v23/constructors/documentAttributeAudio.md

717 B

title description image
documentAttributeAudio Document attribute audio https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: documentAttributeAudio

Back to constructors index

Document attribute audio

Attributes:

Name Type Required Description
duration int Optional Duration

Type: DocumentAttribute

Example:

$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int];

Or, if you're into Lua:

documentAttributeAudio={_='documentAttributeAudio', duration=int}