MessageActivityInput.WithAttachments(IList<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.
Sets the attachments collection.
public Microsoft.Teams.Apps.MessageActivityInput WithAttachments(System.Collections.Generic.IList<Microsoft.Teams.Apps.Schema.TeamsAttachment> attachments);
member this.WithAttachments : System.Collections.Generic.IList<Microsoft.Teams.Apps.Schema.TeamsAttachment> -> Microsoft.Teams.Apps.MessageActivityInput
Public Function WithAttachments (attachments As IList(Of TeamsAttachment)) As MessageActivityInput
Parameters
- attachments
- IList<TeamsAttachment>