Twitch.SharedChatMessageDeleted{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "TwitchChannelModerateSharedDeleteEvent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "moderator": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/definitions/TwitchBaseUser"
        }
      ]
    },
    "source": {
      "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": false,
  "isSharedChatHost": true,
  "isTest": false,
  "messageId": "culpa exercitation aute",
  "moderator": null,
  "source": {
    "id": "exercitation nulla aute occaecat",
    "login": "aliqua do",
    "name": "nulla",
    "type": null
  },
  "targetUser": null
}
// Initialize the Streamer.bot WebSocket Client
const client = new StreamerbotClient();
// Subscribe to "Twitch.SharedChatMessageDeleted" events and register a callback
client.on('Twitch.SharedChatMessageDeleted', ({ 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);
});