Condividi tramite


EventGridModelFactory.AcsChatThreadCreatedEventData Method

Definition

Initializes a new instance of AcsChatThreadCreatedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadCreatedEventData AcsChatThreadCreatedEventData (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 AcsChatThreadCreatedEventData : 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.AcsChatThreadCreatedEventData
Public Shared Function AcsChatThreadCreatedEventData (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 AcsChatThreadCreatedEventData

Parameters

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 chat thread created metadata.

participants
IEnumerable<AcsChatThreadParticipantProperties>

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

Returns

A new AcsChatThreadCreatedEventData instance for mocking.

Applies to