docs: How to send disappearing messages

This commit is contained in:
aqulzz
2022-08-23 18:24:40 +07:00
committed by Adhiraj Singh
parent 696fe0de9f
commit c6b78015ca

View File

@@ -533,7 +533,7 @@ const sendMsg = await sock.sendMessage(id, templateMessage)
ptt: true, ptt: true,
/** Should it send as a disappearing messages. /** Should it send as a disappearing messages.
* By default 'chat' -- which follows the setting of the chat */ * By default 'chat' -- which follows the setting of the chat */
sendEphemeral: 'chat' ephemeralExpiration: WA_DEFAULT_EPHEMERAL
} }
``` ```
## Forwarding Messages ## Forwarding Messages