How the client reaches Telegram: directly, through a proxy or over WebSocket. A custom route implements connect; teleproto keeps the MTProto framing, obfuscation and reconnects.
Optional
Opens a connected stream to address, such as a net.Socket or any duplex stream.
address
net.Socket
Readonly
How the client reaches Telegram: directly, through a proxy or over WebSocket. A custom route implements connect; teleproto keeps the MTProto framing, obfuscation and reconnects.