From 7baf8dcf162ac2a0e749e09fd717127b61b3df8e Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 28 Oct 2021 14:23:46 +0700 Subject: [PATCH] setup --- program/video.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/program/video.py b/program/video.py index e319d18..2fb04df 100644 --- a/program/video.py +++ b/program/video.py @@ -1,17 +1,15 @@ import os import re import asyncio -from pyrogram import Client -from pyrogram import filters from driver.veez import call_py from pytgcalls import StreamType -from pyrogram.types import Message +from pyrogram import Client, filters from driver.filters import command, other_filters from config import BOT_USERNAME, IMG_1, IMG_2 from youtubesearchpython import VideosSearch from driver.queues import QUEUE, add_to_queue from pytgcalls.types.input_stream import AudioVideoPiped -from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup +from pyrogram.types import Message, InlineKeyboardButton, InlineKeyboardMarkup from pytgcalls.types.input_stream.quality import HighQualityAudio, MediumQualityAudio from pytgcalls.types.input_stream.quality import HighQualityVideo, MediumQualityVideo, LowQualityVideo