var client = new TelegramClient(ApiId, ApiHash,handler: TcpHandler);
.
.
.
TcpClient TcpHandler(string address, int port)
{
var socks = new Socks5ProxyClient("_proxe.adress", _proxy.port);
var tcp = socks.CreateConnection(address, port);
return tcp;
}
I recieve bad input parametres in tcphandler:
adress = "49929271795384,\"LastMessageId\":8,\"SequenceNumber\":0,\"U"
port = "1702125924"
When i try to use a proxy with such code:
I recieve bad input parametres in tcphandler: adress = "49929271795384,\"LastMessageId\":8,\"SequenceNumber\":0,\"U" port = "1702125924"