Reply

data class Reply(    val title: String,     val id: String? = null,     val index: Long,     val rawData: String = "") : ContentData.Action

Shows a button that sends back a predefined text.

Constructors

Link copied to clipboard
fun Reply(    title: String,     id: String? = null,     index: Long,     rawData: String = "")

Properties

Link copied to clipboard
val id: String? = null

Postback payload. This field is not visible to the end user.

Link copied to clipboard
val index: Long

Index for the action.

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. This is the message that will be sent back when the user taps on the button.