The Node.js SDK re-exports the WAJS namespace for TypeScript. This reference describes types from WA-JS 4.8.5-rc.0 . For operations available on a connected Node.js client, see Whatsapp . For functions running inside WhatsApp Web, see the WA-JS browser API .
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:16
Properties
anchor
anchor : undefined
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:17
Optionaldomain
domain ?: string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:18
href
href : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:19
index
index : number
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:20
input : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:21
is Http
isHttp : boolean
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:22
Optionalparams
params ?: string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:23
Optionalpath
path ?: string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:24
Optionalport
port ?: number
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:25
scheme
scheme : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:26
Optionalsuspicious Characters
suspiciousCharacters ?: string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:27
url
url : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:28
Optionalusername
username ?: string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/fetchLinkPreview.d.ts:29