-
- All Implemented Interfaces:
-
ai.tock.bot.api.model.message.bot.BotMessage
public final class Sentence implements BotMessage
-
-
Field Summary
Fields Modifier and Type Field Description private final I18nTexttextprivate final List<Suggestion>suggestionsprivate final Longdelay
-
Constructor Summary
Constructors Constructor Description Sentence(I18nText text, List<Suggestion> suggestions, Long delay)
-
Method Summary
Modifier and Type Method Description final I18nTextcomponent1()final List<Suggestion>component2()final Longcomponent3()final Sentencecopy(I18nText text, List<Suggestion> suggestions, Long delay)final I18nTextgetText()final List<Suggestion>getSuggestions()LonggetDelay()The delay to wait before sending this message. -
-
Constructor Detail
-
Sentence
Sentence(I18nText text, List<Suggestion> suggestions, Long delay)
-
-
Method Detail
-
component1
final I18nText component1()
-
component2
final List<Suggestion> component2()
-
component3
final Long component3()
-
getSuggestions
final List<Suggestion> getSuggestions()
-
-
-
-