fix: detectLinks was not being used as described in docs (#1922)

* fix: detectLinks was not being used as described in docs

* Revert "fix: detectLinks was not being used as described in docs"

This reverts commit adeb592b565f2f0a463f2e410fdb9ee98b0a4221.

* docs: remove unsued `detectLinks` from readme
This commit is contained in:
fadiinho
2022-07-20 18:12:46 -09:00
committed by GitHub
parent 3c15e21021
commit 847a1dd571

View File

@@ -522,8 +522,6 @@ const sendMsg = await sock.sendMessage(id, templateMessage)
fileName: 'somefile.pdf', // (for media messages) file name for the media
/* will send audio messages as voice notes, if set to true */
ptt: true,
// will detect links & generate a link preview automatically (default true)
detectLinks: true,
/** Should it send as a disappearing messages.
* By default 'chat' -- which follows the setting of the chat */
sendEphemeral: 'chat'