Share via


EventGridModelFactory.AcsChatParticipantRemovedFromThreadEventData Method

Definition

Initializes a new instance of AcsChatParticipantRemovedFromThreadEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatParticipantRemovedFromThreadEventData AcsChatParticipantRemovedFromThreadEventData (string transactionId = default, string threadId = default, DateTimeOffset? time = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel removedByCommunicationIdentifier = default, Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties participantRemoved = default, long? version = default);
static member AcsChatParticipantRemovedFromThreadEventData : string * string * Nullable<DateTimeOffset> * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties * Nullable<int64> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatParticipantRemovedFromThreadEventData
Public Shared Function AcsChatParticipantRemovedFromThreadEventData (Optional transactionId As String = Nothing, Optional threadId As String = Nothing, Optional time As Nullable(Of DateTimeOffset) = Nothing, Optional removedByCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional participantRemoved As AcsChatThreadParticipantProperties = Nothing, Optional version As Nullable(Of Long) = Nothing) As AcsChatParticipantRemovedFromThreadEventData

Parameters

transactionId
String

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

threadId
String

The chat thread id.

time
Nullable<DateTimeOffset>

The time at which the user was removed to the thread.

removedByCommunicationIdentifier
CommunicationIdentifierModel

The communication identifier of the user who removed the user.

participantRemoved
AcsChatThreadParticipantProperties

The details of the user who was removed.

version
Nullable<Int64>

The version of the thread.

Returns

A new AcsChatParticipantRemovedFromThreadEventData instance for mocking.

Applies to