mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
StickerMessage isAnimated Option (#668)
This commit is contained in:
@@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user