From 55e6c764265c29d72aef0675dd07ef6906eb3978 Mon Sep 17 00:00:00 2001 From: Shrimadhav U K Date: Mon, 21 Sep 2020 14:23:31 +0530 Subject: [PATCH] add replies to the list https://t.me/tginfoen/953 --- telethon/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/utils.py b/telethon/utils.py index 8fbd9f48..203d3f35 100644 --- a/telethon/utils.py +++ b/telethon/utils.py @@ -67,7 +67,7 @@ TG_JOIN_RE = re.compile( # See https://telegram.org/blog/inline-bots#how-does-it-work VALID_USERNAME_RE = re.compile( r'^([a-z](?:(?!__)\w){3,30}[a-z\d]' - r'|gif|vid|pic|bing|wiki|imdb|bold|vote|like|coub)$', + r'|gif|vid|pic|bing|wiki|imdb|bold|vote|like|coub|replies)$', re.IGNORECASE )