From 1db753d1389ce5b2e7c9ddfd44dd868ca7d91c2e Mon Sep 17 00:00:00 2001 From: jsdio Date: Sat, 22 Oct 2022 22:49:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BF=D1=82=D0=B8=D0=BC=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BA=D0=BE=D0=B4=D0=B0,=20=D0=B8?= =?UTF-8?q?=D0=BC=D0=BF=D0=BE=D1=80=D1=82=D0=BE=D0=B2,=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 10 +++------- requirements.txt | 2 ++ 2 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 requirements.txt diff --git a/main.py b/main.py index 18d2052..6a1e963 100644 --- a/main.py +++ b/main.py @@ -1,18 +1,13 @@ -import encodings from tqdm import tqdm -import telethon from telethon import TelegramClient, sync, functions, errors, types -from telethon.extensions import markdown import asyncio import time from config import * -import markdown2 + + loop = asyncio.get_event_loop() - - - class GropAlbum: def __init__(self, albumId, media, mess): self.albumId = albumId @@ -34,6 +29,7 @@ class GropAlbum: else: return 'main', self.medias, self.mess + class ForwardAlbum: def __init__(self, albumId): self.albumId = albumId diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0bc1fec --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +telethon +tqdm \ No newline at end of file