diff --git a/src/chat/functions/sendFileMessage.ts b/src/chat/functions/sendFileMessage.ts index 30deff99e2..08525aaa97 100644 --- a/src/chat/functions/sendFileMessage.ts +++ b/src/chat/functions/sendFileMessage.ts @@ -32,6 +32,7 @@ import { MsgModel, OpaqueData, StatusV3Store, + Wid, } from '../../whatsapp'; import { SendMsgResult } from '../../whatsapp/enums'; import { wrapModuleFunction } from '../../whatsapp/exportModule'; @@ -238,7 +239,7 @@ export interface VideoMessageOptions * @return {SendMessageReturn} The result */ export async function sendFileMessage( - chatId: any, + chatId: string | Wid, content: string | Blob | File, options: | AutoDetectMessageOptions