Share via


EventGridModelFactory.AcsChatThreadCreatedWithUserEventData Method

Definition

Initializes a new instance of AcsChatThreadCreatedWithUserEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadCreatedWithUserEventData AcsChatThreadCreatedWithUserEventData (Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel recipientCommunicationIdentifier = default, string transactionId = default, string threadId = default, DateTimeOffset? createTime = default, long? version = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel createdByCommunicationIdentifier = default, System.Collections.Generic.IReadOnlyDictionary<string,object> properties = default, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata = default, System.Collections.Generic.IEnumerable<Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties> participants = default);
static member AcsChatThreadCreatedWithUserEventData : Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * string * Nullable<DateTimeOffset> * Nullable<int64> * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * System.Collections.Generic.IReadOnlyDictionary<string, obj> * System.Collections.Generic.IReadOnlyDictionary<string, string> * seq<Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadCreatedWithUserEventData
Public Shared Function AcsChatThreadCreatedWithUserEventData (Optional recipientCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional transactionId As String = Nothing, Optional threadId As String = Nothing, Optional createTime As Nullable(Of DateTimeOffset) = Nothing, Optional version As Nullable(Of Long) = Nothing, Optional createdByCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional properties As IReadOnlyDictionary(Of String, Object) = Nothing, Optional metadata As IReadOnlyDictionary(Of String, String) = Nothing, Optional participants As IEnumerable(Of AcsChatThreadParticipantProperties) = Nothing) As AcsChatThreadCreatedWithUserEventData

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.

createTime
Nullable<DateTimeOffset>

The original creation time of the thread.

version
Nullable<Int64>

The version of the thread.

createdByCommunicationIdentifier
CommunicationIdentifierModel

The communication identifier of the user who created the thread.

properties
IReadOnlyDictionary<String,Object>

The thread properties.

metadata
IReadOnlyDictionary<String,String>

The thread metadata.

participants
IEnumerable<AcsChatThreadParticipantProperties>

The list of properties of participants who are part of the thread.

Returns

A new AcsChatThreadCreatedWithUserEventData instance for mocking.

Applies to