igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface DirectBroadcastVoiceAttachmentMessageInput

    interface DirectBroadcastVoiceAttachmentMessageInput {
        file: Buffer;
        waveform: readonly number[];
        waveformSamplingFrequencyHz?: number;
    }
    Index

    Properties

    file: Buffer
    waveform: readonly number[]

    The take's amplitude samples, each from 0 to 1: what the app measured from the recording and the form carries. Required — a voice message's waveform is the person's own voice, and the library never invents one; the conversation's sendVoice measures it with voiceWaveformOf (direct.broadcast.voice-waveform.ts).

    waveformSamplingFrequencyHz?: number
    10