channelMessageLiked
When a channel message is liked this event is triggered
JavaScript
frame1.on("channelMessageLiked", (message) => {
console.log("channelMessageLiked", 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 |
channelId | Id of the channel | String |
action | liked or unliked | String |
JSON Sample Response
{
"messageId": "632a3cb9f0357f1c648791f4",
"reaction": "thumbs_up",
"username": "dasdas",
"userId": "63233015c3aa3508a4c8fc34",
"channelId": "6325e6bef0357f1c648791a4",
"action": "liked"
}