SubscriptionEvent
API reference for SubscriptionEvent
Interface: SubscriptionEvent
Section titled “Interface: SubscriptionEvent”Type for received events from a subscription
Properties
Section titled “Properties”data:
Record
<string
,unknown
>
Event data payload
id:
string
Unique identifier for the event
metadata?
Section titled “metadata?”
optional
metadata:Record
<string
,unknown
>
Optional metadata associated with the event
type:
string
Type of the event