$this->content ?: new \stdClass, "event_id" => $this->eventId, "origin_server_ts" => $this->originServerTimestamp, "room_id" => $this->roomId, "sender" => $this->sender, "type" => $this->type, "unsigned" => $this->unsigned ?? new \stdClass, ]; } public function getId(): string { return $this->eventId; } public function getOriginServerTimestamp(): int { return $this->originServerTimestamp; } public function getRoomId(): string { return $this->roomId; } public function getUnsigned(): ?UnsignedData { return $this->unsigned; } }