TemplateNotificationContent 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.

A request to send a template notification.

C#
public class TemplateNotificationContent : Azure.Communication.Messages.NotificationContent, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.TemplateNotificationContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.TemplateNotificationContent>
Inheritance
TemplateNotificationContent
Implements

Constructors

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)

Methods

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

Toode Versioonid
Azure SDK for .NET Latest, Preview