EventGridModelFactory.AcsChatMessageDeletedInThreadEventData(String, String, String, CommunicationIdentifierModel, String, Nullable<DateTimeOffset>, String, Nullable<Int64>, Nullable<DateTimeOffset>) Method

Definition

Initializes a new instance of AcsChatMessageDeletedInThreadEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageDeletedInThreadEventData AcsChatMessageDeletedInThreadEventData (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, DateTimeOffset? deleteTime = default);
static member AcsChatMessageDeletedInThreadEventData : string * string * string * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * Nullable<DateTimeOffset> * string * Nullable<int64> * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageDeletedInThreadEventData
Public Shared Function AcsChatMessageDeletedInThreadEventData (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 deleteTime As Nullable(Of DateTimeOffset) = Nothing) As AcsChatMessageDeletedInThreadEventData

Parameters

transactionId
System.String

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

threadId
System.String

The chat thread id.

messageId
System.String

The chat message id.

senderCommunicationIdentifier
CommunicationIdentifierModel

The communication identifier of the sender.

senderDisplayName
System.String

The display name of the sender.

composeTime
System.Nullable<System.DateTimeOffset>

The original compose time of the message.

type
System.String

The type of the message.

version
System.Nullable<System.Int64>

The version of the message.

deleteTime
System.Nullable<System.DateTimeOffset>

The time at which the message was deleted.

Returns

AcsChatMessageDeletedInThreadEventData

A new AcsChatMessageDeletedInThreadEventData instance for mocking.

Applies to