Skip to main content

channelMessageDeleted

When a channel message is deleted this event is triggered

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

Properties

PropertiesDescriptionType
_idid of the userString
likeslikes arrayArray
createddate and time when the channel message was sentString
useruser idString
channelchannelId where the message was sentString
messagemessageString
JSON Sample Response
{
"_id": "632a3f47f0357f1c648791f5",
"likes": [],
"created": "2022-09-20T22:31:35.551Z",
"user": "63233015c3aa3508a4c8fc34",
"channel": "6325e6bef0357f1c648791a4",
"message": "hi",
"__v": 0
}