✏️ Create Resumable
Create a new session for resumable upload
await whatsapp.createResumableUploadSession(
fileLength: 210915,
fileType: 'image/png',
fileName: 'sample.png',
);
param | type | required | description |
---|---|---|---|
fileLength | int | yes | Exact file size in bytes |
fileType | String | yes | Type of file that you are going to upload |
fileName | String | no | Name of the file |