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() |
已过时.
Newtonsoft JSON 方法用于条件序列化该 Attachments 属性。 |
| ShouldSerializeIsEcho() |
已过时.
Newtonsoft JSON 方法用于条件序列化该 IsEcho 属性。 |
| ShouldSerializeQuickReplies() |
已过时.
Newtonsoft JSON 方法用于条件序列化该 QuickReplies 属性。 |