tock / ai.tock.bot.connector.messenger.model.webhook / OptinWebhook

# OptinWebhook

`data class OptinWebhook : Webhook` (source)

### Constructors

#### <init> | `OptinWebhook(sender: Sender?, recipient: Recipient, timestamp: Long, optin: Optin)`

### Properties

#### optin | `val optin: Optin`
#### recipient | `val recipient: Recipient`
#### sender | `val sender: Sender?`
#### timestamp | `val timestamp: Long`

### Functions

#### playerId | `fun playerId(playerType: PlayerType): PlayerId`

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