LocationTemplate

@Serializable
data class LocationTemplate @JvmOverloads constructor(val address: String, val content: Content, val addressTitle: String? = null, val social: Social? = null, val buttons: List<Button>? = null, val buttonTitle: String? = null) : DefaultTemplate

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

Constructors

Link copied to clipboard
@JvmOverloads
constructor(address: String, content: Content, addressTitle: String? = null, social: Social? = null, buttons: List<Button>? = null, buttonTitle: String? = null)

Properties

Link copied to clipboard
val address: String

주소
Address

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

장소 이름
Name of the place

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

메시지 콘텐츠
Contents for the message

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

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

Link copied to clipboard
val social: Social? = null

소셜 정보
Social information