Package com.github.copilot.sdk.json
Interface MessageAttachment
- All Known Implementing Classes:
Attachment,BlobAttachment
Marker interface for all attachment types that can be included in a message.
This is the Java equivalent of the .NET SDK's
UserMessageDataAttachmentsItem polymorphic base class.
- Since:
- 1.2.0
- See Also:
-
Method Summary
-
Method Details
-
getType
String getType()Returns the attachment type discriminator (e.g., "file", "blob").- Returns:
- the type string
-