feat: Add support to suspicious links (#642)
This commit is contained in:
parent
1d49f74ab4
commit
54a07fa22f
1 changed files with 9 additions and 5 deletions
7
index.d.ts
vendored
7
index.d.ts
vendored
|
|
@ -349,7 +349,7 @@ declare namespace WAWebJS {
|
|||
reply: (content: MessageContent, options?: MessageSendOptions) => Promise<Message>,
|
||||
|
||||
}
|
||||
|
||||
|
||||
/** whatsapp web url */
|
||||
export const WhatsWebURL: string
|
||||
|
||||
|
|
@ -545,7 +545,10 @@ declare namespace WAWebJS {
|
|||
/** Message type */
|
||||
type: MessageTypes,
|
||||
/** Links included in the message. */
|
||||
links: string[],
|
||||
links: Array<{
|
||||
link: string,
|
||||
isSuspicious: boolean
|
||||
}>,
|
||||
/** Order ID */
|
||||
orderId: string,
|
||||
/** title */
|
||||
|
|
|
|||
Loading…
Reference in a new issue