From 9b53bebfd2bfd77b4964a0e23d98619411738f77 Mon Sep 17 00:00:00 2001 From: BenyFilho <168232825+BenyFilho@users.noreply.github.com> Date: Fri, 6 Feb 2026 14:09:11 -0300 Subject: [PATCH] Fix PDF Caption (#5794) --- src/Client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Client.js b/src/Client.js index e9f8b98..3cf24fe 100644 --- a/src/Client.js +++ b/src/Client.js @@ -1026,6 +1026,7 @@ class Client extends EventEmitter { sendMediaAsDocument: options.sendMediaAsDocument, sendMediaAsHd: options.sendMediaAsHd, caption: options.caption, + isCaptionByUser: options.caption ? true : false, quotedMessageId: options.quotedMessageId, parseVCards: options.parseVCards !== false, mentionedJidList: options.mentions || [],