From 44418e66c27765b5ed978f47c41a9b35cce86d2f Mon Sep 17 00:00:00 2001 From: Eniola Osabiya Date: Thu, 7 Aug 2025 01:54:04 -0500 Subject: [PATCH] fix(types): update mentions type in MessageEditOptions (#3691) * fix(types): update mentions type in MessageEditOptions #2166 * style: fix typos --------- Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com> --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 2908b01..e5f5c10 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1296,8 +1296,8 @@ declare namespace WAWebJS { export interface MessageEditOptions { /** Show links preview. Has no effect on multi-device accounts. */ linkPreview?: boolean - /** Contacts that are being mentioned in the message */ - mentions?: Contact[] + /** User IDs of users that being mentioned in the message */ + mentions?: string[] /** Extra options */ extra?: any }