Skip to main content
Version: 4.0.0

⬆️ Upload File by Url

Upload file by URL using resumable session upload ID

await whatsapp.uploadResumableFileByUrl(
uploadId: 'UPLOAD_SESSION_ID',
fileUrl: 'http://raw.githack.com/rohit-chouhan/whatsapp/main/sample_files/resumable-sample.png',
fileType: 'image/png',
);
paramtyperequireddescription
uploadIdStringyesSession ID of the resumable upload
fileUrlStringyesDirect file url to upload
fileTypeStringyesType of file that you are going to upload

Resumable Return Methods