File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ async def channel_post(client: Client, message: Message):
2424 converted_id = post_message .id * abs (client .db_channel .id )
2525 string = f"get-{ converted_id } "
2626 base64_string = await encode (string )
27- link = f"https://t .me/{ client .username } ?start={ base64_string } "
27+ link = f"https://telegram .me/{ client .username } ?start={ base64_string } "
2828
2929 reply_markup = InlineKeyboardMarkup ([[InlineKeyboardButton ("🔁 Share URL" , url = f'https://telegram.me/share/url?url={ link } ' )]])
3030
@@ -42,7 +42,7 @@ async def new_post(client: Client, message: Message):
4242 converted_id = message .id * abs (client .db_channel .id )
4343 string = f"get-{ converted_id } "
4444 base64_string = await encode (string )
45- link = f"https://t .me/{ client .username } ?start={ base64_string } "
45+ link = f"https://telegram .me/{ client .username } ?start={ base64_string } "
4646 reply_markup = InlineKeyboardMarkup ([[InlineKeyboardButton ("🔁 Share URL" , url = f'https://telegram.me/share/url?url={ link } ' )]])
4747 try :
4848 await message .edit_reply_markup (reply_markup )
You can’t perform that action at this time.
0 commit comments