-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AcsChatMessageEventInThreadBaseProperties.cs
52 lines (46 loc) · 2.57 KB
/
AcsChatMessageEventInThreadBaseProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Schema of common properties of all thread-level chat message events. </summary>
public partial class AcsChatMessageEventInThreadBaseProperties : AcsChatEventInThreadBaseProperties
{
/// <summary> Initializes a new instance of AcsChatMessageEventInThreadBaseProperties. </summary>
internal AcsChatMessageEventInThreadBaseProperties()
{
}
/// <summary> Initializes a new instance of AcsChatMessageEventInThreadBaseProperties. </summary>
/// <param name="transactionId"> The transaction id will be used as co-relation vector. </param>
/// <param name="threadId"> The chat thread id. </param>
/// <param name="messageId"> The chat message id. </param>
/// <param name="senderCommunicationIdentifier"> The communication identifier of the sender. </param>
/// <param name="senderDisplayName"> The display name of the sender. </param>
/// <param name="composeTime"> The original compose time of the message. </param>
/// <param name="type"> The type of the message. </param>
/// <param name="version"> The version of the message. </param>
internal AcsChatMessageEventInThreadBaseProperties(string transactionId, string threadId, string messageId, CommunicationIdentifierModel senderCommunicationIdentifier, string senderDisplayName, DateTimeOffset? composeTime, string type, long? version) : base(transactionId, threadId)
{
MessageId = messageId;
SenderCommunicationIdentifier = senderCommunicationIdentifier;
SenderDisplayName = senderDisplayName;
ComposeTime = composeTime;
Type = type;
Version = version;
}
/// <summary> The chat message id. </summary>
public string MessageId { get; }
/// <summary> The communication identifier of the sender. </summary>
public CommunicationIdentifierModel SenderCommunicationIdentifier { get; }
/// <summary> The display name of the sender. </summary>
public string SenderDisplayName { get; }
/// <summary> The original compose time of the message. </summary>
public DateTimeOffset? ComposeTime { get; }
/// <summary> The type of the message. </summary>
public string Type { get; }
/// <summary> The version of the message. </summary>
public long? Version { get; }
}
}