public static class TdApi.SearchStringsByPrefix extends TdApi.Function<TdApi.FoundPositions>
Returns FoundPositions
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of objects to return.
|
java.lang.String |
query
Query to search for.
|
boolean |
returnNoneForEmptyQuery
Pass true to receive no results for an empty query.
|
java.lang.String[] |
strings
The strings to search in for the query.
|
| Constructor and Description |
|---|
SearchStringsByPrefix()
Default constructor for a function, which searches specified query by word prefixes in the provided strings.
|
SearchStringsByPrefix(java.lang.String[] strings,
java.lang.String query,
int limit,
boolean returnNoneForEmptyQuery)
Creates a function, which searches specified query by word prefixes in the provided strings.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String[] strings
public java.lang.String query
public int limit
public boolean returnNoneForEmptyQuery
public static final int CONSTRUCTOR
public SearchStringsByPrefix()
Returns FoundPositions
public SearchStringsByPrefix(java.lang.String[] strings,
java.lang.String query,
int limit,
boolean returnNoneForEmptyQuery)
Returns FoundPositions
strings - The strings to search in for the query.query - Query to search for.limit - The maximum number of objects to return.returnNoneForEmptyQuery - Pass true to receive no results for an empty query.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object