MonsterDeveloper / java-telegram-bot-tutorial

Java Telegram Bot Tutorial. Feel free to submit issue if you found a mistake.
https://monsterdeveloper.gitbook.io/java-telegram-bot-tutorial/
312 stars 102 forks source link

Execute doesn't compile #4

Closed maxkwaaste closed 6 years ago

maxkwaaste commented 6 years ago

Hi,

I've copy pasted the code into IntelliJ, and the only error is that execute(new_message) and execute(message) doesnt compile. It gives Error:(38, 21) java: cannot find symbol.

MonsterDeveloper commented 6 years ago

Can you show full error code?

maxkwaaste commented 6 years ago

sure! thanks for your swift response. Error:(62, 17) java: cannot find symbol symbol: method execute(org.telegram.telegrambots.api.methods.send.SendMessage) location: class bestellen

maxkwaaste commented 6 years ago

class "bestellen" is class "bot" in your example