public class GABasicCardsBuilderKt
| Modifier and Type | Method and Description |
|---|---|
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
java.lang.CharSequence title,
java.lang.CharSequence subtitle,
java.lang.CharSequence formattedText,
GAImage image,
java.util.List<ai.tock.bot.connector.ga.model.response.GAButton> buttons)
Provides a
class GABasicCard with all available parameters. |
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
java.lang.CharSequence title,
java.lang.CharSequence subtitle,
java.lang.CharSequence formattedText,
GAImage image,
GAButton button)
Provides a
class GABasicCard with only one class GAButton (only one is supported for now anyway). |
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
java.lang.CharSequence title,
java.lang.CharSequence subtitle,
GAImage image,
GAButton button)
Provides a
class GABasicCard without formattedText. |
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
java.lang.CharSequence title,
GAButton button)
Provides a
class GABasicCard with title and button. |
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
java.lang.CharSequence title,
java.lang.CharSequence subtitle)
Provides a
class GABasicCard with title and subtitle. |
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
java.lang.CharSequence title,
GAImage image)
Provides a
class GABasicCard with title and image. |
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
java.lang.CharSequence title,
java.lang.CharSequence subtitle,
GAImage image)
Provides a
class GABasicCard with title, subtitle and image. |
static GABasicCard |
basicCard(ai.tock.bot.engine.I18nTranslator $receiver,
GAImage image)
Provides a
class GABasicCard with an image. |
@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @Nullable java.lang.CharSequence title, @Nullable java.lang.CharSequence subtitle, @Nullable java.lang.CharSequence formattedText, @Nullable GAImage image, @NotNull java.util.List<ai.tock.bot.connector.ga.model.response.GAButton> buttons)
Provides a class GABasicCard with all available parameters.
class GABasicCard@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @Nullable java.lang.CharSequence title, @Nullable java.lang.CharSequence subtitle, @Nullable java.lang.CharSequence formattedText, @Nullable GAImage image, @Nullable GAButton button)
Provides a class GABasicCard with only one class GAButton (only one is supported for now anyway).
class GABasicCard,
class GAButton@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @NotNull java.lang.CharSequence title, @NotNull java.lang.CharSequence subtitle, @NotNull GAImage image, @NotNull GAButton button)
Provides a class GABasicCard without formattedText.
class GABasicCard@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @NotNull java.lang.CharSequence title, @NotNull GAButton button)
Provides a class GABasicCard with title and button.
class GABasicCard@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @NotNull java.lang.CharSequence title, @NotNull java.lang.CharSequence subtitle)
Provides a class GABasicCard with title and subtitle.
class GABasicCard@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @NotNull java.lang.CharSequence title, @NotNull GAImage image)
Provides a class GABasicCard with title and image.
class GABasicCard@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @NotNull java.lang.CharSequence title, @NotNull java.lang.CharSequence subtitle, @NotNull GAImage image)
Provides a class GABasicCard with title, subtitle and image.
class GABasicCard@NotNull public static GABasicCard basicCard(@NotNull ai.tock.bot.engine.I18nTranslator $receiver, @NotNull GAImage image)
Provides a class GABasicCard with an image.
class GABasicCard