telegram-bot-api
telegram-bot-api copied to clipboard
Error on import
I user jre8. My windows is 32 bit & I can not update my jre. When I imported the project I have had some problem in TelegramBot..java:
- the method builder is undefined -> Options.builder() line 43
- log can not be resolved ->log.info() line 125
- The method getResult() is undefined for the type GetUpdatesResponse -> response.getResult() line 228
- syntax error -> .map(Update::getMessage) line 239
- Syntax error on token "-", -- expected -> forEach(message -> othersMapping.accept(message)) line 258