mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user