tock / ai.tock.bot.connector.messenger.model.send / AttachmentMessage

# AttachmentMessage

`class AttachmentMessage : Message` (source)

### Constructors

#### <init> | `AttachmentMessage(attachment: Attachment, quickReplies: List<QuickReply>? = null)`

### Properties

#### attachment | `val attachment: Attachment`

### Functions

#### copy | `fun copy(quickReplies: List<QuickReply>?): Message`
#### equals | `fun equals(other: Any?): Boolean`
#### findElements | Find Elements if any. `fun findElements(): List<Element>`
#### hashCode | `fun hashCode(): Int`
#### obfuscate | Obfuscate the message - by default this method does nothing. `fun obfuscate(): ConnectorMessage`
#### 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?`