Twitch.SharedChatSessionEnd{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "TwitchSharedChatSessionEndEvent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "host": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/definitions/TwitchBaseUser"
        }
      ]
    },
    "sessionId": {
      "type": [
        "null",
        "string"
      ]
    },
    "isTest": {
      "type": "boolean"
    }
  },
  "definitions": {
    "TwitchBaseUser": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": [
            "null",
            "string"
          ]
        },
        "login": {
          "type": [
            "null",
            "string"
          ]
        },
        "name": {
          "type": [
            "null",
            "string"
          ]
        },
        "type": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    }
  }
}
{
  "host": {
    "id": "non labore",
    "login": null,
    "name": null,
    "type": "fugiat officia proident"
  },
  "isTest": true,
  "sessionId": "ad"
}
// Initialize the Streamer.bot WebSocket Client
const client = new StreamerbotClient();
// Subscribe to "Twitch.SharedChatSessionEnd" events and register a callback
client.on('Twitch.SharedChatSessionEnd', ({ 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);
});