TeamsClient.SubscribeUserMessageWithOptionsAsync 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.
Post a choice of options as the Flow bot to a user
public virtual System.Threading.Tasks.Task SubscribeUserMessageWithOptionsAsync(Azure.Connectors.Sdk.Teams.Models.DynamicUserMessageWithOptionsSubscriptionRequest input, System.Threading.CancellationToken cancellationToken = default);
abstract member SubscribeUserMessageWithOptionsAsync : Azure.Connectors.Sdk.Teams.Models.DynamicUserMessageWithOptionsSubscriptionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SubscribeUserMessageWithOptionsAsync : Azure.Connectors.Sdk.Teams.Models.DynamicUserMessageWithOptionsSubscriptionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SubscribeUserMessageWithOptionsAsync (input As DynamicUserMessageWithOptionsSubscriptionRequest, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Remarks
Send a set of options to a Microsoft Teams user, that they must respond to before the flow will continue. This action will pause the flow until the user response to the options