infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
8 lines (7 loc) • 509 B
TypeScript
import { DataChannelEvents } from "./DataChannelEvents";
export declare namespace DataChannelEventHandlers {
type TextDelivered = (event: DataChannelEvents.TextDeliveredEvent) => void;
type TextReceived = (event: DataChannelEvents.TextReceivedEvent) => void;
type BroadcastTextReceived = (event: DataChannelEvents.BroadcastTextReceivedEvent) => void;
type Any = DataChannelEventHandlers.TextDelivered | DataChannelEventHandlers.TextReceived | DataChannelEventHandlers.BroadcastTextReceived;
}