tock / ai.tock.bot.connector.web / webCard

webCard

fun <T : Bus<T>> T.webCard(card: WebCard): WebMessage (source)

Creates a WebMessage from a WebCard.

fun <T : Bus<T>> T.webCard(title: CharSequence?, subTitle: CharSequence?, buttons: List<Button> = emptyList()): WebCard (source) fun <T : Bus<T>> T.webCard(card: MediaCard): OldWebMessage (source)
Deprecated: No more supported

Creates a OldWebMessage from a MediaCard.