Phone

data class Phone(    val title: String,     val phone: String,     val rawData: String = "") : ContentData.Action

Shows a button that calls a phone number.

Constructors

Link copied to clipboard
fun Phone(    title: String,     phone: String,     rawData: String = "")

Properties

Link copied to clipboard
val phone: String

Phone number to call when the recipient taps the button.

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.