Condividi tramite


EventGridModelFactory.AcsChatMessageEventBaseProperties Method

Definition

Initializes a new instance of AcsChatMessageEventBaseProperties.

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageEventBaseProperties AcsChatMessageEventBaseProperties (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);
static member AcsChatMessageEventBaseProperties : Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * string * string * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * Nullable<DateTimeOffset> * string * Nullable<int64> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageEventBaseProperties
Public Shared Function AcsChatMessageEventBaseProperties (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) As AcsChatMessageEventBaseProperties

Parameters

recipientCommunicationIdentifier
CommunicationIdentifierModel

The communication identifier of the target user.

transactionId
String

The transaction id will be used as co-relation vector.

threadId
String

The chat thread id.

messageId
String

The chat message id.

senderCommunicationIdentifier
CommunicationIdentifierModel

The communication identifier of the sender.

senderDisplayName
String

The display name of the sender.

composeTime
Nullable<DateTimeOffset>

The original compose time of the message.

type
String

The type of the message.

version
Nullable<Int64>

The version of the message.

Returns

A new AcsChatMessageEventBaseProperties instance for mocking.

Applies to