Skip to content

Commit 089b7bf

Browse files
authored
Debug
1 parent 2cf32e3 commit 089b7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/link_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async def link_generator(client: Client, message: Message):
5050
await channel_message.reply_text("Forward from the Assigned Channel only...", quote = True)
5151
continue
5252

53-
base64_string = await encode(f"get-{msg_id}")
53+
base64_string = await encode(f"get-{msg_id * abs(CHANNEL_ID)}")
5454
link = f"https://t.me/{client.username}?start={base64_string}"
5555
reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton("🔁 Share URL", url=f'https://telegram.me/share/url?url={link}')]])
5656
await channel_message.reply_text(f"<b>Here is your link</b>\n\n{link}", quote=True, reply_markup=reply_markup)

0 commit comments

Comments
 (0)