Interface IEditedMessageHandler
-
- All Superinterfaces:
ITelegramHandler
public interface IEditedMessageHandler extends ITelegramHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonEditMessage(AbstractTelegramBot bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.Message message)Fired whenever user types anything but a command-
Methods inherited from interface com.github.unafraid.telegrambot.handlers.ITelegramHandler
getRequiredAccessLevel
-
-
-
-
Method Detail
-
onEditMessage
boolean onEditMessage(AbstractTelegramBot bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.Message message) throws org.telegram.telegrambots.meta.exceptions.TelegramApiException
Fired whenever user types anything but a command- Parameters:
bot- the botupdate- the updatemessage- the message- Returns:
trueif edit was successful, aborting notification to other handlers,falseotherwise, continuing to look for handler that would returntrue- Throws:
org.telegram.telegrambots.meta.exceptions.TelegramApiException- the exception
-
-