Package com.kakao.sdk.template.model

메시지 템플릿 모델 패키지
Package for message templates model

Types

Link copied to clipboard
data class Button(title: String, link: Link) : Parcelable

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

Link copied to clipboard
data class CalendarTemplate @JvmOverloads constructor(id: String, idType: IdType, content: Content, buttons: List<Button>?) : DefaultTemplate, Parcelable

캘린더 메시지용 기본 템플릿
Default template for calendar messages

Link copied to clipboard
data class Commerce @JvmOverloads constructor(regularPrice: Int, discountPrice: Int?, fixedDiscountPrice: Int?, discountRate: Int?, productName: String?, currencyUnit: String?, currencyUnitPosition: Int?) : Parcelable

상품 정보
Product information

Link copied to clipboard
data class CommerceTemplate @JvmOverloads constructor(content: Content, commerce: Commerce, buttons: List<Button>?, buttonTitle: String?) : DefaultTemplate, Parcelable

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

Link copied to clipboard
data class Content @JvmOverloads constructor(title: String?, imageUrl: String?, link: Link, description: String?, imageWidth: Int?, imageHeight: Int?) : Parcelable

메시지 콘텐츠
Contents for the message

Link copied to clipboard
interface DefaultTemplate

기본 템플릿 인터페이스
Interface for the default template

Link copied to clipboard
data class FeedTemplate @JvmOverloads constructor(content: Content, itemContent: ItemContent?, social: Social?, buttons: List<Button>?, buttonTitle: String?) : DefaultTemplate, Parcelable

피드 메시지용 기본 템플릿
Default template for feed messages

Link copied to clipboard
enum IdType : Enum<IdType>

ID 타입
ID type

Link copied to clipboard
data class ItemContent @JvmOverloads constructor(profileText: String?, profileImageUrl: String?, titleImageText: String?, titleImageUrl: String?, titleImageCategory: String?, items: List<ItemInfo>?, sum: String?, sumOp: String?) : Parcelable

아이템 콘텐츠
Item contents

Link copied to clipboard
data class ItemInfo(item: String, itemOp: String) : Parcelable

아이템 정보
Item information

Link copied to clipboard
data class Link @JvmOverloads constructor(webUrl: String?, mobileWebUrl: String?, androidExecutionParams: Map<String, String>?, iosExecutionParams: Map<String, String>?) : Parcelable

바로가기 정보
Link information

Link copied to clipboard
data class ListTemplate @JvmOverloads constructor(headerTitle: String, headerLink: Link, contents: List<Content>, buttons: List<Button>?, buttonTitle: String?) : DefaultTemplate, Parcelable

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

Link copied to clipboard
data class LocationTemplate @JvmOverloads constructor(address: String, content: Content, addressTitle: String?, social: Social?, buttons: List<Button>?, buttonTitle: String?) : DefaultTemplate, Parcelable

위치 메시지용 기본 템플릿
Default template for location messages

Link copied to clipboard
data class Social @JvmOverloads constructor(likeCount: Int?, commentCount: Int?, sharedCount: Int?, viewCount: Int?, subscriberCount: Int?) : Parcelable

소셜 정보
Social information

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

텍스트 메시지용 기본 템플릿
Default template for text messages