MadelineProtoDocs/old_docs/API_docs_v27/constructors/documentAttributeAudio.md
2019-12-27 17:48:04 +01:00

728 B

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

Constructor: documentAttributeAudio

Back to constructors index

Represents an audio file

Attributes:

Name Type Required Description
duration int Optional Duration in seconds

Type: DocumentAttribute

Example:

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

Or, if you're into Lua:

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