Message Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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 message object used when sending messages via the 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
- Inheritance
-
Message
- Attributes
Constructors
Message() |
Properties
Attachment |
Gets or sets the attachment. |
Attachments |
Gets a list of attachments. |
IsEcho |
Gets or sets a value indicating whether the message was sent from the page itself. |
Metadata |
Gets or sets the metadata. |
Mid |
Gets or sets the message ID. |
QuickReplies |
Gets the quick replies. |
StickerId |
Gets or sets the sticker ID. |
Text |
Gets or sets the text of the message. |
Methods
ShouldSerializeAttachments() |
Newtonsoft JSON method for conditionally serializing the Attachments property. |
ShouldSerializeIsEcho() |
Newtonsoft JSON method for conditionally serializing the IsEcho property. |
ShouldSerializeQuickReplies() |
Newtonsoft JSON method for conditionally serializing the QuickReplies property. |