MessagingExtensionAttachment 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳訊擴充功能附件。
public class MessagingExtensionAttachment : Microsoft.Bot.Schema.Attachment
type MessagingExtensionAttachment = class
inherit Attachment
Public Class MessagingExtensionAttachment
Inherits Attachment
- 繼承
建構函式
| 名稱 | Description |
|---|---|
| MessagingExtensionAttachment() |
初始化 MessagingExtensionAttachment 類別的新執行個體。 |
| MessagingExtensionAttachment(String, String, Object, String, String, Attachment) |
初始化 MessagingExtensionAttachment 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Content |
取得或設定嵌入內容。 (繼承來源 Attachment) |
| ContentType |
取得或設定檔案的 mimetype/ContentType。 (繼承來源 Attachment) |
| ContentUrl |
取得或設定內容網址。 (繼承來源 Attachment) |
| Name |
取得或設定(可選)附件名稱。 (繼承來源 Attachment) |
| Preview |
取得或設定預演。 |
| Properties |
取得或設定那些類型未定義 Attachment 但可能出現在 REST JSON 物件中的屬性。 (繼承來源 Attachment) |
| ThumbnailUrl |
獲得或設定(可選)與附件相關的縮圖。 (繼承來源 Attachment) |
擴充方法
| 名稱 | Description |
|---|---|
| ToMessagingExtensionAttachment(Attachment, Attachment) |
將一般附件轉換成傳訊延伸模組附件。 |