feat: send photo/video as a view once message (#2317)
* added isViewOnce property * docs updated * added usage example * fix: ESLint
This commit is contained in:
parent
c8c2f09f20
commit
8ff5bceca0
4 changed files with 16 additions and 4 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -909,6 +909,8 @@ declare namespace WAWebJS {
|
|||
sendMediaAsSticker?: boolean
|
||||
/** Send media as document */
|
||||
sendMediaAsDocument?: boolean
|
||||
/** Send photo/video as a view once message */
|
||||
isViewOnce?: boolean
|
||||
/** Automatically parse vCards and send them as contacts */
|
||||
parseVCards?: boolean
|
||||
/** Image or videos caption */
|
||||
|
|
|
|||
Loading…
Reference in a new issue