TextNotificationContent Class

Definition

A request to send a text notification.

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

Constructors

TextNotificationContent(Guid, IEnumerable<String>, String)

Initializes a new instance of TextNotificationContent.

Properties

ChannelRegistrationId

The Channel Registration ID for the Business Identifier.

(Inherited from NotificationContent)
Content

Message content.

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<TextNotificationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextNotificationContent>.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<TextNotificationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextNotificationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextNotificationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to