TeamsClient.SubscribeUserMessageWithOptionsAsync Method

Definition

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

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

Applies to