feat: add support to ptvMessage in sendMessage method (#738)

* add support to ptvMessage in sendMessage method

* fix(ptv-sendmessage): Eslint

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
arthur simas
2024-04-28 08:00:49 -03:00
committed by GitHub
parent f5c1affc4d
commit 111601bc73
2 changed files with 8 additions and 0 deletions

View File

@@ -116,6 +116,8 @@ export type AnyMediaMessageContent = (
caption?: string
gifPlayback?: boolean
jpegThumbnail?: string
/** if set to true, will send as a `video note` */
ptv?: boolean
} & Mentionable & Contextable & Buttonable & Templatable & WithDimensions)
| {
audio: WAMediaUpload