Condividi tramite


MessageTemplateDocument Class

Definition

The message template's document value information.

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

Constructors

MessageTemplateDocument(String, Uri, String, String)
MessageTemplateDocument(String, Uri)

Initializes a new instance of MessageTemplateDocument.

Properties

Caption

The [optional] caption of the media object.

FileName

The [optional] filename of the media file.

Name

Template binding reference name.

(Inherited from MessageTemplateValue)
Uri

The (public) URL of the media.

Explicit Interface Implementations

IJsonModel<MessageTemplateDocument>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageTemplateDocument>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MessageTemplateValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageTemplateValue)
IPersistableModel<MessageTemplateDocument>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageTemplateDocument>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageTemplateDocument>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MessageTemplateValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageTemplateValue)

Applies to