Condividi tramite


EventGridModelFactory.AcsChatParticipantAddedToThreadEventData Method

Definition

Initializes a new instance of AcsChatParticipantAddedToThreadEventData.

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

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 added to the thread.

addedByCommunicationIdentifier
CommunicationIdentifierModel

The communication identifier of the user who added the user.

participantAdded
AcsChatThreadParticipantProperties

The details of the user who was added.

version
Nullable<Int64>

The version of the thread.

Returns

A new AcsChatParticipantAddedToThreadEventData instance for mocking.

Applies to