Share via


InternalConversationParticipant Class

Definition

Internal conversation participant.

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

Constructors

InternalConversationParticipant(ConversationContact)

Initializes a new instance of InternalConversationParticipant.

Properties

Contact

The internal 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<InternalConversationParticipant>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Converts the provided BinaryData into a model.

IPersistableModel<InternalConversationParticipant>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InternalConversationParticipant>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to