mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-30 17:43:32 +00:00
Optimize imports
This commit is contained in:
parent
08d6912637
commit
740c96f0ea
@ -20,7 +20,6 @@ import re
|
||||
from importlib import import_module
|
||||
|
||||
from pyrogram.api.types import RpcError
|
||||
|
||||
from .exceptions.all import exceptions
|
||||
|
||||
|
||||
|
@ -24,8 +24,6 @@ from collections import namedtuple
|
||||
from configparser import ConfigParser
|
||||
from hashlib import sha256
|
||||
|
||||
from pyrogram.extensions import Markdown
|
||||
|
||||
from pyrogram.api import functions, types
|
||||
from pyrogram.api.core import Object
|
||||
from pyrogram.api.errors import (
|
||||
@ -40,6 +38,7 @@ from pyrogram.api.types import (
|
||||
Dialog, Message,
|
||||
InputPeerEmpty, InputPeerSelf,
|
||||
InputPeerUser, InputPeerChat, InputPeerChannel)
|
||||
from pyrogram.extensions import Markdown
|
||||
from pyrogram.session import Auth, Session
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
Loading…
Reference in New Issue
Block a user