tock / ai.tock.bot.connector.ga / basicCard

basicCard

fun I18nTranslator.basicCard(title: CharSequence?, subtitle: CharSequence?, formattedText: CharSequence?, image: GAImage?, buttons: List<GAButton>): GABasicCard (source)

Provides a GABasicCard with all available parameters.

fun I18nTranslator.basicCard(title: CharSequence? = null, subtitle: CharSequence? = null, formattedText: CharSequence? = null, image: GAImage? = null, button: GAButton? = null): GABasicCard (source)

Provides a GABasicCard with only one GAButton (only one is supported for now anyway).

fun I18nTranslator.basicCard(title: CharSequence, subtitle: CharSequence, image: GAImage, button: GAButton): GABasicCard (source)

Provides a GABasicCard without formattedText.

fun I18nTranslator.basicCard(title: CharSequence, button: GAButton): GABasicCard (source)

Provides a GABasicCard with title and button.

fun I18nTranslator.basicCard(title: CharSequence, subtitle: CharSequence): GABasicCard (source)

Provides a GABasicCard with title and subtitle.

fun I18nTranslator.basicCard(title: CharSequence, image: GAImage): GABasicCard (source)

Provides a GABasicCard with title and image.

fun I18nTranslator.basicCard(title: CharSequence, subtitle: CharSequence, image: GAImage): GABasicCard (source)

Provides a GABasicCard with title, subtitle and image.

fun I18nTranslator.basicCard(image: GAImage): GABasicCard (source)

Provides a GABasicCard with an image.