다음을 통해 공유


BotContact Class

Definition

Bot Contact.

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

Constructors

BotContact(String, String)

Initializes a new instance of BotContact.

Properties

BotAppId

Bot App Id of the Bot Contact.

Id

External platform identifier.

(Inherited from ConversationContact)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BotContact>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BotContact>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ConversationContact>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConversationContact)
IPersistableModel<BotContact>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BotContact>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BotContact>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ConversationContact>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ConversationContact)

Applies to