Skip to content

Commit

Permalink
Update youtube_dl_button.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VJBots authored Jan 20, 2024
1 parent d25e96b commit 443c6dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/youtube_dl_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def youtube_dl_call_back(bot, update):
await bot.send_video(chat_id=update.message.chat.id,
video=file_location,
caption=description,
parse_mode="HTML",
parse_mode=enums.ParseMode.HTML,
duration=duration,
width=width,
height=height,
Expand All @@ -187,7 +187,7 @@ async def youtube_dl_call_back(bot, update):
document=file_location,
thumb=thumbnail,
caption=description,
parse_mode="HTML",
parse_mode=enums.ParseMode.HTML,
reply_to_message_id=update.message.reply_to_message.id,
progress=progress_for_pyrogram,
progress_args=(Translation.TECH_VJ_UPLOAD_START, update.message, start_time))
Expand Down

0 comments on commit 443c6dd

Please sign in to comment.