Skip to content

Commit 55010e4

Browse files
committed
Add TCPAbridgedO to Connection modes
1 parent 0866dfa commit 55010e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyrogram/connection/connection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ class Connection:
3131
MODES = {
3232
0: TCPFull,
3333
1: TCPAbridged,
34-
2: TCPIntermediate
34+
2: TCPIntermediate,
35+
3: TCPAbridgedO
3536
}
3637

3738
def __init__(self, address: tuple, proxy: dict, mode: int = 1):

0 commit comments

Comments
 (0)