message->booking_id), ]; } public function broadcastWith(): array { return [ 'id' => $this->message->id, 'sender_id' => $this->message->sender_id, 'sender_type' => $this->message->sender_type, 'type' => $this->message->type, 'content' => $this->message->content, 'created_at' => $this->message->created_at->toISOString(), ]; } }