Skip to content

GenericEventSubEvent ​

php
class Zairakai\LaravelTwitch\Dto\EventSub\Events\GenericEventSubEvent extends Data implements EventSubEvent

Fallback payload for any EventSub subscription type without a dedicated DTO yet.

Guarantees every notification is still captured and typed at the object level even before a specific event DTO exists - nothing is silently dropped, only left less structured until it earns its own DTO.

Source: src/Dto/EventSub/Events/GenericEventSubEvent.php

Methods ​

__construct() ​

php
public function __construct(string $type, array $payload)

getBroadcasterUserId() ​

php
public function getBroadcasterUserId(): string

Documentation of 4.1.4 , built from a03e949 on 4.1.4 by pipeline #2949087255 on 2026-10-11.