public class GAListBuildersKt
@NotNull public static GAResponseConnectorMessage gaMessage(@NotNull ai.tock.bot.engine.I18nTranslator $this$gaMessage, @NotNull GARichResponse gaRichResponse, @NotNull java.util.List<ai.tock.bot.connector.ga.model.response.GAListItem> listItems, @Nullable java.lang.CharSequence title)
Provides a message with a class GAListSelect.
class GAListSelect@NotNull public static GAResponseConnectorMessage gaMessageForList(@NotNull ai.tock.bot.engine.I18nTranslator $this$gaMessageForList, @NotNull java.util.List<ai.tock.bot.connector.ga.model.response.GAListItem> items, @Nullable java.lang.CharSequence title, @NotNull java.util.List<? extends java.lang.CharSequence> suggestions)
Provides a message with a class GAListSelect and a list of class GASuggestion.
class GAListSelect,
class GASuggestion@NotNull public static GAResponseConnectorMessage gaFlexibleMessageForList(@NotNull ai.tock.bot.engine.I18nTranslator $this$gaFlexibleMessageForList, @NotNull java.util.List<ai.tock.bot.connector.ga.model.response.GAListItem> items, @Nullable java.lang.CharSequence title, @NotNull java.util.List<? extends java.lang.CharSequence> suggestions, @Nullable java.lang.CharSequence oneItemTitle, @Nullable java.lang.CharSequence oneItemSubtitle, @Nullable java.lang.CharSequence oneItemDescription, @NotNull java.util.List<? extends java.lang.CharSequence> oneItemSuggestions)
Add a basic card if only one element in the items list in order to avoid the limitation of 2 items.
items - the carousel itemstitle - the optional list titlesuggestions - the suggestionsoneItemTitle - if not null and if there is only one item, use this as title. If null GAListItem.title is used as titleoneItemSubtitle - if not null and if there is only one item, use this as subtitle. If null and the image is not null, title is used as subtitleoneItemDescription - if not null and if there is only one item, use this as description. If null and the image is null, GAListItem.description is used as descriptiononeItemSuggestions - the additional suggestion if there is only one item@NotNull public static GAExpectedIntent expectedIntentForList(@NotNull ai.tock.bot.engine.I18nTranslator $this$expectedIntentForList, @NotNull java.util.List<ai.tock.bot.connector.ga.model.response.GAListItem> items, @Nullable java.lang.CharSequence title)
Provides a class GAExpectedIntent with a class GAListSelect.
class GAExpectedIntent,
class GAListSelect@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @NotNull kotlin.Pair... parameters)
Provides a class GAListItem with String parameters without description.
class GAListItem,
String@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @NotNull java.lang.CharSequence description, @Nullable java.lang.String imageUrl, @NotNull kotlin.Pair... parameters)
Provides a class GAListItem with String parameters with description and optional imageUrl.
class GAListItem,
String@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @NotNull ai.tock.bot.definition.Parameters parameters)
Provides a class GAListItem with String parameters without description.
class GAListItem,
String@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @Nullable java.lang.CharSequence description, @Nullable java.lang.String imageUrl, @NotNull ai.tock.bot.definition.Parameters parameters)
Provides a class GAListItem with String parameters with description and optional imageUrl.
class GAListItem,
String@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @Nullable ai.tock.bot.definition.StoryStep<? extends ai.tock.bot.definition.StoryHandlerDefinition> step, @NotNull ai.tock.bot.definition.Parameters parameters)
Provides a class GAListItem with StoryStep and Parameters parameters without description.
class GAListItem@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @Nullable ai.tock.bot.definition.StoryStep<? extends ai.tock.bot.definition.StoryHandlerDefinition> step, @NotNull kotlin.Pair... parameters)
Provides a class GAListItem with StoryStep and Parameters parameters without description.
class GAListItem@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @Nullable ai.tock.bot.definition.StoryStep<? extends ai.tock.bot.definition.StoryHandlerDefinition> step, @Nullable java.lang.CharSequence description, @Nullable java.lang.String imageUrl, @NotNull ai.tock.bot.definition.Parameters parameters)
Provides a class GAListItem with StoryStep and Parameters parameters.
class GAListItem@NotNull public static <T extends Bus<T>> GAListItem listItem(@NotNull T $this$listItem, @NotNull java.lang.CharSequence title, @NotNull ai.tock.bot.definition.IntentAware targetIntent, @Nullable ai.tock.bot.definition.StoryStep<? extends ai.tock.bot.definition.StoryHandlerDefinition> step, @Nullable java.lang.CharSequence description, @Nullable java.lang.String imageUrl, @NotNull kotlin.Pair... parameters)
Provides a class GAListItem with StoryStep and Parameters parameters.
class GAListItem