@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
12 lines (11 loc) • 443 B
TypeScript
import type { Conduit, WebhookConnection, WebSocketConnection } from '@twitchfy/eventsub';
import type { EventSubConnection } from '../enums';
/**
* The connection map for EventSub connection based on {@link EventSubConnection}.
* @internal
*/
export interface EventSubConnectionMap {
[EventSubConnection.WebSocket]: WebSocketConnection;
[EventSubConnection.Webhook]: WebhookConnection;
[EventSubConnection.Conduit]: Conduit;
}