Share via


CommunicationConversation Class

Definition

A conversation.

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

Constructors

CommunicationConversation()

Initializes a new instance of CommunicationConversation.

Properties

DeliveryChannelIds

List of delivery channel IDs.

Id

The conversation ID.

OutboundDeliveryStrategy

Outbound delivery strategy for the conversation.

Participants

List of participants involved in the conversation. Please note ConversationParticipant is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ExternalConversationParticipant and InternalConversationParticipant.

Topic

The conversation topic.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CommunicationConversation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommunicationConversation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommunicationConversation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommunicationConversation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommunicationConversation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to