channelMessageDeleted
When a channel message is deleted this event is triggered
JavaScript
frame1.on("channelMessageDeleted", (message) => {
console.log("channelMessageDeleted", message);
});
Properties
Properties | Description | Type |
---|---|---|
_id | id of the user | String |
likes | likes array | Array |
created | date and time when the channel message was sent | String |
user | user id | String |
channel | channelId where the message was sent | String |
message | message | String |
JSON Sample Response
{
"_id": "632a3f47f0357f1c648791f5",
"likes": [],
"created": "2022-09-20T22:31:35.551Z",
"user": "63233015c3aa3508a4c8fc34",
"channel": "6325e6bef0357f1c648791a4",
"message": "hi",
"__v": 0
}