Package ai.tock.bot.engine.action
Class SendSentenceWithFootnotes
-
- All Implemented Interfaces:
public class SendSentenceWithFootnotes extends Action
-
-
Field Summary
Fields Modifier and Type Field Description private final CharSequencetextprivate final List<Footnote>footnotesprivate final PlayerIdplayerIdprivate final PlayerIdrecipientIdprivate final ActionMetadatametadataprivate final StringapplicationIdprivate final Id<out Event>idprivate final Instantdateprivate final EventStatestate
-
Constructor Summary
Constructors Constructor Description SendSentenceWithFootnotes(PlayerId playerId, String applicationId, PlayerId recipientId, CharSequence text, List<Footnote> footnotes, Id<Action> id, Instant date, EventState state, ActionMetadata metadata)
-
Method Summary
Modifier and Type Method Description final CharSequencegetText()final List<Footnote>getFootnotes()MessagetoMessage()-
Methods inherited from class ai.tock.bot.engine.action.Action
booleanChoice, choice, getMetadata, getPlayerId, getRecipientId, jsonChoice, toActionId -
Methods inherited from class ai.tock.bot.engine.event.Event
getApplicationId, getDate, getId, getState, hasEntity, hasEntityPredefinedValue -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SendSentenceWithFootnotes
SendSentenceWithFootnotes(PlayerId playerId, String applicationId, PlayerId recipientId, CharSequence text, List<Footnote> footnotes, Id<Action> id, Instant date, EventState state, ActionMetadata metadata)
-
-
Method Detail
-
getText
final CharSequence getText()
-
getFootnotes
final List<Footnote> getFootnotes()
-
-
-
-