TLSharp
TLSharp copied to clipboard
Bad input parameters of tcp handler when i try to use a proxy.
When i try to use a proxy with such code:
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"
All work fine if i use own build of ur library. I think that there are troubles with nuget package