MadelineProtoDocs/template/waveform.md
2024-05-01 14:53:46 +02:00

446 B

title description nav_exclude image
waveform An array representing the waveform of a voice message true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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);