From 55010e4f1fcdbc88fa4e4d94a87bc97c2e3f3335 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 29 May 2018 12:20:42 +0200 Subject: [PATCH] Add TCPAbridgedO to Connection modes --- pyrogram/connection/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyrogram/connection/connection.py b/pyrogram/connection/connection.py index 2b29743e..01b322e8 100644 --- a/pyrogram/connection/connection.py +++ b/pyrogram/connection/connection.py @@ -31,7 +31,8 @@ class Connection: MODES = { 0: TCPFull, 1: TCPAbridged, - 2: TCPIntermediate + 2: TCPIntermediate, + 3: TCPAbridgedO } def __init__(self, address: tuple, proxy: dict, mode: int = 1):