Twitch.ChatMessageDeleted{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "TwitchChannelModerateDeleteEvent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "moderator": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/definitions/TwitchBaseUser"
        }
      ]
    },
    "isTest": {
      "type": "boolean"
    },
    "isInSharedChat": {
      "type": "boolean"
    },
    "isSharedChatHost": {
      "type": "boolean"
    },
    "isFromSharedChatGuest": {
      "type": "boolean"
    },
    "targetUser": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/definitions/TwitchBaseUser"
        }
      ]
    },
    "messageId": {
      "type": [
        "null",
        "string"
      ]
    }
  },
  "definitions": {
    "TwitchBaseUser": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": [
            "null",
            "string"
          ]
        },
        "login": {
          "type": [
            "null",
            "string"
          ]
        },
        "name": {
          "type": [
            "null",
            "string"
          ]
        },
        "type": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    }
  }
}
{
  "isFromSharedChatGuest": false,
  "isInSharedChat": true,
  "isSharedChatHost": true,
  "isTest": true,
  "messageId": "cillum occaecat nostrud consequat",
  "moderator": null,
  "targetUser": null
}
// Initialize the Streamer.bot WebSocket Client
const client = new StreamerbotClient();
// Subscribe to "Twitch.ChatMessageDeleted" events and register a callback
client.on('Twitch.ChatMessageDeleted', ({ event, data }) => {
  // Code here will run every time the event is received!
  console.log('Received event:', event.source, event.type);
  console.log('Event data:', data);
});