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