teamId = auth()->user()->currentTeam()->id; } public function broadcastOn(): array { return [ new PrivateChannel("custom.{$this->teamId}"), ]; } }