@@ -0,0 +1,936 @@
+package commands;%0A%0Aimport org.telegram.telegrambots.api.methods.send.SendMessage;%0Aimport org.telegram.telegrambots.api.objects.Chat;%0Aimport org.telegram.telegrambots.api.objects.User;%0Aimport org.telegram.telegrambots.bots.AbsSender;%0Aimport org.telegram.telegrambots.bots.commands.BotCommand;%0Aimport org.telegram.telegrambots.exceptions.TelegramApiException;%0Aimport org.telegram.telegrambots.logging.BotLogger;%0A%0Apublic class myStatCommand extends BotCommand %7B%0A%0A%09public myStatCommand() %7B%0A%09%09super(%22Hello%22, %22say Hello%22);%0A%0A%09%7D%0A%0A%09@Override%0A%09public void execute(AbsSender absSender, User user, Chat chat, String%5B%5D strings) %7B%0A%0A%09%09String m = %22hello %3Cb%3E%22;%0A%09%09SendMessage message = new SendMessage();%0A%09%09message.setChatId(chat.getId().toString());%0A%09%09message.enableHtml(true);%0A%09%09message.setText(m + user.getUserName() + %22%3C/b%3E%22);%0A%09%09try %7B%0A%09%09%09absSender.sendMessage(message);%0A%09%09%7D catch (TelegramApiException e) %7B%0A%0A%09%09%09BotLogger.error(%22MAIN%22, e);%0A%09%09%7D%0A%0A%09%7D%0A%0A%7D%0A

Create myStatCommand.java