Class AcsChatMessageEditedInThreadEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatMessageEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatMessageEditedInThreadEventData
public final class AcsChatMessageEditedInThreadEventData
extends AcsChatMessageEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageEditedInThread event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the editTime property: The time at which the message was edited.Get the messageBody property: The body of the chat message.Get the metadata property: The chat message metadata.setComposeTime
(OffsetDateTime composeTime) Set the composeTime property: The original compose time of the message.setEditTime
(OffsetDateTime editTime) Set the editTime property: The time at which the message was edited.setMessageBody
(String messageBody) Set the messageBody property: The body of the chat message.setMessageId
(String messageId) Set the messageId property: The chat message id.setMetadata
(Map<String, String> metadata) Set the metadata property: The chat message metadata.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
-
AcsChatMessageEditedInThreadEventData
public AcsChatMessageEditedInThreadEventData()
-
-
Method Details
-
getMessageBody
Get the messageBody property: The body of the chat message.- Returns:
- the messageBody value.
-
setMessageBody
Set the messageBody property: The body of the chat message.- Parameters:
messageBody
- the messageBody value to set.- Returns:
- the AcsChatMessageEditedInThreadEventData object itself.
-
getMetadata
Get the metadata property: The chat message metadata.- Returns:
- the metadata value.
-
setMetadata
Set the metadata property: The chat message metadata.- Parameters:
metadata
- the metadata value to set.- Returns:
- the AcsChatMessageEditedInThreadEventData object itself.
-
getEditTime
Get the editTime property: The time at which the message was edited.- Returns:
- the editTime value.
-
setEditTime
Set the editTime property: The time at which the message was edited.- Parameters:
editTime
- the editTime value to set.- Returns:
- the AcsChatMessageEditedInThreadEventData 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 AcsChatMessageEditedInThreadEventData 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.
-