Skip to content

Body

The body sent by Twitch in a post to the subscription route.

Type parameters

Type parameterValue
T extends BodyTypesBodyTypes

Properties

PropertyTypeDescription
challengeT extends "webhook_callback_verification" ? string : neverThe challenge sent by Twitch when verifying a callback.
eventT extends "notification" ? object : neverThe event data sent in a notification body.
subscriptionT extends "notification" ? BodySubscription : neverThe subscription data sent in a notification body.