Module Values.GetWhatsAppMessageTemplateInputSource

Retrieves a specific WhatsApp message template.

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

    The numeric ID of the template assigned by Meta.

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

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

    *)
  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.

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