StickerMessage isAnimated Option (#668)

This commit is contained in:
lyfe00011
2021-08-26 22:19:34 +05:30
committed by GitHub
parent e3e521b385
commit 8ce486d2a5
2 changed files with 4 additions and 1 deletions

View File

@@ -271,7 +271,8 @@ export class WAConnection extends Base {
gifPlayback: isGIF || undefined,
caption: options.caption,
ptt: options.ptt,
viewOnce: options.viewOnce
viewOnce: options.viewOnce,
isAnimated: options.isAnimated
}
)
}

View File

@@ -419,6 +419,8 @@ export interface MessageOptions {
sendEphemeral?: 'chat' | boolean
/** Force message id */
messageId?: string
/** For sticker messages, if set to true, will considered as animated sticker */
isAnimated?: boolean
}
export interface WABroadcastListInfo {
status: number