public Choice(@NotNull
java.lang.String intentName,
@NotNull
java.util.Map<java.lang.String,java.lang.String> parameters,
long delay)
A user choice.
public Choice(@NotNull
java.lang.String intentName,
@NotNull
StoryStep<? extends ai.tock.bot.definition.StoryHandlerDefinition> step,
@NotNull
java.util.Map<java.lang.String,java.lang.String> parameters,
long delay)
@NotNull public EventType getEventType()
@NotNull public Action toAction(@NotNull PlayerId playerId, @NotNull java.lang.String applicationId, @NotNull PlayerId recipientId)
@NotNull public java.lang.String toPrettyString()
Returns a human readable string representation of the message.
public boolean isSimpleMessage()
@NotNull public java.lang.String getIntentName()
@NotNull public java.util.Map<java.lang.String,java.lang.String> getParameters()
public long getDelay()
@NotNull public java.lang.String component1()
@NotNull public java.util.Map<java.lang.String,java.lang.String> component2()
public long component3()
@NotNull public Choice copy(@NotNull java.lang.String intentName, @NotNull java.util.Map<java.lang.String,java.lang.String> parameters, long delay)
A user choice.
@NotNull public java.lang.String toString()
A user choice.
public int hashCode()
A user choice.
public boolean equals(@Nullable
java.lang.Object p)
A user choice.