Appearance
EventSubEvent
php
interface Zairakai\LaravelTwitch\Dto\EventSub\Events\EventSubEventInterface for every typed EventSub notification payload.
Implemented by both dedicated per-type DTOs (e.g. ChannelFollowEvent) and the GenericEventSubEvent fallback used for subscription types without a dedicated DTO yet.
Source: src/Dto/EventSub/Events/EventSubEvent.php
Methods
getBroadcasterUserId()
php
public function getBroadcasterUserId(): stringThe Twitch user ID of the channel this event belongs to, or null when the event has no single channel owner (user-scoped or app-scoped events such as UserUpdateEvent, or a raw GenericEventSubEvent fallback whose payload has no broadcaster_user_id field).