View Source ExTDLib.Method.SearchQuote (ExTDLib v0.0.4)

Searches for a given quote in a text. Returns found quote start position in UTF-16 code units. Returns a 404 error if the quote is not found. Can be called synchronously. Returns object_ptr<FoundPosition>.

NameTypeDescription
textformattedTextText in which to search for the quote.
quoteformattedTextQuote to search for.
quote_positionnumberApproximate quote position in UTF-16 code units.

More details on telegram's documentation.