Language

MessageActivityInput.WithAttachments(IList<TeamsAttachment>) Method

Definition

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>

Returns

Applies to