diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 9e28d66b..c6664daf 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -50,12 +50,11 @@ from pyrogram.crypto import AES from pyrogram.session import Auth, Session from pyrogram.session.internals import MsgId from . import message_parser -from .dispatcher import Dispatcher from . import utils +from .dispatcher import Dispatcher from .input_media import InputMedia from .style import Markdown, HTML from .syncer import Syncer -from .utils import decode log = logging.getLogger(__name__) @@ -1182,7 +1181,7 @@ class Client: ) else: try: - decoded = decode(photo) + decoded = utils.decode(photo) fmt = " 24 else " 24 else "