data class ListTemplate : DefaultTemplate
여러 개의 컨텐츠를 리스트 형태로 보여줄 수 있는 메시지 템플릿입니다.
리스트 템플릿은 메시지 상단에 노출되는 헤더 타이틀과, 컨텐츠 목록, 버튼 등으로 구성됩니다. 헤더와 컨텐츠 각각의 링크를 가질 수 있습니다. 피드 템플릿과 마찬가지로 하나의 기본 버튼을 가지며 임의의 버튼을 설정할 수 있습니다.
<init> |
여러 개의 컨텐츠를 리스트 형태로 보여줄 수 있는 메시지 템플릿입니다. ListTemplate(headerTitle: String, headerLink: Link, headerImageUrl: String? = null, headerImageWidth: Int? = null, headerImageHeight: Int? = null, contents: List<Content>? = mutableListOf(), buttons: List<Button>? = mutableListOf(), buttonTitle: String? = null) |
buttons |
val buttons: List<Button>? |
buttonTitle |
val buttonTitle: String? |
contents |
val contents: List<Content>? |
headerImageHeight |
val headerImageHeight: Int? |
headerImageUrl |
val headerImageUrl: String? |
headerImageWidth |
val headerImageWidth: Int? |
headerLink |
val headerLink: Link |
headerTitle |
val headerTitle: String |
objectType |
val objectType: String |