2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Add TCPIntermediateO to Connection modes

This commit is contained in:
Dan 2018-05-30 19:29:45 +02:00
parent 98ebad3428
commit cc2c3509be

View File

@ -32,7 +32,8 @@ class Connection:
0: TCPFull, 0: TCPFull,
1: TCPAbridged, 1: TCPAbridged,
2: TCPIntermediate, 2: TCPIntermediate,
3: TCPAbridgedO 3: TCPAbridgedO,
4: TCPIntermediateO
} }
def __init__(self, address: tuple, proxy: dict, mode: int = 1): def __init__(self, address: tuple, proxy: dict, mode: int = 1):