Module Values.TemplateSummarySource

Provides a summary of a WhatsApp message template's key attributes.

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

    The name of the template.

    *)
  2. metaTemplateId : MetaTemplateId.t option;
    (*

    The numeric ID assigned to the template by Meta.

    *)
  3. templateStatus : MetaTemplateStatus.t option;
    (*

    The current status of the template (for example, APPROVED, PENDING, or REJECTED).

    *)
  4. templateQualityScore : MetaTemplateQualityScore.t option;
    (*

    The quality score assigned to the template by Meta.

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

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

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

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

    *)
}
Sourceval make : ?templateName:??? -> ?metaTemplateId:??? -> ?templateStatus:??? -> ?templateQualityScore:??? -> ?templateLanguage:??? -> ?templateCategory:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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