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

# getUrlPayload

`fun getUrlPayload(attachment: SendAttachment): UrlPayload` (source)

Create an UrlPayload from an url. Uses default cache configuration.

`fun getUrlPayload(applicationId: String, url: String, useCache: Boolean): UrlPayload` (source)

Create an UrlPayload from an url.

### Parameters

`applicationId` - the applicationId

`url` - the url

`useCache` - is cache is used?