feat: send audio with waveform (#2309)
* added generateWaveform * docs updated * added usage example * ESLint fix * fixed: undefined returned on waveform generation failure * fix: ESLint
This commit is contained in:
parent
b47998878a
commit
df1b070d54
4 changed files with 45 additions and 2 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -904,7 +904,7 @@ declare namespace WAWebJS {
|
|||
export interface MessageSendOptions {
|
||||
/** Show links preview. Has no effect on multi-device accounts. */
|
||||
linkPreview?: boolean
|
||||
/** Send audio as voice message */
|
||||
/** Send audio as voice message with a generated waveform */
|
||||
sendAudioAsVoice?: boolean
|
||||
/** Send video as gif */
|
||||
sendVideoAsGif?: boolean
|
||||
|
|
|
|||
Loading…
Reference in a new issue