IActivity.ChannelData Property
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.
Gets or sets channel-specific payload.
public dynamic ChannelData { get; set; }
member this.ChannelData : obj with get, set
Public Property ChannelData As Object
Property Value
Channel-specific payload.
Remarks
Some channels will provide channel specific data.
For a message originating in the channel it might provide the original native schema object for the channel.
For a message coming into the channel it might accept a payload allowing you to create a "native" response for the channel.
Example: * Email - The Email Channel will put the original Email metadata into the ChannelData object for outgoing messages, and will accept on incoming message a Subject property, and a HtmlBody which can contain Html.
The channel data essentially allows a bot to have access to native functionality on a per channel basis.