feat: suggest RequestPrams Language field added

This commit is contained in:
mg 2024-04-23 14:24:58 +03:00
parent 03fde44917
commit 028e799cc8

View File

@ -42,6 +42,7 @@ type (
RequestParams struct {
Query string `json:"query"` // user input for suggestion
Count int `json:"count"` // ligmit for results
Language string `json:"language"`
Locations []*RequestParamsLocation `json:"locations"`
RestrictValue bool `json:"restrict_value"` // don't show restricts (region) on results