Skip to content

Commit cc2c350

Browse files
committed
Add TCPIntermediateO to Connection modes
1 parent 98ebad3 commit cc2c350

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyrogram/connection/connection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ class Connection:
3232
0: TCPFull,
3333
1: TCPAbridged,
3434
2: TCPIntermediate,
35-
3: TCPAbridgedO
35+
3: TCPAbridgedO,
36+
4: TCPIntermediateO
3637
}
3738

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

0 commit comments

Comments
 (0)