TeamsAttachmentBuilder.WithAdaptiveCard(Object) 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.
Configures the attachment to contain an Adaptive Card payload.
public Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder WithAdaptiveCard(object adaptiveCard);
member this.WithAdaptiveCard : obj -> Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder
Public Function WithAdaptiveCard (adaptiveCard As Object) As TeamsAttachmentBuilder
Parameters
- adaptiveCard
- Object