MessageSubmitFeedbackHandler Delegate
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.
Delegate for handling message/submitAction invokes whose actionName is "feedback".
The activity's Value is the typed inner MessageSubmitFeedbackValue.
public delegate System.Threading.Tasks.Task<Microsoft.Teams.Apps.InvokeResponse> MessageSubmitFeedbackHandler(Context<InvokeActivity<MessageSubmitFeedbackValue>> context, CancellationToken cancellationToken = default);
type MessageSubmitFeedbackHandler = delegate of Context<InvokeActivity<MessageSubmitFeedbackValue>> * CancellationToken -> Task<InvokeResponse>
Public Delegate Function MessageSubmitFeedbackHandler(context As Context(Of InvokeActivity(Of MessageSubmitFeedbackValue)), Optional cancellationToken As CancellationToken = Nothing) As Task(Of InvokeResponse)
Parameters
- context
- Context<InvokeActivity<MessageSubmitFeedbackValue>>
The context for the invoke activity, providing access to the typed feedback value and bot application.
- cancellationToken
- CancellationToken
A cancellation token that can be used to cancel the operation.
Return Value
A task that represents the asynchronous operation. The task result contains the invoke response.