Module Values.MetaLibraryTemplateSource

Represents a template from Meta's library with customization options.

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

    The name to assign to the template.

    *)
  2. libraryTemplateName : MetaTemplateName.t;
    (*

    The name of the template in Meta's library.

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

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

    *)
  4. templateLanguage : MetaTemplateLanguage.t;
    (*

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

    *)
  5. libraryTemplateButtonInputs : MetaLibraryTemplateButtonInputs.t option;
    (*

    Button customizations for the template.

    *)
  6. libraryTemplateBodyInputs : LibraryTemplateBodyInputs.t option;
    (*

    Body text customizations for the template.

    *)
}
Sourceval context_ : string
Sourceval make : ?libraryTemplateButtonInputs:??? -> ?libraryTemplateBodyInputs:??? -> templateName:MetaTemplateName.t -> libraryTemplateName:MetaTemplateName.t -> templateCategory:MetaTemplateCategory.t -> templateLanguage:MetaTemplateLanguage.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of ZeroTapTermsAccepted.t | `List of [> `Map of ([> `String of SupportedAppKeyString.t ] * [> `String of SupportedAppValueString.t ]) list ] list | `Map of ([> `String of MetaUrlWithSuffixExampleKeyString.t ] * [> `String of MetaUrlWithSuffixExampleValueString.t ]) list | `String of ButtonType.t ]) list ] list | `String of MetaTemplateName.t | `Structure of (string * [> `Boolean of AddContactNumber.t | `Integer of CodeExpirationMinutes.t ]) list ]) 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