EventGridModelFactory.AcsChatMessageReceivedInThreadEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AcsChatMessageReceivedInThreadEventData.
public static Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageReceivedInThreadEventData AcsChatMessageReceivedInThreadEventData (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, string messageBody = default, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata = default);
static member AcsChatMessageReceivedInThreadEventData : string * string * string * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * string * Nullable<DateTimeOffset> * string * Nullable<int64> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatMessageReceivedInThreadEventData
Public Shared Function AcsChatMessageReceivedInThreadEventData (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 messageBody As String = Nothing, Optional metadata As IReadOnlyDictionary(Of String, String) = Nothing) As AcsChatMessageReceivedInThreadEventData
Parameters
- transactionId
- String
The transaction id will be used as co-relation vector.
- threadId
- String
The chat thread id.
- messageId
- String
The chat message id.
- senderCommunicationIdentifier
- CommunicationIdentifierModel
The communication identifier of the sender.
- senderDisplayName
- String
The display name of the sender.
- composeTime
- Nullable<DateTimeOffset>
The original compose time of the message.
- type
- String
The type of the message.
- messageBody
- String
The body of the chat message.
- metadata
- IReadOnlyDictionary<String,String>
The chat message metadata.
Returns
A new AcsChatMessageReceivedInThreadEventData instance for mocking.
Applies to
Azure SDK for .NET