Twitch.SharedChatUserTimedout{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "TwitchChannelModerateSharedTimeoutEvent",
  "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"
        }
      ]
    },
    "reason": {
      "type": [
        "null",
        "string"
      ]
    },
    "duration": {
      "type": "integer",
      "format": "int32"
    }
  },
  "definitions": {
    "TwitchBaseUser": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": [
            "null",
            "string"
          ]
        },
        "login": {
          "type": [
            "null",
            "string"
          ]
        },
        "name": {
          "type": [
            "null",
            "string"
          ]
        },
        "type": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    }
  }
}
{
  "duration": -95822646,
  "isFromSharedChatGuest": false,
  "isInSharedChat": false,
  "isSharedChatHost": true,
  "isTest": false,
  "moderator": {
    "id": null,
    "login": "esse reprehenderit elit non",
    "name": null,
    "type": "ea commodo dolor dolore cupidatat"
  },
  "reason": null,
  "source": {
    "id": null,
    "login": null,
    "name": "in id",
    "type": null
  },
  "targetUser": null
}
// Initialize the Streamer.bot WebSocket Client
const client = new StreamerbotClient();
// Subscribe to "Twitch.SharedChatUserTimedout" events and register a callback
client.on('Twitch.SharedChatUserTimedout', ({ 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);
});