Compartir a través de


WhatsAppContact Class

Definition

WhatsApp Contact.

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

Constructors

WhatsAppContact(String)

Initializes a new instance of WhatsAppContact.

Properties

Id

External platform identifier.

(Inherited from ConversationContact)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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)
IJsonModel<WhatsAppContact>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WhatsAppContact>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<WhatsAppContact>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WhatsAppContact>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WhatsAppContact>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to