Channel.SendAdaptiveCard(Object, CancellationToken) 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.
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>
override this.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.