createEvent
Function to create an event.
Type parameters
Type parameter | Value |
---|---|
T extends EventSubConnection | EventSubConnection |
Parameters
Parameter | Type | Description |
---|---|---|
data | | EventData <T , "ChannelChatClear" > | EventData <T , "ChannelFollow" > | EventData <T , "ChannelUpdate" > | EventData <T , "StreamOnline" > | EventData <T , "ChannelChatMessage" > | EventData <T , "ChatBotReady" > | The EventData to create the event. |
Returns
| EventData
<T
, "ChannelChatClear"
>
| EventData
<T
, "ChannelFollow"
>
| EventData
<T
, "ChannelUpdate"
>
| EventData
<T
, "StreamOnline"
>
| EventData
<T
, "ChannelChatMessage"
>
| EventData
<T
, "ChatBotReady"
>