語言

Attachment 類別

定義

活動內的附件。

public class Attachment
type Attachment = class
Public Class Attachment
繼承
Attachment
衍生

建構函式

名稱 Description
Attachment()

初始化 Attachment 類別的新執行個體。

Attachment(String, String, Object, String, String)

初始化 Attachment 類別的新執行個體。

屬性

名稱 Description
Content

取得或設定嵌入內容。

ContentType

取得或設定檔案的 mimetype/ContentType。

ContentUrl

取得或設定內容網址。

Name

取得或設定(可選)附件名稱。

Properties

取得或設定那些類型未定義 Attachment 但可能出現在 REST JSON 物件中的屬性。

ThumbnailUrl

獲得或設定(可選)與附件相關的縮圖。

擴充方法

名稱 Description
ToMessagingExtensionAttachment(Attachment, Attachment)

將一般附件轉換成傳訊延伸模組附件。

適用於