refactor: change pttAudio param to ptt in send audio message as a voice note (#1002)

This commit is contained in:
Guilherme França
2021-12-10 15:43:03 -03:00
committed by GitHub
parent 49e7ad4b25
commit b68ab8b8ac

View File

@@ -77,7 +77,7 @@ export type AnyMediaMessageContent = (
} & Mentionable & Buttonable & Templatable & WithDimensions) | {
audio: WAMediaUpload
/** if set to true, will send as a `voice note` */
pttAudio?: boolean
ptt?: boolean
/** optionally tell the duration of the audio */
seconds?: number
} | ({