@@ -0,0 +1,958 @@
+import org.telegrambots.api.methods.send.SendMessage;%0Aimport org.telegrambots.api.objects.Message;%0Aimport org.telegrambots.api.objects.Update;%0Aimport org.telegrambots.api.bots.TelegramLongPollingBot;%0A%0Apublic class TelegramBot extends TelegramLongPollingBot %7B%0A    @Override%0A    public void onUpdateReceived(Update update) %7B%0A        System.out.println(update.getMessage());%0A        try%7B%0A            SendMessage message = new SendMessage() // Create a SendMessage object with mandatory fields%0A                .sendChatId(update.getMessage().getChatId())%0A                .setReplyToMessageId(update.getMessage().getMessageId())%0A                .setText(%22Hello World!%22);%0A            this.sendMessage(message);%0A        %7Dcatch(Exception ex)%7B%0A            System.out.println(%22Error%22);%0A        %7D%0A    %7D%0A    @Override%0A    public String getBotUsername() %7B%0A        return %22Test-API%22;%0A    %7D%0A    @Override%0A    public String getBotToken() %7B%0A        return %22%3Ctoken%3E%22;%0A    %7D%0A%7D%0A

Create TelegramBot.java