MessageActivityInput.AddAdaptiveCardAttachment 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.
Adds an Adaptive Card attachment to the message.
public Microsoft.Teams.Apps.MessageActivityInput AddAdaptiveCardAttachment(object adaptiveCard, Action<Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder>? configure = default);
member this.AddAdaptiveCardAttachment : obj * Action<Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder> -> Microsoft.Teams.Apps.MessageActivityInput
Public Function AddAdaptiveCardAttachment (adaptiveCard As Object, Optional configure As Action(Of TeamsAttachmentBuilder) = Nothing) As MessageActivityInput
Parameters
- adaptiveCard
- Object
- configure
- Action<TeamsAttachmentBuilder>