Message 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 API 發送訊息。
[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 Message
[<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 Message = class
Public Class Message
- 繼承
-
Message
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| Message() |
已淘汰.
Facebook 訊息物件用於透過 Facebook API 發送訊息。 |
屬性
| 名稱 | Description |
|---|---|
| Attachment |
已淘汰.
取得或設定附件。 |
| Attachments |
已淘汰.
會拿到一份附件清單。 |
| IsEcho |
已淘汰.
會取得或設定一個值,表示訊息是否從頁面本身發送。 |
| Metadata |
已淘汰.
取得或設定元數據。 |
| Mid |
已淘汰.
取得或設定訊息標識碼。 |
| QuickReplies |
已淘汰.
回覆很快。 |
| StickerId |
已淘汰.
取得或設定貼紙ID。 |
| Text |
已淘汰.
接收或設定訊息的文字。 |
方法
| 名稱 | Description |
|---|---|
| ShouldSerializeAttachments() |
已淘汰.
Newtonsoft JSON 方法用於條件序列化該 Attachments 屬性。 |
| ShouldSerializeIsEcho() |
已淘汰.
Newtonsoft JSON 方法用於條件序列化該 IsEcho 屬性。 |
| ShouldSerializeQuickReplies() |
已淘汰.
Newtonsoft JSON 方法用於條件序列化該 QuickReplies 屬性。 |