search_strings_by_prefix


Description:

public async FoundPositions search_strings_by_prefix (ArrayList<string?> strings, string query, int32 limit, bool return_none_for_empty_query) throws TDLibError

Searches specified query by word prefixes in the provided strings. Returns 0-based positions of strings that matched. Can be called synchronously

Parameters:

strings

The strings to search in for the query

query

Query to search for

limit

The maximum number of objects to return

return_none_for_empty_query

Pass true to receive no results for an empty query