We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1b0f5 commit 2cf32e3Copy full SHA for 2cf32e3
plugins/link_generator.py
@@ -50,7 +50,7 @@ async def link_generator(client: Client, message: Message):
50
await channel_message.reply_text("Forward from the Assigned Channel only...", quote = True)
51
continue
52
53
- base64_string = await encode("get-{msg_id}")
+ base64_string = await encode(f"get-{msg_id}")
54
link = f"https://t.me/{client.username}?start={base64_string}"
55
reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton("🔁 Share URL", url=f'https://telegram.me/share/url?url={link}')]])
56
await channel_message.reply_text(f"<b>Here is your link</b>\n\n{link}", quote=True, reply_markup=reply_markup)
0 commit comments