Class AcsChatMessageDeletedInThreadEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatMessageEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatMessageDeletedInThreadEventData
public final class AcsChatMessageDeletedInThreadEventData
extends AcsChatMessageEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeletedInThread event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deleteTime property: The time at which the message was deleted.setComposeTime
(OffsetDateTime composeTime) Set the composeTime property: The original compose time of the message.setDeleteTime
(OffsetDateTime deleteTime) Set the deleteTime property: The time at which the message was deleted.setMessageId
(String messageId) Set the messageId property: The chat message id.setSenderCommunicationIdentifier
(CommunicationIdentifierModel senderCommunicationIdentifier) Set the senderCommunicationIdentifier property: The communication identifier of the sender.setSenderDisplayName
(String senderDisplayName) Set the senderDisplayName property: The display name of the sender.setThreadId
(String threadId) Set the threadId property: The chat thread id.setTransactionId
(String transactionId) Set the transactionId property: The transaction id will be used as co-relation vector.Set the type property: The type of the message.setVersion
(Long version) Set the version property: The version of the message.Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatMessageEventInThreadBaseProperties
getComposeTime, getMessageId, getSenderCommunicationIdentifier, getSenderDisplayName, getType, getVersion
Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
getThreadId, getTransactionId
-
Constructor Details
-
AcsChatMessageDeletedInThreadEventData
public AcsChatMessageDeletedInThreadEventData()
-
-
Method Details
-
getDeleteTime
Get the deleteTime property: The time at which the message was deleted.- Returns:
- the deleteTime value.
-
setDeleteTime
Set the deleteTime property: The time at which the message was deleted.- Parameters:
deleteTime
- the deleteTime value to set.- Returns:
- the AcsChatMessageDeletedInThreadEventData object itself.
-
setMessageId
Set the messageId property: The chat message id.- Overrides:
setMessageId
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
messageId
- the messageId value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
setSenderCommunicationIdentifier
public AcsChatMessageDeletedInThreadEventData setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier) Set the senderCommunicationIdentifier property: The communication identifier of the sender.- Overrides:
setSenderCommunicationIdentifier
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
senderCommunicationIdentifier
- the senderCommunicationIdentifier value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
setSenderDisplayName
Set the senderDisplayName property: The display name of the sender.- Overrides:
setSenderDisplayName
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
senderDisplayName
- the senderDisplayName value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
setComposeTime
Set the composeTime property: The original compose time of the message.- Overrides:
setComposeTime
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
composeTime
- the composeTime value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
setType
Set the type property: The type of the message.- Overrides:
setType
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
type
- the type value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
setVersion
Set the version property: The version of the message.- Overrides:
setVersion
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
version
- the version value to set.- Returns:
- the AcsChatMessageEventInThreadBaseProperties object itself.
-
setTransactionId
Set the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
setTransactionId
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
transactionId
- the transactionId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-
setThreadId
Set the threadId property: The chat thread id.- Overrides:
setThreadId
in classAcsChatMessageEventInThreadBaseProperties
- Parameters:
threadId
- the threadId value to set.- Returns:
- the AcsChatEventInThreadBaseProperties object itself.
-