Skip to content

HasRaidMethods ​

php
trait Zairakai\LaravelTwitch\Services\Concerns\HasRaidMethods

Twitch Raids, Hype Train, and Whispers API methods.

Source: src/Services/Concerns/HasRaidMethods.php

Methods ​

cancelRaid() ​

php
public function cancelRaid(string $broadcasterId): void

Cancel a pending raid.

getHypeTrainStatus() ​

php
public function getHypeTrainStatus(string $broadcasterId): HypeTrainStatus

Get the status of a broadcaster's Hype Train.

sendWhisper() ​

php
public function sendWhisper(string $fromUserId, string $toUserId, string $message): void

Send a whisper message to another user.

startRaid() ​

php
public function startRaid(string $fromBroadcasterId, string $toBroadcasterId): Raid

Start a raid from the broadcaster's channel to the target channel.

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