AcsChatTypingIndicatorReceivedInThreadEventData Class
- java.
lang. Object - com.
azure. messaging. eventgrid. systemevents. AcsChatEventInThreadBaseProperties - com.
azure. messaging. eventgrid. systemevents. AcsChatMessageEventInThreadBaseProperties - com.
azure. messaging. eventgrid. systemevents. AcsChatTypingIndicatorReceivedInThreadEventData
- com.
- com.
- com.
@Deprecated
public final class AcsChatTypingIndicatorReceivedInThreadEventData
extends AcsChatMessageEventInThreadBaseProperties
Note
This class has been deprecated. This class is deprecated and may be removed in future releases. System events are now available in the azure-messaging-eventgrid-systemevents package.
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatTypingIndicatorReceivedInThread event.
Constructor Summary
| Constructor | Description |
|---|---|
| AcsChatTypingIndicatorReceivedInThreadEventData() |
Creates an instance of Acs |
Method Summary
Methods inherited from AcsChatEventInThreadBaseProperties
Methods inherited from AcsChatMessageEventInThreadBaseProperties
Methods inherited from java.lang.Object
Constructor Details
AcsChatTypingIndicatorReceivedInThreadEventData
public AcsChatTypingIndicatorReceivedInThreadEventData()
Creates an instance of AcsChatTypingIndicatorReceivedInThreadEventData class.
Method Details
fromJson
public static AcsChatTypingIndicatorReceivedInThreadEventData fromJson(JsonReader jsonReader)
Reads an instance of AcsChatTypingIndicatorReceivedInThreadEventData from the JsonReader.
Parameters:
Returns:
Throws:
getMessageBody
public String getMessageBody()
Get the messageBody property: The body of the chat message.
Returns:
getMetadata
public Map<String,String> getMetadata()
Get the metadata property: The chat message metadata.
Returns:
setComposeTime
public AcsChatTypingIndicatorReceivedInThreadEventData setComposeTime(OffsetDateTime composeTime)
Set the composeTime property: The original compose time of the message.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setComposeTime(OffsetDateTime composeTime)Parameters:
setMessageBody
public AcsChatTypingIndicatorReceivedInThreadEventData setMessageBody(String messageBody)
Set the messageBody property: The body of the chat message.
Parameters:
Returns:
setMessageId
public AcsChatTypingIndicatorReceivedInThreadEventData setMessageId(String messageId)
Set the messageId property: The chat message id.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setMessageId(String messageId)Parameters:
setMetadata
public AcsChatTypingIndicatorReceivedInThreadEventData setMetadata(Map<String,String> metadata)
Set the metadata property: The chat message metadata.
Parameters:
Returns:
setSenderCommunicationIdentifier
public AcsChatTypingIndicatorReceivedInThreadEventData setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)
Set the senderCommunicationIdentifier property: The communication identifier of the sender.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)Parameters:
setSenderDisplayName
public AcsChatTypingIndicatorReceivedInThreadEventData setSenderDisplayName(String senderDisplayName)
Set the senderDisplayName property: The display name of the sender.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setSenderDisplayName(String senderDisplayName)Parameters:
setThreadId
public AcsChatTypingIndicatorReceivedInThreadEventData setThreadId(String threadId)
Set the threadId property: The chat thread id.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setThreadId(String threadId)Parameters:
setTransactionId
public AcsChatTypingIndicatorReceivedInThreadEventData setTransactionId(String transactionId)
Set the transactionId property: The transaction id will be used as co-relation vector.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setTransactionId(String transactionId)Parameters:
setType
public AcsChatTypingIndicatorReceivedInThreadEventData setType(String type)
Set the type property: The type of the message.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setType(String type)Parameters:
setVersion
public AcsChatTypingIndicatorReceivedInThreadEventData setVersion(Long version)
Set the version property: The version of the message.
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.setVersion(Long version)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AcsChatTypingIndicatorReceivedInThreadEventData.toJson(JsonWriter jsonWriter)Parameters:
Throws: