From a31607e2dc2859665faea8c9ecdd242f8cba87da Mon Sep 17 00:00:00 2001 From: RendyCraft047 <75566525+RC047@users.noreply.github.com> Date: Thu, 20 Nov 2025 18:25:36 +0700 Subject: [PATCH] fix unpin messages (#3839) Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com> --- src/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index c07842b..bd5f891 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -562,7 +562,7 @@ class Message extends Base { */ async unpin() { return await this.client.pupPage.evaluate(async (msgId) => { - return await window.WWebJS.pinUnpinMsgAction(msgId, 2); + return await window.WWebJS.pinUnpinMsgAction(msgId, 2, 0); }, this.id._serialized); }