tock / ai.tock.bot.connector.web / OldWebMessage

# OldWebMessage

`data class OldWebMessage : WebConnectorMessage` (source)
Deprecated: Use the new WebMessage implementation v1

### Constructors

#### <init> | `OldWebMessage(text: String? = null, buttons: List<WebButton> = emptyList(), card: MediaCard? = null, carousel: MediaCarousel? = null)`

### Properties

#### buttons | `val buttons: List<WebButton>`
#### card | `val card: MediaCard?`
#### carousel | `val carousel: MediaCarousel?`
#### connectorType | The connector type. `val connectorType: ConnectorType`
#### text | `val text: String?`

### Functions

#### toGenericMessage | Transforms this message into a generic GenericMessage. `fun toGenericMessage(): GenericMessage?`

### 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?`