Compartir a través de


EventGridModelFactory.AcsChatMessageReceivedEventData Método

Definición

Inicializa una nueva instancia de AcsChatMessageReceivedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageReceivedEventData AcsChatMessageReceivedEventData (Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel recipientCommunicationIdentifier = default, string transactionId = default, string threadId = default, string messageId = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel senderCommunicationIdentifier = default, string senderDisplayName = default, DateTimeOffset? composeTime = default, string type = default, long? version = default, string messageBody = default, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata = default);
static member AcsChatMessageReceivedEventData : Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * string * string * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * Nullable<DateTimeOffset> * string * Nullable<int64> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageReceivedEventData
Public Shared Function AcsChatMessageReceivedEventData (Optional recipientCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional transactionId As String = Nothing, Optional threadId As String = Nothing, Optional messageId As String = Nothing, Optional senderCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional senderDisplayName As String = Nothing, Optional composeTime As Nullable(Of DateTimeOffset) = Nothing, Optional type As String = Nothing, Optional version As Nullable(Of Long) = Nothing, Optional messageBody As String = Nothing, Optional metadata As IReadOnlyDictionary(Of String, String) = Nothing) As AcsChatMessageReceivedEventData

Parámetros

recipientCommunicationIdentifier
CommunicationIdentifierModel

Identificador de comunicación del usuario de destino.

transactionId
String

El identificador de transacción se usará como vector de relación conjunta.

threadId
String

Identificador del subproceso de chat.

messageId
String

Identificador del mensaje de chat.

senderCommunicationIdentifier
CommunicationIdentifierModel

Identificador de comunicación del remitente.

senderDisplayName
String

Nombre para mostrar del remitente.

composeTime
Nullable<DateTimeOffset>

Hora de redacción original del mensaje.

type
String

El tipo del mensaje.

version
Nullable<Int64>

Versión del mensaje.

messageBody
String

Cuerpo del mensaje de chat.

metadata
IReadOnlyDictionary<String,String>

Metadatos del mensaje de chat.

Devoluciones

AcsChatMessageReceivedEventData Nueva instancia de para simular.

Se aplica a