WhatsAppMessageTemplateItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The WhatsApp-specific template response contract.
public class WhatsAppMessageTemplateItem : Azure.Communication.Messages.MessageTemplateItem, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.Models.Channels.WhatsAppMessageTemplateItem>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.Models.Channels.WhatsAppMessageTemplateItem>
type WhatsAppMessageTemplateItem = class
inherit MessageTemplateItem
interface IJsonModel<WhatsAppMessageTemplateItem>
interface IPersistableModel<WhatsAppMessageTemplateItem>
Public Class WhatsAppMessageTemplateItem
Inherits MessageTemplateItem
Implements IJsonModel(Of WhatsAppMessageTemplateItem), IPersistableModel(Of WhatsAppMessageTemplateItem)
- Inheritance
- Implements
Properties
ChannelType |
Gets the channel type. (Inherited from MessageTemplateItem) |
Content |
WhatsApp platform's template content. This is the payload returned from WhatsApp API. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Language |
The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'. (Inherited from MessageTemplateItem) |
Name |
The template's name. (Inherited from MessageTemplateItem) |
Status |
The aggregated template status. (Inherited from MessageTemplateItem) |
The WhatsApp-specific template response contract. (Inherited from MessageTemplateItem) |