search_quote


Description:

public async FoundPosition search_quote (FormattedText text, FormattedText quote, int32 quote_position) throws TDLibError

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

Parameters:

text

Text in which to search for the quote

quote

Quote to search for

quote_position

Approximate quote position in UTF-16 code units