CommerceTemplate

@Serializable
data class CommerceTemplate @JvmOverloads constructor(val content: Content, val commerce: Commerce, val buttons: List<Button>? = null, val buttonTitle: String? = null) : DefaultTemplate

커머스 메시지용 기본 템플릿
Default template for commerce messages

Constructors

Link copied to clipboard
@JvmOverloads
constructor(content: Content, commerce: Commerce, 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

상품 정보
Product information

Link copied to clipboard

메시지 콘텐츠
Contents for the message

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

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