Link Search Menu Expand Document

Type: waveform

Back to constructor index

The waveform of a voice message is represented by an array of 100 elements, containing integers ranging from 0 to 31.

$waveform = array_fill(0, 100, 0);
$waveform = array_fill(0, 100, 31);