MessageExtensionActivityPreview.AddAttachment(TeamsAttachment[]) 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 one or more attachments to the preview.
public Microsoft.Teams.Apps.MessageExtensions.MessageExtensionActivityPreview AddAttachment(params Microsoft.Teams.Apps.Schema.TeamsAttachment[] attachments);
member this.AddAttachment : Microsoft.Teams.Apps.Schema.TeamsAttachment[] -> Microsoft.Teams.Apps.MessageExtensions.MessageExtensionActivityPreview
Public Function AddAttachment (ParamArray attachments As TeamsAttachment()) As MessageExtensionActivityPreview
Parameters
- attachments
- TeamsAttachment[]