共用方式為


TemplateNotificationContent Class

Definition

A request to send a template notification.

public class TemplateNotificationContent : Azure.Communication.Messages.NotificationContent, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.TemplateNotificationContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.TemplateNotificationContent>
type TemplateNotificationContent = class
    inherit NotificationContent
    interface IJsonModel<TemplateNotificationContent>
    interface IPersistableModel<TemplateNotificationContent>
Public Class TemplateNotificationContent
Inherits NotificationContent
Implements IJsonModel(Of TemplateNotificationContent), IPersistableModel(Of TemplateNotificationContent)
Inheritance
TemplateNotificationContent
Implements

Constructors

TemplateNotificationContent(Guid, IEnumerable<String>, MessageTemplate)

Initializes a new instance of TemplateNotificationContent.

Properties

ChannelRegistrationId

The Channel Registration ID for the Business Identifier.

(Inherited from NotificationContent)
Template

The template object used to create templates.

To

The native external platform user identifiers of the recipient.

(Inherited from NotificationContent)

Explicit Interface Implementations

IJsonModel<NotificationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NotificationContent)
IJsonModel<NotificationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NotificationContent)
IJsonModel<TemplateNotificationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TemplateNotificationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NotificationContent)
IPersistableModel<NotificationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NotificationContent)
IPersistableModel<NotificationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NotificationContent)
IPersistableModel<TemplateNotificationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TemplateNotificationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<TemplateNotificationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to