This commit is contained in:
levina 2021-09-13 09:56:52 +07:00 committed by GitHub
parent 6672667278
commit c4cf1b8840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,12 +164,12 @@ async def startvideo(client, m: Message):
), ),
stream_type=StreamType().local_stream, stream_type=StreamType().local_stream,
) )
await msg.reply_photoo streaming started!**\n\n» **join to video chat on the top to watch the video.**")
except Exception as e:
await msg.reply_photo( await msg.reply_photo(
photo="https://telegra.ph/file/dc90e91cc77e68568e7b4.png", photo="https://telegra.ph/file/dc90e91cc77e68568e7b4.png",
reply_markup=keyboard, reply_markup=keyboard,
caption=f"💡 **video streaming started!**\n\n🏷 **Name:** {title}\n⏱ **Duration:** `{duration} minutes`\n\n» **join to video chat on the top to watch the video.**") caption=f"💡 **video streaming started!**\n\n🏷 **Name:** {title}\n⏱ **Duration:** `{duration} minutes`\n\n» **join to video chat on the top to watch the video.**")
except Exception as e:
await msg.edit(f"🚫 **Error** | `{e}`")
await idle() await idle()
else: else:
await m.reply("💭 please reply to video or video file to stream") await m.reply("💭 please reply to video or video file to stream")