diff options
| author | SavagePeanut <sourcehut@lazytapir.com> | 2024-01-20 18:59:41 -0600 |
|---|---|---|
| committer | SavagePeanut <sourcehut@lazytapir.com> | 2024-01-20 18:59:41 -0600 |
| commit | 5e8d9ccf2f28936fabf6d155b37347d91a4fd1c5 (patch) | |
| tree | 6c5333ecc6a6dcc83d61708c369ebb25ccc33ac5 /README.md | |
| parent | 91987c153449ea8b8ecb55cbc5968669e35454cb (diff) | |
style mentions. 1.6
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,9 +31,10 @@ Most of them correspond to [XEP-0393: Message Styling](https://xmpp.org/extensio Methods: -format_for_telegram(body: String) -> (body: String, Vec<(format: String, offset: usize, length: usize, language: String)>) +format_for_telegram(body: String, mentions: Optional<(_, start, end_index_exclusive)>) + -> (body: String, Vec<(format: String, offset: usize, length: usize, language: String)>) -format_for_matrix(body: String) -> body: String +format_for_matrix(body: String, mentions: Optional<(mxid, start, end_index_exclusive)>) -> body: String format_body(body: String, new_tags: HashMap<String, (String, String)>) -> String |
