CalendarTemplate

@Serializable
data class CalendarTemplate @JvmOverloads constructor(val id: String, val idType: IdType, val content: Content, val buttons: List<Button>? = null) : DefaultTemplate

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

Constructors

Link copied to clipboard
@JvmOverloads
constructor(id: String, idType: IdType, content: Content, buttons: List<Button>? = null)

Properties

Link copied to clipboard
val buttons: List<Button>? = null

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

Link copied to clipboard

일정 설명
Event description

Link copied to clipboard
val id: String

구독 캘린더 또는 공개 일정 ID
ID for subscribed calendar or public event

Link copied to clipboard
@SerialName(value = "id_type")
val idType: IdType

ID 타입
ID type

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

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