Skip to content

Commit

Permalink
fix: Fixed type definition for sendFileMessage (#2391)
Browse files Browse the repository at this point in the history
  • Loading branch information
gekkedev authored Oct 18, 2024
1 parent 1d490b4 commit e9c4a64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chat/functions/sendFileMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
MsgModel,
OpaqueData,
StatusV3Store,
Wid,
} from '../../whatsapp';
import { SendMsgResult } from '../../whatsapp/enums';
import { wrapModuleFunction } from '../../whatsapp/exportModule';
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e9c4a64

Please sign in to comment.