TeamsActivityExtensions.TeamsEnableFeedbackLoop(IActivity, String) Method
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.
Adds the Teams feedback loop flag to the current activity's ChannelData.
The ChannelData must be null before calling this method; returns false if ChannelData is already set.
public static bool TeamsEnableFeedbackLoop(this Microsoft.Agents.Core.Models.IActivity activity, string feedbackLoopType = "default");
static member TeamsEnableFeedbackLoop : Microsoft.Agents.Core.Models.IActivity * string -> bool
<Extension()>
Public Function TeamsEnableFeedbackLoop (activity As IActivity, Optional feedbackLoopType As String = "default") As Boolean
Parameters
- activity
- IActivity
The current activity.
- feedbackLoopType
- String
The feedback loop type value. Defaults to "default".
Returns
true if the feedback loop flag was added; false if ChannelData was already populated.