Skip to content

Commit d71bc13

Browse files
authored
Fixed bug in Encode Calling
1 parent 88d12ba commit d71bc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async def batch(client: Client, message: Message):
144144
await second_message.reply_text("Forward from the Assigned Channel only...", quote = True)
145145
continue
146146
string = f"get-{f_msg_id}-{s_msg_id}"
147-
base64_string = await decode(string)
147+
base64_string = await encode(string)
148148
link = f"https://t.me/{client.username}?start={base64_string}"
149149
reply_markup = InlineKeyboardMarkup([[InlineKeyboardButton("🔁 Share URL", url=f'https://telegram.me/share/url?url={link}')]])
150150
await second_message.reply_text(f"<b>Here is your link</b>\n\n{link}", quote=True, reply_markup=reply_markup)

0 commit comments

Comments
 (0)