Interface ChannelEvent<T>

Generic channel event wrapper. The data field varies by event type.

interface ChannelEvent<T> {
    type: ChannelEventType;
    platform: ChannelPlatform;
    conversationId: string;
    timestamp: string;
    data: T;
}

Type Parameters

  • T = unknown

Properties

platform: ChannelPlatform
conversationId: string
timestamp: string
data: T