summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index c768844..4db6bf9 100644
--- a/README.md
+++ b/README.md
@@ -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