MessageActivityInput.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 message.
public Microsoft.Teams.Apps.MessageActivityInput AddAttachment(params Microsoft.Teams.Apps.Schema.TeamsAttachment[] attachments);
member this.AddAttachment : Microsoft.Teams.Apps.Schema.TeamsAttachment[] -> Microsoft.Teams.Apps.MessageActivityInput
Public Function AddAttachment (ParamArray attachments As TeamsAttachment()) As MessageActivityInput
Parameters
- attachments
- TeamsAttachment[]