tock / ai.tock.bot.connector.teams.messages / TeamsHeroCard

TeamsHeroCard

class TeamsHeroCard : TeamsBotMessage (source)

Constructors

<init>

TeamsHeroCard(title: String?, subtitle: String?, attachmentContent: String, images: List<CardImage>?, buttons: List<CardAction>?, tap: CardAction?)

Properties

attachmentContent

val attachmentContent: String

buttons

val buttons: List<CardAction>?

images

val images: List<CardImage>?

subtitle

val subtitle: String?

tap

val tap: CardAction?

title

val title: String?

Functions

equals

fun equals(other: Any?): Boolean

toGenericMessage

Transforms this message into a generic GenericMessage.

fun toGenericMessage(): GenericMessage

toString

fun toString(): String

Extension Functions

asGenericMessage

fun ConnectorMessage.asGenericMessage(assertionCreator: Assert<GenericMessage>.() -> Unit): Unit

findTransactionDecisionValueV3

Return a GATransactionDecisionValueV3 if available.

fun ConnectorMessage.findTransactionDecisionValueV3(): GATransactionDecisionValueV3?

findTransactionRequirementsCheckResultV3

Return a GATransactionRequirementsCheckResultV3 if available.

fun ConnectorMessage.findTransactionRequirementsCheckResultV3(): GATransactionRequirementsCheckResultV3?