共用方式為


MessageReceipt Class

Definition

Receipt of the sending one message.

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

Properties

MessageId

The message id.

To

The native external platform user identifier of the recipient.

Explicit Interface Implementations

IJsonModel<MessageReceipt>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageReceipt>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageReceipt>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageReceipt>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageReceipt>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to