feat: suggest RequestPrams Language field added
This commit is contained in:
parent
03fde44917
commit
028e799cc8
|
@ -42,6 +42,7 @@ type (
|
||||||
RequestParams struct {
|
RequestParams struct {
|
||||||
Query string `json:"query"` // user input for suggestion
|
Query string `json:"query"` // user input for suggestion
|
||||||
Count int `json:"count"` // ligmit for results
|
Count int `json:"count"` // ligmit for results
|
||||||
|
Language string `json:"language"`
|
||||||
Locations []*RequestParamsLocation `json:"locations"`
|
Locations []*RequestParamsLocation `json:"locations"`
|
||||||
RestrictValue bool `json:"restrict_value"` // don't show restricts (region) on results
|
RestrictValue bool `json:"restrict_value"` // don't show restricts (region) on results
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user