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 API 发送消息时使用的 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 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
- 属性
构造函数
| Message() |
已过时.
通过 Facebook API 发送消息时使用的 Facebook 消息对象。 |
属性
| Attachment |
已过时.
获取或设置附件。 |
| Attachments |
已过时.
获取附件列表。 |
| IsEcho |
已过时.
获取或设置一个值,该值指示消息是否从页面本身发送。 |
| Metadata |
已过时.
获取或设置元数据。 |
| Mid |
已过时.
获取或设置消息 ID。 |
| QuickReplies |
已过时.
获取快速答复。 |
| StickerId |
已过时.
获取或设置贴纸 ID。 |
| Text |
已过时.
获取或设置消息的文本。 |
方法
| ShouldSerializeAttachments() |
已过时.
用于有条件地序列化属性的 Attachments Newtonsoft JSON 方法。 |
| ShouldSerializeIsEcho() |
已过时.
用于有条件地序列化属性的 IsEcho Newtonsoft JSON 方法。 |
| ShouldSerializeQuickReplies() |
已过时.
用于有条件地序列化属性的 QuickReplies Newtonsoft JSON 方法。 |