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