Module Values.DeleteWhatsAppMessageTemplateInputSource

Deletes a WhatsApp message template.

Sourcetype nonrec t = {
  1. metaTemplateId : MetaTemplateId.t option;
    (*

    The numeric ID of the template assigned by Meta.

    *)
  2. deleteAllLanguages : DeleteAllLanguages.t option;
    (*

    If true, deletes all language versions of the template.

    *)
  3. id : LinkedWhatsAppBusinessAccountId.t;
    (*

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

    *)
  4. templateName : MetaTemplateName.t;
    (*

    The name of the template to delete.

    *)
}
Sourceval context_ : string
Sourceval make : ?metaTemplateId:??? -> ?deleteAllLanguages:??? -> id:LinkedWhatsAppBusinessAccountId.t -> templateName:MetaTemplateName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DeleteAllLanguages.t | `String of MetaTemplateId.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