From ae619983db0caa93a749c5c455a2262c289042ee Mon Sep 17 00:00:00 2001 From: Avi Patil <67785446+avipatilpro@users.noreply.github.com> Date: Sun, 25 Apr 2021 18:32:17 +0530 Subject: [PATCH] Initial Commit --- WebStreamer/bot/plugins/stream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebStreamer/bot/plugins/stream.py b/WebStreamer/bot/plugins/stream.py index a85d689..f2a6fde 100644 --- a/WebStreamer/bot/plugins/stream.py +++ b/WebStreamer/bot/plugins/stream.py @@ -94,7 +94,7 @@ async def channel_receive_handler(bot, broadcast): try: log_msg = await broadcast.forward(chat_id=Var.BIN_CHANNEL) await log_msg.reply_text( - text=f"**Channel Name:** `{broadcast.chat.title}`\n**Channel ID:** `{broadcast.chat.id}`\n**Link:** https://t.me/AH_File2Link_Bot?start=AbirHasan2005_{str(log_msg.message_id)}", + text=f"**Channel Name:** `{broadcast.chat.title}`\n**Channel ID:** `{broadcast.chat.id}`\n**Link:** https://avifilestreambot.herokuapp.com/{str(log_msg.message_id)}", quote=True, parse_mode="Markdown" ) @@ -103,7 +103,7 @@ async def channel_receive_handler(bot, broadcast): message_id=broadcast.message_id, reply_markup=InlineKeyboardMarkup( [ - [InlineKeyboardButton("Get Direct Download Link", url=f"https://t.me/AH_File2Link_Bot?start=AbirHasan2005_{str(log_msg.message_id)}")] + [InlineKeyboardButton("Get Direct Download Link", url=f"https://avifilestreambot.herokuapp.com/{str(log_msg.message_id)}")] ] ) )