Products — Emoji

The LiSA Player dispatches a message when a user clicks the "Emoji"-CTA on a product card or sticker.

This message is sent by the LiSA Player to the host app / environment.

Properties

Along with all standard Product message properties, an Emoji message includes the following additional properties:

Name
Type
Description

intent

Required.

The intent property specifies the action to be performed on the product. It can have one of the following values:

  • add – Indicates that the emoji should be added to the product.

  • remove – Indicates that the emoji should be removed from the product.

messageType

Required.

lsc:product:emoji

Legacy Properties

circle-exclamation
Name
Type
Description

action

Required.

like.grant or like.revoke ⚠️ Please use messageType instead.

target

Required.

carousel.item ⚠️ Please use messageType instead.


Type Definition

interface ProductEmojiMessage extends Omit<
  ProductMessage,
  'messageType'
> {
  intent: 'add' | 'remove';
  messageType: 'lsc:product:emoji';
}

Examples

Last updated