Struct MessageWhatsApp
Represents a WhatsApp configuration.
public struct MessageWhatsApp
- Inherited Members
Properties
Category
Category for marketing template messages
[Obsolete("The Category parameter is no longer used for sending WhatsApp marketing messages. The parameter is now ignored.")]
[JsonIgnore]
public string Category { readonly get; set; }
Property Value
Locale
The BCP 47 language of the template. Vonage will translate the BCP 47 format to the WhatsApp equivalent. For examples en-GB will be auto-translate to en_GB.
[JsonPropertyOrder(1)]
public string Locale { readonly get; set; }
Property Value
Policy
Policy for resolving what language template to use. Please note that WhatsApp deprecated the fallback policy in January of 2020, all requests carrying a fallback policy will be rejected with a 400 error. As of right now the only valid choice is deterministic
[JsonPropertyOrder(0)]
public string Policy { readonly get; set; }