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


ExternalConversationParticipant Class

Definition

External conversation participant.

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

Constructors

ExternalConversationParticipant(IEnumerable<ConversationContact>)

Initializes a new instance of ExternalConversationParticipant.

Properties

Contacts

List of external platform identifiers for the participant. Please note ConversationContact 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 BotContact, CommunicationContact and WhatsAppContact.

DisplayName

Participant display name.

(Inherited from ConversationParticipant)
Id

Participant Identifier.

(Inherited from ConversationParticipant)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConversationParticipant>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConversationParticipant)
IJsonModel<ExternalConversationParticipant>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExternalConversationParticipant>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationParticipant>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ConversationParticipant)
IPersistableModel<ExternalConversationParticipant>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExternalConversationParticipant>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExternalConversationParticipant>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to