merge remote

This commit is contained in:
or-else
2025-04-11 14:27:12 +03:00
+4
View File
@@ -296,6 +296,10 @@ type configType struct {
// when the country isn't specified by the client explicitly and
// it's impossible to infer it.
DefaultCountryCode string `json:"default_country_code"`
// Enable service which generates link previews: in response to a GET request with a URL
// /v0/urlpreview?url=https%3A%2F%2Ftinode.co visit the URL, parse HTML, and return JSON like
// {"title": "Page title", description: "This is a demo page", image_url: "https://tinode.co/img/logo.png"}.
LinkPreviewEnabled bool `json:"link_preview_enabled"`
// Configs for subsystems
Cluster json.RawMessage `json:"cluster_config"`