完全相同的代码行之有效:
SendMessage request = new SendMessage("<channel code here deleted>", "Service is loading" );
SendResponse sendResponse = BotMaintain.bot.execute(request);
但是现在它抛出:
javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
电报政策发生了什么变化?据我所知,它并不需要任何证书。有什么办法可以解决这个问题?