io.github.zhyshko.core.router.UpdateRouter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BotIO Show documentation
Show all versions of BotIO Show documentation
A framework for easy Telegram Bot creation
The newest version!
package io.github.zhyshko.core.router;
import io.github.zhyshko.core.i18n.impl.I18NLabelsWrapper;
import io.github.zhyshko.core.response.ResponseEntity;
import io.github.zhyshko.core.util.UpdateType;
import io.github.zhyshko.core.util.UpdateWrapper;
import java.util.Optional;
public interface UpdateRouter {
Optional handle(UpdateWrapper wrapper, I18NLabelsWrapper i18NLabelsWrapper) throws Exception;
void beforeHandle(UpdateWrapper wrapper, I18NLabelsWrapper i18NLabelsWrapper);
Route getRouteToHandle(UpdateWrapper wrapper);
void afterHandle(Optional responseEntityOptional,
UpdateWrapper wrapper, I18NLabelsWrapper i18NLabelsWrapper);
UpdateType getType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy