TeamsInfo.GetPagedTeamMembersAsync Method

Definition

Gets a paginated list of members of a team. This only works in teams scoped conversations.

public static System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TeamsPagedMembersResult> GetPagedTeamMembersAsync (Microsoft.Bot.Builder.ITurnContext turnContext, string teamId = default, string continuationToken = default, int? pageSize = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPagedTeamMembersAsync : Microsoft.Bot.Builder.ITurnContext * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TeamsPagedMembersResult>
Public Shared Function GetPagedTeamMembersAsync (turnContext As ITurnContext, Optional teamId As String = Nothing, Optional continuationToken As String = Nothing, Optional pageSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TeamsPagedMembersResult)

Parameters

turnContext
ITurnContext

Turn context.

teamId
String

ID of the Teams team.

continuationToken
String

continuationToken token.

pageSize
Nullable<Int32>

number of entries on the page.

cancellationToken
CancellationToken

cancellation token.

Returns

TeamsPagedMembersResult.

Applies to