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

# UrlPayload

`data class UrlPayload : Payload` (source)

### Constructors

#### <init> | `UrlPayload(url: String?, attachmentId: String?, reusable: Boolean?)`

### Properties

#### attachmentId | `val attachmentId: String?`
#### reusable | `val reusable: Boolean?`
#### url | `val url: String?`

### Companion Object Functions

#### getUrlPayload | Create an UrlPayload from an url. Uses default cache configuration. `fun getUrlPayload(attachment: SendAttachment): UrlPayload` Create an UrlPayload from an url. `fun getUrlPayload(applicationId: String, url: String, useCache: Boolean): UrlPayload`