Module Values.UpdateWhatsAppMessageTemplateInputSource

Updates an existing WhatsApp message template.

Sourcetype nonrec t = {
  1. id : LinkedWhatsAppBusinessAccountId.t;
    (*

    The ID of the WhatsApp Business Account associated with this template.

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

    The numeric ID of the template assigned by Meta.

    *)
  3. templateName : MetaTemplateName.t option;
    (*

    The name of the message template. Use together with templateLanguageCode as an alternative to metaTemplateId to identify a template.

    *)
  4. templateLanguageCode : MetaTemplateLanguage.t option;
    (*

    The language code of the message template (for example, en or en_US). Use together with templateName as an alternative to metaTemplateId to identify a template.

    *)
  5. parameterFormat : MetaParameterFormat.t option;
    (*

    The format specification for parameters in the template, this can be either 'named' or 'positional'.

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

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

    *)
  7. templateComponents : MetaTemplateComponents.t option;
    (*

    The updated components of the template as a JSON blob (maximum 3000 characters).

    *)
  8. ctaUrlLinkTrackingOptedOut : MetaTemplateCtaLinkTrackingOptedOut.t option;
    (*

    When true, disables click tracking for call-to-action URL buttons in the template.

    *)
}
Sourceval context_ : string
Sourceval make : ?metaTemplateId:??? -> ?templateName:??? -> ?templateLanguageCode:??? -> ?parameterFormat:??? -> ?templateCategory:??? -> ?templateComponents:??? -> ?ctaUrlLinkTrackingOptedOut:??? -> id:LinkedWhatsAppBusinessAccountId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of MetaTemplateComponents.t | `Boolean of MetaTemplateCtaLinkTrackingOptedOut.t | `String of LinkedWhatsAppBusinessAccountId.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