-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChoice.Companion
-
Field Summary
Fields Modifier and Type Field Description private final EventTypeeventTypeprivate final StringintentNameprivate final Map<String, String>parametersprivate final Longdelay
-
Method Summary
Modifier and Type Method Description ActiontoAction(PlayerId playerId, String applicationId, PlayerId recipientId)StringtoPrettyString()Returns a human readable string representation of the message. BooleanisSimpleMessage()final Stringcomponent1()final Map<String, String>component2()final Longcomponent3()final Choicecopy(String intentName, Map<String, String> parameters, Long delay)EventTypegetEventType()final StringgetIntentName()final Map<String, String>getParameters()LonggetDelay()-
Methods inherited from class ai.tock.bot.engine.message.Choice
obfuscate, toAction -
Methods inherited from class ai.tock.bot.engine.message.Message
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
toPrettyString
String toPrettyString()
Returns a human readable string representation of the message.
-
isSimpleMessage
Boolean isSimpleMessage()
-
component1
final String component1()
-
component2
final Map<String, String> component2()
-
component3
final Long component3()
-
getEventType
EventType getEventType()
-
getIntentName
final String getIntentName()
-
getParameters
final Map<String, String> getParameters()
-
-
-
-