TextTemplate
public struct TextTemplate : Codable, Templatable
텍스트형 기본 템플릿 클래스 입니다.
-
text
고정 값Declaration
Swift
public let objectType: String
-
메시지에 들어갈 텍스트 (최대 200자)
Declaration
Swift
public let text: String
-
기본 버튼 타이틀(
자세히 보기
)을 변경하고 싶을 때 설정. 이 값을 사용하면 클릭 시 이동할 링크는 content에 입력된 값이 사용됩니다.Declaration
Swift
public let buttonTitle: String?
-
Declaration
Swift
public func toJsonObject() -> [String : Any]?