-
- All Implemented Interfaces:
-
ai.tock.bot.engine.I18nTranslator,ai.tock.translator.I18nKeyProvider
public final class ChatKeyValue extends ChatButtons
-
-
Field Summary
Fields Modifier and Type Field Description private final CharSequencetopLabelprivate final CharSequencecontentprivate final CharSequencebottomLabelprivate final ChatButtonActionactionprivate final BooleancontentMultilineprivate final StringiconUrlprivate final ChatIconiconprivate final List<ChatCardElement>childrenprivate final I18nTranslatori18nTranslatorprivate final StringcontextIdprivate final ConnectorTypetargetConnectorTypeprivate final UserInterfaceTypeuserInterfaceTypeprivate final LocaleuserLocale
-
Constructor Summary
Constructors Constructor Description ChatKeyValue(CharSequence topLabel, CharSequence content, CharSequence bottomLabel, ChatButtonAction action, Boolean contentMultiline, String iconUrl, ChatIcon icon, I18nTranslator i18nTranslator)
-
Method Summary
Modifier and Type Method Description final CharSequencegetTopLabel()final CharSequencegetContent()final CharSequencegetBottomLabel()final ChatButtonActiongetAction()final BooleangetContentMultiline()final StringgetIconUrl()final ChatIcongetIcon()final List<ChatCardElement>getChildren()final I18nTranslatorgetI18nTranslator()StringgetContextId()ConnectorTypegetTargetConnectorType()UserInterfaceTypegetUserInterfaceType()LocalegetUserLocale()-
Methods inherited from class ai.tock.bot.connector.googlechat.builder.ChatKeyValue
iconButton, iconButton, nlpTextButton, textButton -
Methods inherited from class ai.tock.bot.connector.googlechat.builder.ChatWidget
hasChatButtons -
Methods inherited from class ai.tock.translator.I18nKeyProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.engine.I18nTranslator
i18n, i18n -
Methods inherited from class ai.tock.bot.connector.googlechat.builder.ChatCardElement
translate, translate, translate, translateAndReturnBlankAsNull -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ChatKeyValue
ChatKeyValue(CharSequence topLabel, CharSequence content, CharSequence bottomLabel, ChatButtonAction action, Boolean contentMultiline, String iconUrl, ChatIcon icon, I18nTranslator i18nTranslator)
-
-
Method Detail
-
getTopLabel
final CharSequence getTopLabel()
-
getContent
final CharSequence getContent()
-
getBottomLabel
final CharSequence getBottomLabel()
-
getAction
final ChatButtonAction getAction()
-
getContentMultiline
final Boolean getContentMultiline()
-
getIconUrl
final String getIconUrl()
-
getChildren
final List<ChatCardElement> getChildren()
-
getI18nTranslator
final I18nTranslator getI18nTranslator()
-
getContextId
String getContextId()
-
getTargetConnectorType
ConnectorType getTargetConnectorType()
-
getUserInterfaceType
UserInterfaceType getUserInterfaceType()
-
getUserLocale
Locale getUserLocale()
-
-
-
-