tock / ai.tock.bot.admin.message / AttachmentConfiguration

# AttachmentConfiguration

`data class AttachmentConfiguration : MessageConfiguration` (source)

A simple attachment file.

### Constructors

#### <init> | A simple attachment file. `AttachmentConfiguration(url: String, type: AttachmentType, delay: Long = 0)`

### Properties

#### delay | `val delay: Long`
#### eventType | `val eventType: EventType`
#### type | `val type: AttachmentType`
#### url | `val url: String`

### Functions

#### toAction | `fun toAction(playerId: PlayerId, applicationId: String, recipientId: PlayerId, locale: Locale, userInterfaceType: UserInterfaceType): Action`