MessageSubmitActionExtensions.OnMessageSubmitFeedback 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.
Registers a handler for message/submitAction invokes where actionName == "feedback".
The handler receives the inner actionValue typed as MessageSubmitFeedbackValue.
Register this before any general OnMessageSubmitAction(TeamsBotApplication, MessageSubmitActionHandler) so the feedback-specific route
wins on first-match dispatch.
public static Microsoft.Teams.Apps.TeamsBotApplication OnMessageSubmitFeedback(this Microsoft.Teams.Apps.TeamsBotApplication app, Microsoft.Teams.Apps.MessageSubmitFeedbackHandler handler);
static member OnMessageSubmitFeedback : Microsoft.Teams.Apps.TeamsBotApplication * Microsoft.Teams.Apps.MessageSubmitFeedbackHandler -> Microsoft.Teams.Apps.TeamsBotApplication
<Extension()>
Public Function OnMessageSubmitFeedback (app As TeamsBotApplication, handler As MessageSubmitFeedbackHandler) As TeamsBotApplication
Parameters
The Teams bot application.
- handler
- MessageSubmitFeedbackHandler
The handler to register.
Returns
The updated Teams bot application.