tock / ai.tock.bot.connector.web / webCarousel

webCarousel

fun <T : Bus<T>> T.webCarousel(vararg cards: WebCard, buttons: List<Button> = emptyList()): WebMessage (source)

Creates a WebMessage from a WebCarousel.

fun <T : Bus<T>> T.webCarousel(cards: List<WebCard>, buttons: List<Button> = emptyList()): WebMessage (source) fun <T : Bus<T>> T.webCarousel(carousel: MediaCarousel): OldWebMessage (source)
Deprecated: No more supported

Creates a OldWebMessage from a MediaCarousel.