TextTemplate

data class TextTemplate @JvmOverloads constructor(text: String, link: Link, buttons: List<Button>?, buttonTitle: String?) : DefaultTemplate, Parcelable

텍스트형 기본 템플릿 클래스

Constructors

Link copied to clipboard
fun TextTemplate(text: String, link: Link, buttons: List<Button>? = null, buttonTitle: String? = null)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val buttons: List<Button>? = null

버튼 목록. 버튼 타이틀과 링크를 변경하고 싶을때, 버튼 두개를 사용하고 싶을때 사용. (최대 2개)

Link copied to clipboard
val buttonTitle: String? = null

기본 버튼 타이틀(자세히 보기)을 변경하고 싶을 때 설정. 이 값을 사용하면 클릭 시 이동할 링크는 content에 입력된 값이 사용됨.

Link copied to clipboard
val link: Link

컨텐츠 클릭 시 이동할 링크 정보

Link copied to clipboard
val objectType: String

"text" 고정 값

Link copied to clipboard
val text: String

메시지에 들어갈 텍스트 (최대 200자)