From 3a1dfc2afdf34d92f875cf8b080ab1667b6aa43e Mon Sep 17 00:00:00 2001 From: Abir Hasan Date: Wed, 21 Apr 2021 00:53:36 +0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=81=20Button=20Added=20Sir=20?= =?UTF-8?q?=F0=9F=A4=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebStreamer/bot/plugins/start.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/WebStreamer/bot/plugins/start.py b/WebStreamer/bot/plugins/start.py index fbcb19d..b8e0957 100644 --- a/WebStreamer/bot/plugins/start.py +++ b/WebStreamer/bot/plugins/start.py @@ -125,7 +125,9 @@ async def start(b, m): msg_text = "Bruh! 😁\nYour Link Generated! šŸ¤“\n\nšŸ“‚ **File Name:** `{}`\n**File Size:** `{}`\n\nšŸ“„ **Download Link:** `{}`" await m.reply_text( - text=msg_text.format(file_name, file_size, stream_link) + text=msg_text.format(file_name, file_size, stream_link), + parse_mode="Markdown", + reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Download Now", url=stream_link)]]) ) @@ -179,4 +181,4 @@ async def help_handler(bot, message): [InlineKeyboardButton("Developer", url="https://t.me/AbirHasan2005")] ] ) - ) \ No newline at end of file + )