diff --git a/app.json b/app.json
index 150704875..7dad3da15 100644
--- a/app.json
+++ b/app.json
@@ -84,8 +84,3 @@
"formation": {
"worker": {
"quantity": 1,
- "size": "eco"
- }
- }
-}
-
diff --git a/helper_func.py b/helper_func.py
index 5ce68562c..853e0c626 100644
--- a/helper_func.py
+++ b/helper_func.py
@@ -70,7 +70,7 @@ async def get_message_id(client, message):
elif message.forward_sender_name:
return 0
elif message.text:
- pattern = "https://t.me/(?:c/)?(.*)/(\d+)"
+ pattern = "https://telegram.me/(?:c/)?(.*)/(\d+)"
matches = re.match(pattern,message.text)
if not matches:
return 0
diff --git a/plugins/channel_post.py b/plugins/channel_post.py
index 3516ffe9e..04272ea01 100644
--- a/plugins/channel_post.py
+++ b/plugins/channel_post.py
@@ -24,7 +24,7 @@ async def channel_post(client: Client, message: Message):
converted_id = post_message.id * abs(client.db_channel.id)
string = f"get-{converted_id}"
base64_string = await encode(string)
- link = f"https://t.me/{client.username}?start={base64_string}"
+ link = f"https://telegram.me/{client.username}?start={base64_string}"
reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton("🔁 Share URL", url=f'https://telegram.me/share/url?url={link}')]])
@@ -48,7 +48,7 @@ async def new_post(client: Client, message: Message):
converted_id = message.id * abs(client.db_channel.id)
string = f"get-{converted_id}"
base64_string = await encode(string)
- link = f"https://t.me/{client.username}?start={base64_string}"
+ link = f"https://telegram.me/{client.username}?start={base64_string}"
reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton("🔁 Share URL", url=f'https://telegram.me/share/url?url={link}')]])
try:
await message.edit_reply_markup(reply_markup)
diff --git a/plugins/link_generator.py b/plugins/link_generator.py
index 65649572a..53ab3047e 100644
--- a/plugins/link_generator.py
+++ b/plugins/link_generator.py
@@ -35,7 +35,7 @@ async def batch(client: Client, message: Message):
string = f"get-{f_msg_id * abs(client.db_channel.id)}-{s_msg_id * abs(client.db_channel.id)}"
base64_string = await encode(string)
- link = f"https://t.me/{client.username}?start={base64_string}"
+ link = f"https://telegram.me/{client.username}?start={base64_string}"
reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton("🔁 Share URL", url=f'https://telegram.me/share/url?url={link}')]])
await second_message.reply_text(f"Here is your link\n\n{link}", quote=True, reply_markup=reply_markup)
@@ -55,6 +55,6 @@ async def link_generator(client: Client, message: Message):
continue
base64_string = await encode(f"get-{msg_id * abs(client.db_channel.id)}")
- link = f"https://t.me/{client.username}?start={base64_string}"
+ link = f"https://telegram.me/{client.username}?start={base64_string}"
reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton("🔁 Share URL", url=f'https://telegram.me/share/url?url={link}')]])
await channel_message.reply_text(f"Here is your link\n\n{link}", quote=True, reply_markup=reply_markup)