mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Unify the way deserialization is returned
This commit is contained in:
@@ -2,7 +2,17 @@ from .authentication import CreatedKey, Step1, Step2, Step3, create_key
|
||||
from .authentication import step1 as auth_step1
|
||||
from .authentication import step2 as auth_step2
|
||||
from .authentication import step3 as auth_step3
|
||||
from .mtp import BadMessage, Deserialization, Encrypted, MsgId, Mtp, Plain, RpcError
|
||||
from .mtp import (
|
||||
BadMessage,
|
||||
Deserialization,
|
||||
Encrypted,
|
||||
MsgId,
|
||||
Mtp,
|
||||
Plain,
|
||||
RpcError,
|
||||
RpcResult,
|
||||
Update,
|
||||
)
|
||||
from .transport import Abridged, BadStatus, Full, Intermediate, MissingBytes, Transport
|
||||
from .utils import DEFAULT_COMPRESSION_THRESHOLD
|
||||
|
||||
@@ -22,6 +32,8 @@ __all__ = [
|
||||
"Mtp",
|
||||
"Plain",
|
||||
"RpcError",
|
||||
"RpcResult",
|
||||
"Update",
|
||||
"Abridged",
|
||||
"BadStatus",
|
||||
"Full",
|
||||
|
Reference in New Issue
Block a user