index = $index; $this->chunk = $chunk; $this->status = $status; } /** * Get the channels the event should broadcast on. * * @return array */ public function broadcastOn(): array { return [new PrivateChannel('App.Models.Message.' . $this->message->id)]; } public function broadcastAs(): string { return 'Streaming'; } }