Uses of Class
com.azure.ai.agents.persistent.models.ThreadMessage
Packages that use ThreadMessage
Package
Description
Package containing the classes for Agents.
Package containing the data models for Agents.
-
Uses of ThreadMessage in com.azure.ai.agents.persistent
Methods in com.azure.ai.agents.persistent that return ThreadMessageModifier and TypeMethodDescriptionMessagesClient.createMessage(String threadId, MessageRole role, com.azure.core.util.BinaryData content) Creates a new message on a specified thread.MessagesClient.createMessage(String threadId, MessageRole role, com.azure.core.util.BinaryData content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread.MessagesClient.createMessage(String threadId, MessageRole role, String content) Creates a new message on a specified thread.MessagesClient.createMessage(String threadId, MessageRole role, String content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread.MessagesClient.getMessage(String threadId, String messageId) Retrieves an existing message.MessagesClient.updateMessage(String threadId, String messageId) Modifies an existing message on an existing thread.Modifies an existing message on an existing thread.Methods in com.azure.ai.agents.persistent that return types with arguments of type ThreadMessageModifier and TypeMethodDescriptionMessagesAsyncClient.createMessage(String threadId, MessageRole role, com.azure.core.util.BinaryData content) Creates a new message on a specified thread.MessagesAsyncClient.createMessage(String threadId, MessageRole role, com.azure.core.util.BinaryData content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread.MessagesAsyncClient.createMessage(String threadId, MessageRole role, String content) Creates a new message on a specified thread.MessagesAsyncClient.createMessage(String threadId, MessageRole role, String content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread.MessagesAsyncClient.getMessage(String threadId, String messageId) Retrieves an existing message.com.azure.core.http.rest.PagedFlux<ThreadMessage> MessagesAsyncClient.listMessages(String threadId) Gets a list of messages that exist on a thread.com.azure.core.http.rest.PagedFlux<ThreadMessage> MessagesAsyncClient.listMessages(String threadId, String runId, Integer limit, ListSortOrder order, String after, String before) Gets a list of messages that exist on a thread.com.azure.core.http.rest.PagedIterable<ThreadMessage> MessagesClient.listMessages(String threadId) Gets a list of messages that exist on a thread.com.azure.core.http.rest.PagedIterable<ThreadMessage> MessagesClient.listMessages(String threadId, String runId, Integer limit, ListSortOrder order, String after, String before) Gets a list of messages that exist on a thread.MessagesAsyncClient.updateMessage(String threadId, String messageId) Modifies an existing message on an existing thread.Modifies an existing message on an existing thread. -
Uses of ThreadMessage in com.azure.ai.agents.persistent.models
Methods in com.azure.ai.agents.persistent.models that return ThreadMessageModifier and TypeMethodDescriptionstatic ThreadMessageThreadMessage.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ThreadMessage from the JsonReader.StreamMessageCreation.getMessage()Get the data of this message sent by the service.Constructors in com.azure.ai.agents.persistent.models with parameters of type ThreadMessageModifierConstructorDescriptionStreamMessageCreation(ThreadMessage threadMessage, PersistentAgentStreamEvent kind) Creates a new instance of StreamMessageCreation.