Update main.py
Browse files
main.py
CHANGED
@@ -197,11 +197,13 @@ async def searchhub(client: Client, message: Message):
|
|
197 |
type_text=query
|
198 |
)
|
199 |
)
|
200 |
-
need_forwards = await
|
|
|
201 |
file_path,
|
202 |
caption=f"• Powered by {client.me.mention}",
|
203 |
thumb=thumb,
|
204 |
has_spoiler=True,
|
|
|
205 |
progress=progress,
|
206 |
progress_args=(
|
207 |
pro,
|
@@ -243,11 +245,13 @@ async def porno_download(client: Client, message: Message):
|
|
243 |
),
|
244 |
disable_web_page_preview=True
|
245 |
)
|
246 |
-
await
|
|
|
247 |
file_path,
|
248 |
caption=f"• Powered by {client.me.mention}",
|
249 |
thumb=thumb,
|
250 |
has_spoiler=True,
|
|
|
251 |
progress=progress,
|
252 |
progress_args=(
|
253 |
pro,
|
|
|
197 |
type_text=query
|
198 |
)
|
199 |
)
|
200 |
+
need_forwards = await client.send_video(
|
201 |
+
message.chat.id,
|
202 |
file_path,
|
203 |
caption=f"• Powered by {client.me.mention}",
|
204 |
thumb=thumb,
|
205 |
has_spoiler=True,
|
206 |
+
protect_content=True,
|
207 |
progress=progress,
|
208 |
progress_args=(
|
209 |
pro,
|
|
|
245 |
),
|
246 |
disable_web_page_preview=True
|
247 |
)
|
248 |
+
await client.send_video(
|
249 |
+
message.chat.id,
|
250 |
file_path,
|
251 |
caption=f"• Powered by {client.me.mention}",
|
252 |
thumb=thumb,
|
253 |
has_spoiler=True,
|
254 |
+
protect_content=True,
|
255 |
progress=progress,
|
256 |
progress_args=(
|
257 |
pro,
|