MessagingExtensionAttachment 类
- java.lang.Object
- com.microsoft.bot.schema.Attachment
- com.microsoft.bot.schema.teams.MessagingExtensionAttachment
public class MessagingExtensionAttachment
extends Attachment
消息传递扩展附件。
构造函数摘要
构造函数 | 说明 | |
---|---|---|
MessagingExtensionAttachment() |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Attachment |
getPreview()
获取预览附件。 |
void |
setPreview(Attachment withPreview)
设置预览附件。 |
方法继承自 Attachment
clone
cloneList
getContent
getContentType
getContentUrl
getName
getProperties
getThumbnailUrl
setContent
setContentType
setContentUrl
setName
setProperties
setThumbnailUrl
方法继承自 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
构造函数详细信息
MessagingExtensionAttachment
public MessagingExtensionAttachment()
方法详细信息
getPreview
public Attachment getPreview()
获取预览附件。
Returns:
附件。
setPreview
public void setPreview(Attachment withPreview)
设置预览附件。
Parameters:
withPreview
- 附件。