Skip to content

Commit

Permalink
fix: Fixed client.forwardMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Dec 24, 2023
1 parent 35f4a7a commit b8e13e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/layers/sender.layer.ts
Expand Up @@ -845,7 +845,7 @@ export class SenderLayer extends ListenerLayer {
return evaluateAndReturn(
this.page,
({ toChatId, msgId, options }) =>
WAPI.forwardMessage(toChatId, msgId, options),
WPP.chat.forwardMessage(toChatId, msgId, options),
{ toChatId, msgId, options }
);
}
Expand Down

0 comments on commit b8e13e2

Please sign in to comment.