Skip to content

Commit f1016c5

Browse files
authored
Update helper_func.py
1 parent 2eba3ad commit f1016c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper_func.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async def get_message_id(client, message):
6969
elif message.forward_sender_name:
7070
return 0
7171
elif message.text:
72-
pattern = "https://t.me/(?:c/)?(.*)/(\d+)"
72+
pattern = "https://telegram.me/(?:c/)?(.*)/(\d+)"
7373
matches = re.match(pattern,message.text)
7474
if not matches:
7575
return 0

0 commit comments

Comments
 (0)