Partilhar via


MessageTemplateText Class

Definition

The message template's text value information.

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

Constructors

MessageTemplateText(String, String)

Initializes a new instance of MessageTemplateText.

Properties

Name

Template binding reference name.

(Inherited from MessageTemplateValue)
Text

The text value.

Explicit Interface Implementations

IJsonModel<MessageTemplateText>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Converts the provided BinaryData into a model.

IPersistableModel<MessageTemplateText>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageTemplateText>.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