RestAttachments Class
- java.
lang. Object - com.
microsoft. bot. connector. rest. RestAttachments
- com.
Implements
public class RestAttachments
implements Attachments
An instance of this class provides access to all the operations defined in Attachments.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.concurrent.CompletableFuture<java.io.InputStream> |
getAttachment(String attachmentId, String viewId)
Get |
|
java.util.concurrent.CompletableFuture<Attachment |
getAttachmentInfo(String attachmentId)
Get |
| java.lang.String |
getAttachmentUri(String attachmentId, String viewId)
Get the URI of an attachment view. |
Methods inherited from java.lang.Object
Method Details
getAttachment
public CompletableFuture
GetAttachment. Get the named view as binary content.
Parameters:
Returns:
getAttachmentInfo
public CompletableFuture
GetAttachmentInfo. Get AttachmentInfo structure describing the attachment views.
Parameters:
Returns:
getAttachmentUri
public String getAttachmentUri(String attachmentId, String viewId)
Get the URI of an attachment view.
Parameters:
Returns: