Url

data class Url(    val title: String,     val url: String,     val rawData: String = "") : ContentData.Action

Shows a button that redirects recipient to predefined URL.

Constructors

Link copied to clipboard
fun Url(    title: String,     url: String,     rawData: String = "")

Properties

Link copied to clipboard
open override val rawData: String

Full data as stringified JSON. Can be used for new action types and fields which are not supported in the current version of Conversations SDK.

Link copied to clipboard
val title: String

Display value for the action.

Link copied to clipboard
val url: String

URL to direct to when the recipient taps the button.