共用方式為


AttachmentPayload 類別

定義

警告

The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.

內部 Facebook 附件承載,可在 Facebook 訊息上傳送為 Facebook 附件的一部分。

[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class AttachmentPayload
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type AttachmentPayload = class
Public Class AttachmentPayload
繼承
AttachmentPayload
屬性

建構函式

AttachmentPayload()
已淘汰.

內部 Facebook 附件承載,可在 Facebook 訊息上傳送為 Facebook 附件的一部分。

屬性

AttachmentId
已淘汰.

取得或設定) 可重複使用附件的附件 (識別碼。

Buttons
已淘汰.

取得範本的按鈕清單。

Elements
已淘汰.

取得範本的媒體元件清單。

IsReusable
已淘汰.

取得或設定值,指出附件是否可重複使用。 預設值為 false。

TemplateType
已淘汰.

取得或設定附加之範本的類型。

Text
已淘汰.

取得或設定範本的文字。

Url
已淘汰.

取得或設定附件的 URL。

方法

ShouldSerializeButtons()
已淘汰.

用於有條件地序列化 屬性的 Buttons Newtonsoft JSON 方法。

ShouldSerializeElements()
已淘汰.

用於有條件地序列化 屬性的 Elements Newtonsoft JSON 方法。

ShouldSerializeIsReusable()
已淘汰.

用於有條件地序列化 屬性的 IsReusable Newtonsoft JSON 方法。

適用於