Constructor: documentAttributeAudio

Back to constructors index

Document attribute audio


Name Type Required Description
voice Bool Optional Voice?
duration int Optional Duration
title string Optional Title
performer string Optional Performer
waveform bytes Optional Waveform

Type: DocumentAttribute


$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'waveform' => 'bytes'];

Or, if you’re into Lua:

documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title='string', performer='string', waveform='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.