Open gerberasa opened 4 years ago
It seems telegram server requires TLS1.2. Add this before botclient.SendTextMessageAsync():
Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls12
It seems telegram server requires TLS1.2. Add this before botclient.SendTextMessageAsync():
Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Tls12