TeamsInfo.GetPagedTeamMembersAsync 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.
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.
- cancellationToken
- CancellationToken
cancellation token.
Returns
TeamsPagedMembersResult.