WebhookEventPayload
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
- $application_id : string
- $event : WebhookEventBody|null
- $type : WebhookType
- $version : int
Methods
- __construct() : mixed
Properties
$application_id
public
string
$application_id
$event
public
WebhookEventBody|null
$event
= null
$type
public
WebhookType
$type
$version
public
int
$version
Version scheme for the webhook event, currently always 1.
Methods
__construct()
public
__construct(string $application_id, WebhookType $type[, WebhookEventBody|null $event = null ]) : mixed
Parameters
- $application_id : string
-
ID of your app.
- $type : WebhookType
-
Type of webhook, either 0 for PING or 1 for webhook events.
- $event : WebhookEventBody|null = null
-
Event data payload.