ListTemplate

@Serializable
data class ListTemplate @JvmOverloads constructor(val headerTitle: String, val headerLink: Link, val contents: List<Content>, val buttons: List<Button>? = null, val buttonTitle: String? = null) : DefaultTemplate

리스트 메시지용 기본 템플릿
Default template for list messages

Constructors

Link copied to clipboard
@JvmOverloads
constructor(headerTitle: String, headerLink: Link, contents: List<Content>, buttons: List<Button>? = null, buttonTitle: String? = null)

Properties

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

메시지 하단 버튼
Button at the bottom of the message

Link copied to clipboard
@SerialName(value = "button_title")
val buttonTitle: String? = null

버튼 문구
Label for the button

Link copied to clipboard
val contents: List<Content>

메시지 콘텐츠
Contents for the message

Link copied to clipboard
@SerialName(value = "header_link")
val headerLink: Link

헤더 바로가기 정보
Link of the header

Link copied to clipboard
@SerialName(value = "header_title")
val headerTitle: String

헤더 문구
Title of the header

Link copied to clipboard
@Required
@SerialName(value = "object_type")
val objectType: String

메시지 템플릿 타입, "list"로 고정
Type of the message template, fixed as "list"