rubenlagus / TelegramBots

Java library to create bots using Telegram Bots API
https://telegram.me/JavaBotsApi
MIT License
4.78k stars 1.22k forks source link

SendAnimation still has a problem! #580

Closed ShafiqSadat closed 5 years ago

ShafiqSadat commented 5 years ago

still i cant send GIF files!

Exception in thread " Telegram Executor" java.lang.NoSuchMethodError: ProPosteRobot.execute(Lorg/telegram/telegrambots/meta/api/methods/send/SendAnimation;)Lorg/telegram/telegrambots/meta/api/objects/Message;
        at ProPosteRobot.sendAnimation(ProPosteRobot.java:823)
        at ProPosteRobot.getUpdates(ProPosteRobot.java:261)
        at ProPosJavid.onUpdateReceived(ProPosJavid.java:7)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at org.telegram.telegrambots.meta.generics.LongPollingBot.onUpdatesReceived(LongPollingBot.java:27)
        at org.telegram.telegrambots.updatesreceivers.DefaultBotSession$HandlerThread.run(DefaultBotSession.java:305)
ShafiqSadat commented 5 years ago

Sorry fixed !