Uses of Class
com.azure.communication.chat.models.ChatMessage
Packages that use ChatMessage
Package
Description
Package containing the classes for AzureCommunicationChatService.
Package containing the data models for AzureCommunicationChatService.
-
Uses of ChatMessage in com.azure.communication.chat
Methods in com.azure.communication.chat that return ChatMessageModifier and TypeMethodDescriptionChatThreadClient.getMessage
(String chatMessageId) Gets a message by id.Methods in com.azure.communication.chat that return types with arguments of type ChatMessageModifier and TypeMethodDescriptionChatThreadAsyncClient.getMessage
(String chatMessageId) Gets a message by id.Mono
<com.azure.core.http.rest.Response<ChatMessage>> ChatThreadAsyncClient.getMessageWithResponse
(String chatMessageId) Gets a message by id.com.azure.core.http.rest.Response
<ChatMessage> ChatThreadClient.getMessageWithResponse
(String chatMessageId, com.azure.core.util.Context context) Gets a message by id.com.azure.core.http.rest.PagedFlux
<ChatMessage> ChatThreadAsyncClient.listMessages()
Gets a list of messages from a thread.com.azure.core.http.rest.PagedFlux
<ChatMessage> ChatThreadAsyncClient.listMessages
(ListChatMessagesOptions listMessagesOptions) Gets a list of messages from a thread.com.azure.core.http.rest.PagedIterable
<ChatMessage> ChatThreadClient.listMessages()
Gets a list of messages from a thread.com.azure.core.http.rest.PagedIterable
<ChatMessage> ChatThreadClient.listMessages
(ListChatMessagesOptions listMessagesOptions, com.azure.core.util.Context context) Gets a list of messages from a thread. -
Uses of ChatMessage in com.azure.communication.chat.models
Methods in com.azure.communication.chat.models that return ChatMessageModifier and TypeMethodDescriptionChatMessage.setContent
(ChatMessageContent content) Set the content property: Content of the chat message.ChatMessage.setCreatedOn
(OffsetDateTime createdOn) Set the createdOn property: The timestamp when the chat message arrived at the server.ChatMessage.setDeletedOn
(OffsetDateTime deletedOn) Set the deletedOn property: The timestamp when the chat message was deleted.ChatMessage.setEditedOn
(OffsetDateTime editedOn) Set the editedOn property: The timestamp when the chat message was edited.Set the id property: The id of the chat message.ChatMessage.setMetadata
(Map<String, String> metadata) Set the metadata property: Message metadata.ChatMessage.setSender
(CommunicationIdentifier sender) Set the sender property: Identifies a participant in Azure Communication services.ChatMessage.setSenderDisplayName
(String senderDisplayName) Set the senderDisplayName property: The display name of the chat message sender.ChatMessage.setType
(ChatMessageType type) Set the type property: Type of the chat message.ChatMessage.setVersion
(String version) Set the version property: Version of the chat message.