Share via


INotificationTarget.SendAdaptiveCard(Object, CancellationToken) Method

Definition

Send an adaptive card message.

public System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.MessageResponse> SendAdaptiveCard (object card, System.Threading.CancellationToken cancellationToken = default);
abstract member SendAdaptiveCard : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.MessageResponse>
Public Function SendAdaptiveCard (card As Object, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MessageResponse)

Parameters

card
Object

The adaptive card object.

cancellationToken
CancellationToken

The cancellation token.

Returns

The response of sending adaptive card message.

Applies to