org.khasanof.state.Action Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-state Show documentation
Show all versions of fluent-state Show documentation
Fluent - Easy Telegram Bots with Spring
The newest version!
package org.khasanof.state;
import org.telegram.telegrambots.meta.api.objects.Update;
import org.telegram.telegrambots.meta.bots.AbsSender;
/**
* @author Nurislom
* @see org.khasanof.state
* @since 8/15/2023 9:43 PM
*/
public interface Action {
/**
*
* @param update
* @param state
* @throws Exception
*/
void onReceive(Update update, State state) throws Exception;
/**
*
* @return
*/
boolean updateHandlersProceed();
}