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
Properties | Description | Type |
---|---|---|
messageId | id of the message that is liked | String |
reaction | reaction | String |
username | username of the user that liked the message | String |
userId | userId of the user that liked the message | String |
action | action | String |
JSON Sample Response
{
"messageId": "632a33fdf0357f1c648791f0",
"reaction": "thumbs_up",
"username": "support",
"userId": "63233015c3aa3508a4c8fc34",
"action": "liked"
}