WebSocketEvents
The specific events emitted for the WebSocket connection.
Extends
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
connectionReady | [WebSocketConnection ] | Emitted when the EventSub connection is ready and fully integrated within Twitch. | EventSubEvents .connectionReady |
reconnect | [WebSocketConnection , string ] | Emitted when the WebSocket connection has reconnected to another url provided by the reconnect message sent by Twitch. | - |
subscriptionCreate | [WebSocketSubscription <SubscriptionTypes >] | Emitted when a subscription is created in the first time. | EventSubEvents .subscriptionCreate |
subscriptionMessage | [SubscriptionMessage <WebSocketConnection >, WebSocketSubscription <SubscriptionTypes >] | Emitted when a message from a subscription is received. | EventSubEvents .subscriptionMessage |
subscriptionReload | [WebSocketSubscription <SubscriptionTypes >] | Emitted when a subscription is reloaded from the storage. | EventSubEvents .subscriptionReload |