Interface MessageEnvelope<P>

A message envelope used to send messages between the widget and the SDK

interface MessageEnvelope<P> {
    payload: P;
    type: string;
}

Type Parameters

  • P = any

Properties

Properties

payload: P
type: string