Open DrakkosSF opened 6 years ago
Hi, you could use Telegram-meta package and implement you own version of the bot that doesn't use Apache client, it should make the trick.
Thanks for the directions. Started looking into DefaultAbsSender and seemed like only necessary rework needed was implementing a bridge that would post Http Client's HTTPPost parameters with java.net.HttpUrlConnection. Will take a look at telegram-meta probably a cleanest place to insert custom behaviour like this.
@DrakkosSF I'm open to consider a pull request with those changes if they are valid and useful for everyone
If this hasn't been done, I would like to pick this up. Let me know if this is still available.
The library cannot be used on Google App Engine because it uses Apache HTTP Client under the hood to manage communications with Telegram servers.
If it had a setting to use java.net.HttpURLConnection instead, it could run fine in Google App Engine java 8 environments withurlfetch configured in appengine-web.xml as noted here.