ButtonParser
Defined in: packages/template/src/parser/button.parser.ts:3
Constructors
섹션 제목: “Constructors”Constructor
섹션 제목: “Constructor”new ButtonParser():
ButtonParser
Returns
섹션 제목: “Returns”ButtonParser
Methods
섹션 제목: “Methods”deserializeButtons()
섹션 제목: “deserializeButtons()”
staticdeserializeButtons(buttonsJson):TemplateButton[]
Defined in: packages/template/src/parser/button.parser.ts:169
JSON 문자열에서 버튼 배열로 역직렬화합니다
Parameters
섹션 제목: “Parameters”buttonsJson
섹션 제목: “buttonsJson”string
Returns
섹션 제목: “Returns”serializeButtons()
섹션 제목: “serializeButtons()”
staticserializeButtons(buttons):string
Defined in: packages/template/src/parser/button.parser.ts:151
버튼을 JSON 문자열로 직렬화합니다 (카카오 API 형식)
Parameters
섹션 제목: “Parameters”buttons
섹션 제목: “buttons”Returns
섹션 제목: “Returns”string
validateButtons()
섹션 제목: “validateButtons()”
staticvalidateButtons(buttons):object
Defined in: packages/template/src/parser/button.parser.ts:7
버튼 설정의 유효성을 검증합니다
Parameters
섹션 제목: “Parameters”buttons
섹션 제목: “buttons”Returns
섹션 제목: “Returns”object
errors
섹션 제목: “errors”errors:
string[]
isValid
섹션 제목: “isValid”isValid:
boolean