public abstract class DefaultUpdateHandler extends Object implements UpdateHandler
| Constructor and Description |
|---|
DefaultUpdateHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.logging.log4j.Logger |
getLogger() |
protected abstract ResourceBundle |
getResourceBundle(Update update) |
protected abstract String |
getRobotUsername() |
protected abstract void |
handleChosenInlineResult(ResourceBundle bundle,
ChosenInlineResult chosenInlineResult) |
protected abstract void |
handleCommands(ResourceBundle bundle,
Command cmd,
Message message) |
protected abstract void |
handleEditedTextMessage(ResourceBundle bundle,
Message editedMessage) |
protected abstract void |
handleInlineQuery(ResourceBundle bundle,
InlineQuery inlineQuery) |
protected abstract void |
handleLeftChatMember(ResourceBundle bundle,
Message message) |
protected abstract void |
handleLocationMessage(ResourceBundle bundle,
Message message) |
protected abstract void |
handleNewChatMember(ResourceBundle bundle,
Message message) |
protected abstract void |
handleOrdinaryTextMessage(ResourceBundle bundle,
Message message) |
boolean |
handleUpdate(Update update) |
public boolean handleUpdate(Update update)
protected abstract org.apache.logging.log4j.Logger getLogger()
protected abstract ResourceBundle getResourceBundle(Update update)
protected abstract String getRobotUsername()
protected abstract void handleNewChatMember(ResourceBundle bundle, Message message)
protected abstract void handleLeftChatMember(ResourceBundle bundle, Message message)
protected abstract void handleLocationMessage(ResourceBundle bundle, Message message)
protected abstract void handleOrdinaryTextMessage(ResourceBundle bundle, Message message)
protected abstract void handleEditedTextMessage(ResourceBundle bundle, Message editedMessage)
protected abstract void handleCommands(ResourceBundle bundle, Command cmd, Message message)
protected abstract void handleInlineQuery(ResourceBundle bundle, InlineQuery inlineQuery)
protected abstract void handleChosenInlineResult(ResourceBundle bundle, ChosenInlineResult chosenInlineResult)
Copyright © 2017 iSuper.org. All Rights Reserved.