Skip to content

Commit 54690a1

Browse files
committed
Added notice that links are returned in ascending order
1 parent 74f58cc commit 54690a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

telegram/utils/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ def _extract_urls_from_text(text):
138138
def extract_urls(message):
139139
"""
140140
Extracts all Hyperlinks that are contained in a message. This includes
141-
message entities and the media caption.
141+
message entities and the media caption. The links are returned in lexicographically
142+
ascending order.
142143
143144
Note: Exact duplicates are removed, but there may still be URLs that link
144145
to the same resource.

0 commit comments

Comments
 (0)