public static class TdApi.SearchQuote extends TdApi.Function<TdApi.FoundPosition>
Returns FoundPosition
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.FormattedText |
quote
Quote to search for.
|
int |
quotePosition
Approximate quote position in UTF-16 code units.
|
TdApi.FormattedText |
text
Text in which to search for the quote.
|
| Constructor and Description |
|---|
SearchQuote()
Default constructor for a function, which searches for a given quote in a text.
|
SearchQuote(TdApi.FormattedText text,
TdApi.FormattedText quote,
int quotePosition)
Creates a function, which searches for a given quote in a text.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.FormattedText text
public TdApi.FormattedText quote
public int quotePosition
public static final int CONSTRUCTOR
public SearchQuote()
Returns FoundPosition
public SearchQuote(TdApi.FormattedText text, TdApi.FormattedText quote, int quotePosition)
Returns FoundPosition
text - Text in which to search for the quote.quote - Quote to search for.quotePosition - Approximate quote position in UTF-16 code units.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object