Uses of Class
com.azure.communication.chat.models.ChatMessage
Packages that use ChatMessage
Package
Description
Package containing the classes for AzureCommunicationChatService.
Package containing classes 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.ChatThreadAsyncClient.getMessageWithResponse(String chatMessageId) Gets a message by id.ChatThreadClient.getMessageWithResponse(String chatMessageId, Context context) Gets a message by id.ChatThreadAsyncClient.listMessages()Gets a list of messages from a thread.ChatThreadAsyncClient.listMessages(ListChatMessagesOptions listMessagesOptions) Gets a list of messages from a thread.ChatThreadClient.listMessages()Gets a list of messages from a thread.ChatThreadClient.listMessages(ListChatMessagesOptions listMessagesOptions, 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.