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>.
| Name | Type | Description |
|---|---|---|
| text | formattedText | Text in which to search for the quote. |
| quote | formattedText | Quote to search for. |
| quote_position | number | Approximate quote position in UTF-16 code units. |
More details on telegram's documentation.