Condividi tramite


DocumentNotificationContent Class

Definition

A request to send a document notification.

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

Constructors

DocumentNotificationContent(Guid, IEnumerable<String>, Uri)

Initializes a new instance of DocumentNotificationContent.

Properties

Caption

Optional text content.

ChannelRegistrationId

The Channel Registration ID for the Business Identifier.

(Inherited from NotificationContent)
FileName

Optional name for the file.

MediaUri

A media url for the file. Required if the type is one of the supported media types, e.g. image.

To

The native external platform user identifiers of the recipient.

(Inherited from NotificationContent)

Explicit Interface Implementations

IJsonModel<DocumentNotificationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentNotificationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<DocumentNotificationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentNotificationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentNotificationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to