The LiSA Player dispatches a message when the voucher code of an active voucher sticker is redeemed by the user.
This message is sent by the LiSA Player to the host app / environment.
Copy interface VoucherStickerClaimMessage extends Omit<
StickerMessage,
'messageType' | 'stickerDetails' | 'stickerType'
> {
messageType: 'lsc:sticker:voucher:claim';
stickerDetails: VoucherStickerDetails;
stickerType: 'voucher';
}
Copy {
"mediaItemId": "9f333331-45cb-4289-8bcd-9023c1871111",
"mediaItemType": "live",
"messageType": "lsc:sticker:voucher:claim",
"progress": {
"bufferedTimeInMs": 648036,
"currentTimeInMs": 628008,
"durationInMs": 4616000,
"elapsedTimeInMs": 28784,
"skipTimeInMs": 600000,
"isLive": true,
"visitorDwellTimeInMs": 29135,
"isPlaying": true
},
"sender": "LiSA",
"stickerActionTarget": "NEW-YEARS-DROP",
"stickerActivationTimerDurationInSec": 300,
"stickerActivationTimerIsActive": false,
"stickerActivationTimerIsCompleted": true,
"stickerActivationTimerStartedAt": "2025-01-01T19:15:00Z",
"stickerDetails": {
"ctaBehavior": "add-to-cart",
"voucherCode": "NEWYEARS15"
},
"stickerExpiryTimerDurationInSec": 900,
"stickerExpiryTimerIsActive": true,
"stickerExpiryTimerStartedAt": "2025-01-01T19:20:00Z",
"stickerId": "9ffbad77-c6e8-495e-99bb-193b0d3b109f",
"stickerIsExpired": false,
"stickerIsUnlocked": true,
"stickerType": "product"
}