Поделиться через


TextConversationMessageContent Class

Definition

A request to send a text conversation message.

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

Constructors

TextConversationMessageContent(String)

Initializes a new instance of TextConversationMessageContent.

Properties

Content

Message content.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConversationMessageContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConversationMessageContent)
IJsonModel<TextConversationMessageContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TextConversationMessageContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationMessageContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ConversationMessageContent)
IPersistableModel<TextConversationMessageContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextConversationMessageContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TextConversationMessageContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to