Dela via


TeamsInfo.GetPagedTeamMembersAsync Metod

Definition

Hämtar en sidnumrerad lista över medlemmar i ett team. Detta fungerar bara i teamomfattande konversationer.

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)

Parametrar

turnContext
ITurnContext

Aktivera kontext.

teamId
String

ID för Teams-teamet.

continuationToken
String

continuationToken-token.

pageSize
Nullable<Int32>

antal poster på sidan.

cancellationToken
CancellationToken

annulleringstoken.

Returer

TeamsPagedMembersResult.

Gäller för