mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-18 13:34:54 +00:00
Use TCPAbridged (async) connection mode
This commit is contained in:
parent
980807f1de
commit
d5c2ca2e1d
@ -36,7 +36,7 @@ class Connection:
|
||||
4: TCPIntermediateO
|
||||
}
|
||||
|
||||
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 2):
|
||||
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 1):
|
||||
self.dc_id = dc_id
|
||||
self.ipv6 = ipv6
|
||||
self.proxy = proxy
|
||||
|
Loading…
Reference in New Issue
Block a user