• Download the blob of a media message

    // Get a blob file
    await WPP.chat.downloadMedia('true_[number]@c.us_ABCDEF');

    // Get a base64Content
    await WPP.chat.downloadMedia('true_[number]@c.us_ABCDEF').then(WPP.util.blobToBase64);

    Parameters

    • id: string

    Returns Promise<Blob>