public class SentenceConfiguration implements MessageConfiguration
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessagepublic static ai.tock.bot.admin.message.SentenceConfiguration.Companion Companion
public SentenceConfiguration(@Nullable
ai.tock.translator.I18nLabelValue text,
@NotNull
java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> messages,
long delay)
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessage@NotNull public EventType getEventType()
@NotNull public Action toAction(@NotNull PlayerId playerId, @NotNull java.lang.String applicationId, @NotNull PlayerId recipientId, @NotNull java.util.Locale locale, @NotNull ai.tock.translator.UserInterfaceType userInterfaceType)
@Nullable public ai.tock.translator.I18nLabelValue getText()
@NotNull public java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> getMessages()
public long getDelay()
@Nullable public ai.tock.translator.I18nLabelValue component1()
@NotNull public java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> component2()
public long component3()
@NotNull public SentenceConfiguration copy(@Nullable ai.tock.translator.I18nLabelValue text, @NotNull java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> messages, long delay)
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessage@NotNull public java.lang.String toString()
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessagepublic int hashCode()
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessagepublic boolean equals(@Nullable
java.lang.Object p)
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessage