Since the Opta relies on the standard Arduino Ethernet/WiFi libraries for connectivity, it should work without problems with those libraries that use a generic Client like this (the second one is mine):
But the most important thing is that your client must be able to establish an SSL connection, because the Telegram server only accepts connections of that type on port 443