Skip to main content

messageLiked

When a message is liked in the chat this event is triggered

JavaScript
frame1.on("message_liked", (message) => {
console.log("message_liked", message);
});

Properties

PropertiesDescriptionType
messageIdid of the message that is likedString
reactionreactionString
usernameusername of the user that liked the messageString
userIduserId of the user that liked the messageString
actionactionString
JSON Sample Response
{
"messageId": "632a33fdf0357f1c648791f0",
"reaction": "thumbs_up",
"username": "support",
"userId": "63233015c3aa3508a4c8fc34",
"action": "liked"
}