Appearance
HasRaidMethods
php
trait Zairakai\LaravelTwitch\Services\Concerns\HasRaidMethodsTwitch Raids, Hype Train, and Whispers API methods.
Source: src/Services/Concerns/HasRaidMethods.php
Methods
cancelRaid()
php
public function cancelRaid(string $broadcasterId): voidCancel a pending raid.
getHypeTrainStatus()
php
public function getHypeTrainStatus(string $broadcasterId): HypeTrainStatusGet the status of a broadcaster's Hype Train.
sendWhisper()
php
public function sendWhisper(string $fromUserId, string $toUserId, string $message): voidSend a whisper message to another user.
startRaid()
php
public function startRaid(string $fromBroadcasterId, string $toBroadcasterId): RaidStart a raid from the broadcaster's channel to the target channel.