new SuggestionRequest(query)
Message to request autocomplete suggestions.
Parameters:
| Name | Type | Description |
|---|---|---|
query |
string | user input to complete with suggestions |
Extends
Members
highlight
Highlight characters for suggestion responses.
If specified, the suggestion response will contain display texts highlighted with the start and end tags.
If set to null, the suggestion response will not contain any display text.
Properties:
| Name | Type | Description |
|---|---|---|
start |
string | Start Tag |
end |
string | End Tag |
- Default Value:
{start :"<b>", end :"</b>"}
q :string
Current user input of the search query.
Type:
- string
version :string
Version number of the message.
Type:
- string