Module Values.MetaLibraryTemplateDefinitionSource

Defines the complete structure and content of a template in Meta's library.

Sourcetype nonrec t = {
  1. templateName : MetaTemplateName.t option;
    (*

    The name of the template.

    *)
  2. templateLanguage : MetaTemplateLanguage.t option;
    (*

    The language code for the template (for example, en_US).

    *)
  3. templateCategory : MetaTemplateCategory.t option;
    (*

    The category of the template (for example, UTILITY or MARKETING).

    *)
  4. templateTopic : MetaTemplateTopic.t option;
    (*

    The topic or subject matter of the template.

    *)
  5. templateUseCase : MetaTemplateUseCase.t option;
    (*

    The intended use case for the template.

    *)
  6. templateIndustry : MetaIndustries.t option;
    (*

    The industries the template is designed for.

    *)
  7. templateHeader : MetaTemplateHeader.t option;
    (*

    The header text of the template.

    *)
  8. templateBody : MetaTemplateBody.t option;
    (*

    The body text of the template.

    *)
  9. templateButtons : MetaLibraryTemplateButtonList.t option;
    (*

    The buttons included in the template.

    *)
  10. templateId : MetaTemplateId.t option;
    (*

    The ID of the template in Meta's library.

    *)
  11. templateBodyExampleParams : MetaTemplateBodyExampleParams.t option;
    (*

    Example parameter values for the template body, used to demonstrate how dynamic content appears in the template.

    *)
}
Sourceval make : ?templateName:??? -> ?templateLanguage:??? -> ?templateCategory:??? -> ?templateTopic:??? -> ?templateUseCase:??? -> ?templateIndustry:??? -> ?templateHeader:??? -> ?templateBody:??? -> ?templateButtons:??? -> ?templateId:??? -> ?templateBodyExampleParams:??? -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t