你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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) |