data class LocationTemplate : DefaultTemplate, Parcelable
주소를 이용하여 특정 위치를 공유할 수 있는 메시지 템플릿.
<init> |
주소를 이용하여 특정 위치를 공유할 수 있는 메시지 템플릿. LocationTemplate(address: String, content: Content, addressTitle: String? = null, social: Social? = null, buttons: List<Button>? = null, buttonTitle: String? = null) |
address |
공유할 위치의 주소. 예) 경기 성남시 분당구 판교역로 235 val address: String |
addressTitle |
카카오톡 내의 지도 뷰에서 사용되는 타이틀. 예) 카카오판교오피스 val addressTitle: String? |
buttons |
버튼 목록. 기본 버튼의 타이틀 외에 링크도 변경하고 싶을 때 설정. (최대 1개, 오른쪽 위치 보기 버튼은 고정) val buttons: List<Button>? |
buttonTitle |
기본 버튼 타이틀(자세히 보기)을 변경하고 싶을 때 설정. 이 값을 사용하면 클릭 시 이동할 링크는 content에 입력된 값이 사용됨. val buttonTitle: String? |
content |
위치에 대해 설명하는 컨텐츠 정보 val content: Content |
objectType |
"location" 고정 값 val objectType: String |
social |
댓글수, 좋아요수 등, 컨텐츠에 대한 소셜 정보 val social: Social? |