name; } public function getSecret(): string { return $this->secret; } public function getUrl(): string { return $this->url; } public function getDescription(): string { return $this->description; } public function getFeatures(): int { if ($this->features !== null) { return $this->features; } if (str_starts_with($this->url, Bot::URL_APP_PREFIX)) { return Bot::FEATURE_EVENT; } return Bot::FEATURE_WEBHOOK | Bot::FEATURE_RESPONSE; } }