Values.MetaLibraryTemplateDefinitionSourceDefines the complete structure and content of a template in Meta's library.
type nonrec t = {templateName : MetaTemplateName.t option;The name of the template.
*)templateLanguage : MetaTemplateLanguage.t option;The language code for the template (for example, en_US).
*)templateCategory : MetaTemplateCategory.t option;The category of the template (for example, UTILITY or MARKETING).
*)templateTopic : MetaTemplateTopic.t option;The topic or subject matter of the template.
*)templateUseCase : MetaTemplateUseCase.t option;The intended use case for the template.
*)templateIndustry : MetaIndustries.t option;The industries the template is designed for.
*)templateHeader : MetaTemplateHeader.t option;The header text of the template.
*)templateBody : MetaTemplateBody.t option;The body text of the template.
*)templateButtons : MetaLibraryTemplateButtonList.t option;The buttons included in the template.
*)templateId : MetaTemplateId.t option;The ID of the template in Meta's library.
*)templateBodyExampleParams : MetaTemplateBodyExampleParams.t option;Example parameter values for the template body, used to demonstrate how dynamic content appears in the template.
*)}val make :
?templateName:MetaTemplateName.t ->
?templateLanguage:MetaTemplateLanguage.t ->
?templateCategory:MetaTemplateCategory.t ->
?templateTopic:MetaTemplateTopic.t ->
?templateUseCase:MetaTemplateUseCase.t ->
?templateIndustry:MetaIndustries.t ->
?templateHeader:MetaTemplateHeader.t ->
?templateBody:MetaTemplateBody.t ->
?templateButtons:MetaLibraryTemplateButtonList.t ->
?templateId:MetaTemplateId.t ->
?templateBodyExampleParams:MetaTemplateBodyExampleParams.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of MetaIndustry.t
| `Structure of
(string
* [> `Boolean of ZeroTapTermsAccepted.t
| `List of
[> `Map of
([> `String of SupportedAppKeyString.t ]
* [> `String of SupportedAppValueString.t ])
list ]
list
| `String of ButtonType.t ])
list ]
list
| `String of MetaTemplateName.t ])
list ]