TeamsClient.AddSectionItemAsync Method

Definition

Add an item to a section

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionItemResponse> AddSectionItemAsync(string sectionId, Azure.Connectors.Sdk.Teams.Models.AddSectionItemInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member AddSectionItemAsync : string * Azure.Connectors.Sdk.Teams.Models.AddSectionItemInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionItemResponse>
override this.AddSectionItemAsync : string * Azure.Connectors.Sdk.Teams.Models.AddSectionItemInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionItemResponse>
Public Overridable Function AddSectionItemAsync (sectionId As String, input As AddSectionItemInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SectionItemResponse)

Parameters

sectionId
String

Section ID

input
AddSectionItemInput

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Add an item to a section response.

Remarks

Adds an item (chat, channel, meeting, or community) currently in a system-defined section to a user-defined teamwork section. Use Move Section Item to relocate items already in another user-defined section.

Applies to