From 623e04bb77a283d02a67bfe971b800456c6b739c Mon Sep 17 00:00:00 2001 From: Avishkar Patil Date: Wed, 25 Aug 2021 18:43:53 +0530 Subject: [PATCH] Initial Commit --- WebStreamer/bot/plugins/stream.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WebStreamer/bot/plugins/stream.py b/WebStreamer/bot/plugins/stream.py index a844740..9dc31a4 100644 --- a/WebStreamer/bot/plugins/stream.py +++ b/WebStreamer/bot/plugins/stream.py @@ -105,6 +105,7 @@ async def channel_receive_handler(bot, broadcast): log_msg.message_id) await log_msg.reply_text( text=f"**Cʜᴀɴɴᴇʟ Nᴀᴍᴇ:** `{broadcast.chat.title}`\n**Cʜᴀɴɴᴇʟ ID:** `{broadcast.chat.id}`\n**Rᴇǫᴜᴇsᴛ ᴜʀʟ:** {stream_link}", + # text=f"**Cʜᴀɴɴᴇʟ Nᴀᴍᴇ:** `{broadcast.chat.title}`\n**Cʜᴀɴɴᴇʟ ID:** `{broadcast.chat.id}`\n**Rᴇǫᴜᴇsᴛ ᴜʀʟ:** https://t.me/FxStreamBot?start=AvishkarPatil_{str(log_msg.message_id)}", quote=True, parse_mode="Markdown" ) @@ -113,6 +114,7 @@ async def channel_receive_handler(bot, broadcast): message_id=broadcast.message_id, reply_markup=InlineKeyboardMarkup( [[InlineKeyboardButton("Dᴏᴡɴʟᴏᴀᴅ ʟɪɴᴋ 📥", url=stream_link)]]) + # [[InlineKeyboardButton("Dᴏᴡɴʟᴏᴀᴅ ʟɪɴᴋ 📥", url=f"https://t.me/FxStreamBot?start=AvishkarPatil_{str(log_msg.message_id)}")]]) ) except FloodWait as w: print(f"Sleeping for {str(w.x)}s")