Class ReplyFlow.ReplyFlowBuilder
- java.lang.Object
-
- org.telegram.abilitybots.api.objects.ReplyFlow.ReplyFlowBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplyFlow.ReplyFlowBuilderaction(Consumer<org.telegram.telegrambots.meta.api.objects.Update> action)ReplyFlowbuild()ReplyFlow.ReplyFlowBuilderenableStats(String name)ReplyFlow.ReplyFlowBuildernext(Reply nextReply)ReplyFlow.ReplyFlowBuildernext(ReplyFlow nextReplyFlow)ReplyFlow.ReplyFlowBuilderonlyIf(Predicate<org.telegram.telegrambots.meta.api.objects.Update> pred)
-
-
-
Field Detail
-
STATES
public static final String STATES
- See Also:
- Constant Field Values
-
-
Method Detail
-
action
public ReplyFlow.ReplyFlowBuilder action(Consumer<org.telegram.telegrambots.meta.api.objects.Update> action)
-
enableStats
public ReplyFlow.ReplyFlowBuilder enableStats(String name)
-
onlyIf
public ReplyFlow.ReplyFlowBuilder onlyIf(Predicate<org.telegram.telegrambots.meta.api.objects.Update> pred)
-
next
public ReplyFlow.ReplyFlowBuilder next(Reply nextReply)
-
next
public ReplyFlow.ReplyFlowBuilder next(ReplyFlow nextReplyFlow)
-
build
public ReplyFlow build()
-
-