MessagingExtensionAttachment Class
- java.
lang. Object - com.
microsoft. bot. schema. Attachment - com.
microsoft. bot. schema. teams. MessagingExtensionAttachment
- com.
- com.
public class MessagingExtensionAttachment
extends Attachment
Messaging extension attachment.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MessagingExtensionAttachment() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Attachment |
getPreview()
Gets the preview Attachment. |
| void |
setPreview(Attachment withPreview)
Sets the preview attachment. |
Methods inherited from Attachment
clone
cloneList
getContent
getContentType
getContentUrl
getName
getProperties
getThumbnailUrl
setContent
setContentType
setContentUrl
setName
setProperties
setThumbnailUrl
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
MessagingExtensionAttachment
public MessagingExtensionAttachment()
Method Details
getPreview
public Attachment getPreview()
Gets the preview Attachment.
Returns:
The Attachment.
setPreview
public void setPreview(Attachment withPreview)
Sets the preview attachment.
Parameters:
withPreview
- The Attachment.