mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: map all WA media types
This commit is contained in:
@@ -239,7 +239,7 @@ export const uploadingNecessaryImages = async(
|
||||
const { directPath } = await waUploadToServer(
|
||||
toReadable(Buffer.concat(contentBlocks)),
|
||||
{
|
||||
mediaType: 'product-image',
|
||||
mediaType: 'product-catalog-image',
|
||||
fileEncSha256B64: sha,
|
||||
timeoutMs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user