CalendarTemplate

public struct CalendarTemplate : Codable, Templatable

톡캘린더의 구독 캘린더 또는 공개 일정 정보를 포함한 메시지 형식입니다. 카카오톡 채널의 구독 캘린더 또는 공개 일정을 사용자의 톡캘린더에 추가하는 기능을 제공합니다.

  • 캘린더 ID 타입 열거형

    See more

    Declaration

    Swift

    public enum IdType : String, Codable
  • “calendar” 고정 값

    Declaration

    Swift

    public let objectType: String
  • id

    공개 일정 Id or 구독 캘린더 Id

    Declaration

    Swift

    public let id: String
  • event, calendar 둘 중 하나

    Declaration

    Swift

    public let idType: IdType
  • 일정에 대해 설명하는 컨텐츠 정보

    Seealso

    Content

    Declaration

    Swift

    public let content: Content
  • 버튼 목록. 기본 버튼의 타이틀 외에 링크도 변경하고 싶을 때 설정 합니다. (최대 1개, 오른쪽 “위치 보기” 버튼은 고정)

    Seealso

    Button

    Declaration

    Swift

    public let buttons: [Button]?
  • Declaration

    Swift

    public func toJsonObject() -> [String : Any]?