mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: pass original thumbnail url in WAUrlInfo
This commit is contained in:
@@ -43,6 +43,7 @@ export interface WAUrlInfo {
|
||||
description?: string
|
||||
jpegThumbnail?: Buffer
|
||||
highQualityThumbnail?: proto.Message.IImageMessage
|
||||
originalThumbnailUrl?: string
|
||||
}
|
||||
|
||||
// types to generate WA messages
|
||||
|
||||
@@ -45,6 +45,7 @@ export const getUrlInfo = async(
|
||||
'matched-text': text,
|
||||
title: info.title,
|
||||
description: info.description,
|
||||
originalThumbnailUrl: image
|
||||
}
|
||||
|
||||
if(opts.uploadImage) {
|
||||
|
||||
Reference in New Issue
Block a user