fix(sticker): align sticker pack with WABA Android (#260)

fix(sticker): align sticker pack with WABA Android (#260)
This commit is contained in:
Renato Alcara
2026-03-04 10:19:25 -03:00
committed by GitHub
parent 38aa34ffb0
commit 92085d283a
2 changed files with 123 additions and 20 deletions
+3 -1
View File
@@ -54,12 +54,14 @@ export type WAMediaUpload = Buffer | WAMediaPayloadStream | WAMediaPayloadURL
* Individual sticker in a sticker pack
*/
export type Sticker = {
/** Buffer, Stream or URL of the sticker image (will be converted to WebP if needed) */
/** Buffer, Stream or URL of the sticker image (WebP or Lottie/WAS format) */
data: WAMediaUpload
/** Array of emojis associated with this sticker (max 3 recommended per WhatsApp standards) */
emojis?: string[]
/** Accessibility label for screen readers (max 125 chars for static, 255 for animated) */
accessibilityLabel?: string
/** Force Lottie format detection (auto-detected if omitted) */
isLottie?: boolean
}
/**